~/ learn/ postgresql/ cards/ Counting and summarizing
1 of 2

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/3c397614-a11c-4455-bb83-30c3bb83d27e/flashcard utf-8 LF