text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_4 (
date VARCHAR,
opponent VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date when the opponent was Sheffield Scimitars and the venue was Home?
### Query: SELECT date FROM table_name_4 WH... |
### Context: CREATE TABLE table_65989 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank has a Silver of 1, and a Gold of 0, and a Nation of austria?
### Qu... |
### Context: CREATE TABLE table_name_49 (
highest_point VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest amount of points for rank 95?
### Query: SELECT highest_point FROM table_name_49 WHERE rank = 95 |
### Context: CREATE TABLE order_items (
order_item_id number,
order_id number,
product_id number,
order_quantity text
)
CREATE TABLE customers (
customer_id number,
payment_method_code text,
customer_number text,
customer_name text,
customer_address text,
customer_phone text,
... |
### Context: CREATE TABLE table_1176371_1 (
t20_matches INTEGER,
name_of_ground VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum t20 on green lane?
### Query: SELECT MAX(t20_matches) FROM table_1176371_1 WHERE name_of_ground = "Green Lane" |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
... |
### Context: CREATE TABLE table_1753 (
"DVD Title" text,
"No. of Discs" real,
"Year" text,
"No. of Episodes" real,
"Region 1" text,
"Region 2" text,
"Region 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number of epis... |
### Context: CREATE TABLE table_30683 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of U.S. viewer... |
### Context: CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision va... |
### Context: CREATE TABLE table_23394920_1 (
station_type VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When dwhr-tv is the call sign how many station types are there?
### Query: SELECT COUNT(station_type) FROM table_23394920_1 WHERE call... |
### Context: CREATE TABLE hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
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 t... |
### Context: CREATE TABLE table_name_32 (
wins INTEGER,
points INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Wins, when Points is less than '19'?
### Query: SELECT AVG(wins) FROM table_name_32 WHERE points < 19 |
### Context: CREATE TABLE table_201_10 (
id number,
"#" number,
"name" text,
"office" text,
"political party" text,
"occupation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many mayors were in office for a total of 9 years ?
### Query: S... |
### Context: CREATE TABLE table_name_74 (
loss VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who got the loss for the game ending in a record of 55-41?
### Query: SELECT loss FROM table_name_74 WHERE record = "55-41" |
### Context: CREATE TABLE table_name_45 (
venue VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue has 1st as the result?
### Query: SELECT venue FROM table_name_45 WHERE result = "1st" |
### Context: CREATE TABLE table_name_13 (
year INTEGER,
mintage INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average year for a coin that had a mintage smaller than 10,000?
### Query: SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFF... |
### Context: CREATE TABLE table_2249087_1 (
south_american_rank INTEGER,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the south american rank for venezuela
### Query: SELECT MIN(south_american_rank) FROM table_2249087_1 WHERE nation = "Venezue... |
### 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_name_4 (
score VARCHAR,
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the game on 13 December 1975 with Halifax Town as the away team what was the score?
### Query: SELECT score FROM table_nam... |
### Context: CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note te... |
### Context: CREATE TABLE table_7828 (
"Country" text,
"2010" real,
"2011" real,
"2012" real,
"2013" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of participants in 2010 when there were 0 participants in 2012?
### Query:... |
### Context: CREATE TABLE table_20539 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the date of appoi... |
### Context: CREATE TABLE table_27614571_1 (
song_choice VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Barreto's song choice when the theme was samba?
### Query: SELECT song_choice FROM table_27614571_1 WHERE theme = "Samba" |
### Context: CREATE TABLE CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME varchar(20),
CLASS_ROOM varchar(8),
PROF_NUM int
)
CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
... |
### 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE mzb (
CLINIC_ID 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,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_1653 (
"Season" text,
"Series" text,
"Team Name" text,
"Races" real,
"Poles" real,
"Wins" real,
"Points" real,
"Final Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the max points you whe... |
### Context: CREATE TABLE table_59667 (
"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.
-- What was the finish for Lanny Wadkins of the United States?
### Quer... |
### Context: CREATE TABLE table_72167 (
"Year" real,
"Champion" text,
"Score" text,
"Runner-Up" text,
"Location" text,
"Semi-Finalist #1" text,
"Semi-Finalist #2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the scores of all games wh... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_name_31 (
category VARCHAR,
outcome VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was the nominated in after 2008?
### Query: SELECT category FROM table_name_31 WHERE outcome = "nominated" AND... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE admiss... |
### Context: CREATE TABLE table_27465 (
"June 10-11" text,
"March 27-29" text,
"January 15-16" text,
"November 3" text,
"August 21-22" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times does November 3rd occur when January 15, 1991 does?
... |
### Context: CREATE TABLE table_31800 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a week larger than 14?
### Query: SELECT "Date" FROM tabl... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_name_54 (
overall INTEGER,
college VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall number of the player from Utah with a pick # higher than 7?
### Query: SELECT SUM(overall) FROM t... |
### Context: CREATE TABLE table_name_83 (
score VARCHAR,
december VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the Dec 11 game?
### Query: SELECT score FROM table_name_83 WHERE december = 11 |
### Context: CREATE TABLE table_6350 (
"Country" 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 when bronze has a silver larger than 2?
### Query: SELECT COUNT("Bronze") FRO... |
### Context: CREATE TABLE table_16581695_3 (
no_in_season VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons have a production code of 204?
### Query: SELECT COUNT(no_in_season) FROM table_16581695_3 WHERE production_co... |
### Context: CREATE TABLE table_21378 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Petersville's census ranking?
### Query: SELECT "Census Rankin... |
### Context: CREATE TABLE table_37217 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" real,
"Club/province" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Club or province has a caps larger than 15 and has Chris Cusiter pl... |
### Context: CREATE TABLE table_65614 (
"Wimmera FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Byes have an Against larger than 1018, and a Wimmera FL of horsham d... |
### Context: CREATE TABLE table_203_764 (
id number,
"name" text,
"date" number,
"nation" text,
"displacement" text,
"speed" text,
"number" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many tons does the te class di... |
### Context: CREATE TABLE table_77874 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Home team score was 15.18 ... |
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id... |
### Context: CREATE TABLE table_204_796 (
id number,
"network name" text,
"flagship" text,
"programming type" text,
"owner" text,
"affiliates" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the number of stations tv azteca owns .
### ... |
### Context: CREATE TABLE table_name_2 (
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place has the score of 67-74=141?
### Query: SELECT place FROM table_name_2 WHERE score = 67 - 74 = 141 |
### Context: CREATE TABLE table_176524_2 (
census_ranking VARCHAR,
official_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the census ranking for the Perth parish?
### Query: SELECT census_ranking FROM table_176524_2 WHERE official_name = "Pert... |
### Context: CREATE TABLE table_10100 (
"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.
-- Who was the home team on March 5, 2008?
### Qu... |
### Context: CREATE TABLE table_12962773_5 (
player VARCHAR,
no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many player with no being 12
### Query: SELECT COUNT(player) FROM table_12962773_5 WHERE no = 12 |
### Context: CREATE TABLE table_12045 (
"Driver" text,
"Car #" real,
"Make" text,
"Points" real,
"Laps" real,
"Winnings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which driver has a # smaller than 40, less than 151 points, and Winnings of $... |
### Context: CREATE TABLE Employees (
Employee_ID INTEGER,
Role_Code CHAR(15),
Employee_Name VARCHAR(255),
Gender_MFU CHAR(1),
Date_of_Birth DATETIME,
Other_Details VARCHAR(255)
)
CREATE TABLE Roles (
Role_Code CHAR(15),
Role_Name VARCHAR(255),
Role_Description VARCHAR(255)
)
CREAT... |
### Context: CREATE TABLE table_64729 (
"Draw" real,
"Artist" text,
"Song" text,
"Points" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many places have an Artist of august , and a Draw smaller than 6?
### Query: SELECT COUNT("Pl... |
### Context: CREATE TABLE table_79596 (
"Game" text,
"Date" text,
"Opponent" text,
"Score" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was game 3?
### Query: SELECT "Date" FROM table_79... |
### Context: CREATE TABLE table_240936_2 (
region_4__australia_ VARCHAR,
region_1__us_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the region 4 (Aus) date associated with a region 1 (US) date of January 16, 2007?
### Query: SELECT region_4__austr... |
### Context: CREATE TABLE table_name_84 (
react INTEGER,
mark VARCHAR,
heat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest React that has a 7.61 Mark and a heat bigger than 1?
### Query: SELECT MAX(react) FROM table_name_84 WHERE mar... |
### Context: CREATE TABLE table_1160660_1 (
date_founded VARCHAR,
acronym VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was USF founded?
### Query: SELECT date_founded FROM table_1160660_1 WHERE acronym = "USF" |
### Context: CREATE TABLE table_64562 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_17065 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position of the player from Butler High School?
### Query: SELECT "Positio... |
### 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 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 table_52794 (
"Analog Channel" text,
"Digital Channel" text,
"Call sign" text,
"Name" text,
"Network" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which analog channel is Fox on?
### Query: SELECT "Analog Channel" FROM t... |
### Context: CREATE TABLE table_204_373 (
id number,
"wager" text,
"winner" text,
"loser" text,
"location" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- first opponent to defeat mocho cota in mexico city
### Query: SELECT "winner"... |
### 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 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE zyjzjlb (
YLJGDM tex... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
ST... |
### 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_51528 (
"Feb 2010" text,
"Mar 2010" text,
"May 2010" real,
"Jun 2010" real,
"Jul 2010" real,
"Aug 2010" real,
"Sep 2010" real,
"Oct 2010" real,
"Nov 2010" real,
"Dec 2010" real,
"Jan 2011" real,
"Feb 2011" real,
"Mar 2011" real,
"Ap... |
### Context: CREATE TABLE table_24626 (
"Round" real,
"Date" text,
"City and venue" text,
"Winner" text,
"Runner-up" text,
"3rd placed" text,
"4th placed" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds wer... |
### Context: CREATE TABLE table_203_268 (
id number,
"date" text,
"name" text,
"nationality" text,
"tonnage\n(grt)" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country lost the most ships to u-502 ?
### Query: SELECT "nat... |
### 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_15822 (
"District" text,
"Counties Represented" text,
"Party" text,
"First Elected" real,
"Committee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district has counties represented by Baltimore county, a commit... |
### Context: CREATE TABLE table_203_333 (
id number,
"kilometers" number,
"name" text,
"location" text,
"intersecting routes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of routes that intersect highway 91 ?
### Query: SELECT ... |
### Context: CREATE TABLE table_33617 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the home side when the away ... |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE weather (
d... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Tick... |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE ... |
### 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 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 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 table_74082 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which club... |
### Context: CREATE TABLE table_name_32 (
tie_no VARCHAR,
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Tie no, when Date is '18 Nov 1989', and when Home Team is 'Doncaster Rovers'?
### Query: SELECT tie_no FROM table_na... |
### Context: CREATE TABLE table_67152 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On August 22, how many people came to the game?
### Query: SELECT "Atten... |
### Context: CREATE TABLE table_1342270_42 (
first_elected INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year any of the incumbents were first elected?
### Query: SELECT MAX(first_elected) FROM table_1342270_42 |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
... |
### 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 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 outputevents (
row_id number,
subject_id n... |
### Context: CREATE TABLE table_20379 (
"N\u00b0" real,
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"DAR" text,
"HDTV" text,
"PPV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE protein (
common_name text,
protein_name text,
divergence_from_human_lineage real,
accession_number text,
sequence_length real,
sequence_identity_to_human_protein text,
Institution_id text
)
CREATE TABLE building (
building_id text,
Name text,
Street_ad... |
### Context: CREATE TABLE table_48174 (
"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 is the record when the round is b... |
### Context: CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR... |
### Context: CREATE TABLE table_name_43 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was 11-8 the record?
### Query: SELECT date FROM table_name_43 WHERE record = "11-8" |
### 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 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_name_67 (
share INTEGER,
viewers__m_ VARCHAR,
timeslot_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?
### Query: SELE... |
### Context: CREATE TABLE table_41299 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partnering" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What surface was played on with a score of 6 4, 6 3 a... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
... |
### Context: CREATE TABLE table_47681 (
"Rider" text,
"Manufacturer" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED?
### Query: SELECT "Ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.