text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### Context: CREATE TABLE table_10194 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How far is the olbia to sassari route?
### Query: SELECT "Distance" FROM table_10194 WHERE "Co... |
### 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 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_4377 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition was held 1 March 1909?
### Query: SELECT "Competition" FROM table_4377 WHER... |
### Context: CREATE TABLE table_204_882 (
id number,
"number" number,
"builder" text,
"entered service" text,
"withdrawn" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- can you find the top entered service ?
### Query: SELECT "ent... |
### 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_80361 (
"Tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 2011 when 2010 is 2r
### Query: SELECT "2011" FROM table_80361 WHERE "... |
### Context: CREATE TABLE table_2468961_4 (
title VARCHAR,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the title of series number 56?
### Query: SELECT title FROM table_2468961_4 WHERE no_in_series = 56 |
### Context: CREATE TABLE table_9055 (
"Outcome" text,
"Date" real,
"Championship" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the championship during the match with the opponent of rich... |
### 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 table_68346 (
"Rank" real,
"Team" text,
"Country" text,
"Value ($M)" real,
"Debt as % of value" real,
"% change on year" text,
"Revenue ($M)" real,
"Operating income ($m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_9742 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for game 5?
### Query: SELECT "Result" FROM table_9742 WHERE "Game" = 'g... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
ch... |
### Context: CREATE TABLE table_65693 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school has the Lancers as... |
### Context: CREATE TABLE table_60420 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the tie number for the game with an away team of Hartlepool United?
### Query: S... |
### 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_name_92 (
round VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round for the Int. Adac-Preis Der Tourenwagen Von Sachsen-Anhalt?
### Query: SELECT round FROM table_name_92 WHERE race = "int. adac-pre... |
### 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_203_606 (
id number,
"region" text,
"rnd" number,
"host" text,
"venue" text,
"city" text,
"state" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- total number of venues that hosted first and second round games ... |
### Context: CREATE TABLE table_54219 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which constructor has laps less than 100 and a time/retired +10 laps?
### Query: SELE... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time... |
### Context: CREATE TABLE table_22083044_2 (
winning_team VARCHAR,
circuit VARCHAR,
fastest_lap VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit?
### Query: SELEC... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
C... |
### Context: CREATE TABLE table_57614 (
"Serial Title" text,
"Year" text,
"Chapters" text,
"Director" text,
"Cast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the cast for b. reeves eason and joseph kane
### Query: SELECT "Cast" FROM tab... |
### Context: CREATE TABLE table_76555 (
"Date" text,
"Captain 1" text,
"Team 2" text,
"Captain 2" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Captain 2 has a Result of final?
### Query: SELECT "Captain 2" F... |
### 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 d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
h... |
### Context: CREATE TABLE table_33986 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on April 1?
### Query: SELECT "Record" FROM table_33986 WHERE "Date" = 'apri... |
### Context: CREATE TABLE table_name_29 (
entered_service VARCHAR,
serial_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entered service date for serial number 85-1222?
### Query: SELECT entered_service FROM table_name_29 WHERE serial_no = "8... |
### Context: CREATE TABLE table_21515673_2 (
rr1_pts VARCHAR,
team_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points does Swedish America's Cup Challenge have for rr1?
### Query: SELECT COUNT(rr1_pts) FROM table_21515673_2 WHERE team_name ... |
### 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 comment_instructor (
instruct... |
### 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 locations (
LOCATION_ID decimal(4,0),
STRE... |
### Context: CREATE TABLE table_name_24 (
lowest INTEGER,
average INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest attendance for a stadium that has an average smaller than 307?
### Query: SELECT AVG(lowest) FROM table_name_24 WHERE average... |
### Context: CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many peopl... |
### Context: CREATE TABLE table_22883210_11 (
high_assists VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 0-1 is the series who has the highest amount of assists?
### Query: SELECT high_assists FROM table_22883210_11 WHERE series = "0-1... |
### Context: CREATE TABLE enroll (
class_code text,
stu_num number,
enroll_grade text
)
CREATE TABLE employee (
emp_num number,
emp_lname text,
emp_fname text,
emp_initial text,
emp_jobcode text,
emp_hiredate time,
emp_dob time
)
CREATE TABLE professor (
emp_num number,
... |
### Context: CREATE TABLE table_203_43 (
id number,
"polling firm" text,
"month" text,
"link" text,
"favor" number,
"oppose" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many months had more than 55 favor votes ?
### Query: SELECT COUNT... |
### Context: CREATE TABLE table_78401 (
"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 was the score for south melbou... |
### Context: CREATE TABLE procedures (
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,
rel... |
### Context: CREATE TABLE table_test_24 (
"id" int,
"history_of_bleeding_diathesis" bool,
"bleeding" int,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"blood_draw" bool,
"renal_disease" bool,
"allergy_to_aspirin" bool,
"allergy_to_clopidogrel" bool,
"cardiogen... |
### Context: CREATE TABLE table_204_971 (
id number,
"m" number,
"date" text,
"tournament" text,
"round" text,
"ground" text,
"opponent" text,
"score" text,
"attendance" number,
"dinamo scorers" text,
"report" text
)
-- Using valid SQLite, answer the following questions for... |
### Context: CREATE TABLE region (
Region_id int,
Region_code text,
Region_name text
)
CREATE TABLE storm (
Storm_ID int,
Name text,
Dates_active text,
Max_speed int,
Damage_millions_USD real,
Number_Deaths int
)
CREATE TABLE affected_region (
Region_id int,
Storm_ID int,
... |
### Context: CREATE TABLE table_68512 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most time for katrin mei ner and rank less than 5
### Query: SELECT MAX("Time") FROM t... |
### Context: CREATE TABLE table_26368963_1 (
under_13 VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the year 2009 who was the under-13?
### Query: SELECT under_13 FROM table_26368963_1 WHERE year = 2009 |
### Context: CREATE TABLE table_name_4 (
horizontal_bar INTEGER,
country VARCHAR,
rings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest Horizontal Bar which is in france and Rings smaller than 58.975?
### Query: SELECT MAX(horizontal_bar... |
### Context: CREATE TABLE table_name_74 (
county VARCHAR,
geo_id VARCHAR,
latitude VARCHAR,
ansi_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the county when the latitude is more than 48.581299, ansi code is more than 1037103 and the g... |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE ReviewTaskResultTypes (
Id n... |
### Context: CREATE TABLE climber (
Climber_ID int,
Name text,
Country text,
Time text,
Points real,
Mountain_ID int
)
CREATE TABLE mountain (
Mountain_ID int,
Name text,
Height real,
Prominence real,
Range text,
Country text
)
-- Using valid SQLite, answer the followi... |
### Context: CREATE TABLE table_name_69 (
total INTEGER,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many strokes for arnold palmer with a to par of greater than 9?
### Query: SELECT AVG(total) FROM table_name_69 WHERE to_p... |
### Context: CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int... |
### Context: CREATE TABLE table_73703 (
"Name" text,
"Nation" text,
"Seasons" text,
"Championship titles" text,
"Races (Starts)" text,
"Poles" real,
"Wins" real,
"Podiums" real,
"Fastest Laps" real,
"Points (Dropped points)" text
)
-- Using valid SQLite, answer the following qu... |
### Context: CREATE TABLE table_1341568_14 (
opponent VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Henry Hyde's opponent in the race?
### Query: SELECT opponent FROM table_1341568_14 WHERE incumbent = "Henry Hyde" |
### 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 field (
fieldid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE ... |
### Context: CREATE TABLE table_name_47 (
tournament VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament has a Runner(s)-up of Gary McCord?
### Query: SELECT tournament FROM table_name_47 WHERE runner_s__up = "gary mccord" |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE table_22993636_2 (
overall_record VARCHAR,
road_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the overall record of the team with 4-3 road record?
### Query: SELECT overall_record FROM table_22993636_2 WHERE road_rec... |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term v... |
### Context: CREATE TABLE table_54042 (
"Driver" text,
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the constructor when the tyre is d, the engine is talbot 23cv ... |
### Context: CREATE TABLE table_47828 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Place, when To Par is '5', and when Score is '72-73=145'?
### Query: SELECT "Place" F... |
### Context: CREATE TABLE table_67462 (
"Minister" text,
"Party" text,
"Governments" text,
"Term start" text,
"Term end" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the term end of Shlomo-Yisrael Ben-Meir of the National Religious Party?
... |
### Context: CREATE TABLE editor (
Name VARCHAR,
Age VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of editors in ascending order of age.
### Query: SELECT Name FROM editor ORDER BY Age |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
... |
### 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 Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Docum... |
### Context: CREATE TABLE table_31969 (
"Heat Rank" real,
"Lane" real,
"Swimmer" text,
"Country" text,
"Time" real,
"Overall Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In heat rank 7, what is the sum of lanes?
### Query: SELECT SUM("L... |
### Context: CREATE TABLE table_51037 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the city/state of the circuit where Russell Ingall Larry Perkin... |
### Context: CREATE TABLE table_143352_1 (
construction_started INTEGER,
net_mwe VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did construction start on the Power station with a net MWE of 1190
### Query: SELECT MIN(construction_started) FROM table_14... |
### Context: CREATE TABLE table_26866233_1 (
director VARCHAR,
series__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the directors of the episode in series # 54?
### Query: SELECT director FROM table_26866233_1 WHERE series__number = 54 |
### 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_71546 (
"Date" text,
"Winner" text,
"Score" text,
"Location" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location, when the Score is 38-29?
### Query: SELECT "Location" FROM table_71546 ... |
### Context: CREATE TABLE table_name_79 (
week VARCHAR,
host_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week did the Baltimore Ravens play at home ?
### Query: SELECT week FROM table_name_79 WHERE host_team = "baltimore ravens" |
### Context: CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,
departure_flight_number int,
stop_time int
)
CREATE TABLE... |
### Context: CREATE TABLE table_203_756 (
id number,
"year" number,
"title" text,
"role" text,
"network" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- count of unique roles
### Query: SELECT COUNT("role") FROM table_203_756 |
### 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_name_62 (
record VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has an Attendance of 24,597?
### Query: SELECT record FROM table_name_62 WHERE attendance = "24,597" |
### Context: CREATE TABLE table_62596 (
"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.
-- Who had a finish of t15?
### Query: SELECT "Player" FROM table_62596... |
### Context: CREATE TABLE table_62642 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog number" text,
"Lyrics" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what language is the Lyrics of the release on August 10, 2005 with... |
### 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 wdmzjzjlb (
HXPLC nu... |
### Context: CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE All_Documents (
Document_ID INTEGER,
Date_Stored DATETIME,
Document_Type_Code CHAR(15),
Document_Name CHAR(255),
Document_De... |
### Context: CREATE TABLE Photos (
Photo_ID INTEGER,
Tourist_Attraction_ID INTEGER,
Name VARCHAR(255),
Description VARCHAR(255),
Filename VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Staff (
Staff_ID INTEGER,
Tourist_Attraction_ID INTEGER,
Name VARCHAR(40),
Other_Deta... |
### Context: CREATE TABLE table_36 (
"Calls" text,
"Frequency" text,
"Branding" text,
"Format" text,
"Market/Rank" text,
"Timeslot" text,
"Group owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Branding for Group Owner Qanta... |
### Context: CREATE TABLE table_9053 (
"Date" text,
"Venue" text,
"Score" text,
"Competition" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Competition on November 16, 2007?
### Query: SELECT "Competition" FROM table_90... |
### Context: CREATE TABLE table_name_46 (
television_service VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which television service has italian for its language?
### Query: SELECT television_service FROM table_name_46 WHERE language = "it... |
### Context: CREATE TABLE table_39379 (
"Year" real,
"English title" text,
"Original title" text,
"Country" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- English title of am lie had what year?
### Query: SELECT "Year" FROM table_3... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_61007 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_name_4 (
inhabitants INTEGER,
mayor VARCHAR,
election VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Inhabitants have a Mayor of matteo renzi, and an Election larger than 2009?
### Query: SELECT MIN(inhabitants) FRO... |
### Context: CREATE TABLE table_204_91 (
id number,
"year" number,
"original title" text,
"english title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was henrick malberg 's first film ?
### Query: SELECT "orig... |
### Context: CREATE TABLE teaches (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0)
)
CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,0)
)
CREATE TABLE instructor (
ID varchar(5),
name varc... |
### Context: CREATE TABLE table_15315816_1 (
year VARCHAR,
champion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When are all years that the champion is Ji Min Jeong?
### Query: SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong" |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
C... |
### Context: CREATE TABLE table_name_58 (
location VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the location when the score is w 105-99?
### Query: SELECT location FROM table_name_58 WHERE score = "w 105-99" |
### Context: CREATE TABLE table_69468 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which entrant has a year after 1999?
### Query: SELECT "Entrant" FROM table_69468 WHERE "Yea... |
### Context: CREATE TABLE table_name_52 (
year INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Year, when Opponent is #2 Syracuse?
### Query: SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse" |
### Context: CREATE TABLE table_842 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE... |
### Context: CREATE TABLE table_20137 (
"Condition" text,
"Prothrombin time" text,
"Partial thromboplastin time" text,
"Bleeding time" text,
"Platelet count" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the possible bleeding time resu... |
### Context: CREATE TABLE procedures (
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,
rel... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.