text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_39037 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" real,
"Time" text,
"Jockey" text,
"Winner/2nd" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_31425 (
"Prefix class" text,
"Type and usage" text,
"Example" text,
"Equivalent" text,
"Reference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every prefix class for the equivalent of NTE160?
### Query: SE... |
### Context: CREATE TABLE diagnoses (
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,
reli... |
### Context: CREATE TABLE table_60115 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the format of catalog number 886973273913 (gowow012) in the United Kingdom?
### Q... |
### Context: CREATE TABLE table_50390 (
"Outcome" text,
"Date" text,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the match with arnaud... |
### Context: CREATE TABLE table_19494 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the player with college being penn state
### Query: SELECT "Player" FROM table_1... |
### Context: CREATE TABLE table_67887 (
"City" text,
"Province/Region" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ICAO of Nakashibetsu?
### Query: SELECT "ICAO" FROM tabl... |
### Context: CREATE TABLE table_22875 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- state the number of ... |
### Context: CREATE TABLE table_1463383_1 (
left_bloc VARCHAR,
social_democratic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many percentages of Left Bloc correspond to a 32.1% Social Democratic?
### Query: SELECT COUNT(left_bloc) FROM table_1463383_... |
### Context: CREATE TABLE ship (
ship_id number,
name text,
type text,
built_year number,
class text,
flag text
)
CREATE TABLE captain (
captain_id number,
name text,
ship_id number,
age text,
class text,
rank text
)
-- Using valid SQLite, answer the following question... |
### Context: CREATE TABLE table_56050 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was there a competition in which t... |
### 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 table_10696 (
"Party" text,
"1999 Election" real,
"2003 Election" real,
"2007 Election" real,
"May 2010" real,
"2011 Election" real,
"May 2012" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of the... |
### Context: CREATE TABLE table_204_538 (
id number,
"pos." number,
"driver" text,
"co-driver" text,
"car" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who finished sooner , freitas or camacho ?
### Query: SELECT "driver" FROM ta... |
### 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_38746 (
"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.
-- What College team has 8 rounds?
### Query: SELECT "College/... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
... |
### Context: CREATE TABLE customer (
cust_ID varchar(3),
cust_name varchar(20),
acc_type char(1),
acc_bal int,
no_of_loans int,
credit_score int,
branch_ID int,
state varchar(20)
)
CREATE TABLE loan (
loan_ID varchar(3),
loan_type varchar(15),
cust_ID varchar(3),
branch_... |
### Context: CREATE TABLE table_60712 (
"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 total number of bronzes that is less than 1 in total?
### Query: S... |
### Context: CREATE TABLE Student_Addresses (
student_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
date_address_to DATETIME,
monthly_rental DECIMAL(19,4),
other_details VARCHAR(255)
)
CREATE TABLE Addresses (
address_id INTEGER,
line_1 VARCHAR(120),
line_2 VARCHAR(120... |
### Context: CREATE TABLE table_name_31 (
pinnacle_height VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pinnacle height of chimney of orot rabin?
### Query: SELECT pinnacle_height FROM table_name_31 WHERE name = "chimney of orot rabin... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
... |
### Context: CREATE TABLE table_68389 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The To par of +14 was won in what year(s)?
### Query: SELECT "Year(s... |
### Context: CREATE TABLE table_71636 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the followin... |
### 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_1666 (
"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_13867 (
"Date" text,
"Season" text,
"Playing for" text,
"Opponent" text,
"Final score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the final score when the opponent is platense?
### Query: SELECT "Final sc... |
### 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 table_204_573 (
id number,
"#" number,
"title" text,
"performer(s)" text,
"film" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many songs are more than four minutes long ?
### Query: SELECT COUNT("t... |
### Context: CREATE TABLE table_79841 (
"Title" text,
"Album" text,
"Country" text,
"Peak position" real,
"Weeks on chart" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the single with the peak position of 10 and weeks on chart... |
### Context: CREATE TABLE table_30717 (
"First air date" text,
"Reward" text,
"Immunity" text,
"Eliminated" text,
"Vote" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the vote number when immunity listed as David and rewa... |
### Context: CREATE TABLE table_278229_1 (
no_of_counties INTEGER,
commandery VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When yidu is the commandery what is the lowest number of countries?
### Query: SELECT MIN(no_of_counties) FROM table_278229_1 WHERE ... |
### 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE table_27033 (
"\u2116" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote t... |
### Context: 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,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_name_69 (
time VARCHAR,
round VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the time of round 2 against Taylor Mccorriston?
### Query: SELECT time FROM table_name_69 WHERE round = "2" AND oppon... |
### Context: CREATE TABLE table_203_570 (
id number,
"#" number,
"title" text,
"tpb isbn" text,
"tpb release date" text,
"tpb page number" number,
"collected material" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which collection made the ... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respir... |
### 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_61343 (
"Name" text,
"Number" real,
"Position" text,
"Height" text,
"Year" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Guard Kerri Shields Hometown?
### Query: SELECT "Hometown" FROM t... |
### Context: CREATE TABLE table_name_41 (
score VARCHAR,
game VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the game earlier than 69 with a record of 4 56?
### Query: SELECT score FROM table_name_41 WHERE game < 69 ... |
### Context: CREATE TABLE table_62320 (
"Country" text,
"Builder" text,
"Location" text,
"Ship" text,
"Class / type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Builder, when Country is 'United Kingdom', and when Location is 'Chatham, Ken... |
### Context: CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_cod... |
### Context: CREATE TABLE table_46384 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Visitor has a Series of 2 1?
### Query: SELECT "Visitor" FROM table_4... |
### Context: CREATE TABLE table_47910 (
"Reservation" text,
"Location" text,
"1969" real,
"1979" real,
"1989" real,
"2000" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1979 number for Standing Rock Indian Reservation when the 1989 ... |
### Context: CREATE TABLE table_22423 (
"No. in series" text,
"Title" text,
"Directed By" text,
"Written By" text,
"air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1008/1009 is the production code how many d... |
### 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_21 (
lineup VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lineup for washington dc
### Query: SELECT lineup FROM table_name_21 WHERE location = "washington dc" |
### 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 table_name_34 (
rank INTEGER,
country VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank was Peru with a total greater than 3?
### Query: SELECT MAX(rank) FROM table_name_34 WHERE country = "peru" AND total... |
### Context: CREATE TABLE table_name_12 (
games INTEGER,
lost INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of games with less than 1 loss?
### Query: SELECT MIN(games) FROM table_name_12 WHERE lost < 1 |
### 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_31760 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Rank" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did the 2005 1st place team receive?
### Query: SELECT "Points... |
### 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_68693 (
"Episode #" real,
"Title" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Part 5" text,
"Part 6" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is Part 2, when Part 4 is on ... |
### Context: CREATE TABLE table_45690 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of December, when Game is greater than 31, and when Score is '5 - 2'?
### Q... |
### Context: CREATE TABLE pilot (
Pilot_name VARCHAR,
Pilot_ID VARCHAR
)
CREATE TABLE aircraft (
Model VARCHAR,
Aircraft_ID VARCHAR
)
CREATE TABLE pilot_record (
Aircraft_ID VARCHAR,
Pilot_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- S... |
### Context: CREATE TABLE EMPLOYEE (
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many distinct cities does the employees live in?
### Query: SELECT COUNT(DISTINCT city) FROM EMPLOYEE |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_date TEXT,
end_station_name TEXT,
... |
### Context: CREATE TABLE table_30108346_1 (
country VARCHAR,
troops_per_one_million_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the country for troops per one million being 54.9
### Query: SELECT country FROM table_30108346_1 WHERE troop... |
### Context: CREATE TABLE submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_29356 (
"Episode No. Episode No. refers to the episodes number in the overall series, whereas Series No. refers to the episodes number in this particular series." real,
"Series No." real,
"Episode" text,
"Director" text,
"Writer" text,
"Original airdate" text
)
... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
C... |
### Context: CREATE TABLE table_53492 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Rudy Harris' pick number in round 4?
### Query: SELECT MAX("Pick") FROM table_53492 ... |
### Context: CREATE TABLE table_39089 (
"Election" real,
"Labour" real,
"Conservative" real,
"Liberal" real,
"Social Democratic Party" real,
"Social and Liberal Democrats/ Liberal Democrats" real,
"Independent" real,
"Green" real,
"Other" text,
"Control" text
)
-- Using valid S... |
### Context: CREATE TABLE table_7473 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the label for the catalog of none, and is in the United Kingdom?
### Query: SELECT "Lab... |
### Context: CREATE TABLE table_name_9 (
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor on March 27?
### Query: SELECT visitor FROM table_name_9 WHERE date = "march 27" |
### Context: CREATE TABLE table_43963 (
"Bank type" text,
"Number of branches" real,
"On-site ATMs" real,
"Off-site ATMs" real,
"Total ATMs" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum total ATMs with new private sector banks ... |
### 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 jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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,
JZZT... |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TAB... |
### Context: CREATE TABLE table_19926 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first episode with a netf... |
### Context: CREATE TABLE table_49785 (
"Rank" real,
"Name" text,
"Team" text,
"Games" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points are there for rank 5 with more than 34 games?
### Query: SELECT COUNT("Points") FRO... |
### Context: CREATE TABLE employee (
employeeid number,
lastname text,
firstname text,
title text,
reportsto number,
birthdate time,
hiredate time,
address text,
city text,
state text,
country text,
postalcode text,
phone text,
fax text,
email text
)
CREATE T... |
### Context: CREATE TABLE table_29093 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the director where title is 'the comeback'?
### Que... |
### Context: CREATE TABLE table_25318033_1 (
races VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which races have 137 points?
### Query: SELECT races FROM table_25318033_1 WHERE points = "137" |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE table_49494 (
"Issued" real,
"Type" text,
"Design" text,
"Serial format" text,
"Serials issued" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the issued serial for yellow on blue design issued in 1955?
### Query:... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_36181 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games have more than 10 points and more than 2 draws?
### Query: SELECT COUN... |
### Context: CREATE TABLE table_name_27 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the away team that played richmond?
### Query: SELECT away_team AS score FROM table_name_27 WHERE home_team = "richmon... |
### 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 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 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 table_57909 (
"Year" real,
"Title" text,
"Original channel" text,
"Role" text,
"Note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the original channel when the year is after 2012?
### Query: SELECT "Original cha... |
### 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_27042 (
"\u2116" real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_49 (
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Place has a Player of bernhard langer?
### Query: SELECT place FROM table_name_49 WHERE player = "bernhard langer" |
### 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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respi... |
### Context: CREATE TABLE table_name_66 (
bronze INTEGER,
gold VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many bronzes for nations with over 22 golds and ranked under 2?
### Query: SELECT MAX(bronze) FROM table_name_66 WHERE gold >... |
### Context: CREATE TABLE table_name_38 (
third_vice_president VARCHAR,
inaugurated VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Third Vice President, when Inaugurated is '15 March 1934'?
### Query: SELECT third_vice_president FROM table_name_38 W... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
... |
### Context: CREATE TABLE table_35709 (
"Source" text,
"Date" text,
"Fidesz" text,
"MSZP" text,
"SZDSZ" text,
"Jobbik" text,
"others" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Jobbik percentage with a Fidesz of 61% and other... |
### Context: CREATE TABLE table_name_1 (
finish VARCHAR,
qual VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the finish which has qual of 144.817
### Query: SELECT finish FROM table_name_1 WHERE qual = "144.817" |
### Context: CREATE TABLE table_204_15 (
id number,
"year" number,
"date" text,
"venue" text,
"city" text,
"country" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was a conference held in san francisco ?
### Qu... |
### Context: CREATE TABLE table_16388478_2 (
home_team VARCHAR,
ground VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the home team scores at york park?
### Query: SELECT home_team AS score FROM table_16388478_2 WHERE ground = "York Park" |
### Context: CREATE TABLE authors (
authid number,
lname text,
fname text
)
CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE inst (
instid number,
name text,
count... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.