Original Post
Is there an easy way to query a table in MySQL if it's dependent on a return value of the previous SQL statement without having to do two separate queries? For example, in my first query if I get the type of item as a music item then query the music table for that item id, that would be two separate queries. Not to mention if they choose 10 items, that's actually 11 separate queries (one query for all the item types) then 10 queries into the individual tables for the individual items unless someone can think of a better way to do this. Basically each item of music is in the music table, each book item is in the book table as the information about each item is different. Thanks.