answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT affiliation FROM table_name_4 WHERE nickname = "bulldogs" | What is Affiliation, when Nickname is Bulldogs? | CREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR) |
SELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = "Didit Juang Indrianto Yayu Rahayu" | When mixed doubles is didit juang indrianto yayu rahayu what is the most current year? | CREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR) |
SELECT percentage__2011_ FROM table_name_13 WHERE population__2006_ > 120 AND percentage__2006_ = "45.22%" | What percentage of the 2011 population had a mother tongue language that was spoken by 45.22% of the population in 2006 (over 120)? | CREATE TABLE table_name_13 (
percentage__2011_ VARCHAR,
population__2006_ VARCHAR,
percentage__2006_ VARCHAR
) |
SELECT AVG(founded) FROM table_name_68 WHERE enrollment = 4 OFFSET 000 | What is the average Founded, when Enrollment is 4,000? | CREATE TABLE table_name_68 (founded INTEGER, enrollment VARCHAR) |
SELECT boys_singles FROM table_14319023_2 WHERE mixed_doubles = "Danny Bawa Chrisnanta Debby Susanto" | When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles? | CREATE TABLE table_14319023_2 (boys_singles VARCHAR, mixed_doubles VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND demographic.dob_year < "2130" | how many american indian/alaska native patients were born before the year 2130? | CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... |
SELECT team FROM table_name_65 WHERE circuit = "amaroo park" | Which team raced at Amaroo Park? | CREATE TABLE table_name_65 (team VARCHAR, circuit VARCHAR) |
SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati" | When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? | CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_doubles VARCHAR) |
SELECT * FROM table_dev_9 WHERE hba1c > 12 | hba1c greater than 12 % | CREATE TABLE table_dev_9 (
"id" int,
"heart_disease" bool,
"hba1c" float,
"coronary_artery_disease_cad" bool,
"triglyceride_tg" float,
"hypertension" bool,
"NOUSE" float
) |
SELECT date FROM table_name_10 WHERE winner = "dick johnson" AND race_title = "calder" | On what date did Dick Johnson with at Calder? | CREATE TABLE table_name_10 (date VARCHAR, winner VARCHAR, race_title VARCHAR) |
SELECT COUNT(publisher_s_) FROM table_14325653_2 WHERE video_game = "Flushed Away" | Name the total number of publishers for flushed away | CREATE TABLE table_14325653_2 (publisher_s_ VARCHAR, video_game VARCHAR) |
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(EMPLOYEE_ID) DESC | For those employees who did not have any job in the past, a bar chart shows the distribution of hire_date and the average of employee_id bin hire_date by time, rank in desc by the total number. | CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... |
SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria" | On what date was the race in Melbourne, Victoria? | CREATE TABLE table_name_42 (date VARCHAR, city___state VARCHAR) |
SELECT publisher_s_ FROM table_14325653_2 WHERE video_game = "Resident Evil 4" | Name the publisher for resident evil 4 | CREATE TABLE table_14325653_2 (publisher_s_ VARCHAR, video_game VARCHAR) |
SELECT event_4 FROM table_name_10 WHERE event_1 = "gauntlet" AND event_2 = "duel" AND event_3 = "pendulum" | What is event 4 when event one was gauntlet, event 2 was duel, and event 3 was pendulum? | CREATE TABLE table_name_10 (
event_4 VARCHAR,
event_3 VARCHAR,
event_1 VARCHAR,
event_2 VARCHAR
) |
SELECT city___state FROM table_name_80 WHERE circuit = "calder park raceway" | Which city or state contains Calder Park Raceway? | CREATE TABLE table_name_80 (city___state VARCHAR, circuit VARCHAR) |
SELECT MAX(total_number) FROM table_14330096_4 | What is the highest total number? | CREATE TABLE table_14330096_4 (total_number INTEGER) |
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT inputevents_cv.itemid FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1784)) AND DATETIME(inputevents_cv.c... | what is the name of the intake that patient 1784 first had today? | CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
chartti... |
SELECT MIN(margin) FROM table_name_79 WHERE st_kilda_saints = "11.13 (79)" | What is the most reduced Margin that has a St Kilda Saints of 11.13 (79)? | CREATE TABLE table_name_79 (margin INTEGER, st_kilda_saints VARCHAR) |
SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby" | How many of the episodes have Roger Goldby as the director? | CREATE TABLE table_14330096_4 (total_number VARCHAR, director VARCHAR) |
SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay" | What is the highest playoffs that has tampa bay as the team? | CREATE TABLE table_name_79 (
playoffs INTEGER,
teams VARCHAR
) |
SELECT AVG(margin) FROM table_name_3 WHERE round = "13. (h)" | What is the average Margin that has a Round of 13. (h)? | CREATE TABLE table_name_3 (margin INTEGER, round VARCHAR) |
SELECT title FROM table_14330096_4 WHERE director = "Patrick Lau" AND writer = "Lisa Holdsworth" | Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer? | CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR) |
SELECT AVG("Crowd") FROM table_32933 WHERE "Away team" = 'north melbourne' | What is the average crowd size for games with north melbourne as the away side? | CREATE TABLE table_32933 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT location FROM table_name_46 WHERE team = "south adelaide" | What is the location of South Adelaide? | CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR) |
SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B" | What is the Closure date of Hunterston B | CREATE TABLE table_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR) |
SELECT year FROM table_name_60 WHERE name = "asi peko" | What year was Asi Peko? | CREATE TABLE table_name_60 (
year VARCHAR,
name VARCHAR
) |
SELECT team FROM table_name_98 WHERE coach = "unknown" AND location = "athelstone" | Which team has an unknown coach and location of Athelstone? | CREATE TABLE table_name_98 (team VARCHAR, coach VARCHAR, location VARCHAR) |
SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = "Heysham 2" | How many power stations are connected to grid at Heysham 2 | CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHI... | list all flights from PITTSBURGH to PHILADELPHIA | CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,
departure_flight_number int,
stop_time int
)
CREATE TABLE flight_fare ... |
SELECT founded FROM table_name_59 WHERE location = "athelstone" | When was the team that plays at Athelstone founded? | CREATE TABLE table_name_59 (founded VARCHAR, location VARCHAR) |
SELECT construction_started FROM table_143352_1 WHERE agr_power_station = "Heysham 1" | What year did construction start at Heysham 1 | CREATE TABLE table_143352_1 (construction_started VARCHAR, agr_power_station VARCHAR) |
SELECT "date" FROM table_203_673 WHERE "date" IN ('july 1', 'july 2') ORDER BY "attendance" DESC LIMIT 1 | which attendance was higher , july 1 or july 2 ? | CREATE TABLE table_203_673 (
id number,
"#" number,
"date" text,
"opponent" text,
"score" text,
"win" text,
"loss" text,
"save" text,
"attendance" number,
"record" text
) |
SELECT coach FROM table_name_6 WHERE location = "port pirie" | Who is the coach of the team from Port Pirie? | CREATE TABLE table_name_6 (coach VARCHAR, location VARCHAR) |
SELECT MIN(construction_started) FROM table_143352_1 WHERE net_mwe = 1190 | When did construction start on the Power station with a net MWE of 1190 | CREATE TABLE table_143352_1 (construction_started INTEGER, net_mwe VARCHAR) |
SELECT "High assists" FROM table_3841 WHERE "Game" = '9' | Who had high assists in game number 9? | CREATE TABLE table_3841 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
) |
SELECT coach FROM table_name_25 WHERE home_ground = "club cove" | Who is the coach of the team with home ground at Club Cove? | CREATE TABLE table_name_25 (coach VARCHAR, home_ground VARCHAR) |
SELECT MAX(extra_points) FROM table_14341967_2 WHERE player = "John Heston" | Name the most extra points for john heston | CREATE TABLE table_14341967_2 (extra_points INTEGER, player VARCHAR) |
SELECT rank FROM table_name_35 WHERE goals > 10 AND scorer = "choi sang-kuk" | Which Rank has Goals larger than 10, and a Scorer of choi sang-kuk? | CREATE TABLE table_name_35 (
rank VARCHAR,
goals VARCHAR,
scorer VARCHAR
) |
SELECT team FROM table_name_48 WHERE founded = "1970" | Which team was founded in 1970? | CREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR) |
SELECT MAX(points) FROM table_14342367_11 | Who scored the most points? | CREATE TABLE table_14342367_11 (points INTEGER) |
SELECT championship FROM table_1272033_1 WHERE previous_champion_s_ = "Genesis" | What tourmament has Genesis won previously? | CREATE TABLE table_1272033_1 (
championship VARCHAR,
previous_champion_s_ VARCHAR
) |
SELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = "acharya shree koshalendraprasadji maharaj" | When did acharya shree koshalendraprasadji maharaj become acharya? | CREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR) |
SELECT position FROM table_14342367_11 WHERE player = "Joe Maddock" | What position did Joe Maddock play? | CREATE TABLE table_14342367_11 (position VARCHAR, player VARCHAR) |
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T1.Name | For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and code , and group by attribute headquarter, show bar from low to high order. | CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) |
SELECT term FROM table_name_5 WHERE name_of_acharya = "acharya shree vasudevprasadji maharaj" | What is the term of acharya shree vasudevprasadji maharaj? | CREATE TABLE table_name_5 (term VARCHAR, name_of_acharya VARCHAR) |
SELECT COUNT(extra_points) FROM table_14342367_11 WHERE player = "Paul Jones" | How many extra points did Paul Jones score? | CREATE TABLE table_14342367_11 (extra_points VARCHAR, player VARCHAR) |
SELECT MIN("Total") FROM table_59801 WHERE "Nation" = 'lithuania' AND "Silver" > '0' | What is the total that wehn Lithuania is the nation, and Silver is more than 0? | CREATE TABLE table_59801 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) |
SELECT event FROM table_name_54 WHERE record = "9-4-1" | What was the event where justin robbins had a record of 9-4-1? | CREATE TABLE table_name_54 (event VARCHAR, record VARCHAR) |
SELECT points FROM table_14342367_7 WHERE player = "Albert Herrnstein" | How many points did Albert Herrnstein make? | CREATE TABLE table_14342367_7 (points VARCHAR, player VARCHAR) |
SELECT "Delegates" FROM table_1423 WHERE "Candidate" = 'John McCain' | Candidate John Mccain had how many delegates? | CREATE TABLE table_1423 (
"Candidate" text,
"State Delegate" real,
"Percentage" text,
"Delegates" real,
"Counties Carries" real
) |
SELECT location FROM table_name_1 WHERE opponent = "billy kidd" | Where was the location where justin robbins fought against billy kidd? | CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR) |
SELECT position FROM table_14342367_7 WHERE player = "Paul Jones" | What positions did Paul Jones play? | CREATE TABLE table_14342367_7 (position VARCHAR, player VARCHAR) |
SELECT name FROM table_name_31 WHERE borough = "anchorage" AND type = "natural history" | In what Borough is the Anchorage museum of Natural History? | CREATE TABLE table_name_31 (
name VARCHAR,
borough VARCHAR,
type VARCHAR
) |
SELECT method FROM table_name_87 WHERE event = "cage warriors 39" | What was the method of resolution for the fight at cage warriors 39? | CREATE TABLE table_name_87 (method VARCHAR, event VARCHAR) |
SELECT MIN(field_goals) FROM table_14342367_7 | What is the least amount of field goals made by a player? | CREATE TABLE table_14342367_7 (field_goals INTEGER) |
SELECT season FROM table_name_87 WHERE round = "first round" AND result = "4–1, 0–1" | What season had a game in the first round with a result of 4 1, 0 1? | CREATE TABLE table_name_87 (
season VARCHAR,
round VARCHAR,
result VARCHAR
) |
SELECT SUM(regular_season) FROM table_name_41 WHERE playoffs = 35 AND total > 302 | A total larger than 302 and playoffs of 35 also list the total of regular seasons as what? | CREATE TABLE table_name_41 (regular_season INTEGER, playoffs VARCHAR, total VARCHAR) |
SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey" | How many extra points did Paul Dickey received | CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR) |
SELECT DISTINCT program_course.workload FROM course, program_course WHERE course.department = 'EECS' AND course.number = 790 AND program_course.course_id = course.course_id | EECS 790 workload is like ? | CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varchar,
has_p... |
SELECT college_junior_club_team__league_ FROM table_name_7 WHERE round > 4 AND position = "lw" AND player = "mark miller" | What is the college/junior/club team (league) of lw position player mark miller, from a round greater than 4? | CREATE TABLE table_name_7 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR) |
SELECT MIN(field_goals__5_points_) FROM table_14342367_15 | How many 5 points field goals is minimum | CREATE TABLE table_14342367_15 (field_goals__5_points_ INTEGER) |
SELECT "Date" FROM table_69019 WHERE "Home" = 'detroit' AND "Visitor" = 'colorado' | What is the date of the match when Detroit is the home team and Colorado is the visiting team? | CREATE TABLE table_69019 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
) |
SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10 | Who is the lw position player from a round greater than 10? | CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) |
SELECT COUNT(player) FROM table_14342367_15 WHERE total_points = 75 | How many player with total points of 75 | CREATE TABLE table_14342367_15 (player VARCHAR, total_points VARCHAR) |
SELECT "Coach" FROM table_73287 WHERE "Premier date" = 'February 16, 2008' AND "Episode" > '21.0' | What coach premiered February 16, 2008 later than episode 21.0? | CREATE TABLE table_73287 (
"Season" real,
"Episode" real,
"Episode Summary" text,
"Premier date" text,
"External Link" text,
"Coach" text
) |
SELECT player FROM table_name_20 WHERE round = 8 | Who is the player from round 8? | CREATE TABLE table_name_20 (player VARCHAR, round VARCHAR) |
SELECT MAX(field_goals) FROM table_14342480_5 | Name the most field goals | CREATE TABLE table_14342480_5 (field_goals INTEGER) |
SELECT location_attendance FROM table_23248910_6 WHERE team = "Nets" | What location and it's attendance was the game against the Nets? | CREATE TABLE table_23248910_6 (
location_attendance VARCHAR,
team VARCHAR
) |
SELECT nationality FROM table_name_14 WHERE round = 7 | What is the nationality of the player from round 7? | CREATE TABLE table_name_14 (nationality VARCHAR, round VARCHAR) |
SELECT COUNT(points) FROM table_14342480_5 WHERE position = "Right halfback" AND starter = "yes" | Name the number of points for right halfback and starter being yes | CREATE TABLE table_14342480_5 (points VARCHAR, position VARCHAR, starter VARCHAR) |
SELECT region FROM table_name_27 WHERE catalog = "vlmx 1087-3" | What is the Region with a Catalog that is vlmx 1087-3? | CREATE TABLE table_name_27 (
region VARCHAR,
catalog VARCHAR
) |
SELECT nationality FROM table_name_31 WHERE round = 5 | What is the nationality of the player from round 5? | CREATE TABLE table_name_31 (nationality VARCHAR, round VARCHAR) |
SELECT COUNT(field_goals) FROM table_14342480_5 WHERE position = "Right tackle" | Na,e the number of field goals for right tackle | CREATE TABLE table_14342480_5 (field_goals VARCHAR, position VARCHAR) |
SELECT "Director" FROM table_63546 WHERE "Writer" = 'russell t davies and james moran' | Who was the director of the episode written by Russell T Davies and James Moran? | CREATE TABLE table_63546 (
"Children of Earth" text,
"Run time" text,
"Writer" text,
"Director" text,
"Original airdate" text,
"Viewers (including HD) in millions" text
) |
SELECT state FROM table_name_98 WHERE elected_assumed_office = 2013 | What state had an elected/assumed office in 2013? | CREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR) |
SELECT MAX(extra_points) FROM table_14342480_5 WHERE position = "Right halfback" | Name the most extra points for right halfback | CREATE TABLE table_14342480_5 (extra_points INTEGER, position VARCHAR) |
SELECT COUNT("2nd leg") FROM table_19179 WHERE "Aggregate" = '2-4' | How many 2nd legs had an aggregate of 2-4? | CREATE TABLE table_19179 (
"Home (1st leg)" text,
"Home (2nd leg)" text,
"1st Leg" text,
"2nd leg" text,
"Aggregate" text
) |
SELECT air_date FROM table_name_95 WHERE episode = "gary tries to do it all" | What was the air date of 'Gary tries to do it all'? | CREATE TABLE table_name_95 (air_date VARCHAR, episode VARCHAR) |
SELECT position FROM table_14342592_3 WHERE player = "Tom Hammond" | What positions does Tom Hammond play? | CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR) |
SELECT login_name, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name | Find login_name and gender_mf , and visualize them by a bar chart. | CREATE TABLE Student_Course_Enrolment (
registration_id INTEGER,
student_id INTEGER,
course_id INTEGER,
date_of_enrolment DATETIME,
date_of_completion DATETIME
)
CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_des... |
SELECT location FROM table_name_44 WHERE established = 2000 | What is the location of the university that was established in 2000? | CREATE TABLE table_name_44 (location VARCHAR, established VARCHAR) |
SELECT position FROM table_14342592_3 WHERE player = "Hal Weeks" | What positions does Hal Weeks play? | CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR) |
SELECT MIN(total) FROM table_1108394_43 | what is the minimum total | CREATE TABLE table_1108394_43 (
total INTEGER
) |
SELECT COUNT(established) FROM table_name_14 WHERE nickname = "pride" | What year was the team with the nickname pride established? | CREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR) |
SELECT points FROM table_14342592_3 WHERE player = "Clark" | How many points does Clark have? | CREATE TABLE table_14342592_3 (points VARCHAR, player VARCHAR) |
SELECT AVG("Rank 2014") FROM table_58616 WHERE "2009\u201310" = '21.233' | Which Rank 2014 has a 2009 10 of 21.233? | CREATE TABLE table_58616 (
"Rank 2014" real,
"Rank 2013" real,
"Mvmt" text,
"Club" text,
"Country" text,
"2009\u201310" real,
"2010\u201311" real,
"2011\u201312" real,
"2012\u201313" real,
"2013\u201314" real,
"Coeff." real
) |
SELECT enrollment FROM table_name_68 WHERE established > 2011 | What is the enrollment of the university established in or after 2011? | CREATE TABLE table_name_68 (enrollment VARCHAR, established INTEGER) |
SELECT COUNT(points) FROM table_14342592_7 WHERE position = "Right guard" | How many points did the player who was right guard score? | CREATE TABLE table_14342592_7 (points VARCHAR, position VARCHAR) |
SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN course ON course.course_id = course_offering.course_id WHERE course.name L... | In Transactional Drafting , who have all the teachers been past present and future ? | CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
has_final_proje... |
SELECT country FROM table_name_34 WHERE winner = "ole ellefsæter" | What country was ole ellefsæter from? | CREATE TABLE table_name_34 (country VARCHAR, winner VARCHAR) |
SELECT starter FROM table_14342592_7 WHERE touchdowns = 3 | Was there a starter when 3 touchdowns were scored? | CREATE TABLE table_14342592_7 (starter VARCHAR, touchdowns VARCHAR) |
SELECT stage FROM table_name_7 WHERE team_classification = "banesto" AND points_classification = "tony rominger" | Which stage corresponds to Banesto and Tony Rominger? | CREATE TABLE table_name_7 (
stage VARCHAR,
team_classification VARCHAR,
points_classification VARCHAR
) |
SELECT winner FROM table_name_4 WHERE fis_nordic_world_ski_championships = "1972" | Who won the FIS Nordic World Ski Championships in 1972? | CREATE TABLE table_name_4 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR) |
SELECT MAX(touchdowns) FROM table_14342592_7 WHERE player = "Heston" | How many touchdowns were there when Heston was in play? | CREATE TABLE table_14342592_7 (touchdowns INTEGER, player VARCHAR) |
SELECT COUNT(report) FROM table_18893428_1 WHERE driver = "Charles Jarrott" | How many times did Charles Jarrott report? | CREATE TABLE table_18893428_1 (
report VARCHAR,
driver VARCHAR
) |
SELECT money___$__ FROM table_name_44 WHERE place = "t6" AND country = "spain" | For a country of Spain, place of t6, what is the Money ($)? | CREATE TABLE table_name_44 (money___$__ VARCHAR, place VARCHAR, country VARCHAR) |
SELECT MAX(points) FROM table_14342592_7 WHERE position = "Left tackle" AND extra_points = 5 | How many maximum points were there when the left tackle was played and there were 5 extra points? | CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR) |
SELECT Price, Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code | For those records from the products and each product's manufacturer, show me about the correlation between price and manufacturer in a scatter chart. | CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
) |
SELECT country FROM table_name_20 WHERE to_par = "e" | Which country has a to par of e? | CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.