-->Display room details according to its rates in ascending order.
sql>select desc,rate from room orderd by desc asc;
Find the names of guest who has allocated room for more than 3 days.
sql>select gname from guest,room where guest.gno=room.rno where no_of_days>3;
Find no. of AC rooms.
sql>select count(rno)from room where desc='AC';
Display total amount for NON-AC rooms.
sql>select sum(rate) from room where desc='non=AC';
Find names of guest with maximum room charges.
SQL> selct ganme from room.guest where guest.gno=room.rno and rate=(select max(rate) from room);
/