text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutp... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_67243 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What chassis has a year of 1951?
### Query: SELECT "Chassis" FROM table_67243 WHERE "Year" =... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE table_12434380_1 (
institution VARCHAR,
mascot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the institution with the mascot of blue devils?
### Query: SELECT institution FROM table_12434380_1 WHERE mascot = "B... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_203_247 (
id number,
"district" text,
"counties represented" text,
"delegate" text,
"party" text,
"first elected" number,
"committee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many delegates represent... |
### Context: CREATE TABLE table_name_12 (
title VARCHAR,
catalog__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What CD has a catalog # of PCR 502?
### Query: SELECT title FROM table_name_12 WHERE catalog__number = "pcr 502" |
### Context: CREATE TABLE table_80170 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2nd Party that had the 2nd Member John Barneby, when the 1st Par... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
... |
### Context: CREATE TABLE table_5620 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the record 4 0 0?
### Query: SELECT ... |
### Context: CREATE TABLE table_20996923_20 (
date VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when the city is San Antonio, Texas?
### Query: SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas" |
### Context: CREATE TABLE table_19751479_4 (
fastest_lap VARCHAR,
rnd VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many races had #99 gainsco/bob stallings racing in round 10?
### Query: SELECT COUNT(fastest_lap) FROM table_... |
### Context: CREATE TABLE table_name_8 (
cover_model VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Cover Model was featured on 8-03?
### Query: SELECT cover_model FROM table_name_8 WHERE date = "8-03" |
### Context: CREATE TABLE table_76600 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 10" real,
"Avg. Start" real,
"Avg. Finish" real,
"Winnings" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many starts for an aver... |
### Context: CREATE TABLE table_43630 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Time, when Round is less than ... |
### Context: CREATE TABLE table_43168 (
"Name" text,
"Position" text,
"Number" text,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Season with an Acquisition via of rookie dr... |
### Context: CREATE TABLE table_name_95 (
winning_constructor VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Constructor won the Roussillon Grand Prix?
### Query: SELECT winning_constructor FROM table_name_95 WHERE name = "roussillon gra... |
### 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_54492 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Score was 4-10, what was the Attendance?
### Query: SELECT "Att... |
### Context: CREATE TABLE table_50174 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the To par for the player whose final score was 67-71=138?
### Query: SELECT "To par... |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_2679061_2 (
pick__number INTEGER,
nhl_team VARCHAR,
college_junior_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the pick # when the nhl team is montreal canadiens and the college/junior/club team is tro... |
### Context: CREATE TABLE table_46666 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Average 1" real,
"Points 2" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_dev_38 (
"id" int,
"gender" string,
"serum_potassium" float,
"systolic_blood_pressure_sbp" int,
"creatinine_clearance_cl" float,
"estimated_glomerular_filtration_rate_egfr" int,
"diastolic_blood_pressure_dbp" int,
"ace_inhibitors" bool,
"serum_creatini... |
### Context: CREATE TABLE table_51472 (
"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 is the score of the home team ... |
### Context: CREATE TABLE table_203_824 (
id number,
"pick #" number,
"player" text,
"position" text,
"nationality" text,
"nhl team" text,
"college/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the most players picked came... |
### Context: CREATE TABLE table_31285 (
"Film Festival" text,
"Date of ceremony" text,
"Category" text,
"Participants/Recipients" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which films participated in the 30th Hawaii International... |
### Context: CREATE TABLE table_9299 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Gold has a Silver smaller than 14, and a Rank larger than 8, and a Bron... |
### Context: CREATE TABLE table_name_82 (
ratings__5_capital_cities_ VARCHAR,
episode_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rating of the episode Wonder Drug?
### Query: SELECT ratings__5_capital_cities_ FROM table_name_82 WHERE epi... |
### Context: CREATE TABLE table_56898 (
"Week" real,
"EASTERN #1" text,
"Eastern #2" text,
"WESTERN #1" text,
"Western #2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the eastern #2 for western #2 of oakland
### Query: SELECT "Eastern #2... |
### Context: CREATE TABLE table_44238 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who visited on march 26?
### Query: SELECT "Visitor" F... |
### Context: CREATE TABLE table_name_32 (
agency VARCHAR,
birthday VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the agency of the member born on 1998.11.09?
### Query: SELECT agency FROM table_name_32 WHERE birthday = "1998.11.09" |
### Context: CREATE TABLE table_name_6 (
losses INTEGER,
against VARCHAR,
wins VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of losses when wins is more than 6, club is camperdown and against is more than 1238?
### Que... |
### Context: CREATE TABLE table_1566848_7 (
pictorials VARCHAR,
centerfold_model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were all the pictorials when the centerfold model was Rebekka Armstrong?
### Query: SELECT COUNT(pictorials) FROM table_15668... |
### Context: CREATE TABLE table_name_90 (
period VARCHAR,
country VARCHAR,
peak_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the period for south korea with peak position of #1
### Query: SELECT period FROM table_name_90 WHERE country = ... |
### Context: CREATE TABLE table_12982 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Week 4 has a Week 2 of samantha speer?
### Query: SELECT "Week 4" FROM table_12982 WHER... |
### 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 table_38605 (
"Team" text,
"Recopa 1995" text,
"Supercopa 1995" text,
"CONMEBOL 1995" text,
"Copa Libertadores 1996" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Copa Libertadores 1996 has round 1 Supercopa 1995 and... |
### Context: CREATE TABLE table_67107 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for visiting team of denver broncos
### Query: SELECT "Date" FRO... |
### Context: CREATE TABLE table_7818 (
"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 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_9624 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Fuzzy Zoeller's score in the United States?
### Query: SELECT "Score" FROM table_9624... |
### Context: CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_203_79 (
id number,
"year" number,
"film" text,
"publisher" text,
"director" text,
"distributor" text,
"worldwide gross" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of l... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time... |
### Context: CREATE TABLE table_19834691_4 (
timeslot VARCHAR,
_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the total number of timeslot for number 1
### Query: SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 1 |
### Context: CREATE TABLE table_name_66 (
bronze INTEGER,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low bronze total for the team with 4 total and under 1 gold?
### Query: SELECT MIN(bronze) FROM table_name_66 WHERE ... |
### Context: CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeri... |
### Context: CREATE TABLE table_35545 (
"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 B segmint for Netlix S03... |
### Context: CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_76990 (
"Title" text,
"Lyricist(s)" text,
"Composer(s)" text,
"Arranger(s)" text,
"Length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the arranger of ' '?
### Query: SELECT "Arranger(s)" FROM table_76990 ... |
### Context: CREATE TABLE table_52371 (
"Party" text,
"Leader" text,
"Votes" real,
"Percentage" text,
"Seats" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which highest number of Seats has votes of 244,867?
### Query: SELECT MAX("Seats") FROM tab... |
### Context: CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_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_62049 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the peterborough phantoms play at a venue of home?
### Query: SELECT "Date" FRO... |
### Context: CREATE TABLE patient (
ssn number,
name text,
address text,
phone text,
insuranceid number,
pcp number
)
CREATE TABLE medication (
code number,
name text,
brand text,
description text
)
CREATE TABLE prescribes (
physician number,
patient number,
medicat... |
### Context: CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### 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_name_14 (
prohibition_ticket VARCHAR,
progressive_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis?
### Query: SELECT prohibition_... |
### Context: CREATE TABLE table_name_48 (
proto_oceanic VARCHAR,
proto_polynesian VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Proto-Oceanic has a Proto-Polynesian of *lima?
### Query: SELECT proto_oceanic FROM table_name_48 WHERE proto_polynesian =... |
### Context: CREATE TABLE table_41538 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of draw... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
rout... |
### Context: CREATE TABLE table_36079 (
"Name" text,
"Species Specific" text,
"Intra-molecular structure" text,
"Comparative" text,
"Link" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Species Specific has a Comparative of no, and an Intra-mo... |
### Context: CREATE TABLE table_70973 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest overall with more than 17 rounds?
### Query: SELECT MIN("Overall") FRO... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locati... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
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 ... |
### Context: CREATE TABLE drivers (
driverId INTEGER,
driverRef TEXT,
number TEXT,
code TEXT,
forename TEXT,
surname TEXT,
dob TEXT,
nationality TEXT,
url TEXT
)
CREATE TABLE pitStops (
raceId INTEGER,
driverId INTEGER,
stop INTEGER,
lap INTEGER,
time TEXT,
d... |
### Context: CREATE TABLE table_name_70 (
first_class_team VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first class team of the player born on 23 February 1973?
### Query: SELECT first_class_team FROM table_name_70 WHERE... |
### Context: CREATE TABLE table_204_164 (
id number,
"branding" text,
"callsign" text,
"frequency" text,
"power (kw)" text,
"location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the difference in kw between naga and bacolod radio ?
... |
### 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_name_5 (
week INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE AVERAGE WEEK WITH A DATE OF JULY 25?
### Query: SELECT AVG(week) FROM table_name_5 WHERE date = "july 25" |
### Context: CREATE TABLE table_71772 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won Women's doubles when Zen Yaqi... |
### 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 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 table_name_91 (
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a score of 77-69-70-71=287?
### Query: SELECT player FROM table_name_91 WHERE score = 77 - 69 - 70 - 71 = 287 |
### Context: CREATE TABLE table_name_10 (
height_ft___m__ VARCHAR,
street_address VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the Street address of 07.0 200 east washington street?
### Query: SELECT height_ft___m__ FROM table_name_10 WHERE st... |
### 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
... |
### Context: CREATE TABLE teachers (
lastname text,
firstname text,
classroom number
)
CREATE TABLE list (
lastname text,
firstname text,
grade number,
classroom number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which teachers teach in class... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE month (
month_n... |
### Context: CREATE TABLE table_70218 (
"Currency" text,
"Code" text,
"Entry ERM II" text,
"Central rate" text,
"Official target date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the official target date for the Swedish Krona?
### Query:... |
### Context: CREATE TABLE table_7194 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the location for Arras Paul Arras?
### Query: SELECT "Location"... |
### Context: CREATE TABLE table_51373 (
"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 March 22?
### Query: SELECT "Record" FROM table_51373 WHERE "Date" = 'mar... |
### 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_name_75 (
name VARCHAR,
league_cup_goals VARCHAR,
league_apps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a League Cup Goals of 0, and League Apps of 1?
### Query: SELECT name FROM table_name_75 WHERE le... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
ha... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid n... |
### Context: CREATE TABLE table_39490 (
"Volume:Issue" text,
"Issue Date(s)" text,
"Weeks on Top" real,
"Song" text,
"Artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the song by Andy Gibb issued?
### Query: SELECT "Issue Date(s)" FR... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_1818471_1 (
value VARCHAR,
mitchell VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every value when Mitchell is 676?
### Query: SELECT value FROM table_1818471_1 WHERE mitchell = 676 |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_25794 (
"Rank" real,
"City/Town" text,
"County" text,
"Region/Province" text,
"Population" real,
"Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 142900 is the population what is the highest rank?
##... |
### Context: CREATE TABLE table_10578 (
"Year" real,
"City" text,
"Rider 1" text,
"Rider 2" text,
"Horse 1" text,
"Horse 2" text,
"Association" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With which association did estribillo ii run as Ho... |
### 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_22459 (
"Township" text,
"County" text,
"Pop. (2010)" real,
"Land ( sqmi )" text,
"Water (sqmi)" text,
"Latitude" text,
"Longitude" text,
"GEO ID" real,
"ANSI code" real
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.