Open shubhamp-sf opened 1 year ago
Following database schema was provided
Table | Column | Type | Equivalences | Primary Key |
---|---|---|---|---|
hotel | id | int | Yes | |
hotel | name | string | No | |
reservation | id | int | Yes | |
reservation | rating | int | No | |
reservation | clientId | int | No | |
reservation | hotelId | int | No | |
reservation | dateA | date | check_in | No |
reservation | dateD | date | check_out | No |
client | id | int | Yes | |
client | name | string | No | |
client | username | string | No | |
client | address | string | No | |
client | telephone | string | No | |
client | age | int | No |
Foreign keys:
Table | Column | Foreign Table | Foreign Column |
---|---|---|---|
reservation | hotelId | hotel | id |
reservation | clientId | client | id |
If you've just arrived and don't want to spend too much time setting up and testing this project for your specific use case, take a look at the following example cases where it didn't work as expected.
Few more with relations:
Credits: @harshadk-sourcefuse for testing these out.