text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE customer_orders (
order_id number,
customer_id number,
order_date time,
order_status_code text
)
CREATE TABLE customers (
customer_id number,
payment_method_code text,
customer_number text,
customer_name text,
customer_address text,
customer_phone text,... |
### Context: CREATE TABLE table_58227 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When melbourne was the home team wh... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
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 ... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
... |
### 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 mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_name_83 (
format VARCHAR,
code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the format of code 9 40231-2 (us only)?
### Query: SELECT format FROM table_name_83 WHERE code = "9 40231-2 (us only)" |
### Context: CREATE TABLE table_52713 (
"Name" text,
"Took Office" text,
"Left Office" text,
"Party" text,
"District Residence" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name of choice b. Randell is the name of which District Residence?
### Qu... |
### 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 microlab... |
### Context: CREATE TABLE table_17941032_1 (
lost VARCHAR,
tries_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 55 is the tries for what is the lost?
### Query: SELECT lost FROM table_17941032_1 WHERE tries_for = "55" |
### Context: CREATE TABLE table_66667 (
"Rank" real,
"Rowers" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time of the Rowers in Rank 1?
### Query: SELECT "Time" FROM table_66667 WHERE "Rank"... |
### Context: CREATE TABLE table_name_53 (
director_s_ VARCHAR,
rank VARCHAR,
film VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the nominated film, Badmouth?
### Query: SELECT director_s_ FROM table_name_53 WHERE rank = "nominated" AND fil... |
### Context: CREATE TABLE table_name_54 (
results¹ VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game against Hungary?
### Query: SELECT results¹ FROM table_name_54 WHERE opponent = "hungary" |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time... |
### Context: CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Has_Allergy (
... |
### Context: CREATE TABLE table_name_30 (
year INTEGER,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average year in which the finish position was 13th?
### Query: SELECT AVG(year) FROM table_name_30 WHERE position = "13th" |
### Context: CREATE TABLE table_name_44 (
party VARCHAR,
representative VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party has Peter A. Quinn as a representative?
### Query: SELECT party FROM table_name_44 WHERE representative = "peter a. quinn" |
### Context: CREATE TABLE table_35907 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was Carole Charbonnier a Runner(s)-up with a 1 stroke ... |
### 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_25019 (
"State (class)" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date of successors formal installation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times has Aaron Ogden (f), bee... |
### Context: CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE table_74121 (
"Program" text,
"Exercise" text,
"Week" text,
"Muscles Worked" text,
"Type" text,
"Ab Ripper X" text,
"Length" text,
"Equipment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ab ripper... |
### Context: CREATE TABLE table_46472 (
"Round" real,
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning car" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What circuit was the race named international trophy raced at by ... |
### Context: CREATE TABLE table_name_87 (
segment_a VARCHAR,
episode VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the segment A in episode 42?
### Query: SELECT segment_a FROM table_name_87 WHERE episode = 42 |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE table_1342315_12 (
district VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which district has a Republican elected?
### Query: SELECT district FROM table_1342315_12 WHERE party = "Republican" |
### Context: CREATE TABLE table_25226 (
"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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City t... |
### Context: CREATE TABLE table_name_29 (
year INTEGER,
final_position___tour VARCHAR,
final_position___giro VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the rider with a final position-tour of 88 and less than 11 final position-giros?
#... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC te... |
### Context: CREATE TABLE table_75138 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which third did angel garcia lead?
### Query: SELECT "Third" FROM table_75138 WHERE "Lead" = '... |
### 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_34727 (
"Country" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which skip's second is Martin Hejhal?
### Query: SELECT "Skip" FROM table_34727 WHERE "Second" =... |
### Context: CREATE TABLE table_27712702_11 (
team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the other team on march 27?
### Query: SELECT team FROM table_27712702_11 WHERE date = "March 27" |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_name_3 (
result VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has a Category of the best costume design?
### Query: SELECT result FROM table_name_3 WHERE category = "best costume design" |
### Context: CREATE TABLE hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
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,
... |
### Context: CREATE TABLE table_203_777 (
id number,
"years" text,
"building" text,
"city" text,
"height (ctbuh)" text,
"floors" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many floors are there in the tallest building in canada ?
### ... |
### 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 job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_4267 (
"Material" text,
"Type" text,
"Geometry" text,
"Output voltage" text,
"Output power" text,
"Synthesis" text,
"Researched at" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was d: ~100nm, l: 1 m ge... |
### Context: CREATE TABLE table_203_350 (
id number,
"team #1" text,
"agg." text,
"team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the score 1-0 in the 1st leg ?
### Query: SELECT COUNT... |
### Context: CREATE TABLE table_name_49 (
name VARCHAR,
year_at_cu VARCHAR,
alma_mater VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the alma mater of Dayton ('07), and was in their 1st year at CU?
### Query: SELECT name FROM table_name_49 WHER... |
### Context: CREATE TABLE table_43513 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Decision" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game has a January larger than 18, and a Decision of valiquette?
... |
### Context: CREATE TABLE table_26187 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the final score when 22210 is the atte... |
### Context: CREATE TABLE table_name_52 (
grid INTEGER,
time_retired VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the grid average with a +1 lap time and more than 27 laps?
### Query: SELECT AVG(grid) FROM table_name_52 WHERE tim... |
### Context: CREATE TABLE table_25401_15 (
italian VARCHAR,
english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every value for Italian when the part is English?
### Query: SELECT italian FROM table_25401_15 WHERE english = "part" |
### Context: CREATE TABLE hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH t... |
### Context: CREATE TABLE table_32613 (
"Rank" real,
"Player" text,
"County" text,
"Tally" text,
"Total" real,
"Matches" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many totals are there for players with an average und... |
### Context: CREATE TABLE table_name_92 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for the Wimbledon tournament in 1996?
### Query: SELECT 1996 FROM table_name_92 WHERE tournament = "wimbledon" |
### Context: 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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departme... |
### 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_name_88 (
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the normal 2002 that has a Country of Peru, and 2007 bigger than 1,200?
### Query: SELECT AVG(2002) FROM table_name_88 WHERE country = "peru" AND 2007 > 1 O... |
### 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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity tex... |
### Context: CREATE TABLE ftxmzjzjlb (
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 tex... |
### Context: CREATE TABLE table_name_49 (
ratt VARCHAR,
comp VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the RAtt when the comp is 48?
### Query: SELECT ratt FROM table_name_49 WHERE comp = "48" |
### 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 gyb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_42952 (
"Year" real,
"Actor" text,
"Award" text,
"Motion Picture" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For what motion picture did Samuel L. Jackson win the best supporting actor award before ... |
### Context: CREATE TABLE table_3599 (
"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.
-- How many first elected years are provided for Thomas P. Moor... |
### Context: CREATE TABLE table_79824 (
"Nat." text,
"Name" text,
"Since" text,
"Goals" real,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What the since year of the player with a transfer fee of 75k?
### Query: SELECT "Since" FROM... |
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### Context: CREATE TABLE table_name_50 (
grand_prix VARCHAR,
fastest_lap VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position?
##... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
dr... |
### Context: CREATE TABLE table_10698 (
"Party" text,
"1999 Election" real,
"2003 Election" real,
"2007 Election" real,
"May 2010" real,
"2011 Election" real,
"May 2012" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What average election in... |
### Context: CREATE TABLE Payments (
Payment_ID INTEGER,
Settlement_ID INTEGER,
Payment_Method_Code VARCHAR(255),
Date_Payment_Made DATE,
Amount_Payment INTEGER
)
CREATE TABLE Settlements (
Settlement_ID INTEGER,
Claim_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
A... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JCZB... |
### Context: CREATE TABLE table_63102 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least bronze number when the silver is less than 0?
### Query: SEL... |
### Context: CREATE TABLE table_45232 (
"State" text,
"Type" text,
"Name" text,
"Title" text,
"Royal house" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of state did the ruler have a title?
### Query: SELECT "Type" FROM table_45232 WHER... |
### Context: CREATE TABLE table_name_68 (
propulsion VARCHAR,
order_year VARCHAR,
manufacturer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Propulsion for the model offered in 2003-2004 by neoplan usa?
### Query: SELECT propulsion FROM tab... |
### Context: CREATE TABLE club (
name VARCHAR,
Club_ID VARCHAR
)
CREATE TABLE player (
Player_id VARCHAR,
Club_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Please show the names and the players of clubs.
### Query: SELECT T1.name, T2.Player_id... |
### Context: CREATE TABLE table_204_623 (
id number,
"opponent" text,
"goals" text,
"wins" number,
"draws" number,
"losses" number,
"+- goals" number,
"matches" number,
"qualified" number,
"eliminated" number
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_name_57 (
shooter VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who's the shooter with a total of 25?
### Query: SELECT shooter FROM table_name_57 WHERE total = "25" |
### Context: CREATE TABLE table_27615445_1 (
audition_venue VARCHAR,
guest_fourth_judge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the audition venue where Peninha was the guest fourth judge?
### Query: SELECT audition_venue FROM table_2761544... |
### Context: CREATE TABLE table_name_89 (
release_date VARCHAR,
english_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Release date of the Album Your Friend?
### Query: SELECT release_date FROM table_name_89 WHERE english_title = "your fri... |
### Context: CREATE TABLE table_3689 (
"Model" text,
"Speed (GHz)" text,
"L3 Cache (MB)" real,
"QPI speed (GT/s)" text,
"DDR3 Clock (MHz)" real,
"TDP (W)" real,
"Cores" real,
"Threads" real,
"Turbo-Boost" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_204_322 (
id number,
"township" text,
"fips" number,
"population" number,
"population\ndensity\n/km2 (/sq mi)" text,
"land area\nkm2 (sq mi)" text,
"water area\nkm2 (sq mi)" text,
"water %" text,
"geographic coordinates" text
)
-- Using valid SQLite,... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid... |
### Context: CREATE TABLE table_name_31 (
nationality VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality of the player from round 5?
### Query: SELECT nationality FROM table_name_31 WHERE round = 5 |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
... |
### Context: 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_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_40676 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Television Service offering Cartomanzia?... |
### Context: CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### Context: CREATE TABLE table_62219 (
"Name" text,
"Area (km\u00b2)" real,
"Pop." real,
"Pop/Area (1/km\u00b2)" real,
"No P." real,
"No C./No T." text,
"Subregion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Subregion has a No P. ... |
### Context: CREATE TABLE table_name_40 (
time VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fastest time for the Kentucky Derby race?
### Query: SELECT time FROM table_name_40 WHERE race = "kentucky derby" |
### 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 procedures (
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 table_5337 (
"Metro Vincity" text,
"Venue Location" text,
"Address" text,
"Opened" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total capacity of venues that opened in 1999?
### Query: SELECT... |
### Context: CREATE TABLE table_name_92 (
name VARCHAR,
license VARCHAR,
current_version VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a licence of gpl v2 and a current version of 0.9.9?
### Query: SELECT name FROM table_name_92 WHERE license =... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABL... |
### Context: CREATE TABLE table_39430 (
"Category" text,
"Type" text,
"Attribute" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the bubbles for onscroll
### Query: SELECT "Bubbles" FROM table_39430 WHERE "At... |
### Context: CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varchar,
city_name varchar
)
CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varchar,
rating "decimal
)
CREATE TABLE geographic (
city_name varchar,
county var... |
### Context: CREATE TABLE table_name_69 (
socket VARCHAR,
part_number_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Socket, when Part Number(s) is au80610003495aa?
### Query: SELECT socket FROM table_name_69 WHERE part_number_s_ = "au80610003495... |
### 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_40554 (
"Season" text,
"Winner" text,
"Score" text,
"Runner-up" text,
"Losing Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Winner when the Runner-up was Real Salt Lake?
### Query: SELECT ... |
### Context: CREATE TABLE table_261941_1 (
location VARCHAR,
joined VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the University that joined in 1926, 1996 2?
### Query: SELECT location FROM table_261941_1 WHERE joined = "1926, 1996 ... |
### Context: CREATE TABLE table_18686 (
"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.
-- How many parties were represented for Charles R. Crisp?
##... |
### Context: CREATE TABLE table_41265 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which package/option has sky wwe 24/7 television ser... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.