~/ learn/ postgresql/ cards/ Aggregating Data
1 of 10

Count how many books are in the shop. Name the column total.

Count how many books are in the shop. Name the column total.

Answer

SELECT COUNT(*) AS total FROM books;

space flip · ← → navigate · esc to exit
NORMAL ~/memra/library/7fcaba21-46f3-4836-aba8-35ddde501e4a/flashcard utf-8 LF