Professional Documents
Culture Documents
CAT-2
Submitted by:
PRATHAP M (18MIS0299)
1.Create tables identifying the primary keys and foreign keys
2. Insert required rows to each table.
a) select tno from train_18MIS0299 where source='katpadi' and destination='pune';
b) select pnrno from PASSENGER_18MIS0299 where (select count(*) from Passenger
where pnrno=?)>5;