Rosie Fairfield wrote:Can I order the Authors table by last name and redo the primary key values so primary key 1 is the first author in the now alphabetized list of authors? then I can order the books by author_id and title.
It's much better to do this in 1 query. So you can join 2 tables and then order the results on a combination of fields from the 1st and 2nd table.
Something like this
(PS. This solution is of course not limited to just 2 tables, you can join as many as you want and can order on as many columns as you want.)
Hope it helps!
Kind regards,
Roel