Write a query to display maximum bus tickets fare and give an alias name as MAXIMUM_AMOUNT BUSES number(11) BUS_NAME varchar2(20) t varchar2(20) t TOTAL SEATS number(11) # AVAIL SEATS number(11) # P...


Databse SQL


Write a query to display maximum bus tickets fare and give an alias name as MAXIMUM_AMOUNT<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>P BUS_NO<br>SCHEDULE<br>SCHEDULE_ID<br>TRAVEL DATE<br>varchar2(3)<br>date d<br>varchar2(20) t<br>DESTINATION varchar2(20)t<br>TYPE<br>SOURCE<br>number(11) NO<br>number(11) #<br>O BUS_NO<br>DURATION<br>PAYMENTS<br>DISCOUNTS<br>DISCOUNT_ID<br>DISCOUNT_AMOUNT number(11) #<br>varchar2(3)<br>P PAYMENT_ID varchar2(3) t<br>varchar2(3)<br>number(11)<br>O DISCOUNT_ID varchar2(3)<br>TICKET ID<br>BD IDS O TICKET_ID<br>FoO BD_ID<br>TICKETS<br>DISCOUNT_ID<br>TICKET ID<br>varchar2(3) CHEDULE ID<br>O SCHEDULE_ID varchar2(3)O<br>number(11) # USER ID<br>number(11) O<br>number(11) #<br>FARE<br>PUSER 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>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) ID<br>BD_ID number(11)<br>ACC_NO number(11) #<br>NAME varchar2(10) t<br>PUSER_ID number(11)<br>USER_ID<br>

Extracted text: Write a query to display maximum bus tickets fare and give an alias name as MAXIMUM_AMOUNT BUSES number(11) BUS_NAME varchar2(20) t varchar2(20) t TOTAL SEATS number(11) # AVAIL SEATS number(11) # P BUS_NO SCHEDULE SCHEDULE_ID TRAVEL DATE varchar2(3) date d varchar2(20) t DESTINATION varchar2(20)t TYPE SOURCE number(11) NO number(11) # O BUS_NO DURATION PAYMENTS DISCOUNTS DISCOUNT_ID DISCOUNT_AMOUNT number(11) # varchar2(3) P PAYMENT_ID varchar2(3) t varchar2(3) number(11) O DISCOUNT_ID varchar2(3) TICKET ID BD IDS O TICKET_ID FoO BD_ID TICKETS DISCOUNT_ID TICKET ID varchar2(3) CHEDULE ID O SCHEDULE_ID varchar2(3)O number(11) # USER ID number(11) O number(11) # FARE PUSER 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 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) ID BD_ID number(11) ACC_NO number(11) # NAME varchar2(10) t PUSER_ID number(11) USER_ID

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here