With SQL, how can you return the number of records in the "Persons" table? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponses
+ 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