Click here to Skip to main content
15,884,388 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
The form is supposed to automatically pick rooms from the db in a table called Roomed and the user will select his preferred room then insert the customers details in the db in a table called Reserves.
Table Roomed has room numbers only.

Table Reserves is where Customers room info are saved.

The task is to display only the vacant rooms in the Table Roomed , to avoid duplication as opposed to show an error/ waring message when one books the same room twice.

Ideas please
Posted
Comments
Shubhashish_Mandal 30-Jun-14 3:13am    
join both the tables and pick only those rows whose has not any reference in Reserve table

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900