text stringlengths 197 8.39k |
|---|
### 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 table_name_17 (
colors VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Colors has a School of zeigler high school?
### Query: SELECT colors FROM table_name_17 WHERE school = "zeigler high school" |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID ... |
### 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 microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
... |
### Context: CREATE TABLE table_name_34 (
release_date VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Release date has a Type of 2d?
### Query: SELECT release_date FROM table_name_34 WHERE type = "2d" |
### Context: CREATE TABLE table_204_530 (
id number,
"type" text,
"stage" number,
"cyclist" text,
"team" text,
"reason" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which cyclist withdrew after breaking his arm in a crash during stage 2 ?
###... |
### Context: CREATE TABLE prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE section (
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
... |
### 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_7511 (
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is airing at 9:00 on the channel that airs Chuck at 8:30 and Medium at 10:00?
### Query: SELECT "... |
### Context: CREATE TABLE table_17615 (
"Rank" real,
"Fastest time (s)" text,
"Wind (m/s)" text,
"Athlete" text,
"Nation" text,
"Date" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which athlete is from Mexico City?
### Qu... |
### Context: CREATE TABLE table_17632217_1 (
total_wins VARCHAR,
runners_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total wins with Shanghai as runner-up?
### Query: SELECT COUNT(total_wins) FROM table_17632217_1 WHERE runners_up = "Shanghai... |
### Context: CREATE TABLE table_name_84 (
round INTEGER,
player VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Round, when Player is 'Gurnest Brown', and when Pick # is greater than 180?
### Query: SELECT AVG(ro... |
### Context: CREATE TABLE table_1756264_2 (
subsidiaries INTEGER,
company_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many subsidiaries are there of Postermobile Advertising Limited?
### Query: SELECT MIN(subsidiaries) FROM table_1756264_2 WHERE... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPri... |
### 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 Customer_Policies (
Policy_ID INTEGER,
Customer_ID INTEGER,
Policy_Type_Code CHAR(15),
Start_Date ... |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varc... |
### Context: CREATE TABLE table_22873 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was her partner at the US Open and they we... |
### Context: CREATE TABLE table_29871617_1 (
chromosomal_location VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the chromosomal location of il-1 ?
### Query: SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-1β" |
### 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_203_426 (
id number,
"year" number,
"title" text,
"peak chart positions\naus" number,
"peak chart positions\nnz" number,
"peak chart positions\nuk" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_51221 (
"Jurisdiction" text,
"For Prohibition" real,
"Percent For" real,
"Against Prohibition" real,
"Percent Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number supporting prohibition i... |
### Context: CREATE TABLE table_name_35 (
year INTEGER,
start VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the most recent year when a g-force chassis started in 1st?
### Query: SELECT MAX(year) FROM table_name_35 WHERE start... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### 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_88 (
home_leg VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home leg who are opponents of rotor volgograd
### Query: SELECT home_leg FROM table_name_88 WHERE opponents = "rotor volgograd" |
### 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 allergy (
all... |
### Context: CREATE TABLE table_name_95 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Record is '2-0'?
### Query: SELECT score FROM table_name_95 WHERE record = "2-0" |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_25675509_1 (
longitude VARCHAR,
date__yyyy_mm_dd_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the longitude for the shock that occured on 2010-01-09?
### Query: SELECT longitude FROM table_25675509_1 WHERE date__y... |
### Context: CREATE TABLE table_36274 (
"Date" text,
"Site" text,
"Sport" text,
"Winning team" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What winning team has volleyball as the sport?
### Query: SELECT "Winning team" FROM table_... |
### Context: CREATE TABLE table_66260 (
"Date" text,
"Name of ship" text,
"Flag" text,
"Tonnage" real,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the Brookwood, which weighed over 5,008 tons, attacked?
### Query: SELECT ... |
### 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_9 (
beat_by VARCHAR,
distance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who beat Chic by 8fm?
### Query: SELECT beat_by FROM table_name_9 WHERE distance = "8fm" |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE 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 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,... |
### Context: CREATE TABLE table_name_42 (
score VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the New Jersey home game?
### Query: SELECT score FROM table_name_42 WHERE home = "new jersey" |
### Context: CREATE TABLE table_77042 (
"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_1289860_2 (
hometown VARCHAR,
candidate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was Kristen Kirchner from?
### Query: SELECT hometown FROM table_1289860_2 WHERE candidate = "Kristen Kirchner" |
### Context: CREATE TABLE table_9460 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE Invoices (
Invoice_ID INTEGER,
Order_ID INTEGER,
payment_method_code CHAR(15),
Product_ID INTEGER,
Order_Quantity VARCHAR(288),
Other_Item_Details VARCHAR(255),
Order_Item_ID INTEGER
)
CREATE TABLE Stores (
Store_ID VARCHAR(100),
Address_ID INTEGER,
Mar... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_name_55 (
football_stadium VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of the carabins stadium?
### Query: SELECT football_stadium FROM table_name_55 WHERE team = "carabins" |
### Context: CREATE TABLE table_name_66 (
assists INTEGER,
rank VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Assists for the Player with a Rank greater than 3 in less than 25 Games?
### Query: SELECT AVG(assists) FROM table_nam... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE days (
days_c... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### Context: CREATE TABLE table_22538587_3 (
total_apps INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least total apps for jaime
### Query: SELECT MIN(total_apps) FROM table_22538587_3 WHERE player = "Jaime" |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE... |
### Context: CREATE TABLE table_35301 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What visitor has February 11 as the date?
### Query: SELECT "Visitor" FROM table_35301 WHERE "Da... |
### Context: CREATE TABLE table_55840 (
"Year" real,
"MRHMA" text,
"USCA" text,
"RTHK" text,
"Joint Music Award" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the USCA that's Total is smaller than 14, with 1 Joint Music Aw... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE a... |
### Context: CREATE TABLE table_name_89 (
away_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What away team has 12 as the tie no.?
### Query: SELECT away_team FROM table_name_89 WHERE tie_no = "12" |
### Context: CREATE TABLE table_62447 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the 1st member that was elected in 1541/42?
### Query: SELECT "1st me... |
### Context: CREATE TABLE table_49109 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Crowd" real,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date when the score ... |
### Context: CREATE TABLE table_60411 (
"Year" real,
"Name of Tournament" text,
"Champions" text,
"Runners-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 1987, what is the Runners-up when Stefan Edberg is Champion?
### Query: S... |
### Context: CREATE TABLE table_name_17 (
destroyed INTEGER,
survived VARCHAR,
to_iran VARCHAR,
damaged VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average destroyed with a 1990 over 12, more than 1 damaged, 6 survivors, and a to Iran l... |
### Context: CREATE TABLE table_name_74 (
constructor VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who built james hunt's car that went 79 laps?
### Query: SELECT constructor FROM table_name_74 WHERE laps = 79 AND driver ... |
### Context: CREATE TABLE table_name_32 (
round VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round is the player from Oregon from?
### Query: SELECT round FROM table_name_32 WHERE college = "oregon" |
### 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME v... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### 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_name_7 (
nationality VARCHAR,
games VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Nationality of Mike Gatting, who played 551 games?
### Query: SELECT nationality FROM table_name_7 WHERE games... |
### Context: CREATE TABLE table_name_92 (
round VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was the opponent Manny Gamburyan?
### Query: SELECT round FROM table_name_92 WHERE opponent = "manny gamburyan" |
### Context: CREATE TABLE fgwyjzb (
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,
INSUR... |
### Context: CREATE TABLE table_204_36 (
id number,
"date" text,
"opponent" text,
"site" text,
"result" text,
"attendance" number,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many wins did georgetown achieve in 1941 ?
### Qu... |
### Context: CREATE TABLE table_204_541 (
id number,
"name" text,
"area" text,
"height" text,
"floors" number,
"year" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what tower has at most 10 floors ?
### Query: SELECT "name" FROM table_204_54... |
### Context: CREATE TABLE table_44445 (
"Driver" text,
"Team" text,
"Laps" text,
"Time/Retired" text,
"Grid" text,
"Laps Led" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps have a +0.4865 time/retired?
### Query... |
### 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 aircraft (
aid number,
name text,
distance number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)
CREATE TABLE employee (
eid number,
na... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
... |
### Context: CREATE TABLE table_5122 (
"Date" text,
"City" text,
"Opponent" text,
"Results\u00b9" text,
"Type of game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent has euro '84 qualifying as the type and split as the city?
### Query... |
### Context: CREATE TABLE table_name_61 (
played INTEGER,
draws VARCHAR,
goals_for VARCHAR,
goal_difference VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position had a goal difference of less than 27, lost more than 13 gam... |
### Context: CREATE TABLE table_name_15 (
wins INTEGER,
losses VARCHAR,
draws VARCHAR,
goal_difference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average wins of the team with more than 13 draws, a goal difference of -14, and losses l... |
### Context: CREATE TABLE table_202_253 (
id number,
"team" text,
"titles" text,
"runners-up" text,
"third place" text,
"fourth place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team has best percentage of titles to runner up finishes ... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### Context: CREATE TABLE table_74551 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has unknown attendance, and lost 2-0?
### Query: SELECT "Opponent" FROM ta... |
### Context: CREATE TABLE member_attendance (
member_id number,
performance_id number,
num_of_pieces number
)
CREATE TABLE member (
member_id text,
name text,
nationality text,
role text
)
CREATE TABLE performance (
performance_id number,
date text,
host text,
location text... |
### Context: CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolution number
)
CREATE TABLE artist (
artist_name text,
country text,
gender text,
preferred_genre text
)... |
### Context: CREATE TABLE table_34930 (
"Year" real,
"Award" text,
"Nominated work" text,
"Category" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category has a year after 2004?
### Query: SELECT "Category" FROM table_34930 WH... |
### Context: CREATE TABLE table_33730 (
"Date" text,
"Venue" text,
"Result" text,
"Goals" real,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals have a result of 0-1 on march 28, 2007?
### Query: SELECT COUNT("Goals") FRO... |
### Context: CREATE TABLE table_name_2 (
silver INTEGER,
nation VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Silver has a Nation of china, and a Bronze smaller than 7?
### Query: SELECT SUM(silver) FROM table_name_2 WHERE nation ... |
### Context: CREATE TABLE table_name_93 (
date VARCHAR,
japan VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date had Japanese sales of 0.61 million?
### Query: SELECT date FROM table_name_93 WHERE japan = "0.61 million" |
### 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 hz_info (
KH text,
... |
### Context: CREATE TABLE table_1723080_1 (
viewers__in_millions_ VARCHAR,
broadcast_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers were there on 1august1964?
### Query: SELECT viewers__in_millions_ FROM table_1723080_1 WHERE broadcast... |
### Context: CREATE TABLE table_18318 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result when the incumbent was george h. mahon
###... |
### Context: CREATE TABLE table_11891841_2 (
type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type where the name is bojan?
### Query: SELECT type FROM table_11891841_2 WHERE name = "Bojan" |
### Context: CREATE TABLE table_name_8 (
role VARCHAR,
original_broadway_cast VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the role when the original broadway was Adam Riegler?
### Query: SELECT role FROM table_name_8 WHERE original_broadway_cast... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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... |
### Context: CREATE TABLE table_13694 (
"Lane" real,
"Name" text,
"Country" text,
"Reaction Time" real,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Lane has a Country of united states, and a Time smaller than 22.01, and a Reaction Ti... |
### Context: CREATE TABLE table_name_56 (
score VARCHAR,
game INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score at the game earlier than 66?
### Query: SELECT score FROM table_name_56 WHERE game < 66 |
### Context: CREATE TABLE table_37008 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed for the Bronze, with the Location of Bangkok, and the Year of 1978?
### Query: ... |
### Context: CREATE TABLE table_203_548 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had the top number of bronze awards ?
### Query... |
### Context: CREATE TABLE table_32859 (
"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.
-- What is the venue where Collingwood... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRS... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ... |
### Context: CREATE TABLE table_2380212_1 (
year INTEGER,
avg_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the average attendance 789?
### Query: SELECT MIN(year) FROM table_2380212_1 WHERE avg_attendance = 789 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.