Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What SQL function counts the number of records?
Think about how we can summarize data.
What does the FROM clause specify in a query?
It describes the source of data.
What SQL function is used to count records?
It's for counting entries.
True or False: The HAVING clause works with raw data.
Think about what GROUP BY does.
You are analyzing user login data for an app. Write a SQL query that could help you understand how many users logged in each month in 2024.
Consider how to extract months and aggregate counts.
A company's marketing department wants to check which products had zero sales last month. Compose a SQL query that could help them find this information.
Use LEFT JOIN to include all products, checking for those with no sales.
4 more questions in this section. Enroll free to practise them all.
Enroll free