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) 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>BUS_NAME varchar2(20) t<br>varchar2(20) t<br>TOTAL_SEATS number(11) #<br>AVAIL_SEATS number(11) #<br>PBUS NO<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>SCHEDULE_ID<br>TRAVEL DATE<br>TYPE<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>O O BD_ID<br>TICKETS<br>DISCOUNT_ID<br>varchar2(3)<br>O SCHEDULE_ID varchar2(3)<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>OUSER 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>O TICKET ID<br>O BD ID<br>TICKET ID<br>BOOKINGDETAILS<br>varchar2(3)<br>number(11)<br>BD ID<br>PBD ID number(11)<br>ACC_NO number(11) #<br>NAME varchar2(10) t<br>p USER_ID number(11)0<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) BUS_NAME varchar2(20) t varchar2(20) t TOTAL_SEATS number(11) # AVAIL_SEATS number(11) # PBUS NO SCHEDULE varchar2(3) date d varchar2(20) t DESTINATION varchar2(20) t number(11) O number(11) * SCHEDULE_ID TRAVEL DATE TYPE 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 O O BD_ID TICKETS DISCOUNT_ID varchar2(3) O SCHEDULE_ID varchar2(3) number(11) # number(11) O number(11) # TICKET ID SCHEDULE ID FARE USER ID File Edit Format View OUSER 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 O TICKET ID O BD ID TICKET ID BOOKINGDETAILS varchar2(3) number(11) BD ID PBD ID number(11) ACC_NO number(11) # NAME varchar2(10) t p USER_ID number(11)0 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