text stringlengths 197 8.39k |
|---|
### 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_68868 (
"Rank" text,
"Score" text,
"Player" text,
"Club" text,
"Opponent" text,
"Year" text,
"Round" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent in 1992?
### Query: SE... |
### Context: CREATE TABLE table_14265 (
"Year" real,
"Competition" text,
"Location" text,
"Weight Category" text,
"Snatch" text,
"Clean and Jerk" text,
"Total" text,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the hig... |
### Context: CREATE TABLE table_60614 (
"English translation" text,
"Original album" text,
"Lyricist(s)" text,
"Composer(s)" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Original Album, when English Translation is 'With You'?
... |
### Context: CREATE TABLE phone (
Accreditation_level VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the accreditation level that more than 3 phones use.
### Query: SELECT Accreditation_level FROM phone GROUP BY Accreditation_level HAVING COUNT(*) > 3 |
### 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_32 (
tail_number VARCHAR,
fatalities VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the tail number with 3/3 fatalities?
### Query: SELECT tail_number FROM table_name_32 WHERE fatalities = "3/3" |
### Context: CREATE TABLE table_20331 (
"No." real,
"Name" text,
"Livery" text,
"Locomotive type" text,
"Wheel Arrangement" text,
"Builder" text,
"Year built" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many locomot... |
### Context: CREATE TABLE table_27615445_1 (
episode_air_date VARCHAR,
guest_fourth_judge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all episode air dates where Luiza Possi was the guest fourth judge?
### Query: SELECT episode_air_date FROM table_2... |
### Context: CREATE TABLE table_35023 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Game smaller than 70, and a Record of 43 16 8 is what opponent?
### Query: ... |
### Context: CREATE TABLE table_name_97 (
score VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game with the Broadview Hawks as the home team?
### Query: SELECT score FROM table_name_97 WHERE home = "broadview hawks" |
### Context: CREATE TABLE people (
People_ID int,
District text,
Name text,
Party text,
Age int
)
CREATE TABLE debate_people (
Debate_ID int,
Affirmative int,
Negative int,
If_Affirmative_Win bool
)
CREATE TABLE debate (
Debate_ID int,
Date text,
Venue text,
Num_of_... |
### Context: CREATE TABLE table_11630008_4 (
season_no INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first season written by joseph hampton & dani renee?
### Query: SELECT MIN(season_no) FROM table_11630008_4 WHERE written_b... |
### Context: CREATE TABLE table_203_538 (
id number,
"flight" text,
"date" text,
"payload nickname" text,
"payload" text,
"orbit" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many partial failures of h ii flights were th... |
### Context: CREATE TABLE table_name_49 (
pick__number VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pick #, when Round is '10'?
### Query: SELECT pick__number FROM table_name_49 WHERE round = 10 |
### Context: CREATE TABLE table_203_834 (
id number,
"rank" number,
"census subdivision" text,
"province" text,
"type" text,
"land area\n(km2, 2011)" number,
"population 2011" number,
"population 2006" number,
"population 2001" number,
"population 1996" number,
"change in % 2... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_69265 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent with score of 1 6, 6 4, 6 4
### Query: SELECT "Opponent" FROM table_69... |
### Context: CREATE TABLE table_31634 (
"Conference" text,
"# of Bids" real,
"Record" text,
"Win %" text,
"Round of 32" text,
"Elite Eight" text,
"Final Four" text,
"Championship Game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How m... |
### Context: CREATE TABLE table_5930 (
"Country" text,
"Project Name" text,
"Year startup" text,
"Operator" text,
"Peak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the startup year for the project with a nioc operator?
### Query: SELEC... |
### Context: CREATE TABLE table_37155 (
"Season" real,
"Series" text,
"Team Name" text,
"Races" text,
"Wins" text,
"Poles" text,
"F/Laps" text,
"Podiums" text,
"Points" text,
"Final Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost ... |
### 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 lab (
... |
### Context: CREATE TABLE table_name_17 (
result VARCHAR,
score VARCHAR,
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result at dakar , senegal, on 3 september 2011, and with a Score of 2 0?
### Query: SELECT resul... |
### Context: CREATE TABLE table_20280 (
"Name" text,
"Overs Bowled" text,
"Maidens" real,
"Runs Conceded" real,
"Wickets" real,
"Extras" real,
"E.R." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runs conceded for chaminda vaas?
#... |
### Context: CREATE TABLE train (
id int,
train_number int,
name text,
origin text,
destination text,
time text,
interval text
)
CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
wind_speed_... |
### Context: CREATE TABLE table_25468520_1 (
printing_process VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many time is the theme rotary international : 100 years in canada?
### Query: SELECT COUNT(printing_process) FROM table_25468520_... |
### Context: CREATE TABLE table_64198 (
"Province" text,
"Inhabitants" real,
"established" real,
"President" text,
"Party" text,
"Election" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest election result for President Leonardo... |
### Context: CREATE TABLE table_name_26 (
départ_de_la_main_gauche VARCHAR,
mode VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Depart de la main gauche of the do Mode?
### Query: SELECT départ_de_la_main_gauche FROM table_name_26 WHERE mode = "... |
### Context: CREATE TABLE table_name_8 (
molecules VARCHAR,
percent_of_mass VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the molecules when the percent mass is 1.0?
### Query: SELECT molecules FROM table_name_8 WHERE percent_of_mass = "1.0" |
### Context: CREATE TABLE table_13705 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score in the final of the tourn... |
### Context: CREATE TABLE table_51072 (
"Date" text,
"Distance" text,
"Handler" text,
"Event" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event has a distance of ft10in (m)?
### Query: SELECT "Event" FROM table_51072 WHERE... |
### Context: CREATE TABLE table_18994724_1 (
language_s_ VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language was spoken in Everlasting Moments?
### Query: SELECT language_s_ FROM table_18994724_1 WHERE film_ti... |
### Context: CREATE TABLE table_39261 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Rank of 5?
### Query: SELECT "Country" FROM tabl... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_name_32 (
position INTEGER,
played INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Played larger than 9?
### Query: SELECT SUM(position) FROM table_name_32 WHERE played > 9 |
### Context: CREATE TABLE table_204_845 (
id number,
"round" number,
"circuit" text,
"location" text,
"date" text,
"pole position" text,
"fastest lap" text,
"winning driver" text,
"headline event" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_name_44 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2010 for the grand slam tournaments of 2007?
### Query: SELECT 2010 FROM table_name_44 WHERE 2007 = "grand slam tournaments" |
### Context: CREATE TABLE table_name_10 (
date VARCHAR,
winner VARCHAR,
race_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did Dick Johnson with at Calder?
### Query: SELECT date FROM table_name_10 WHERE winner = "dick johnson" AND r... |
### Context: CREATE TABLE table_73834 (
"meas. num" real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- HOw many no votes we... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_203_30 (
id number,
"place" number,
"team" text,
"played" number,
"won" number,
"draw" number,
"lost" number,
"goals\nscored" number,
"goals\nconceded" number,
"+/-" number,
"points" number
)
-- Using valid SQLite, answer the following questi... |
### Context: CREATE TABLE table_name_35 (
driver VARCHAR,
time_retired VARCHAR,
constructor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver has a ime/Retired of +1 lap, and a Constructor of bar - honda?
### Query: SELECT driver FROM table_nam... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE labe... |
### Context: CREATE TABLE member (
Member_ID int,
Card_Number text,
Name text,
Hometown text,
Level int
)
CREATE TABLE branch (
Branch_ID int,
Name text,
Open_year text,
Address_road text,
City text,
membership_amount text
)
CREATE TABLE purchase (
Member_ID int,
Br... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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,
JZZ... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE table_name_36 (
pages INTEGER,
translated_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the sum of pages for thistle among roses
### Query: SELECT SUM(pages) FROM table_name_36 WHERE translated_title = "thistle among ... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentL... |
### Context: CREATE TABLE table_204_855 (
id number,
"year" number,
"date" text,
"winner" text,
"result" text,
"loser" text,
"attendance" number,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many total games did the chic... |
### Context: CREATE TABLE table_name_26 (
timeslot VARCHAR,
air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the timeslot for the episode that aired April 28, 2009?
### Query: SELECT timeslot FROM table_name_26 WHERE air_date = "april 28, 200... |
### Context: CREATE TABLE table_11464746_1 (
composition VARCHAR,
house_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the benue house made of?
### Query: SELECT composition FROM table_11464746_1 WHERE house_name = "Benue" |
### 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 table_78357 (
"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.
-- Which Venue is the one for the foot... |
### 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 table_name_52 (
country VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country placed t3 with a score of 70-65=135?
### Query: SELECT country FROM table_name_52 WHERE place = "t3" AND score = ... |
### Context: CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price real
)
CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
... |
### Context: CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
... |
### Context: CREATE TABLE table_name_50 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What away team played against Footscray as the home team?
### Query: SELECT away_team FROM table_name_50 WHERE home_team = "footscray" |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE offering_inst... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_i... |
### Context: CREATE TABLE table_742 (
"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 candidates ran in the election that included john shelle... |
### 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 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_203_521 (
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.
-- how many total times has this team finish... |
### 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 employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NA... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_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 varchar,
test_id varchar
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_26 (
executions_in_effigie VARCHAR,
tribunal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How man executions in effigie took place at the Lamego tribunal?
### Query: SELECT executions_in_effigie FROM table_name_26 WHER... |
### Context: CREATE TABLE table_name_96 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On June 29, who was the opponent?
### Query: SELECT opponent FROM table_name_96 WHERE date = "june 29" |
### Context: CREATE TABLE table_name_4 (
ends_won INTEGER,
ends_lost VARCHAR,
shot__percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of ends won of 47 Ends Lost and a Shot % less than 73?
### Query: SELECT MAX(ends_wo... |
### Context: CREATE TABLE table_73525 (
"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 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_61 (
format VARCHAR,
region VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Format has a Region of united states, and a Catalog of kem 072?
### Query: SELECT format FROM table_name_61 WHERE regi... |
### Context: CREATE TABLE table_name_1 (
round VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Round was a player from College of Connecticut drafted?
### Query: SELECT round FROM table_name_1 WHERE college = "connecticut" |
### Context: CREATE TABLE professor (
dept_code VARCHAR
)
CREATE TABLE department (
dept_code VARCHAR,
dept_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many professors who are from either Accounting or Biology department?
### Query: SELECT ... |
### Context: CREATE TABLE table_14199 (
"Rank" real,
"Heat" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality is Erin Donohue?
### Query: SELECT "Nationality" FROM table_14199 WHERE "Name"... |
### Context: CREATE TABLE table_12800 (
"Draft" real,
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest pick of player paul stasiuk from a round greater than 12?
### Query: SEL... |
### Context: CREATE TABLE table_204_899 (
id number,
"event" text,
"date" text,
"area" text,
"tornadoes" number,
"casualties" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the total number of tornado events that occur... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TA... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medicat... |
### Context: CREATE TABLE table_1341718_14 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was it the district illinois 18?
### Query: SELECT COUNT(candidates) FROM table_1341718_14 WHERE district = "Illinois 18" |
### Context: CREATE TABLE table_203_521 (
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.
-- what was the team 's playoff result in th... |
### Context: CREATE TABLE table_19759 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" text,
"Jockey" text,
"Winner/2nd" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the... |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
payment_method_code VARCHAR(15),
customer_number VARCHAR(20),
customer_name VARCHAR(80),
customer_address VARCHAR(255),
customer_phone VARCHAR(80),
customer_email VARCHAR(80)
)
CREATE TABLE Products (
product_id INTEGER,
pro... |
### Context: CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
building_address VARCHAR(255),
building_manager VARCHAR(50),
building_phone VARCHAR(80)
)
CREATE TABLE View_Unit_Status (
... |
### Context: CREATE TABLE table_68525 (
"Season" text,
"League" text,
"Winner" text,
"Goals" real,
"Assists" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the WCHL League, what is the last Assists with less than 65 Goals?
###... |
### Context: CREATE TABLE table_name_58 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when their record was 35 23 15?
### Query: SELECT score FROM table_name_58 WHERE record = "35–23–15" |
### Context: CREATE TABLE table_name_19 (
school_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college team did Derek Fisher play for?
### Query: SELECT school_club_team FROM table_name_19 WHERE player = "derek fisher" |
### Context: CREATE TABLE table_23654 (
"Player" text,
"Played" real,
"Legs Won" real,
"Legs Lost" real,
"100+" real,
"140+" real,
"180s" real,
"High Checkout" real,
"3-dart Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wha... |
### Context: CREATE TABLE table_77970 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_62 (
react INTEGER,
country VARCHAR,
lane VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest of the athlete from sri lanka who has a lane greater than 8?
### Query: SELECT MIN(react) FROM table_name_62... |
### Context: CREATE TABLE table_204_783 (
id number,
"position" text,
"player" text,
"free agency\ntag" text,
"date signed" text,
"2013 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- geno hayes and nick roach both played which position ?
... |
### Context: CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varc... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM n... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
... |
### 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 PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayN... |
### Context: CREATE TABLE table_name_71 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the runner(s)-up when the winning score was 10 (69-68-74-67=278)?
### Query: SELECT margin_of_victory FROM table_name_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.