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.
Write a SQL query to select all columns from the 'employees' table.
Use SELECT and FROM clauses.
How would you filter to find orders with 'Shipped' status?
Think about the WHERE clause.
What SQL clause would you use to filter results?
Think about the purpose of each clause.
True or False: The ORDER BY clause can sort results in either ascending or descending order.
Consider how you can use ORDER BY in SQL.
You need to analyze user behavior by collecting login data for the past month. Write a SQL query that retrieves user IDs and counts their logins for that month, limited to users with more than 5 logins.
Focus on filtering the date and counting occurrences.
You are tasked with finding the top 5 customers who have spent the most over the last year. Create the SQL query to retrieve each customer's ID and total spent amount.
Remember to sum the amounts and sort top to bottom.
5 more questions in this section. Enroll free to practise them all.
Enroll free