apologies as i am fairly new to SQL but im having trouble finding a solution to a problem.
I have two tables outline bellow:
Comment table
Columns: Name, Comment, rating a, rating b, rating c, venue_id
Venue table
Columns: id, venue_name, description, address
I would like to get the Name from the venue table where the id in the same row matches that of the venue id in the comment table, is this possible? (The venue_id and id match)
For example if i were to print this i would have
venue_name (from the venue table) rating a (from the comment table) rating b (from the comment table) rating c (from the comment table)
(the ratings linked to the venue_name through the venue id in the comment table and the id in the venue table)
apologies if this doesn't make sense but would appreciate some help if possible. Thanks