Sectie 1. Hoofdstuk 6
single
How many?
Veeg om het menu te tonen
What if you want to know the exact number of observations in your database? Counting manually sounds like a very very bad idea.
Fortunately, SQL has the built-in functionality of counting rows. To count the number of rows in the whole dataset use COUNT *. For example, we can count the total number of our website being visited by using the following query:
12SELECT COUNT(*) FROM visitors
Please note, that for counting the total number of rows you must place
*within parenthesis, likeCOUNT(*).
Taak
Swipe to start coding
Count number of Audi cars sold from audi_cars table.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 6
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.