Skip to content
Advertisement

Access Values from a customer table to a room type table

I’m Stuck in the middle of my MySQL project. Basically for now I have three tables Room_Type, Room, Customer. Read my code for Room_Type Table and in Room Table, there’s a foreign key through which I can access its room_type (Standard, deluxe, etc) and in the customer table, there’s a foreign key thorough which I can access Room. But My Issue is I want to access it’s room_Type too through the customer Table and show it on the customer table. Can anyone here help me out. I’m really stuck here. Please correct me if I’m missing something, It would be a great help Thanks in Advance

Advertisement

Answer

I want to access it’s room_Type too through the customer Table and show it on the customer table

You can join twice:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement