text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_68793 (
"Institution" text,
"Team" text,
"City" text,
"Province" text,
"First season" real,
"Head coach" text,
"Enrollment" real,
"Football stadium" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### Context: CREATE TABLE table_name_3 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date which has a home team of north melbourne
### Query: SELECT date FROM table_name_3 WHERE home_team = "north melbourne" |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_name_63 (
swimsuit INTEGER,
average VARCHAR,
interview VARCHAR,
evening_gown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest swimsuit score of the contestant with a higher than 9.55 interview score, ... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_13045 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/junior/club team (league)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nationality has a Round smaller than 3?
### Query: SE... |
### Context: CREATE TABLE table_35898 (
"Order" real,
"Episode" text,
"Air Date" text,
"U.S. Timeslot (EST)" text,
"18-49" real,
"Viewers" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average 18-49 for the episode that had an order... |
### 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_42 (
episode__number INTEGER,
airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest episode # with an air date of October 31, 2001?
### Query: SELECT MIN(episode__number) FROM table_name_42 WHERE aird... |
### Context: CREATE TABLE table_204_270 (
id number,
"transmitter" text,
"kw" number,
"bbca" number,
"bbcb" number,
"d3&4" number,
"sdn" number,
"arqa" number,
"arqb" number,
"pol." text,
"a.g." text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_204_593 (
id number,
"year" text,
"chairperson" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who held the position longer , t.v sivaraopantulu or l. suryalingam ?
### Query: SELECT "chairperson" FROM table_204_593 WHERE "c... |
### Context: CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varcha... |
### Context: CREATE TABLE table_name_30 (
language_rebroadcast VARCHAR,
branding VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the language/rebroadcast for cbc radio one?
### Query: SELECT language_rebroadcast FROM table_name_30 WHERE branding = "c... |
### Context: CREATE TABLE table_name_45 (
college VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Mark Cannon's College?
### Query: SELECT college FROM table_name_45 WHERE player = "mark cannon" |
### Context: CREATE TABLE table_6738 (
"Date" real,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Partner of karel nov ... |
### Context: CREATE TABLE table_29187 (
"Rank" real,
"Rider" text,
"Sat 21 Aug" text,
"Mon 23 Aug" text,
"Tues 24 Aug" text,
"Wed 25 Aug" text,
"Thurs 26 Aug" text,
"Fri 27 Aug" text,
"Sat 29 Aug" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
... |
### Context: CREATE TABLE table_19794 (
"Year" real,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the mens doubles with mens sin... |
### Context: CREATE TABLE table_888 (
"District" real,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the incumbent with opponent being anthony weiner (d) unopp... |
### Context: CREATE TABLE table_26892 (
"Date (YYYY-MM-DD)" text,
"Time (UTC)" text,
"Latitude" text,
"Longitude" text,
"Depth" text,
"Magnitude" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the depth of the aftershock at 18:00:22?
##... |
### 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_204_293 (
id number,
"district" number,
"name" text,
"party" text,
"district office" text,
"first elected" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many senators are from baton rouge ?
### Query: SELE... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_47956 (
"Cycle" real,
"Premiere date" text,
"Winner" text,
"Runner-up" text,
"Number of contestants" text,
"International Destinations" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Premier Date, when Cyc... |
### Context: CREATE TABLE bdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE table_16278673_1 (
population VARCHAR,
municipality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the population for s rv gur
### Query: SELECT population FROM table_16278673_1 WHERE municipality = "Sørvágur" |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_17323529_5 (
high_assists VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the high assists for l 98 103 (ot)
### Query: SELECT high_assists FROM table_17323529_5 WHERE score = "L 98–103 (OT)" |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_17289604_38 (
athlete VARCHAR,
round_of_64 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many number of athletes were in round of 64 was llagostera Vives ( esp ) l 6 2, 3 6, 5 7?
### Query: SELECT COUNT(athlete) FROM tab... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POS... |
### Context: CREATE TABLE table_15722 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest rank for the netherlands in lane less than 4?
### Query: SELECT MIN("Rank") ... |
### Context: CREATE TABLE table_name_66 (
no_2 VARCHAR,
no_6 VARCHAR,
no_3 VARCHAR,
no_10 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the No. 2 which has a No. 3 of jacob, and a No. 10 of wyatt, and a No. 6 of ethan?
### Query: SELECT no_2 F... |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0... |
### Context: CREATE TABLE table_name_69 (
bronze VARCHAR,
rank VARCHAR,
gold VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Bronze has a Gold larger than 1, and a Silver smaller than 3, and a Rank smaller than 5?
### Query: SEL... |
### Context: CREATE TABLE table_1468 (
"C/W 15+" real,
"Oblast\\Age" text,
"15 to 17" real,
"18 to 19" real,
"20 to 24" real,
"25 to 29" real,
"30 to 34" real,
"35 to 39" real,
"40 to 44" real,
"45 to 49" real,
"50 to 54" real,
"55 to 59" real,
"60 to 64" real,
"6... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_name_67 (
weight__kg_ INTEGER,
manufacturer VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Weight (kg) has a Manufacturer of fujitsu, and a Model of lifebook p1610?
### Query: SELECT AVG(weight__kg_) ... |
### Context: 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
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE Events (
Event_ID INTEGER,
Service_ID INTEGER,
Event_Details VARCHAR(255)
)
CREATE TABLE Services (
Service_ID INTEGER,
Service_Type_Code CHAR(15)
)
CREATE TABLE Participants_in_Events (
Event_ID INTEGER,
Participant_ID INTEGER
)
CREATE TABLE Participants (
P... |
### Context: CREATE TABLE table_3883 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE table_65806 (
"President" text,
"Date of birth" text,
"Date of inauguration" text,
"Age at inauguration" text,
"End of term" text,
"Length of retirement" text,
"Date of death" text,
"Lifespan" text
)
-- Using valid SQLite, answer the following questions for th... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name... |
### Context: CREATE TABLE table_28859177_3 (
original_air_date VARCHAR,
directed_by VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original air date for episode graeme clifford directed and lindsay sturman wrote?
### Quer... |
### Context: CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country int,
Team int,
Draft_Pick_Number int,
Draft_... |
### Context: CREATE TABLE table_name_71 (
competition VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition has 17-1 as the result?
### Query: SELECT competition FROM table_name_71 WHERE result = "17-1" |
### 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_203_485 (
id number,
"year" text,
"show" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the most years a show lasted ?
### Query: SELECT MAX("year" - "year") FROM table_203_485 |
### Context: CREATE TABLE table_name_50 (
school VARCHAR,
college_hall_of_fame VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the school of the player with a college hall of fame nevers hof profile?
### Query: SELECT school FROM table_name_50 WHERE ... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_17045 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"MLB Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the hometown of the player who attended Athens Drive High School?
### Query:... |
### Context: CREATE TABLE table_name_80 (
skip VARCHAR,
lead VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the lead on Lisa Weagle?
### Query: SELECT skip FROM table_name_80 WHERE lead = "lisa weagle" |
### Context: CREATE TABLE table_name_97 (
date VARCHAR,
plant_patent_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date had the patent number US plant patent 12098?
### Query: SELECT date FROM table_name_97 WHERE plant_patent_number = "us plant... |
### Context: CREATE TABLE table_77102 (
"Kick Off" text,
"Opponents" text,
"Result" text,
"Referee" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT WAS THE SCORE OF THE GAME WITH A 2007-03-06, 20:45 KICKOFF?
### Query: SELECT... |
### Context: 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,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
App... |
### Context: CREATE TABLE table_name_24 (
fire VARCHAR,
metal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which fire has dry metal?
### Query: SELECT fire FROM table_name_24 WHERE metal = "dry" |
### Context: CREATE TABLE club (
clubid number,
clubname text,
clubdesc text,
clublocation text
)
CREATE TABLE member_of_club (
stuid number,
clubid number,
position text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major numb... |
### Context: 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
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE fzzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM tex... |
### Context: CREATE TABLE table_name_93 (
away_team VARCHAR,
tie_no VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Away team that has a Tie no of replay, and a Score of 1 2?
### Query: SELECT away_team FROM table_name_93 WHERE tie_n... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_33 (
champion VARCHAR,
israel_bowl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the champion for israel bowl of iv
### Query: SELECT champion FROM table_name_33 WHERE israel_bowl = "iv" |
### Context: CREATE TABLE table_2020 (
"Fiscal year" real,
"2-car sets" real,
"4-car sets" real,
"6-car sets" real,
"8-car sets" real,
"Total vehicles" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest 6-car-sets for fiscal year... |
### Context: CREATE TABLE table_38178 (
"Round" text,
"Venue" text,
"Discipline" text,
"Date" text,
"Winner" text,
"Second" text,
"Third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue with a 3.3km c prologue discipline?
... |
### Context: CREATE TABLE table_62310 (
"Season" real,
"Team" text,
"Country" text,
"League" text,
"Level" real,
"Apps" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total levels in 2007?
### Query: SELECT SUM("Le... |
### Context: CREATE TABLE table_name_90 (
score VARCHAR,
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the tournament on November 5, 2007 with a carpet surface?
### Query: SELECT score FROM table_name_90 WHERE... |
### Context: CREATE TABLE table_24118 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Orangemen points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a record of 6-2?
### Que... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE table_27753 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episod... |
### Context: CREATE TABLE gwyjzb (
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,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_name_1 (
results VARCHAR,
style VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the dance which had a style of contemporary jazz?
### Query: SELECT results FROM table_name_1 WHERE style = "contemporary j... |
### Context: CREATE TABLE table_48294 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a To par of 13?
### Query: SELECT "Country" FROM table_48294 WHERE "To par"... |
### Context: CREATE TABLE table_16225511_2 (
wins VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins did Baylor have?
### Query: SELECT COUNT(wins) FROM table_16225511_2 WHERE school = "Baylor" |
### Context: CREATE TABLE table_40020 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game against the Los Angeles Rams?
### Query: SELECT "Date" FROM ... |
### Context: CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE code_description (
code varchar,
description 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 mzjzjlb (
HXPLC numb... |
### Context: CREATE TABLE table_48261 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when State is 'Jin'?
### Query: SELECT "Name" FROM table_48261... |
### Context: CREATE TABLE Undergoes (
Patient INTEGER,
Procedures INTEGER,
Stay INTEGER,
DateUndergoes DATETIME,
Physician INTEGER,
AssistingNurse INTEGER
)
CREATE TABLE Prescribes (
Physician INTEGER,
Patient INTEGER,
Medication INTEGER,
Date DATETIME,
Appointment INTEGER,
... |
### Context: CREATE TABLE table_name_6 (
monarch VARCHAR,
assumed_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which monarch assumed office on December 15, 1876?
### Query: SELECT monarch FROM table_name_6 WHERE assumed_office = "december 15, 1876" |
### Context: CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_... |
### Context: CREATE TABLE table_8177 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Game, when Record is '21-30-11'?
### Query: SELECT MAX("Game") FROM tabl... |
### Context: CREATE TABLE table_name_97 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for 2 june 2008
### Query: SELECT score FROM table_name_97 WHERE date = "2 june 2008" |
### Context: CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREA... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE comment_instructor (
instruct... |
### Context: CREATE TABLE table_19140 (
"EDO Flight" real,
"Shuttle" text,
"Mission" text,
"Launch Date" text,
"Duration" text,
"Primary Payload(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the primary payload(s) with launch date be... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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,
I... |
### Context: CREATE TABLE table_49039 (
"Name (English)" text,
"Name (German)" text,
"Abbr." text,
"Ideology" text,
"Position" text,
"Votes (2011)" text,
"Seats in Hamburgische B\u00fcrgerschaft" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Lives_in (
stuid INTEGER,
... |
### Context: CREATE TABLE table_name_5 (
polling_organisation_client VARCHAR,
others VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the others had a value of 7%, what was the Polling organisation/client?
### Query: SELECT polling_organisation_client FR... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE table_9949 (
"Year" text,
"Kansas" text,
"Nebraska" text,
"North Dakota" text,
"Oklahoma" text,
"South Dakota" text,
"Texas" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the oklahoma has Bush from Nebraska... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.