Create authors (author_id INTEGER PRIMARY KEY, name VARCHAR) and books (book_id INTEGER PRIMARY KEY, title VARCHAR, author_id referencing authors).
Then think: what happens if you delete an author who still has books?
This question starts with an empty database.
Each hint gives a little more help. Try on your own first.
Run your code to see the output here.