Skip to content
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Problems
Questions
Roles
Skills
Interview
Contest
Leaderboard
More
Home
/
Data Analyst
/
Medium
/
Bought in both January and February
medium
10 pts · first answer counts
sql
set-operations
Bought in both January and February
What does this query return?
Choose one answer
A.
Customers who ordered in either January or February
B.
Customers who ordered in both January and February
C.
Customers who ordered in January but not February
D.
Every order placed in January and February
Submit answer
Report a problem
← Previous
Counting paid orders returns all orders
Next →
Rows from GROUP BY ROLLUP
All medium Data Analyst questions
Discussion
0
Join free
to post in the discussion.
Related questions
WHERE vs HAVING
Data Analyst
Which join keeps all customers
Data Analyst
COUNT(*) vs COUNT(column)
Data Analyst
Finding NULL values
Data Analyst
COUNT(DISTINCT) with NULLs
Data Analyst
Rows from an INNER JOIN
Data Analyst
UNION vs UNION ALL
Data Analyst
AVG with a NULL value
Data Analyst
More SQL questions
More Set Operations questions