With SQL, how can you return the number of records in the "Persons" table? | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 3

With SQL, how can you return the number of records in the "Persons" table?

SELECT COUNT() FROM Persons is true?

25th Mar 2017, 8:17 AM
Hassan Papi
Hassan Papi - avatar
2 Antworten
+ 3
Select count(*) from Persons
25th Mar 2017, 10:23 AM
Василий Пупкин
Василий Пупкин - avatar
+ 1
Yes using COUNT().
25th Mar 2017, 8:35 AM
Bhabesh Gogoi
Bhabesh Gogoi - avatar