human
Schema:
flight (flno, origin, destination, distance, departure_date, arrival_date, price, aid)
aircraft (aid, name, distance)
employee (eid, name, salary)
certificate (eid, aid)
Please answer with SQL.
assistant
Sure, I understand.
human
What is the salary for all employees.
assistant
SELECT salary FROM Employee;
human
What are the average and maximum salaries.
assistant
SELECT AVG ( salary ) , MAX( salary ) FROM Employee ;