About the SQL FAQ category
|
|
0
|
835
|
December 30, 2017
|
Is there a shorter way to insert multiple rows in a table?
|
|
24
|
144031
|
May 26, 2022
|
Can a WHERE clause be applied with a HAVING statement in the same query?
|
|
8
|
24103
|
July 30, 2021
|
When should I use INNER JOIN instead of LEFT JOIN?
|
|
23
|
50503
|
June 18, 2022
|
How do we search for patterns containing the actual characters "%" or "_"?
|
|
12
|
41471
|
October 14, 2021
|
What happens if tables we perform UNION on have duplicate rows?
|
|
16
|
45125
|
November 7, 2021
|
Can we add a column at a specific position to a table?
|
|
16
|
59952
|
May 4, 2021
|
Can we alias multiple columns in a single query?
|
|
11
|
53458
|
May 29, 2022
|
What are some ways that SQL is used in data science?
|
|
8
|
90968
|
June 3, 2022
|
Does the order of tables in a JOIN matter?
|
|
9
|
29214
|
February 6, 2022
|
Can we apply DISTINCT to a SELECT query with multiple columns?
|
|
12
|
153331
|
March 31, 2022
|
What's the difference between COUNT(1), COUNT(*), and COUNT(column_name)?
|
|
9
|
31851
|
December 7, 2019
|
Does COUNT() include duplicate values of a column?
|
|
20
|
48266
|
April 29, 2022
|
How can we get the average of unique values of a column?
|
|
12
|
29403
|
January 9, 2022
|
Can we use WITH for more than one nested query in SQL?
|
|
15
|
17167
|
November 8, 2021
|
What are some reasons to apply constraints to a table?
|
|
12
|
38115
|
May 5, 2020
|
How is ALTER different from UPDATE?
|
|
12
|
68757
|
February 11, 2022
|
When storing missing data, should I store them as NULL?
|
|
13
|
37087
|
September 29, 2021
|
Is the `AND` used in `BETWEEN` the same as the `AND` operator between conditions?
|
|
5
|
26201
|
February 27, 2022
|
When should we use each type of JOIN?
|
|
1
|
9130
|
November 29, 2020
|
When applying the BETWEEN operator on TEXT values, how are values compared?
|
|
3
|
29331
|
July 3, 2020
|
What if we only want to delete a specific number of rows?
|
|
29
|
50378
|
February 6, 2022
|
Can we apply ORDER BY with multiple columns?
|
|
19
|
35078
|
October 14, 2021
|
Can we see a database's schema without being given a diagram?
|
|
0
|
8285
|
November 22, 2018
|
Can we apply the LIKE operator to values other than TEXT?
|
|
15
|
49554
|
March 23, 2022
|
When using a CASE statement, do the values for THEN have to be a single type?
|
|
20
|
26915
|
February 28, 2022
|
Is it possible for a table to have more than one unique identifier column?
|
|
16
|
18920
|
February 25, 2022
|
Do SQL clauses always have to be entirely capitalized?
|
|
11
|
44606
|
February 11, 2022
|
Are there guidelines to splitting a table as provided in the example?
|
|
12
|
18258
|
January 29, 2022
|
When doing an INNER JOIN, are columns matched on NULL values?
|
|
13
|
22829
|
August 4, 2021
|