Initializing SQL database...
Back to Questions
Calculate Count #6
easyCalculate the count using COUNT(*). COUNT() returns the number of rows. Use COUNT(*) to count all rows, or COUNT(column_name) to count non-NULL values in a specific column.
Practice with:
Database Schema
products
Product information
idnamevalue
Expected Output
Click "Show" to see what the correct output should look like.Tip: Try solving it yourself first for better learning!
SQL Editor
Loading...
Press Ctrl+Enter to run query • Start typing for autocomplete