db_name
stringclasses
146 values
prompt
stringlengths
310
4.81k
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # L...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # w...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # L...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # F...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # P...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # L...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # F...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # L...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # S...
ship_mission
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # mission ( Mission_ID, Ship_ID, Code, Launched_Year, Location, Speed_knots, Fate ) # ship ( Ship_ID, Name, Type, Nationality, Tonnage ) # # mission.Ship_ID can be joined with ship.Ship_ID # ### Question: # # W...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the number of students in total. # ### SQL: # # SELECT count(*) FROM list # ### End.
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many students are there? # ### SQL: # # SELECT count(*) FROM list # ### End.
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the last names of students studying in room 111. # ### SQL: # # SELECT lastname FROM li...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the last names of students in room 111? # ### SQL: # # SELECT lastname FROM list WH...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the first names of students studying in room 108. # ### SQL: # # SELECT firstname FROM ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the first names of students in room 108? # ### SQL: # # SELECT firstname FROM list ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the first names of students studying in room 107? # ### SQL: # # SELECT DISTINCT fi...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # List the first names of all the students in room 107. # ### SQL: # # SELECT DISTINCT firstna...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each classroom report the grade that is taught in it. Report just the classroom number and...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the grade number and classroom number of each class in the list? # ### SQL: # # SEL...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which grade is studying in classroom 103? # ### SQL: # # SELECT DISTINCT grade FROM list WHE...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the grade taught in classroom 103. # ### SQL: # # SELECT DISTINCT grade FROM list WHERE...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the grade studying in room 105. # ### SQL: # # SELECT DISTINCT grade FROM list WHERE cl...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which grade is studying in room 105? # ### SQL: # # SELECT DISTINCT grade FROM list WHERE cl...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which classrooms are used by grade 4? # ### SQL: # # SELECT DISTINCT classroom FROM list WHE...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the classrooms in which grade 4 is studying. # ### SQL: # # SELECT DISTINCT classroom F...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which classrooms are used by grade 5? # ### SQL: # # SELECT DISTINCT classroom FROM list WHE...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Show me the classrooms grade 5 is using. # ### SQL: # # SELECT DISTINCT classroom FROM list ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the last names of the teachers that teach fifth grade. # ### SQL: # # SELECT DISTINCT T...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # what are the last names of the teachers who teach grade 5? # ### SQL: # # SELECT DISTINCT T2...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the first names of the teachers that teach first grade. # ### SQL: # # SELECT DISTINCT ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the first names of the teachers who teach grade 1? # ### SQL: # # SELECT DISTINCT T...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the first names of all the teachers that teach in classroom 110. # ### SQL: # # SELECT ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which teachers teach in classroom 110? Give me their first names. # ### SQL: # # SELECT firs...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the last names of teachers teaching in classroom 109. # ### SQL: # # SELECT lastname FR...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which teachers teach in classroom 109? Give me their last names. # ### SQL: # # SELECT lastn...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Report the first name and last name of all the teachers. # ### SQL: # # SELECT DISTINCT firs...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the first name and last name of all the teachers? # ### SQL: # # SELECT DISTINCT fi...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Report the first name and last name of all the students. # ### SQL: # # SELECT DISTINCT firs...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Show each student's first name and last name. # ### SQL: # # SELECT DISTINCT firstname , la...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find all students taught by OTHA MOYER. Output the first and last names of the students. # ##...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which students study under the teacher named OTHA MOYER? Give me the first and last names of t...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find all students taught by MARROTTE KIRK. Output first and last names of students. # ### SQL...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which are the first and last names of the students taught by MARROTTE KIRK? # ### SQL: # # S...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the first and last name of all the teachers that teach EVELINA BROMLEY. # ### SQL: # # ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which teachers teach the student named EVELINA BROMLEY? Give me the first and last name of th...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the last names of all the teachers that teach GELL TAMI. # ### SQL: # # SELECT T2.lastn...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the last names of the teachers who teach the student called GELL TAMI? # ### SQL: # ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many students does LORIA ONDERSMA teaches? # ### SQL: # # SELECT count(*) FROM list AS T...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Count the number of students the teacher LORIA ONDERSMA teaches. # ### SQL: # # SELECT count...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many students does KAWA GORDON teaches? # ### SQL: # # SELECT count(*) FROM list AS T1 J...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the number of students taught by the teacher KAWA GORDON. # ### SQL: # # SELECT count(*...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the number of students taught by TARRING LEIA. # ### SQL: # # SELECT count(*) FROM list...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many students are taught by teacher TARRING LEIA? # ### SQL: # # SELECT count(*) FROM li...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many teachers does the student named CHRISSY NABOZNY have? # ### SQL: # # SELECT count(*...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the number of teachers who teach the student called CHRISSY NABOZNY. # ### SQL: # # SEL...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many teachers does the student named MADLOCK RAY have? # ### SQL: # # SELECT count(*) FR...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the number of teachers who teach the student called MADLOCK RAY. # ### SQL: # # SELECT ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find all first-grade students who are NOT taught by OTHA MOYER. Report their first and last na...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # What are the first and last names of the first-grade students who are NOT taught by teacher OT...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the last names of the students in third grade that are not taught by COVIN JEROME. # ###...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which students in third grade are not taught by teacher COVIN JEROME? Give me the last names o...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each grade, report the grade, the number of classrooms in which it is taught and the total...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each grade, return the grade number, the number of classrooms used for the grade, and the ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each classroom, report the classroom number and the number of grades using it. # ### SQL:...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each classroom, show the classroom number and count the number of distinct grades that use...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which classroom has the most students? # ### SQL: # # SELECT classroom FROM list GROUP BY cl...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the classroom that the most students use. # ### SQL: # # SELECT classroom FROM list GRO...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Report the number of students in each classroom. # ### SQL: # # SELECT classroom , count(*)...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each classroom, show the classroom number and find how many students are using it. # ### ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each grade 0 classroom, report the total number of students. # ### SQL: # # SELECT class...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each grade 0 classroom, return the classroom number and the count of students. # ### SQL:...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Report the total number of students for each fourth-grade classroom. # ### SQL: # # SELECT c...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # For each fourth-grade classroom, show the classroom number and the total number of students us...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the name of the teacher who teaches the largest number of students. # ### SQL: # # SELE...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Which teacher teaches the most students? Give me the first name and last name of the teacher. ...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # Find the number of students in one classroom. # ### SQL: # # SELECT count(*) , classroom FR...
student_1
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # list ( LastName, FirstName, Grade, Classroom ) # teachers ( LastName, FirstName, Classroom ) # # ### Question: # # How many students does one classroom have? # ### SQL: # # SELECT count(*) , classroom FROM ...
company_employee
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # people ( People_ID, Age, Name, Nationality, Graduation_College ) # company ( Company_ID, Name, Headquarters, Industry, Sales_in_Billion, Profits_in_Billion, Assets_in_Billion, Market_Value_in_Billion ) # employme...
company_employee
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # people ( People_ID, Age, Name, Nationality, Graduation_College ) # company ( Company_ID, Name, Headquarters, Industry, Sales_in_Billion, Profits_in_Billion, Assets_in_Billion, Market_Value_in_Billion ) # employme...
company_employee
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # people ( People_ID, Age, Name, Nationality, Graduation_College ) # company ( Company_ID, Name, Headquarters, Industry, Sales_in_Billion, Profits_in_Billion, Assets_in_Billion, Market_Value_in_Billion ) # employme...
company_employee
### Complete SQL query only and with no explanation ### SQL tables followed by foreign key information: # # people ( People_ID, Age, Name, Nationality, Graduation_College ) # company ( Company_ID, Name, Headquarters, Industry, Sales_in_Billion, Profits_in_Billion, Assets_in_Billion, Market_Value_in_Billion ) # employme...