text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9... |
### Context: CREATE TABLE table_name_53 (
productions VARCHAR,
rose VARCHAR,
herbie VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What production had Angela Lansbury as Rose and Barrie Ingham as Herbie?
### Query: SELECT productions FROM table_name_53 ... |
### 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_65853 (
"Season" real,
"Level" text,
"Division" text,
"Section" text,
"Administration" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the administration when the division was Ykk nen (firs... |
### Context: CREATE TABLE Product (
product_id INTEGER,
product_name VARCHAR(80),
product_details VARCHAR(255)
)
CREATE TABLE Problems (
problem_id INTEGER,
product_id INTEGER,
closure_authorised_by_staff_id INTEGER,
reported_by_staff_id INTEGER,
date_problem_reported DATETIME,
date... |
### Context: CREATE TABLE table_37585 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was home with a record of 7 5 2?
### Query: SELECT "Home" FROM table_37585 WHERE "Record" ... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime ... |
### Context: CREATE TABLE table_2698 (
"Constituency" text,
"Winner" text,
"Party" text,
"Margin" real,
"Runner-up a" text,
"Party a" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party won with a margin of 105731?
### Query: SELECT "Part... |
### 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 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE table_68679 (
"Year" text,
"Title" text,
"( Title in English )" text,
"Director" text,
"Character" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year of the TV series that has a character of Leiloon Bala Barare... |
### Context: CREATE TABLE table_name_5 (
large_end VARCHAR,
taper VARCHAR,
ft VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Large end has a Taper/ft smaller than 0.6000000000000001?
### Query: SELECT COUNT(large_end) FROM table_name_5 WHERE taper... |
### Context: CREATE TABLE table_68006 (
"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 average round for te position?
### Query: SELECT AVG("Round") FROM table_6800... |
### Context: CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline te... |
### Context: CREATE TABLE table_38340 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Loss of buehrle (7-2)?
### Query: SELECT "Score" FROM ... |
### 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 table_name_45 (
race_1 INTEGER,
race_3 VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many race 1's have 5 as the race 3, with points less than 59?
### Query: SELECT SUM(race_1) FROM table_name_45 WHERE race... |
### Context: CREATE TABLE table_16669 (
"Rd." real,
"Grand Prix" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_46538 (
"Name" text,
"Country" text,
"Loan Club" text,
"Started" text,
"Ended" text,
"Start Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country named feeney with a bbc sport start source?
#... |
### Context: CREATE TABLE Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Document_Date DATETIME,
Document_Name VARCHAR(255),
Document_Description VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Documents_with_Expenses (
Document_ID INTEGER,
... |
### Context: CREATE TABLE table_1329532_2 (
date_of_election VARCHAR,
appointed_successor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the election date for H. Brent Coles?
### Query: SELECT date_of_election FROM table_1329532_2 WHERE appointed_s... |
### Context: CREATE TABLE table_20134 (
"Condition" text,
"Prothrombin time" text,
"Partial thromboplastin time" text,
"Bleeding time" text,
"Platelet count" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which condition(s) is bleeding time prolo... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE 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 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_69808 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the competition that has a score of 2-0?
### Query: SELECT "Competition... |
### Context: CREATE TABLE furniture (
Furniture_ID int,
Name text,
Num_of_Component int,
Market_Rate real
)
CREATE TABLE furniture_manufacte (
Manufacturer_ID int,
Furniture_ID int,
Price_in_Dollar real
)
CREATE TABLE manufacturer (
Manufacturer_ID int,
Open_Year real,
Name tex... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
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_t... |
### Context: CREATE TABLE table_49856 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of To par for Lee Trevino?
### Query: SELEC... |
### 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 Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
Creation... |
### Context: CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER,
booking_status_code CHAR(15),
booking_start_date DATETIME,
booking_end_date DATETIME
)
CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
build... |
### 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 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 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 table_name_11 (
paper_type VARCHAR,
first_day_cover_cancellation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Paper Type with a First Day Cover Cancellation with ottawa, on?
### Query: SELECT paper_type FROM table_nam... |
### Context: CREATE TABLE table_25265 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For week number of the top 40, what was the results?
### Qu... |
### Context: CREATE TABLE table_name_99 (
result VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result where the opponent is Columbus Destroyers?
### Query: SELECT result FROM table_name_99 WHERE opponent = "columbus destroyers... |
### Context: CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State TEXT,
Area TEXT,
isAVA TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT... |
### Context: CREATE TABLE ref_detention_type (
detention_type_code text,
detention_type_description text
)
CREATE TABLE student_addresses (
student_id number,
address_id number,
date_address_from time,
date_address_to time,
monthly_rental number,
other_details text
)
CREATE TABLE behav... |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_ID ... |
### Context: CREATE TABLE table_name_19 (
time_retired VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired with 60 laps and a grid 19?
### Query: SELECT time_retired FROM table_name_19 WHERE laps = 60 AND ... |
### Context: CREATE TABLE table_26525 (
"Episode" real,
"Contest" text,
"Original airdate" text,
"Challengers (Female)" text,
"Challengers (Male)" text,
"Events" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what episode did heat 1 take plac... |
### 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_256286_19 (
passed VARCHAR,
no_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the passing result for the measure with 61307 no votes?
### Query: SELECT passed FROM table_256286_19 WHERE no_votes = 61307 |
### Context: CREATE TABLE table_28286 (
"Year" real,
"Population" real,
"Total" real,
"Violent" real,
"Property Crimes" real,
"Forcible rape" real,
"Robbery" real,
"Aggravated assault" real,
"Burglary" real,
"Larceny Theft" real,
"Vehicle Theft" real
)
-- Using valid SQLite... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### Context: CREATE TABLE table_19055 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"Height m ( ft )" text,
"FCC info" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the fcc info with ca... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_84 (
designation VARCHAR,
quantity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Designation has a Quantity of 52?
### Query: SELECT designation FROM table_name_84 WHERE quantity = 52 |
### Context: CREATE TABLE table_name_94 (
case_suffix__case_ VARCHAR,
postposition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Case Suffix (Case), when Postposition is '-mde (drops d)'?
### Query: SELECT case_suffix__case_ FROM table_name_94 WHER... |
### Context: CREATE TABLE broadcast_share (
Channel_ID int,
Program_ID int,
Date text,
Share_in_percent real
)
CREATE TABLE broadcast (
Channel_ID int,
Program_ID int,
Time_of_day text
)
CREATE TABLE channel (
Channel_ID int,
Name text,
Owner text,
Share_in_percent real,
... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime tim... |
### Context: CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS varchar(20),
DEPT_EXTENSION varchar(4)
)
CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(... |
### Context: CREATE TABLE table_53713 (
"engine name" text,
"engine code(s)" text,
"valvetrain" text,
"displacement" text,
"max. power at rpm" text,
"max. torque at rpm" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum torque a... |
### 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 volume (
Volume_ID int,
Volume_Issue text,
Issue_Date text,
Weeks_on_Top real,
Song text,
Artist_ID int
)
CREATE TABLE music_festival (
ID int,
Music_Festival text,
Date_of_ceremony text,
Category text,
Volume int,
Result text
)
CREATE TABLE ar... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE 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 writes (
paperid int,
authorid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
... |
### Context: CREATE TABLE table_77931 (
"String" text,
"Scientific pitch" text,
"Helmholtz pitch" text,
"Interval from middle C" text,
"Frequency ( Hz )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the scientific pitch when the Helmholtz ... |
### Context: CREATE TABLE table_326 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: CREATE TABLE table_204_799 (
id number,
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text,
"type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which of these bridges was the first one built ?
### Query:... |
### 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 table_28820 (
"Hydrographic Basin" text,
"Surface Area (km 2 )" real,
"Rainfall totals (million m 3 )" real,
"Evapotranspiration (million m 3 )" real,
"Surface water runoff (million m 3 )" real,
"Groundwater discharge (million m 3 )" real
)
-- Using valid SQLite, answ... |
### Context: CREATE TABLE table_203_782 (
id number,
"year" number,
"actor" text,
"award" text,
"category" text,
"role" text,
"episode" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of wins for ha... |
### Context: CREATE TABLE table_name_62 (
record VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the record when the attendance was 28,531?
### Query: SELECT record FROM table_name_62 WHERE attendance = "28,531" |
### Context: CREATE TABLE table_76988 (
"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 is the To par of the 4 Place Player?
### Query: SELECT "To par" ... |
### Context: CREATE TABLE table_69742 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is Home of chicago black hawks has a Record of 0 1?
### Query: SELECT "Date" FROM table_697... |
### Context: CREATE TABLE table_name_41 (
location VARCHAR,
wrestler VARCHAR,
reign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the wrestler, super parka, with the title with a reign of 2?
### Query: SELECT location FROM table_name_41 WHERE... |
### Context: CREATE TABLE table_26394 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the t... |
### Context: CREATE TABLE table_2895 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did they play the Florid... |
### Context: CREATE TABLE table_name_35 (
manufacturer VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which manufacturer has a Time/Retired of +15.665?
### Query: SELECT manufacturer FROM table_name_35 WHERE time_retired = "+15.665" |
### Context: CREATE TABLE table_18775 (
"Serial & Branch" real,
"Seaman" text,
"Mechanical" text,
"Secretariat" text,
"Supply" text,
"Electrical" text,
"Radio Electrical" text,
"Regulating" text,
"Medical" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE entrepreneur (
Company VARCHAR,
Investor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the companies and the investors of entrepreneurs.
### Query: SELECT Company, Investor FROM entrepreneur |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
se... |
### Context: CREATE TABLE table_57948 (
"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.
-- On the match where the away team sc... |
### Context: CREATE TABLE table_20722 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Area" text,
"Population" real,
"Density" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the traditional for population 7... |
### Context: CREATE TABLE table_name_61 (
team VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has 102 Points against?
### Query: SELECT team FROM table_name_61 WHERE points_against = "102" |
### Context: CREATE TABLE table_2668378_13 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was running in the section pennsylvania 5
### Query: SELECT candidates FROM table_2668378_13 WHERE district = "Pennsylvania 5" |
### Context: CREATE TABLE table_18826 (
"Club" text,
"Played" text,
"Won" 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, ans... |
### Context: CREATE TABLE table_23256 (
"School" text,
"Baseball stadium" text,
"Softball stadium" text,
"Basketball arena" text,
"Capacity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many basketball arenas are there that belong to a school ... |
### Context: CREATE TABLE customers (
id INTEGER,
first_name VARCHAR(40),
last_name VARCHAR(20),
company VARCHAR(80),
address VARCHAR(70),
city VARCHAR(40),
state VARCHAR(40),
country VARCHAR(40),
postal_code VARCHAR(10),
phone VARCHAR(24),
fax VARCHAR(24),
email VARCHAR(... |
### Context: CREATE TABLE table_19632 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Packers points" real,
"Opponents" real,
"First Downs" real,
"Record" text,
"Streak" text,
"Venue" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questio... |
### Context: CREATE TABLE tryout (
cName VARCHAR,
decision VARCHAR
)
CREATE TABLE college (
state VARCHAR,
enr VARCHAR,
cName VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the state and enrollment of the colleges where have any students... |
### Context: CREATE TABLE table_1512 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What draft pick was Chris Brewer?
### Query: SELECT MIN("Pick #") FROM table_1512 WHERE ... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE table_12104319_1 (
mens_singles VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mens singles of 2008?
### Query: SELECT mens_singles FROM table_12104319_1 WHERE year = 2008 |
### Context: CREATE TABLE rooms (
roomid text,
roomname text,
beds number,
bedtype text,
maxoccupancy number,
baseprice number,
decor text
)
CREATE TABLE reservations (
code number,
room text,
checkin text,
checkout text,
rate number,
lastname text,
firstname tex... |
### Context: CREATE TABLE table_79437 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- From what school was the linebacker that had a pick less than 245 and was drafted in round 6?
... |
### 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 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 table_26733129_1 (
musical_performance VARCHAR,
air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What musical performances aired on 5 April 2010?
### Query: SELECT musical_performance FROM table_26733129_1 WHERE air_date = "... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
... |
### Context: CREATE TABLE Invoices (
Invoice_ID INTEGER,
Order_ID INTEGER,
payment_method_code CHAR(15),
Product_ID INTEGER,
Order_Quantity VARCHAR(288),
Other_Item_Details VARCHAR(255),
Order_Item_ID INTEGER
)
CREATE TABLE Invoice_Items (
Invoice_Item_ID INTEGER,
Invoice_ID INTEGER... |
### Context: CREATE TABLE table_37140 (
"Year [A ]" real,
"Pick" text,
"Player name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was a linebacker at Tennessee?
### Query: SELECT "Player name" FROM table_37140... |
### Context: CREATE TABLE table_name_58 (
hand VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What does full house have as a 5 credits?
### Query: SELECT 5 AS _credits FROM table_name_58 WHERE hand = "full house" |
### Context: CREATE TABLE table_name_95 (
replaced_by VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Replaced has a Outgoing manager of guillermo sanguinetti?
### Query: SELECT replaced_by FROM table_name_95 WHERE outg... |
### Context: CREATE TABLE table_35188 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Rank" text,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team did carlos cardus drive for in 1983 when he got less than 21 points?
###... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
J... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.