Say I have the following data:
|bookID|data|
|1|a|
|1|b|
|1|c|
|2|x|
|2|y|
|3|t|
I want to select all the books that have at least X rows. So if X=3 then I'd only get all the rows with bookID=1. If X=2 then I'd only get all the rows with bookID=1 or bookID=2, etc.
Can I do this with SQLite3?