text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_36591 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did the Green Bay Packers get as visitor?
### Query: SELECT "S... |
### 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_6283 (
"Rank" text,
"Institution" text,
"Gold" real,
"Silver" real,
"Bronze" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of Silvers for rank 7 teams with 1 gold and under 1 bronze?
### Q... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Student_Tests_Taken (
registration_id INTEGER,
date_test_taken DATETIME,
test_result VARCHAR(255)
)
CREATE TABLE Course... |
### Context: CREATE TABLE Benefits_Overpayments (
council_tax_id INTEGER,
cmi_cross_ref_id INTEGER
)
CREATE TABLE Parking_Fines (
council_tax_id INTEGER,
cmi_cross_ref_id INTEGER
)
CREATE TABLE Electoral_Register (
electoral_register_id INTEGER,
cmi_cross_ref_id INTEGER
)
CREATE TABLE Busines... |
### Context: CREATE TABLE table_70059 (
"Rank" real,
"Circuit" text,
"Headquarters" text,
"Screens" real,
"Sites" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the rank of the cinema when the number of sites is more than 62 and the circuit ... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id numb... |
### 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_31137 (
"Year" real,
"Network" text,
"Play-by-play announcer" text,
"Color commentator" text,
"s Field reporter" text,
"Pregame hosts" text,
"Pregame analysts" text,
"Trophy presentation" text
)
-- Using valid SQLite, answer the following questions for t... |
### Context: CREATE TABLE table_25839957_5 (
cvt_hd VARCHAR,
market VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What mobile markets have cvt hd?
### Query: SELECT cvt_hd FROM table_25839957_5 WHERE market = "Mobile" |
### Context: CREATE TABLE table_64397 (
"Season" real,
"Series" text,
"Team" text,
"Races" text,
"Wins" text,
"Poles" text,
"F/Laps" text,
"Podiums" text,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_28877 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party did the incumbent Thomas P. Moore belong to?
##... |
### Context: CREATE TABLE projects (
project_id number,
organisation_id number,
project_details text
)
CREATE TABLE research_staff (
staff_id number,
employer_organisation_id number,
staff_details text
)
CREATE TABLE document_types (
document_type_code text,
document_description text
)... |
### Context: CREATE TABLE table_27014 (
"Vehicle" text,
"Operating mode" text,
"EPA rated All-electric range" text,
"EPA rated combined fuel economy" text,
"Clean electric grid California (San Francisco)" text,
"U.S. national average electric mix" text,
"Dirty electric grid Rocky Mountains (... |
### Context: CREATE TABLE table_name_45 (
year VARCHAR,
nominee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years was Denis Lawson nominated for an award?
### Query: SELECT COUNT(year) FROM table_name_45 WHERE nominee = "denis lawson" |
### Context: CREATE TABLE table_name_76 (
country_region VARCHAR,
languages VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country speaks Vietnamese?
### Query: SELECT country_region FROM table_name_76 WHERE languages = "vietnamese" |
### Context: CREATE TABLE table_name_14 (
division VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Division does the City being jacksonville, florida belong to?
### Query: SELECT division FROM table_name_14 WHERE city = "jacksonville, flo... |
### Context: CREATE TABLE table_8711 (
"Developer(s)" text,
"Release date" text,
"Required OS" text,
"Payment" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Release date has a Developer(s) of microsoft research?
### Query: SELEC... |
### Context: CREATE TABLE table_name_7 (
elevated VARCHAR,
elevator VARCHAR,
cardinalatial_order_and_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of elevation for the Cardinal elevated by Nicholas III to the title of Cardinal-Dea... |
### Context: CREATE TABLE table_204_10 (
id number,
"ecclesiastical jurisdictions" text,
"latin name" text,
"type" text,
"rite" text,
"ecclesiastical province" text,
"established" text,
"area (km2)" number
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_12973 (
"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 Accounts (
Account_ID INTEGER,
Statement_ID INTEGER,
Account_Details VARCHAR(255)
)
CREATE TABLE Statements (
Statement_ID INTEGER,
Statement_Details VARCHAR(255)
)
CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varc... |
### Context: CREATE TABLE table_59079 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the event in a year before 1989?
### Query: SELECT "Event" FROM table_59079 WHERE... |
### Context: CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
Number_of_hosts int
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE host (
Host_ID int,
Name text,
Nationality ... |
### Context: CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real,
Silver real,
Bronze real,
Total real
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
Club_ID int,
Apps real,
Tries real,
Goals text,
Points real
)
CREATE TABLE competition_... |
### Context: CREATE TABLE table_21248 (
"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 abov... |
### Context: CREATE TABLE table_34287 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the game that had an end result of 5-2?
### Query: SELECT "Score" FR... |
### 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_70238 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text,
"Intergiro classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer... |
### Context: CREATE TABLE table_name_76 (
draws VARCHAR,
against VARCHAR,
byes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of draws when there are 1465 against matches and less than 2 byes?
### Query: SELECT COUNT(draws) FROM... |
### 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_54729 (
"Club" text,
"Wins" real,
"Runners-up" real,
"Years won" text,
"Years runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years runner-up is Birmingham city, with over 1 runners-up?
### Query: SELE... |
### Context: CREATE TABLE table_204_100 (
id number,
"date" text,
"name of ship" text,
"nationality" text,
"tonnage" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what ship is recorded as sunk before the ss eros ?
### Query: SEL... |
### Context: CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
... |
### Context: CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medicat... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
un... |
### 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 mzjzjlb (
HXPLC numb... |
### Context: CREATE TABLE table_204_58 (
id number,
"year" number,
"position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was their position the year after the year they withdrew due to rebel attacks ?
### Query: SELECT "position" FROM table_204_58... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
microlabid number... |
### Context: CREATE TABLE table_name_34 (
rank INTEGER,
name VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank for Viktors Dobrecovs with less than 325 Matches?
### Query: SELECT AVG(rank) FROM table_name_34 WHERE name = "... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE table_name_38 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when Bolton Wanderers were the away team?
### Query: SELECT score FROM table_name_38 WHERE away_team = "bolton wanderers" |
### 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 area (
course_id int,
are... |
### Context: CREATE TABLE table_74334 (
"Team" text,
"Stadium" text,
"Home Games" real,
"Average Attendance" real,
"Total Attendance" real,
"Capacity Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams had a 99.3% capacity ... |
### Context: CREATE TABLE table_41349 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the visitor with the 14-10 record?
### Query: SELECT "Visitor"... |
### Context: CREATE TABLE table_204_861 (
id number,
"tie no" number,
"home team" text,
"score" text,
"away team" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games were replays ?
### Query: SELECT COUNT(*) FROM table_20... |
### Context: CREATE TABLE table_name_41 (
position VARCHAR,
player VARCHAR,
club_province VARCHAR,
caps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does ceri sweeney with under 87 caps of the newport gwent dragons play?
### Query: S... |
### Context: CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
Number_of_hosts int
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_M... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_203_667 (
id number,
"year" number,
"driver" text,
"co-driver" text,
"car" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which driver won after ponsiano lwakataka ?
### Query: SELECT "driver" FROM ... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE intakeou... |
### Context: CREATE TABLE table_79450 (
"Year" real,
"Program" text,
"Role" text,
"Episode" text,
"First aired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode was first aired in 1976?
### Query: SELECT "Episode" FROM table_79450 WHERE ... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration n... |
### Context: CREATE TABLE phone_market (
Num_of_stock INTEGER,
Phone_ID VARCHAR
)
CREATE TABLE phone (
Name VARCHAR,
Phone_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For each phone, show its names and total number of stocks.
### Query: SELEC... |
### Context: CREATE TABLE table_name_74 (
cuts_made VARCHAR,
events VARCHAR,
top_5 VARCHAR,
top_10 VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many cuts made when the Top-10 is larger than 1, and the wins greater than 0, and ... |
### 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_203_296 (
id number,
"country" text,
"total gdp (nominal)\n(billion us$)" text,
"gdp per capita\n(us$, ppp)" text,
"gdp growth,\n2007-2011\n(in %)" number,
"hdi" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what... |
### Context: CREATE TABLE problem_log (
problem_log_id VARCHAR,
log_entry_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the id of the problem log that is created most recently?
### Query: SELECT problem_log_id FROM problem_log ORDER BY log_ent... |
### Context: CREATE TABLE table_name_72 (
record VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Record that has the Game of 19?
### Query: SELECT record FROM table_name_72 WHERE game = 19 |
### 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_60996 (
"Semi-closed initial unstressed vowels" text,
"17th c." text,
"American" text,
"Australian" text,
"Examples" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the American sound that has a 17th century eq... |
### Context: CREATE TABLE table_name_33 (
frequency VARCHAR,
origin VARCHAR,
number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency of number 3 with a bus station origin?
### Query: SELECT frequency FROM table_name_33 WHERE origin =... |
### 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 volume (
Volume_ID int,
Volume_Issue text,
Issue_Date text,
Weeks_on_Top real,
Song text,
Artist_ID int
)
CREATE TABLE music_festival (
ID int,
Music_Festival text,
Date_of_ceremony text,
Category text,
Volume int,
Result text
)
CREATE TABLE ar... |
### Context: CREATE TABLE table_17622423_12 (
date VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for series 2-2
### Query: SELECT date FROM table_17622423_12 WHERE series = "2-2" |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Badges (
Id number,
UserId number,
... |
### Context: CREATE TABLE table_204_665 (
id number,
"rank" number,
"name" text,
"notability" text,
"birthplace" text,
"advocate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what name is previous to wayne gretzky on the list ?
### Query: SEL... |
### 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_96 (
venue VARCHAR,
against VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue for the game played on 16/01/1954, when the against was more than 3?
### Query: SELECT venue FROM table_name... |
### Context: CREATE TABLE table_name_7 (
score_final INTEGER,
score_qualifying VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was her lowest final score with a qualifying score of 74.075?
### Query: SELECT MIN(score_final) FROM table_name_7 WHERE score... |
### Context: CREATE TABLE table_62701 (
"Season" real,
"Winners" text,
"Runners-up" text,
"Third-place" text,
"fourth-placed" text,
"Number of clubs" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in third place when the Winner was Dalia... |
### Context: CREATE TABLE table_name_14 (
event VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event was on 26 August 2005?
### Query: SELECT event FROM table_name_14 WHERE date = "26 august 2005" |
### Context: CREATE TABLE Claims (
Claim_ID INTEGER,
Policy_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER
)
CREATE TABLE Customers (
Customer_ID INTEGER,
Customer_Details VARCHAR(255)
)
CREATE TABLE Settlements (
Settlemen... |
### Context: CREATE TABLE table_name_45 (
established INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the venue named nassau veterans memorial coliseum established??
### Query: SELECT MAX(established) FROM table_name_45 WHERE venue = ... |
### Context: CREATE TABLE table_64692 (
"Term Abroad" text,
"2000/01" real,
"2001/02" real,
"2002/03" real,
"2003/04" real,
"2004/05" real,
"2005/06" real,
"2006/07" real,
"2007/08" real,
"2008/09" real
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### Context: CREATE TABLE Fault_Log_Parts (
fault_log_entry_id INTEGER,
part_fault_id INTEGER,
fault_status VARCHAR(10)
)
CREATE TABLE Third_Party_Companies (
company_id INTEGER,
company_type VARCHAR(5),
company_name VARCHAR(255),
company_address VARCHAR(255),
other_company_details VARC... |
### Context: CREATE TABLE market (
Market_ID int,
Country text,
Number_cities int
)
CREATE TABLE film (
Film_ID int,
Title text,
Studio text,
Director text,
Gross_in_dollar int
)
CREATE TABLE film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,... |
### Context: CREATE TABLE table_53657 (
"Member" text,
"Party" text,
"Electorate" text,
"State" text,
"First elected" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which member has Cook as the electorate?
### Query: SELECT "Member" FROM table_5365... |
### 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.
-- is canada at least on the chart 3 times ?
### Query: SELECT (S... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE table_47433 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was the match with a Score of 6-2, 6-4?
### Query: SELECT "Date" FROM table... |
### Context: CREATE TABLE table_5107 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Played is the highest one tha... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_19577 (
"Year" real,
"Enrollment" real,
"Black (%)" text,
"White (%)" text,
"Hispanic (%)" text,
"Asian (%)" text,
"Free/reduced lunch (%)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of Asi... |
### Context: CREATE TABLE table_30597 (
"No. in series" real,
"No. in season" 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.
-- What's... |
### Context: CREATE TABLE table_35232 (
"Game" real,
"Date" real,
"Opponent" text,
"Score" text,
"Location/attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest game with Oakland Seals opponent and a recor... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE patient ... |
### Context: CREATE TABLE table_79762 (
"Tournament" text,
"Wins" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many cuts did he make in the tournament with 3 top 25s and under 13 events?
### Que... |
### Context: CREATE TABLE discount_coupons (
coupon_id number,
date_issued time,
coupon_amount number
)
CREATE TABLE customers (
customer_id number,
coupon_id number,
good_or_bad_customer text,
first_name text,
last_name text,
gender_mf text,
date_became_customer time,
date_... |
### Context: CREATE TABLE table_15055594_6 (
fall_09 INTEGER,
fall_06 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest number of students in Fall 09 in the state that had 3821 in Fall 06?
### Query: SELECT MAX(fall_09) FROM table_15055594... |
### Context: CREATE TABLE table_30087032_5 (
high_points VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different high points results are there for the game on May 15?
### Query: SELECT COUNT(high_points) FROM table_30087032_5 WHERE d... |
### Context: CREATE TABLE table_name_60 (
plural VARCHAR,
singular VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the plural if the singular is awu?
### Query: SELECT plural FROM table_name_60 WHERE singular = "awu" |
### Context: CREATE TABLE table_train_151 (
"id" int,
"gender" string,
"renal_disease" bool,
"estimated_glomerular_filtration_rate_egfr" int,
"fasting_c_peptide" float,
"stenosis_of_coronary" int,
"serum_creatinine" float,
"esrd" bool,
"age" float,
"NOUSE" float
)
-- Using vali... |
### Context: CREATE TABLE table_56654 (
"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.
-- Name the leading scorer for april 12, 2008
###... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.