~/ 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/4475ec21-caf0-4332-98d2-9ce971aac276/flashcard utf-8 LF