Display user name and their city who have booked their tickets not by using HDFC bank for any of the bookings. Sort the result based on user name. SQL Code Required BUSES number(11) P BUS_NO BUS_NAME...


Display user name and their city who have booked their tickets not by using HDFC bank for any of the bookings. Sort the result based on user name.<br>SQL Code Required<br>BUSES<br>number(11)<br>P BUS_NO<br>BUS_NAME varchar2(20) t<br>TYPE<br>TOTAL_SEATS number(11) #<br>AVAIL_SEATS number(11) #<br>SCHEDULE<br>varchar2(3)/<br>date d<br>varchar2(20) t<br>DESTINATION varchar2(20) t<br>number(11) O<br>number(11) *<br>varchar2(20) t<br>SCHEDULE_ID<br>TRAVEL DATE<br>SOURCE<br>BUS NO<br>O BUS_NO<br>DURATION<br>PAYMENTS<br>DISCOUNTS<br>varchar2(3)<br>PAYMENT_ID varchar2(3) t<br>varchar2(3)<br>number(11)<br>DISCOUNT_ID varchar2(3)<br>DISCOUNT_ID<br>DISCOUNT_AMOUNT number(11) #<br>TICKET ID<br>BD ID O TICKET_ID<br>OEO BD_ID<br>TICKETS<br>DISCOUNT_ID<br>varchar2(3)<br>OSCHEDULE_ID varchar2(3)O<br>number(11) #<br>number(11)O<br>number(11) #<br>TICKET ID<br>SCHEDULE ID<br>FARE<br>USER ID<br>File Edit Format View<br>O USER ID<br>NO_SEATS<br>USERS<br>number(11)<br>varchar2(20) t<br>ADDRESS varchar2(100) t<br>number(11) #<br>EMAILID varchar2(30) t<br>USER_ID<br>P primary key - not null<br>NAME<br>e foreign key<br>PHNO<br># data type - number<br>d data type - date<br>CANCELLATION<br>It| data type - varchar2<br>CANCELLATION ID varchar2(3)t<br>TICKET ID<br>BOOKINGDETAILS<br>O TICKET ID<br>varchar2(3)<br>BD ID<br>number(11)O<br>P BD ID number(11)<br>ACC_NO number(11) #<br>NAME varchar2(10) t<br>O USER_ID number(11)0<br>O BD_ID<br>USER ID<br>

Extracted text: Display user name and their city who have booked their tickets not by using HDFC bank for any of the bookings. Sort the result based on user name. SQL Code Required BUSES number(11) P BUS_NO BUS_NAME varchar2(20) t TYPE TOTAL_SEATS number(11) # AVAIL_SEATS number(11) # SCHEDULE varchar2(3)/ date d varchar2(20) t DESTINATION varchar2(20) t number(11) O number(11) * varchar2(20) t SCHEDULE_ID TRAVEL DATE SOURCE BUS NO O BUS_NO DURATION PAYMENTS DISCOUNTS varchar2(3) PAYMENT_ID varchar2(3) t varchar2(3) number(11) DISCOUNT_ID varchar2(3) DISCOUNT_ID DISCOUNT_AMOUNT number(11) # TICKET ID BD ID O TICKET_ID OEO BD_ID TICKETS DISCOUNT_ID varchar2(3) OSCHEDULE_ID varchar2(3)O number(11) # number(11)O number(11) # TICKET ID SCHEDULE ID FARE USER ID File Edit Format View O USER ID NO_SEATS USERS number(11) varchar2(20) t ADDRESS varchar2(100) t number(11) # EMAILID varchar2(30) t USER_ID P primary key - not null NAME e foreign key PHNO # data type - number d data type - date CANCELLATION It| data type - varchar2 CANCELLATION ID varchar2(3)t TICKET ID BOOKINGDETAILS O TICKET ID varchar2(3) BD ID number(11)O P BD ID number(11) ACC_NO number(11) # NAME varchar2(10) t O USER_ID number(11)0 O BD_ID USER ID

Jun 05, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here