text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE flight_stop (
... |
### Context: CREATE TABLE table_name_50 (
loss VARCHAR,
attendance INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses have more than 45,036 attendance?
### Query: SELECT loss FROM table_name_50 WHERE attendance > 45 OFFSET 036 |
### Context: CREATE TABLE table_name_17 (
high_points VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the High points that has the High rebounds of rafer alston (9)?
### Query: SELECT high_points FROM table_name_17 WHER... |
### Context: CREATE TABLE table_name_90 (
player VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player was at Albion?
### Query: SELECT player FROM table_name_90 WHERE venue = "albion" |
### Context: CREATE TABLE editor (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many editors are there?
### Query: SELECT COUNT(*) FROM editor |
### Context: CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE paper (
paperid int,
title varchar,... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTyp... |
### Context: CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,... |
### Context: CREATE TABLE table_33316 (
"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.
-- For the match with an away team sco... |
### Context: CREATE TABLE table_name_8 (
points INTEGER,
time_retired VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many average points did the player with a time/retired of +16.789 and have more laps than 68 have?
### Query: SELECT A... |
### Context: CREATE TABLE table_71826 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many yards lost by the player with more gained than 51 and average/g of 3.6?
### Query: SELECT CO... |
### Context: CREATE TABLE table_name_65 (
type VARCHAR,
moving_from VARCHAR,
source VARCHAR,
transfer_window VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of the Leeds United source, winter transfer window and moving from Northampto... |
### Context: CREATE TABLE table_name_87 (
total INTEGER,
gold VARCHAR,
rank VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3?
### Query: SE... |
### Context: CREATE TABLE table_204_780 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which position was held the most number of times ?
### Query: SELECT "... |
### 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_22587 (
"Period" text,
"Internet Explorer" text,
"Firefox" text,
"Chrome" text,
"Safari" text,
"Opera" text,
"Other Mozilla" text,
"Mobile" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Internet Explor... |
### Context: CREATE TABLE table_38532 (
"Game" text,
"Date" text,
"Referee" text,
"Umpire" text,
"Head Linesman" text,
"Line Judge" text,
"Field Judge" text,
"Back Judge" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of... |
### Context: CREATE TABLE table_52500 (
"Film" text,
"Song" text,
"Year" real,
"Music Director" text,
"Language" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the song with year before 2013 and music director of yuvan shankar raja and film ... |
### Context: CREATE TABLE county_public_safety (
County_ID int,
Name text,
Population int,
Police_officers int,
Residents_per_officer int,
Case_burden int,
Crime_rate real,
Police_force text,
Location text
)
CREATE TABLE city (
City_ID int,
County_ID int,
Name text,
... |
### Context: CREATE TABLE plays_games (
stuid number,
gameid number,
hours_played number
)
CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperweek number,
gamesplayed number,
onscholarship text
)
CREATE TABLE video_games (
gameid number,
gname text,
gtype text
... |
### Context: CREATE TABLE nuclear_power_plants (
id text,
name text,
latitude text,
longitude text,
country text,
status text,
reactortype text,
reactormodel text,
constructionstartat text,
operationalfrom text,
operationalto text,
capacity text,
lastupdatedat text,
... |
### Context: CREATE TABLE table_1341897_42 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many candidates were there in the election for William Jennings Bryan Dorn's seat?
### Query: SELECT COUNT(candidates) FROM table_1... |
### Context: CREATE TABLE table_33436 (
"Country Name" text,
"1961-65" text,
"1966-70" text,
"1971-75" text,
"1976-80" text,
"1981-85" text,
"1986-90" text,
"1991-95" text,
"1996\u20132000" text,
"2001-05" text,
"2006-10" text
)
-- Using valid SQLite, answer the following q... |
### 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 classroom (
building text,
room_number text,
capacity number
)
CREATE TABLE section (
course_id text,
sec_id text,
semester text,
year number,
building text,
room_number text,
time_slot_id text
)
CREATE TABLE advisor (
s_id text,
i_id text
)
C... |
### 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 jybgb (
BBCJBW text,... |
### Context: CREATE TABLE table_13579 (
"Date" text,
"Venue" text,
"Result" text,
"Competition" text,
"Tally" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest tally for the game played at Vasil Levski National Stadium, Sofia, Bulgar... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_27664 (
"GB" text,
"ISO \u2116" text,
"Province" text,
"Chinese Name" text,
"Capital" text,
"Population\u00b9" real,
"Density\u00b2" text,
"Area\u00b3" real,
"Abbreviation/Symbol" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_name_1 (
total VARCHAR,
bronze VARCHAR,
gold VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total when gold is 1, and rank is more than 4, and bronze is 0?
### Query: SELECT COUNT(total) FROM... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_name_63 (
circuit VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The 1997 Japanese Formula 3 Championship is part of what circuit?
### Query: SELECT circuit FROM table_name_63 WHERE event = "1997 japanese formu... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icust... |
### 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE personfriend (
name text,
friend text,
year number
)
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people whose age is greater ... |
### 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_204_587 (
id number,
"drop(s)" text,
"multiplayer map(s)" text,
"spec ops mission(s)" text,
"face off map(s)" text,
"xbox 360 release date" text,
"playstation 3 release date" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE table_765 (
"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.
-- What district was Harold Earthman the incumbent in?
### Quer... |
### Context: CREATE TABLE table_204_676 (
id number,
"year" number,
"division" number,
"league" text,
"regular season" text,
"playoffs" text,
"open cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the number of times they qualifie... |
### Context: CREATE TABLE table_26360571_2 (
assists VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the number of assists against illinois-chicago.
### Query: SELECT assists FROM table_26360571_2 WHERE opponent = "Illinois-Chicago" |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedBy... |
### 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 d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
disch... |
### Context: CREATE TABLE diagnoses (
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_d... |
### Context: CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_63014 (
"Sunrayia FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of draws for teams with against of 1731 and under 10 loss... |
### Context: CREATE TABLE table_62714 (
"Year" real,
"Class" text,
"Team" text,
"Machine" text,
"Points" real,
"Rank" text,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins were there in 1994?
### Query: SELECT SUM("Wins"... |
### Context: CREATE TABLE table_35820 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins did the player who earned $6,607,562 have?
### Query: SELECT SUM("Wins") ... |
### Context: CREATE TABLE table_name_88 (
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of gold medals when the number of bronze medals is 8?
### Query: SELECT gold FROM table_name_88 WHERE bronze = "8" |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
I... |
### Context: CREATE TABLE table_name_61 (
country VARCHAR,
network VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Network of nelonen?
### Query: SELECT country FROM table_name_61 WHERE network = "nelonen" |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
... |
### Context: CREATE TABLE station (
id int,
network_name text,
services text,
local_authority text
)
CREATE TABLE route (
train_id int,
station_id int
)
CREATE TABLE train (
id int,
train_number int,
name text,
origin text,
destination text,
time text,
interval text... |
### Context: CREATE TABLE table_1341897_23 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the candidates for massachusetts 6
### Query: SELECT candidates FROM table_1341897_23 WHERE district = "Massachusetts 6" |
### 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 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 program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tes... |
### Context: CREATE TABLE table_36431 (
"Season" text,
"Race" real,
"Podium" real,
"Pole" real,
"FLap" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Race that has a Podium larger than 1, and a Season of 1982, and a flap smaller than 1 had how many ... |
### Context: CREATE TABLE table_16751596_5 (
lead_margin INTEGER,
dates_administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum lead margin on august 5, 2008?
### Query: SELECT MAX(lead_margin) FROM table_16751596_5 WHERE dates_admin... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
rout... |
### Context: CREATE TABLE table_14463 (
"Urban area" text,
"Population 1.1.2009" text,
"Population 1.1.2008" real,
"Population 1.1.2007" text,
"Population 1.1.2006" real,
"Population per square km" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_60882 (
"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 years won have a total of 286?
### Query: SELECT "Year(s) won" ... |
### 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.
-- boat with the least tonnage that was attacked
### Query: SELECT "... |
### 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 table_name_32 (
year INTEGER,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average year with nominated result?
### Query: SELECT AVG(year) FROM table_name_32 WHERE result = "nominated" |
### Context: CREATE TABLE table_204_944 (
id number,
"mine" text,
"province" text,
"coordinates" text,
"town" text,
"dates" text,
"comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is temagami listedon the list ?
### Q... |
### 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 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 gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_I... |
### 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 allergy ... |
### Context: CREATE TABLE table_name_39 (
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the to par for gene kunes
### Query: SELECT to_par FROM table_name_39 WHERE player = "gene kunes" |
### Context: CREATE TABLE publication (
publication_id number,
book_id number,
publisher text,
publication_date text,
price number
)
CREATE TABLE book (
book_id number,
title text,
issues number,
writer text
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE table_name_66 (
round VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round number of the match with Michael Buell as the opponent?
### Query: SELECT round FROM table_name_66 WHERE opponent = "michael b... |
### 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_name_27 (
games INTEGER,
goals_for VARCHAR,
draws VARCHAR,
goals_against VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the number of games with a Goals Against smaller than 14, and a Wins larg... |
### Context: CREATE TABLE team (
Team_id int,
Name text
)
CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE match_season (
Season real,
Player text,
Position text,
Country in... |
### Context: CREATE TABLE table_23449 (
"Index (Year)" text,
"Author / Editor / Source" text,
"Year of publication" text,
"Countries sampled" real,
"World Ranking (1)" text,
"Ranking L.A. (2)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How m... |
### Context: CREATE TABLE table_79281 (
"Peak" text,
"Country" text,
"Elevation (m)" real,
"Prominence (m)" real,
"Col (m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total prominence number in m of ethiopia, which has a col in m of ... |
### Context: CREATE TABLE table_171666_1 (
comparable_country VARCHAR,
national_share___percentage_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What comparable country has a national share of 1.08?
### Query: SELECT comparable_country FROM table_171666_1... |
### Context: CREATE TABLE table_57231 (
"Years" text,
"Engine" text,
"Power" text,
"Torque" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the years when the notes is laredo, limited, overland and the engine is 5.7l hemi v8?
#... |
### Context: CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_46768 (
"Tournament" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE diagnoses (
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_d... |
### Context: CREATE TABLE table_name_45 (
pick VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pick, when Round is 15?
### Query: SELECT pick FROM table_name_45 WHERE round = 15 |
### 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 View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest... |
### Context: CREATE TABLE table_55380 (
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Silver in the Total Sport has less than 1 Gold and more than 1 Bronze?
### Qu... |
### Context: CREATE TABLE table_name_42 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team has a record of 13-18?
### Query: SELECT opponent FROM table_name_42 WHERE record = "13-18" |
### Context: CREATE TABLE teachers (
classroom VARCHAR,
firstname VARCHAR,
lastname VARCHAR
)
CREATE TABLE list (
firstname VARCHAR,
lastname VARCHAR,
classroom VARCHAR,
grade VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find all first... |
### Context: CREATE TABLE table_76516 (
"Verb" text,
"2 (VF)" text,
"2 (F)" text,
"3 (F)" text,
"2/3 (P)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2nd verb for Khola?
### Query: SELECT "2 (F)" FROM table_76516 WHERE "Verb" = 'khol... |
### Context: CREATE TABLE table_56981 (
"Variant (with Niqqud )" text,
"without Niqqud" text,
"Phonemic Value" text,
"Phonetic Realisation" text,
"English example" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the phonetic realisation if th... |
### Context: CREATE TABLE table_25173505_13 (
buena_vista_edition VARCHAR,
special_edition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the buena vista edidtion where special edition is koichi sakaguchi?
### Query: SELECT buena_vista_edition FROM t... |
### 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 Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Document_Date DATETIME,
Document_Name VARCHAR(255),
Document_Description VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.