A Books row has pages = 240. In SELECT title FROM Books WHERE pages > 200, what does WHERE do with that row?
In SELECT title, author FROM Books, what does SELECT specify?
OR keeps only the rows that pass both sides of the test.
Circle one: True False
returned is 1 for a returned book and 0 for a book still out. It has no NULLs. Which rows pass WHERE NOT (returned = 1)?
borrowed stores 'yes' or 'no', with no NULLs. Which rows pass WHERE pages > 300 AND borrowed = 'yes'?
Books contains only the titles Ash, Beech and Cedar. In SQLite, SELECT title FROM Books ORDER BY title ASC LIMIT 2; returns Ash and Beech. Changing ASC to DESC returns Cedar and Beech.
Circle one: True False
Books has title, author and borrowed_on columns. SELECT book_title FROM Books reports an unknown-column error. What should you check first?
borrowed_on stores YYYY-MM-DD dates. Which SQLite query returns only titles borrowed after 2025-06-01, sorted by title?