Search the courses, subjects, tracks, games and features, or jump straight to a page.
3 cards from this section. Quick, good the night before a test.
What function would you use to count the number of active users?
It's the function that counts rows.
What does SUM() do in SQL?
Think of it as finding the total sales.
What does COUNT() do in SQL?
Consider what it means to count rows.
True or False: SUM() can only be used on text columns.
Remember what kind of data you can sum up.
Write a SQL query that uses both SUM() and AVG() to display the total sales and the average order value from a sales table.
Use both functions in the SELECT statement.
Explain how you would use COUNT() with a GROUP BY clause to determine how many employees work in each department.
Consider how you group data and then count it.
5 more questions in this section. Enroll free to practise them all.
Enroll free