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
Hi can you tell me what is the average salary?
assistant
SELECT AVG ( salary ) FROM Employee;
human
What is the name of employees with three lowest salaries?
assistant
SELECT name FROM Employee ORDER BY salary ASC LIMIT 3 ;