db_id
stringclasses 140
values | question
stringlengths 16
224
| schema
stringclasses 140
values | summarized-schema
stringlengths 18
304
| shrink-score
float64 0
1
|
---|---|---|---|---|
activity_1 | How many faculty do we have? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | 0.954545 |
activity_1 | What is the total number of faculty members? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | 0.954545 |
activity_1 | What ranks do we have for faculty? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) | 0.954545 |
activity_1 | Find the list of distinct ranks for faculty. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) | 0.954545 |
activity_1 | Show all the distinct buildings that have faculty rooms. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) | 0.954545 |
activity_1 | What buildings have faculty offices? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) | 0.954545 |
activity_1 | Show the rank, first name, and last name for all the faculty. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , fname (text) , lname (text) | 0.863636 |
activity_1 | What are the rank, first name, and last name of the faculty members? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , fname (text) , lname (text) | 0.863636 |
activity_1 | Show the first name, last name, and phone number for all female faculty members. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , phone (number) , sex (text) | 0.818182 |
activity_1 | What are the first name, last name, and phone number of all the female faculty members? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , phone (number) , sex (text) | 0.818182 |
activity_1 | Show ids for all the male faculty. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) , sex (text) | 0.909091 |
activity_1 | What are the faculty ids of all the male faculty members? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) , sex (text) | 0.909091 |
activity_1 | How many female Professors do we have? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : sex (text) , rank (text) , facid (number) | 0.863636 |
activity_1 | Count the number of female Professors we have. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : sex (text) , rank (text) , facid (number) | 0.863636 |
activity_1 | Show the phone, room, and building for the faculty named Jerry Prince. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : phone (number) , room (text) , building (text) , fname (text) , lname (text) | 0.772727 |
activity_1 | What are the phone, room, and building of the faculty member called Jerry Prince? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : phone (number) , room (text) , building (text) , fname (text) , lname (text) | 0.772727 |
activity_1 | How many Professors are in building NEB? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , building (text) , facid (number) | 0.863636 |
activity_1 | Count the number of Professors who have office in building NEB. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , building (text) , facid (number) | 0.863636 |
activity_1 | Show the first name and last name for all the instructors. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , rank (text) | 0.863636 |
activity_1 | What are the first name and last name of all the instructors? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , rank (text) | 0.863636 |
activity_1 | Show all the buildings along with the number of faculty members the buildings have. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) , facid (number) | 0.909091 |
activity_1 | How many faculty members does each building have? List the result with the name of the building. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) , facid (number) | 0.909091 |
activity_1 | Which building has most faculty members? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) , facid (number) | 0.909091 |
activity_1 | Find the building that has the largest number of faculty members. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) , facid (number) | 0.909091 |
activity_1 | Show all the buildings that have at least 10 professors. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) , rank (text) , facid (number) | 0.863636 |
activity_1 | In which buildings are there at least ten professors? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : building (text) , rank (text) , facid (number) | 0.863636 |
activity_1 | For each faculty rank, show the number of faculty members who have it. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , facid (number) | 0.909091 |
activity_1 | How many faculty members do we have for each faculty rank? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , facid (number) | 0.909091 |
activity_1 | Show all the ranks and the number of male and female faculty for each rank. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , sex (text) , facid (number) | 0.863636 |
activity_1 | How many faculty members do we have for each rank and gender? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , sex (text) , facid (number) | 0.863636 |
activity_1 | Which rank has the smallest number of faculty members? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , facid (number) | 0.909091 |
activity_1 | Find the faculty rank that has the least members. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , facid (number) | 0.909091 |
activity_1 | Show the number of male and female assistant professors. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : sex (text) , rank (text) , facid (number) | 0.863636 |
activity_1 | How many male and female assistant professors do we have? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : sex (text) , rank (text) , facid (number) | 0.863636 |
activity_1 | What are the first name and last name of Linda Smith's advisor? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , advisor (number) | faculty : fname (text) , lname (text) , facid (number) | 0.727273 |
activity_1 | Who is the advisor of Linda Smith? Give me the first name and last name. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , advisor (number) | faculty : fname (text) , lname (text) , facid (number) | 0.727273 |
activity_1 | Show the ids of students whose advisors are professors. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : stuid (number) , advisor (number) | faculty : facid (number) , rank (text) | 0.818182 |
activity_1 | Which students have professors as their advisors? Find their student ids. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : stuid (number) , advisor (number) | faculty : facid (number) , rank (text) | 0.818182 |
activity_1 | Show first name and last name for all the students advised by Michael Goodrich. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , advisor (number) | faculty : fname (text) , lname (text) , facid (number) | 0.727273 |
activity_1 | Which students are advised by Michael Goodrich? Give me their first and last names. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , advisor (number) | faculty : fname (text) , lname (text) , facid (number) | 0.727273 |
activity_1 | Show the faculty id of each faculty member, along with the number of students he or she advises. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | student : advisor (number) , stuid (number) | 0.863636 |
activity_1 | What are the faculty id and the number of students each faculty has? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | student : advisor (number) , stuid (number) | 0.863636 |
activity_1 | Show all the faculty ranks and the number of students advised by each rank. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , facid (number) | student : advisor (number) , stuid (number) | 0.818182 |
activity_1 | How many students are advised by each rank of faculty? List the rank and the number of students. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : rank (text) , facid (number) | student : advisor (number) , stuid (number) | 0.818182 |
activity_1 | What are the first and last name of the faculty who has the most students? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , advisor (number) , stuid (number) | faculty : fname (text) , lname (text) , facid (number) | 0.681818 |
activity_1 | Give me the the first and last name of the faculty who advises the most students. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , advisor (number) , stuid (number) | faculty : fname (text) , lname (text) , facid (number) | 0.681818 |
activity_1 | Show the ids for all the faculty members who have at least 2 students. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | student : advisor (number) , stuid (number) | 0.863636 |
activity_1 | Which faculty members advise two ore more students? Give me their faculty ids. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | student : advisor (number) , stuid (number) | 0.863636 |
activity_1 | Show ids for the faculty members who don't advise any student. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | student : advisor (number) | 0.909091 |
activity_1 | What are the ids of the faculty members who do not advise any student. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : facid (number) | student : advisor (number) | 0.909091 |
activity_1 | What activities do we have? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) | 0.954545 |
activity_1 | List all the activities we have. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) | 0.954545 |
activity_1 | How many activities do we have? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : actid (number) | 0.954545 |
activity_1 | Find the number of activities available. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : actid (number) | 0.954545 |
activity_1 | How many faculty members participate in an activity? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | 0.954545 |
activity_1 | Give me the number of faculty members who participate in an activity | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | 0.954545 |
activity_1 | Show the ids of the faculty who don't participate in any activity. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | faculty : facid (number) | 0.909091 |
activity_1 | Which faculty do not participate in any activity? Find their faculty ids. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | faculty : facid (number) | 0.909091 |
activity_1 | Show the ids of all the faculty members who participate in an activity and advise a student. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | student : advisor (number) | 0.909091 |
activity_1 | What are ids of the faculty members who not only participate in an activity but also advise a student. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | student : advisor (number) | 0.909091 |
activity_1 | How many activities does Mark Giuliano participate in? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | faculty : facid (number) , fname (text) , lname (text) | 0.818182 |
activity_1 | Find the number of activities Mark Giuliano is involved in. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty_participates_in : facid (number) | faculty : facid (number) , fname (text) , lname (text) | 0.818182 |
activity_1 | Show the names of all the activities Mark Giuliano participates in. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | faculty_participates_in : facid (number) , actid (number) | faculty : facid (number) , fname (text) , lname (text) | 0.681818 |
activity_1 | What are the names of the activities Mark Giuliano is involved in | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | faculty_participates_in : facid (number) , actid (number) | faculty : facid (number) , fname (text) , lname (text) | 0.681818 |
activity_1 | Show the first and last name of all the faculty members who participated in some activity, together with the number of activities they participated in. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , facid (number) | faculty_participates_in : facid (number) | 0.818182 |
activity_1 | What is the first and last name of the faculty members who participated in at least one activity? For each of them, also show the number of activities they participated in. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , facid (number) | faculty_participates_in : facid (number) | 0.818182 |
activity_1 | Show all the activity names and the number of faculty involved in each activity. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | faculty_participates_in : actid (number) | 0.863636 |
activity_1 | How many faculty members participate in each activity? Return the activity names and the number of faculty members. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | faculty_participates_in : actid (number) | 0.863636 |
activity_1 | What is the first and last name of the faculty participating in the most activities? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , facid (number) | faculty_participates_in : facid (number) | 0.818182 |
activity_1 | Find the first and last name of the faculty who is involved in the largest number of activities. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : fname (text) , lname (text) , facid (number) | faculty_participates_in : facid (number) | 0.818182 |
activity_1 | What is the name of the activity that has the most faculty members involved in? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | faculty_participates_in : actid (number) | 0.863636 |
activity_1 | Which activity has the most faculty members participating in? Find the activity name. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | faculty_participates_in : actid (number) | 0.863636 |
activity_1 | Show the ids of the students who don't participate in any activity. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | participates_in : stuid (number) | student : stuid (number) | 0.909091 |
activity_1 | What are the ids of the students who are not involved in any activity | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | participates_in : stuid (number) | student : stuid (number) | 0.909091 |
activity_1 | Show the ids for all the students who participate in an activity and are under 20. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | participates_in : stuid (number) | student : stuid (number) , age (number) | 0.863636 |
activity_1 | What are the ids of the students who are under 20 years old and are involved in at least one activity. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | participates_in : stuid (number) | student : stuid (number) , age (number) | 0.863636 |
activity_1 | What is the first and last name of the student participating in the most activities? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , stuid (number) | participates_in : stuid (number) | 0.818182 |
activity_1 | Tell me the first and last name of the student who has the most activities. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | student : fname (text) , lname (text) , stuid (number) | participates_in : stuid (number) | 0.818182 |
activity_1 | What is the name of the activity with the most students? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | participates_in : actid (number) | 0.863636 |
activity_1 | Find the name of the activity that has the largest number of student participants. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | activity : activity_name (text) , actid (number) | participates_in : actid (number) | 0.863636 |
activity_1 | Find the first names of the faculty members who are playing Canoeing or Kayaking. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : lname (text) , facid (number) | faculty_participates_in : facid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.727273 |
activity_1 | Which faculty members are playing either Canoeing or Kayaking? Tell me their first names. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : lname (text) , facid (number) | faculty_participates_in : facid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.727273 |
activity_1 | Find the first names of professors who are not playing Canoeing or Kayaking. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : lname (text) , rank (text) , facid (number) | faculty_participates_in : facid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.681818 |
activity_1 | What are the first names of the professors who do not play Canoeing or Kayaking as activities? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : lname (text) , rank (text) , facid (number) | faculty_participates_in : facid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.681818 |
activity_1 | Find the first names of the faculty members who participate in Canoeing and Kayaking. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : lname (text) , facid (number) | faculty_participates_in : facid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.727273 |
activity_1 | What are the first names of the faculty members playing both Canoeing and Kayaking? | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | faculty : lname (text) , facid (number) | faculty_participates_in : facid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.727273 |
activity_1 | Find the ids of the students who participate in Canoeing and Kayaking. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | participates_in : stuid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.818182 |
activity_1 | Which students participate in both Canoeing and Kayaking as their activities? Tell me their student ids. | activity : actid (number) , activity_name (text) | participates_in : stuid (number) , actid (number) | faculty_participates_in : facid (number) , actid (number) | student : stuid (number) , lname (text) , fname (text) , age (number) , sex (text) , major (number) , advisor (number) , city_code (text) | faculty : facid (number) , lname (text) , fname (text) , rank (text) , sex (text) , phone (number) , room (text) , building (text) | participates_in : stuid (number) , actid (number) | activity : actid (number) , activity_name (text) | 0.818182 |
flight_4 | Find the name of the airport in the city of Goroka. | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : name (text) , city (text) | 0.916667 |
flight_4 | What are the names of the airports in the city of Goroka? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : name (text) , city (text) | 0.916667 |
flight_4 | Find the name, city, country, and altitude (or elevation) of the airports in the city of New York. | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : name (text) , city (text) , country (text) , elevation (number) | 0.833333 |
flight_4 | What is the name, city, country, and elevation for every airport in the city of New York? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : name (text) , city (text) , country (text) , elevation (number) | 0.833333 |
flight_4 | How many airlines are there? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airlines : alid (number) | 0.958333 |
flight_4 | What is the total number of airlines? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airlines : alid (number) | 0.958333 |
flight_4 | How many airlines does Russia has? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airlines : country (text) , alid (number) | 0.916667 |
flight_4 | What is the number of airlines based in Russia? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airlines : country (text) , alid (number) | 0.916667 |
flight_4 | What is the maximum elevation of all airports in the country of Iceland? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : elevation (number) , country (text) | 0.916667 |
flight_4 | What is the highest elevation of an airport in the country of Iceland? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : elevation (number) , country (text) | 0.916667 |
flight_4 | Find the name of the airports located in Cuba or Argentina. | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : name (text) , country (text) | 0.916667 |
flight_4 | What are the names of all airports in Cuba or Argentina? | routes : rid (number) , dst_apid (number) , dst_ap (text) , src_apid (number) , src_ap (text) , alid (number) , airline (text) , codeshare (text) | airports : apid (number) , name (text) , city (text) , country (text) , x (number) , y (number) , elevation (number) , iata (text) , icao (text) | airlines : alid (number) , name (text) , iata (text) , icao (text) , callsign (text) , country (text) , active (text) | airports : name (text) , country (text) | 0.916667 |