I've gotten my database set up for my website and I'm a little baffled on how I should write the SQL query to display the information how I want it.
Here's an image of how my database is setup and an example of how I want to display it:
Here's the SQL query I wrote to get the information (Im open to writing a better solution)
SELECT * FROM drinks_category, drinks_lookup, drinks
WHERE drinks.drink_id = drinks_lookup.drink_id
AND drinks_lookup.drinks_category_id = drinks_category.drinks_category_id
This gets me all the info but I'm not sure how to write the output to get it to show how i want.