text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_32 (
west VARCHAR,
east VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was in the West when ESV Gebensbach was in the East?
### Query: SELECT west FROM table_name_32 WHERE east = "esv gebensbach" |
### Context: CREATE TABLE table_name_46 (
total VARCHAR,
to_par VARCHAR,
year_won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total of the player who won before 1983 with a smaller than 4 To par?
### Query: SELECT COUNT(total) FROM table_... |
### Context: CREATE TABLE table_name_93 (
country VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has a rank of 2?
### Query: SELECT country FROM table_name_93 WHERE rank = 2 |
### Context: CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
mea... |
### 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_68415 (
"Game" real,
"Date" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date for game 3?
### Query: SELECT "Date" FROM table_68415 WHERE "Game" = '3' |
### Context: CREATE TABLE table_name_93 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tournament for 2010 of grand slam tournaments
### Query: SELECT tournament FROM table_name_93 WHERE 2010 = "grand slam tournaments" |
### Context: CREATE TABLE table_14960574_6 (
german_voice_actor VARCHAR,
spanish_voice_actor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the german voice actor for rafael torres
### Query: SELECT german_voice_actor FROM table_14960574_6 WHERE spanis... |
### Context: CREATE TABLE table_38266 (
"Driver" text,
"Season" text,
"Entries" real,
"Front row starts" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the total number of entries in 2001 that had a front row smaller tha... |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### 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_12156 (
"Draft" real,
"Round" text,
"Pick" real,
"Player" text,
"Nationality" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Draft, when Round is '9', when Pick is '171', and when Player is 'Dan Wiebe Category... |
### Context: CREATE TABLE table_name_34 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE VENUE ON MARCH 28, 2008?
### Query: SELECT venue FROM table_name_34 WHERE date = "march 28, 2008" |
### 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 table_name_29 (
total INTEGER,
gold INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total has a Gold smaller than 0?
### Query: SELECT SUM(total) FROM table_name_29 WHERE gold < 0 |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
customer_details VARCHAR(255)
)
CREATE TABLE Organizations (
organization_id INTEGER,
parent_organization_id INTEGER,
organization_details VARCHAR(255)
)
CREATE TABLE Customer_Event_Notes (
Customer_Event_Note_ID INTEGER,
Customer_... |
### Context: CREATE TABLE table_7085 (
"Rank" real,
"Celebrity" text,
"Professional Partner" text,
"Season" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season's average was 37.5?
### Query: SELECT "Season" FROM table_7085 W... |
### Context: CREATE TABLE table_name_86 (
drivers VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver had 101 laps?
### Query: SELECT drivers FROM table_name_86 WHERE laps = 101 |
### Context: CREATE TABLE table_65514 (
"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 for the race with the United States?
### Query: SELECT "Time" FROM table_65514 ... |
### Context: CREATE TABLE table_name_25 (
region VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What region has a 5 rank?
### Query: SELECT region FROM table_name_25 WHERE rank = 5 |
### Context: CREATE TABLE table_69149 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- for the rank of 3 for the united states, what is the average lane?
### Query: SELECT AVG("Lane"... |
### Context: CREATE TABLE table_18788823_5 (
team VARCHAR,
date_of_appointment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team appointed a person on 23 December 2008?
### Query: SELECT team FROM table_18788823_5 WHERE date_of_appointment = "23 Dec... |
### Context: CREATE TABLE table_35161 (
"Congress" text,
"Bill number(s)" text,
"Date introduced" text,
"Sponsor(s)" text,
"# of cosponsors" real,
"Latest status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who sponsored the bill introduced o... |
### 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 times was there a loss by more than 5 points ... |
### Context: CREATE TABLE table_49629 (
"Year" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Host city / cities" text,
"Host country / countries" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the host country when bronze is [[|]] (1... |
### 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_21551 (
"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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_204_413 (
id number,
"medal" text,
"name" text,
"sport" text,
"event" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the only medalist to receive a medal in the men 's javelin throw
### Query: S... |
### Context: CREATE TABLE table_name_8 (
agg VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 1st leg has 52-70 as the agg.?
### Query: SELECT 1 AS st_leg FROM table_name_8 WHERE agg = "52-70" |
### 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_DIRE_CD text,
MED_... |
### 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 table_name_80 (
track VARCHAR,
pole_winner VARCHAR,
event_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At which track was Frank Kimmel the Pole Winner of the Pennsylvania 200?
### Query: SELECT track FROM table_name_80 W... |
### Context: CREATE TABLE table_name_13 (
wins INTEGER,
events VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest wins for Thomas in events he had entered exactly 9 times?
### Query: SELECT MIN(wins) FROM table_name_13 WHERE events = 9 |
### Context: CREATE TABLE Accounts (
Account_details INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the account details with the largest value or with value having char '5' in it?
### Query: SELECT MAX(Account_details) FROM Accounts UNION SELECT Accoun... |
### Context: CREATE TABLE table_203_160 (
id number,
"rank" number,
"heat" number,
"nation" text,
"competitors" text,
"time" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which nation placed above russia ?
### Query: SELECT "... |
### Context: CREATE TABLE table_name_38 (
date VARCHAR,
venue VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date did they play Leicester City in Venue A?
### Query: SELECT date FROM table_name_38 WHERE venue = "a" AND oppone... |
### 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 table_19249 (
"Year" real,
"Boys singles" text,
"Girls singles" text,
"Boys doubles" text,
"Girls doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When mixed doubles is didit juang indrianto... |
### Context: CREATE TABLE table_54926 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the Away team when the Home team ... |
### Context: CREATE TABLE table_name_24 (
location VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the location for Arras Paul Arras?
### Query: SELECT location FROM table_name_24 WHERE opponent = "arras paul arras" |
### Context: CREATE TABLE table_19629 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smalle... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines in... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationD... |
### Context: CREATE TABLE table_name_1 (
season VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season did the Rangers win?
### Query: SELECT season FROM table_name_1 WHERE winner = "rangers" |
### Context: CREATE TABLE table_39928 (
"Date" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Interview subject has a Pictorials of vida guerra?
### Qu... |
### Context: CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PRO... |
### Context: CREATE TABLE table_name_96 (
class VARCHAR,
chassis VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Driver Shaun Jones with a viper as a chassis is in what class?
### Query: SELECT class FROM table_name_96 WHERE chassis = "vi... |
### Context: CREATE TABLE table_47019 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the part 2 entry for class 3a?
### Query: SELECT "Part 2" FR... |
### Context: CREATE TABLE table_77147 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Marty Furgol's place when he was paid less than $3,000?
### ... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
Ow... |
### Context: CREATE TABLE table_2803662_3 (
town VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When grand prix de sar la princesse lalla meryem is the tournament what is the town?
### Query: SELECT town FROM table_2803662_3 WHERE tourna... |
### 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 domain_publication (
did int,
pid int
)
CREATE TABLE journal (
homepage varchar,
jid int,
name varchar
)
CREATE TABLE organization (
continent varchar,
homepage varchar,
name varchar,
oid int
)
CREATE TABLE publication (
abstract varchar,
cid int,... |
### Context: CREATE TABLE table_8485 (
"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.
-- How many people attended the game... |
### Context: CREATE TABLE table_1756284_1 (
kerry_percentage VARCHAR,
kerry_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Kerry# was 199060, what was the percentage?
### Query: SELECT kerry_percentage FROM table_1756284_1 WHERE kerry_number = 1... |
### Context: CREATE TABLE table_68478 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the entrant for year of 1952
### Query: SELECT "Entrant" FROM table_68478 WHERE "Year" ... |
### 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 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_33937 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the silver number when gold is more than 4, and the total is less than 24?
### Query: SEL... |
### Context: CREATE TABLE table_name_61 (
train_name VARCHAR,
frequency__inbound_outbound_ VARCHAR,
destination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the train name of the rail with a daily frequency and Jammutawi as the destination?
##... |
### Context: CREATE TABLE table_name_66 (
player VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who plays the right wing position?
### Query: SELECT player FROM table_name_66 WHERE position = "right wing" |
### Context: CREATE TABLE table_name_59 (
attendance VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance of the game with the NY Islanders as home team?
### Query: SELECT COUNT(attendance) FROM table_name_59 WHERE home = "ny ... |
### Context: CREATE TABLE table_37922 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the segment b for Netflix s0... |
### Context: CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_25551880_2 (
mountains_classification VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was awarded mountains classification when Alessandro petacchi won?
### Query: SELECT mountains_classification FROM table... |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country... |
### Context: CREATE TABLE table_name_94 (
area_served VARCHAR,
frequency VARCHAR,
on_air_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what Area has the frequency of 100.3 and an On-air ID of yass fm?
### Query: SELECT area_served FROM table_name_94... |
### Context: CREATE TABLE table_204_58 (
id number,
"year" number,
"position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount that a team did not enter ?
### Query: SELECT COUNT(*) FROM table_204_58 WHERE "position" = 'did not enter... |
### 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_11444 (
"Date" text,
"Winning Team" text,
"Losing Team" text,
"Score" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the losing team on June 16?
### Query: SELECT "Losing Team" FROM table_11444 ... |
### Context: CREATE TABLE table_13109 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Elected has a 1st member of thomas fanshawe?
### Query: SELECT "Elected"... |
### Context: CREATE TABLE table_dev_20 (
"id" int,
"anemia" bool,
"gender" string,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"platelets" int,
"dyslipidemia" bool,
"renal_disease" bool,
"creatinine_clearance_cl" float,
"neutropenia" int,
"estimated_glome... |
### Context: CREATE TABLE table_40212 (
"Event" text,
"2007\u201308" text,
"2008\u201309" text,
"2009\u201310" text,
"2010\u201311" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Event when the 2008 09 is sf?
### Query: SELECT "Event" F... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDat... |
### Context: CREATE TABLE table_name_24 (
date VARCHAR,
method VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the technical knockout against Fatu Tuimanono happen?
### Query: SELECT date FROM table_name_24 WHERE method = "tech... |
### Context: CREATE TABLE table_24440 (
"Day" text,
"Stage" text,
"Time (CET)" text,
"Name" text,
"Length" text,
"Winner" text,
"Time" text,
"Avg. spd." text,
"Rally leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is ever... |
### Context: CREATE TABLE table_name_49 (
money___£__ VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the money for the to par of -6
### Query: SELECT money___£__ FROM table_name_49 WHERE to_par = "-6" |
### Context: CREATE TABLE table_57139 (
"Year" text,
"Security Forces" text,
"Insurgents" text,
"Civilians" text,
"Total:" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the security forces for 2009
### Query: SELECT "Security Forces" FROM tab... |
### Context: CREATE TABLE table_4939 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_64155 (
"Date" text,
"Label" text,
"Format" text,
"Country" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the format for Catalog CL 2372?
### Query: SELECT "Format" FROM table_64155 WHERE "Ca... |
### Context: CREATE TABLE table_train_191 (
"id" int,
"gender" string,
"hemoglobin_a1c_hba1c" float,
"diabetic" string,
"serum_creatinine" float,
"allergy_to_glyburide" bool,
"kidney_disease" bool,
"drug_abuse" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer th... |
### 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_name_37 (
name VARCHAR,
lane VARCHAR,
mark VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name when the lane is less than 4 and mark is 52.64?
### Query: SELECT name FROM table_name_37 WHERE lane < 4 AND mark ... |
### Context: CREATE TABLE table_18823 (
"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 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_9218 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the surface for the week of october 25?
### ... |
### Context: CREATE TABLE table_204_81 (
id number,
"rank" number,
"bib" number,
"name" text,
"country" text,
"time" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many skiers represented norway in the men 's 15 kilometre... |
### Context: CREATE TABLE table_3979 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of cfl teams for jeff traversy
### Query: SELECT COUNT("CFL Team") FROM ... |
### Context: CREATE TABLE table_69217 (
"Goalkeeper" text,
"Goals" real,
"Matches" real,
"Average" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average goals less than 41 that goalkeeper Claudio Bravo had?
### Query: SELE... |
### Context: CREATE TABLE table_name_31 (
laps VARCHAR,
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps for a grid larger than 1 with a Time/Retired of halfshaft?
### Query: SELECT laps FROM table_name_31 WHERE gr... |
### Context: CREATE TABLE CloseReasonTypes (
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,
ApprovedB... |
### Context: CREATE TABLE table_name_78 (
location VARCHAR,
opponent_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the game when Police S.A. was the opponent?
### Query: SELECT location FROM table_name_78 WHERE opponent_team = "police s.a." |
### 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 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 table_name_84 (
city VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what city is brule in
### Query: SELECT city FROM table_name_84 WHERE county = "brule" |
### Context: CREATE TABLE zyb (
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_75912 (
"Rank" real,
"Name" text,
"Built" real,
"Height" text,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Floors, when Built is greater than 1970, and when Name is NV Building 3?
### Q... |
### 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_204_648 (
id number,
"title" text,
"contents" text,
"pages" number,
"published" text,
"isbn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long , in pages , is volume 6 of doctor who classics ?
### Query: SE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.