Question
Express the following in relational algebraic queries
-pilot(number of pilot, name,addr,D-room);
-plane(No.plane, name, location);
- flight (No.flight,city-adr,H-Dep,H-Arr);
1.Give the list of the plane (Number and Name)whose capacity is greater than 350 passengers
2.Give all the list of information about the pilots of the company
-pilot(number of pilot, name,addr,D-room);
-plane(No.plane, name, location);
- flight (No.flight,city-adr,H-Dep,H-Arr);
1.Give the list of the plane (Number and Name)whose capacity is greater than 350 passengers
2.Give all the list of information about the pilots of the company
Answers
GPT 3.5
1. π No.plane, name(plane) (σ capacity > 350 (plane))
2. π number, name, addr, D-room(pilot)
2. π number, name, addr, D-room(pilot)
Related Questions
A plane flies horizontally at constant ground speed v=720km/h. The pilot is informed by an air traff...
1. A small plane can travel at 200 km/h in still air. If a 50.0 km/h wind is coming from the east, d...
I saw a similar question to this. Before you answer this, we are not the same person.
A pilot pla...
FLIGHT COMPANY
-PILOT (Pilot No; Pilot-name;Addr; Salary);
- FLIGHT (Flight-ID; Flight-name; H-Dep...