text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### Context: CREATE TABLE table_203_52 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many car... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_53755 (
"Goal" real,
"Date" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for uncaf nations cup 2009 and 6 goal
### Query: SELECT "Result" FROM table_... |
### Context: CREATE TABLE people (
Name VARCHAR,
People_ID VARCHAR
)
CREATE TABLE perpetrator (
People_ID VARCHAR,
Year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of perpetrators in descending order of the year.
### Query: SELECT... |
### Context: 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_name_18 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the game played against on October 9, 1966?
### Query: SELECT opponent FROM table_name_18 WHERE date = "october 9, 1966" |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_name_40 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 2011, when 2008 is '2R'?
### Query: SELECT 2011 FROM table_name_40 WHERE 2008 = "2r" |
### Context: CREATE TABLE table_name_21 (
event VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event had Xu Zhilin competing?
### Query: SELECT event FROM table_name_21 WHERE name = "xu zhilin" |
### Context: CREATE TABLE table_name_71 (
home_team VARCHAR,
crowd INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team when the crowd was larger than 13,557?
### Query: SELECT home_team FROM table_name_71 WHERE crowd > 13 OFFSET 557 |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME var... |
### Context: CREATE TABLE table_name_8 (
event VARCHAR,
method VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what event was the technical decision (split) method used?
### Query: SELECT event FROM table_name_8 WHERE method = "technical decision (split)" |
### Context: CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_count INTEGER,
bedroom_count INTEGER,
room_count CHAR(5)
)
CREATE TABLE Apa... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ta (
campu... |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE table_5270 (
"Position" text,
"Race Number" real,
"Driver" text,
"Country" text,
"Laps" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country is john nielsen from
### Query: SELECT "Country" FROM table_5270 WHERE "Dr... |
### Context: CREATE TABLE table_23835213_2 (
undisclosed VARCHAR,
wycombe_wanderers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the undisclosed when Aldertown is Aldershot Town and Wycombe Wanderers is Oxford United?
### Query: SELECT undisclosed... |
### Context: CREATE TABLE table_11677760_1 (
college VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the college for the player damon bailey?
### Query: SELECT college FROM table_11677760_1 WHERE player = "Damon Bailey" |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: 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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE table_name_42 (
attendance INTEGER,
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance of the game that has the opponent of The Nationals with a record of 68-51?
### Query: SELECT SUM... |
### Context: CREATE TABLE table_name_86 (
laps INTEGER,
grid VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a Grid less than 15, and a Time of +52.833, what is the highest number of Laps?
### Query: SELECT MAX(laps) FROM table_name_86... |
### Context: CREATE TABLE table_name_25 (
wins INTEGER,
country VARCHAR,
last_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Wins has a Country of new zealand and a Last title larger than 1968?
### Query: SELECT MIN(wins) FROM table_name_25 ... |
### Context: CREATE TABLE table_name_50 (
wins INTEGER,
played VARCHAR,
goals_for VARCHAR,
losses VARCHAR,
goal_difference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Wins, when Losses is less than 10, when Goal Difference i... |
### Context: CREATE TABLE table_77891 (
"Vehicle Numbers" text,
"Vehicle Types" text,
"Livery" text,
"Location" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what status is the vehicle numbers of adb977554?
### Query: SELECT "Status... |
### Context: CREATE TABLE table_204_477 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many drivers... |
### Context: CREATE TABLE table_203_52 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had the ... |
### Context: CREATE TABLE table_name_15 (
bike VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which bike had fewer than 23 laps and a grid number of 4?
### Query: SELECT bike FROM table_name_15 WHERE laps < 23 AND grid = 4 |
### Context: CREATE TABLE table_train_69 (
"id" int,
"systolic_blood_pressure_sbp" int,
"language" string,
"valvular_dysfunction" bool,
"heart_disease" bool,
"temperature" float,
"sepsis" bool,
"heart_rate" int,
"lipid_metabolism" bool,
"organ_failure" bool,
"NOUSE" float
)
... |
### Context: CREATE TABLE table_1678 (
"Position" real,
"Team" text,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Average 1" text,
"Points 2" real
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE table_203_600 (
id number,
"rank" text,
"country" text,
"winners" number,
"runners-up" number,
"finals total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country has the least finals totals ?
### Query: SELEC... |
### Context: CREATE TABLE table_11419 (
"Name" text,
"Bodyweight" real,
"Snatch" real,
"Clean & jerk" real,
"Total (kg)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which bodyweight has a Total (kg) of 145.0?
### Query: SELECT "Bodyweight" FROM ... |
### Context: CREATE TABLE table_name_24 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when the Washington Nationals had a record of 8-4?
### Query: SELECT opponent FROM table_name_24 WHERE record = "8-4" |
### Context: CREATE TABLE table_name_46 (
date__from_ VARCHAR,
name_of_system VARCHAR,
traction_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did the event begin that had a steam traction type and used the system named HSM (1883 1910) ... |
### Context: CREATE TABLE table_name_34 (
date VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the game that resulted in L 30-27?
### Query: SELECT date FROM table_name_34 WHERE result = "l 30-27" |
### Context: CREATE TABLE table_name_23 (
tournament VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament took place on October 11, 2013?
### Query: SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
... |
### Context: CREATE TABLE table_58067 (
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Score" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the tournament in Budapest?
### Query: SELECT "Score" FROM... |
### Context: CREATE TABLE table_38687 (
"Type" text,
"Actual Exponent" text,
"Exp (biased)" text,
"Exponent field" text,
"Significand (fraction field)" text,
"Value" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the type of 0.0 value?
#... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
Cre... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE SuggestedEditVotes (
Id number,
Sugge... |
### Context: CREATE TABLE table_25906 (
"Episode" text,
"First broadcast" text,
"Seans team" text,
"Jons team" text,
"Scores" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the episode that had Jack Dee and Stacey Solomon on Sean's team?
#... |
### Context: CREATE TABLE table_42817 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Away captain that played on 12,13,14 Jun 1902 which resulted in a draw?
... |
### Context: CREATE TABLE climber (
Climber_ID int,
Name text,
Country text,
Time text,
Points real,
Mountain_ID int
)
CREATE TABLE mountain (
Mountain_ID int,
Name text,
Height real,
Prominence real,
Range text,
Country text
)
-- Using valid SQLite, answer the followi... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,... |
### Context: CREATE TABLE table_name_44 (
country VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has to par E with Mark O'Meara?
### Query: SELECT country FROM table_name_44 WHERE to_par = "e" AND player = "m... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
... |
### Context: CREATE TABLE table_name_32 (
premiere VARCHAR,
the_biggest_loser VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the premiere date of the season won by Matt Hoover?
### Query: SELECT premiere FROM table_name_32 WHERE the_biggest_loser =... |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar... |
### Context: CREATE TABLE table_10526 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for the total less than 1?
### Query: SELECT AVG("Rank") FROM... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_name_79 (
crowd INTEGER,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest crowd with home team richmond?
### Query: SELECT MIN(crowd) FROM table_name_79 WHERE home_team = "richmond" |
### Context: CREATE TABLE table_49006 (
"Rank" text,
"Team" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Run 4" text,
"Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Run 2, when Run 1 is 2:09.09?
### Query: SELECT "Run 2"... |
### Context: CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier te... |
### Context: CREATE TABLE table_26902 (
"Items" text,
"2008 - Q1" text,
"2008-Q2" text,
"2008-Q3" text,
"extrapol. 08" text,
"year 2007" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year 2007 for 668 being 2008-q1
### Query: SELECT "... |
### Context: CREATE TABLE table_1026 (
"Player" text,
"Position" text,
"Games started" text,
"Hometown" text,
"Height" text,
"Weight" real,
"Class" text,
"Previous experience" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many playe... |
### Context: CREATE TABLE table_name_42 (
team VARCHAR,
races VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which teams had the 1st position and entered 1 race?
### Query: SELECT team FROM table_name_42 WHERE races = "1" AND position ... |
### Context: CREATE TABLE table_204_427 (
id number,
"creature (other planes)" text,
"page" text,
"other appearances" text,
"variants" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first creature -lrb- other plan... |
### Context: CREATE TABLE table_59572 (
"Manufacturer" text,
"Model" text,
"Kit/Factory" text,
"Wing" text,
"Seats" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Kit/Factory has a J250 model made by Jabiru?
### Query: SELECT "Kit/Factory" FRO... |
### Context: CREATE TABLE table_name_29 (
mwehl_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which MWEHL team has player Ben Johnson?
### Query: SELECT mwehl_team FROM table_name_29 WHERE player = "ben johnson" |
### Context: CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### Context: CREATE TABLE table_70399 (
"Year" real,
"Division" text,
"League" text,
"Reg. Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What league did they play in 2001?
### Query: SELECT "League" FR... |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback in... |
### Context: CREATE TABLE table_name_82 (
wins INTEGER,
losses VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins have 16 losses and an Against smaller than 3213?
### Query: SELECT SUM(wins) FROM table_name_82 WHERE losses = 1... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name t... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE hz_info (
KH text,
... |
### Context: CREATE TABLE table_63047 (
"Year" real,
"Song Title" text,
"Film" text,
"Co - Singer" text,
"Music - Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the film from 2013 with a song title of 'neetho edo' with a solo co-si... |
### Context: CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Nu... |
### Context: CREATE TABLE table_7132 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location of the fight when... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
mi... |
### Context: CREATE TABLE table_35815 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for james o'h. patterson when first elected in 1904?
### Quer... |
### Context: CREATE TABLE table_name_82 (
game VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the number of the game when the record was 11-12?
### Query: SELECT game FROM table_name_82 WHERE record = "11-12" |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,... |
### Context: CREATE TABLE table_16909 (
"Model number" text,
"sSpec number" text,
"Frequency" text,
"L2 cache" text,
"FSB" text,
"Mult." text,
"Voltage" text,
"TDP" text,
"Socket" text,
"Release date" text,
"Part number(s)" text,
"Release price ( USD )" text
)
-- Using ... |
### Context: CREATE TABLE table_39953 (
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest score with 0 wins and more than 2 Byes?
### Query: SELECT MAX("Against") FRO... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_71486 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Team 1 for a 2nd leg of 1-4?
### Query: SELECT "Team 1" FROM table_71486 WHERE "... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE storm (
Storm_ID int,
Name text,
Dates_active text,
Max_speed int,
Damage_millions_USD real,
Number_Deaths int
)
CREATE TABLE region (
Region_id int,
Region_code text,
Region_name text
)
CREATE TABLE affected_region (
Region_id int,
Storm_ID int,
... |
### Context: CREATE TABLE table_2668264_22 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party does joel r. poinsett represent?
### Query: SELECT party FROM table_2668264_22 WHERE incumbent = "Joel R. Poinsett" |
### Context: CREATE TABLE table_77676 (
"Year" real,
"Competition" text,
"Date" text,
"Location" text,
"Score" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the year for 5 february?
### Query: SELECT SUM("Year... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
... |
### Context: CREATE TABLE table_21655290_1 (
film_title_used_in_nomination VARCHAR,
year__ceremony_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which film title used in nomination has the year (ceremony) 1990 (63rd)?
### Query: SELECT film_title_used_in_... |
### Context: CREATE TABLE table_46052 (
"Team" text,
"Tries for" text,
"Tries against" text,
"Try diff" text,
"Points for" text,
"Points against" text,
"Points diff" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is points diff when poi... |
### Context: CREATE TABLE table_name_96 (
tournament VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament had a winning score of 67-61-68-67=263?
### Query: SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61... |
### Context: CREATE TABLE table_name_83 (
faroese VARCHAR,
english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Faroese has an English of white?
### Query: SELECT faroese FROM table_name_83 WHERE english = "white" |
### Context: CREATE TABLE table_35664 (
"Tournament" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"Career W/L" te... |
### Context: CREATE TABLE table_16695 (
"Rd." real,
"Grand Prix" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_23391714_1 (
points INTEGER,
pos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the pos equals 18 what is the max amount of points?
### Query: SELECT MAX(points) FROM table_23391714_1 WHERE pos = 18 |
### Context: CREATE TABLE table_25594888_1 (
race_number VARCHAR,
yacht VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many races was Loki in?
### Query: SELECT COUNT(race_number) FROM table_25594888_1 WHERE yacht = "Loki" |
### Context: CREATE TABLE table_name_53 (
sno INTEGER,
completion_schedule VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the 2013 completion schedule, what is the total S.no.?
### Query: SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2... |
### Context: CREATE TABLE table_47135 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was the method submission (punches)?
### Que... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE hz_info (
KH text,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.