text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_204_492 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many venues are there ?
### Query: SELECT COUNT("competition") FRO... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
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_20327 (
"Year" real,
"Matches" real,
"Wins" real,
"Losses" real,
"No Result" real,
"Tied" real,
"Success Rate" text,
"Position" text,
"Summary" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the s... |
### 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 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_49209 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_train_212 (
"id" int,
"pregnancy_or_lactation" bool,
"postmeal_c_peptide" float,
"chemotherapy" bool,
"liver_disease" bool,
"alcohol_abuse" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- pregnan... |
### Context: CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr nume... |
### Context: CREATE TABLE protein (
common_name text,
protein_name text,
divergence_from_human_lineage real,
accession_number text,
sequence_length real,
sequence_identity_to_human_protein text,
Institution_id text
)
CREATE TABLE building (
building_id text,
Name text,
Street_ad... |
### Context: CREATE TABLE seasons (
year number,
url text
)
CREATE TABLE results (
resultid number,
raceid number,
driverid number,
constructorid number,
number number,
grid number,
position number,
positiontext text,
positionorder number,
points number,
laps number,... |
### Context: CREATE TABLE table_train_53 (
"id" int,
"immune_suppression" bool,
"need_hemodialysis" bool,
"steroid_therapy" bool,
"cardiogenic_shock" bool,
"hematologic_disease" bool,
"coronary_syndrome" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for th... |
### 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 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_64030 (
"Class to 1928" text,
"Class from 1928" text,
"Seats" text,
"Quantity" real,
"Year(s) of Manufacture" text,
"Remarks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the remarks for the coach havi... |
### 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_name_31 (
against INTEGER,
played VARCHAR,
drawn VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Against is the highest one that has a Drawn larger than 1, and a Team of corinthians, and a Played sma... |
### 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_name_34 (
outcome VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome for the India Open?
### Query: SELECT outcome FROM table_name_34 WHERE venue = "india open" |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE ENROLL (
CLASS_CODE varchar(5),
STU_NUM int,
ENROLL_GRADE varchar(50)
)
CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),
PROF_HIGH_DEGREE varchar(5)
)
CREATE TABLE DEPARTMENT (
DEPT_CODE varch... |
### Context: CREATE TABLE table_39428 (
"Category" text,
"Type" text,
"Attribute" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the type with cancelable of no and attribute of ondragend
### Query: SELECT "Ty... |
### Context: CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### 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_name_23 (
career_w_l VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the career W-L of the tournament that is listed as A in 1968 and 4R in 1974?
### Query: SELECT career_w_l FROM table_name_23 WHERE 1968 = "a" AND 1974 = ... |
### Context: CREATE TABLE table_203_756 (
id number,
"year" number,
"title" text,
"role" text,
"network" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of networks listed in the table ?
### Query: SELECT COUNT(D... |
### Context: CREATE TABLE table_name_1 (
gold INTEGER,
total VARCHAR,
participants VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger ... |
### Context: CREATE TABLE photos (
id int,
camera_lens_id int,
mountain_id int,
color text,
name text
)
CREATE TABLE camera_lens (
id int,
brand text,
name text,
focal_length_mm real,
max_aperture real
)
CREATE TABLE mountain (
id int,
name text,
Height real,
Pr... |
### 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 medication (
... |
### 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_19236587_4 (
series_no VARCHAR,
uk_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the series number of the episode seen by 2.43 million viewers in the UK?
### Query: SELECT series_no FROM table_192365... |
### Context: CREATE TABLE people (
Birth_Date VARCHAR,
Birth_Place VARCHAR,
People_ID VARCHAR
)
CREATE TABLE body_builder (
People_ID VARCHAR,
Total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the birth date and birth place of the bo... |
### Context: CREATE TABLE table_name_8 (
location VARCHAR,
home_team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of 11 April 2013 and Mexico Home team?
### Query: SELECT location FROM table_name_8 WHERE home_team = ... |
### Context: CREATE TABLE table_26400041_2 (
weeks_in_top_10 INTEGER,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- if the peak is 9, how many weeks was it in the top 10?
### Query: SELECT MAX(weeks_in_top_10) FROM table_26400041_2 WHERE peak = 9 |
### Context: CREATE TABLE table_56598 (
"Season" real,
"Driver" text,
"Co-Driver" text,
"Team" text,
"Tuner" text,
"Governing Body" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the turner on Team MRF?
### Query: SELECT "Tuner" FROM tab... |
### Context: CREATE TABLE table_15403 (
"School" text,
"Team" text,
"Division Record" text,
"Overall Record" text,
"Season Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the division record of Sussex Central?
### Query: SELECT "Div... |
### Context: CREATE TABLE table_59918 (
"7:00 am" text,
"7:30 am" text,
"8:00 am" text,
"9:00 am" text,
"11:00 am" text,
"noon" text,
"12:30 pm" text,
"1:00 pm" text,
"1:30 pm" text,
"2:00 pm" text,
"3:00 pm" text,
"3:30 pm" text,
"4:00 pm" text,
"5:00 pm" text,
... |
### Context: CREATE TABLE table_1342013_10 (
party VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party had a person who has been in the seat since 1914?
### Query: SELECT party FROM table_1342013_10 WHERE first_elected = 1914 |
### Context: CREATE TABLE table_name_8 (
opponents VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponents, when Partner is Mervana Jugi -Salki ?
### Query: SELECT opponents FROM table_name_8 WHERE partner = "mervana jugić-salkić" |
### 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_57855 (
"Country" text,
"Population" text,
"Area (km\u00b2)" text,
"GDP (nominal)" text,
"GDP per capita (nominal)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which GDP (nominal) has a Population of 5,550,239?
##... |
### Context: CREATE TABLE table_42220 (
"Former kingdom" text,
"Province" text,
"Hangul" text,
"Hanja" text,
"Capital" text,
"Modern equivalent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which province has muju as the capital?
### Query: S... |
### Context: CREATE TABLE table_name_44 (
power__kw_ VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Davao's power (kW)?
### Query: SELECT power__kw_ FROM table_name_44 WHERE location = "davao" |
### Context: CREATE TABLE table_32102 (
"Title" text,
"Japan" text,
"North America" text,
"Europe" text,
"Australia" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me japan for jigsaw land: japan graffiti
### Query: SELECT "Japan" FROM table_3... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE catalogs (
catalog_id number,
catalog_name text,
catalog_publisher text,
date_of_publication time,
date_of_latest_revision time
)
CREATE TABLE catalog_structure (
catalog_level_number number,
catalog_id number,
catalog_level_name text
)
CREATE TABLE attribute_... |
### Context: CREATE TABLE table_48 (
"Star (Pismis24-#)" text,
"Spectral type" text,
"Magnitude (M bol )" text,
"Temperature (K)" real,
"Radius (R \u2609 )" real,
"Mass (M \u2609 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smal... |
### Context: CREATE TABLE table_60999 (
"Semi-closed initial unstressed vowels" text,
"17th c." text,
"American" text,
"Australian" text,
"Examples" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entry for the Australian sound that has a... |
### Context: CREATE TABLE table_33850 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Attendance of 29,000 occurred on what date?
### Query: SELECT "Date" FROM table_33850 WHER... |
### Context: CREATE TABLE table_21246 (
"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 table_name_97 (
record VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Game of 41?
### Query: SELECT record FROM table_name_97 WHERE game = 41 |
### Context: CREATE TABLE table_204_299 (
id number,
"name of place" text,
"number of counties" number,
"principal county" text,
"lower zip code" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many total towns on the list are in montgomery cou... |
### Context: CREATE TABLE table_name_61 (
open_cup VARCHAR,
playoffs VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 2012, which round in the Open Cup did Real Colorado Foxes make it to the conference semifinal?
### Query: SELECT open_cu... |
### Context: CREATE TABLE participates_in (
stuid number,
actid number
)
CREATE TABLE faculty_participates_in (
facid number,
actid number
)
CREATE TABLE faculty (
facid number,
lname text,
fname text,
rank text,
sex text,
phone number,
room text,
building text
)
CREAT... |
### Context: CREATE TABLE table_11839306_2 (
track INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest track number?
### Query: SELECT MIN(track) FROM table_11839306_2 |
### Context: CREATE TABLE table_2840 (
"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 table_4496 (
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Penske Racing's name?
### Query: SELECT "N... |
### Context: CREATE TABLE Student_Course_Enrolment (
date_of_enrolment VARCHAR,
date_of_completion VARCHAR,
student_id VARCHAR
)
CREATE TABLE Students (
student_id VARCHAR,
family_name VARCHAR,
personal_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### Context: 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,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
JYZBLSH te... |
### Context: CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,... |
### 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE table_3205 (
"Team" text,
"#" real,
"Car Sponsor(s)" text,
"Driver(s)" text,
"Listed Owner(s)" text,
"Engine" text,
"Chassis" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team is sponsored by hydroxycut?
###... |
### Context: CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTEGER,
min_dew_point_f INTEGER,
max_humidity INTEGER,
mean_humidity INTEGER,
min_humidity INTEGER,
max_... |
### 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_39 (
sensor_resolution VARCHAR,
cpu_usage VARCHAR,
camera VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the sensor resolution with a minimal CPU usage for a naturalpoint trackir 3 pro?
### Query: SELECT sen... |
### Context: CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return a histo... |
### Context: CREATE TABLE table_23779 (
"Epoch (UTC)" text,
"Periselene (km)" text,
"Aposelene (km)" text,
"Eccentricity" text,
"Inclination (deg) (to Moon equator)" text,
"Period (h)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every... |
### Context: CREATE TABLE table_name_51 (
tournament VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament was Dieter Kindlmann a partner?
### Query: SELECT tournament FROM table_name_51 WHERE partner = "dieter kindlmann" |
### Context: CREATE TABLE table_24784769_1 (
round4 INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most amount of points any team had in round 4?
### Query: SELECT MAX(round4) FROM table_24784769_1 |
### Context: CREATE TABLE table_name_76 (
against INTEGER,
_percentage_won INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of Against with % Won larger than 100?
### Query: SELECT SUM(against) FROM table_name_76 WHERE _percentage_won > 100 |
### Context: CREATE TABLE savings (
custid VARCHAR,
balance INTEGER
)
CREATE TABLE checking (
custid VARCHAR,
balance INTEGER
)
CREATE TABLE accounts (
name VARCHAR,
custid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of acc... |
### Context: CREATE TABLE table_name_90 (
cyclist VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which cyclist is from Australia?
### Query: SELECT cyclist FROM table_name_90 WHERE nation = "australia" |
### Context: CREATE TABLE table_10085 (
"Round" real,
"Pick #" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Richard Crump picked after the 114 pick was drafted in what round?
### Query: SELECT "Roun... |
### Context: CREATE TABLE table_203_90 (
id number,
"religious\ngroup" text,
"population\n%" text,
"growth\n(1991-2001)" text,
"sex ratio\n(total)" number,
"literacy\n(%)" text,
"work participation\n(%)" text,
"sex ratio\n(rural)" number,
"sex ratio\n(urban)" number,
"sex ratio\n... |
### Context: CREATE TABLE manager_award (
player_id text,
award_id text,
year number,
league_id text,
tie text,
notes number
)
CREATE TABLE manager_half (
player_id text,
year number,
team_id text,
league_id text,
inseason number,
half number,
g number,
w number,... |
### Context: CREATE TABLE table_79829 (
"Place" real,
"Team" text,
"Played" real,
"Draw" real,
"Lost" real,
"Goals Scored" real,
"Goals Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For Once Municipal, what were... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes numb... |
### 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_name_27 (
noaa VARCHAR,
darwin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the NOAA of the higher harmonics that have a Darwin of m sf?
### Query: SELECT noaa FROM table_name_27 WHERE darwin = "m sf" |
### Context: CREATE TABLE table_27302 (
"Team" text,
"#" real,
"Primary Sponsor" text,
"Driver(s)" text,
"Listed Owner(s)" text,
"Engine" text,
"Chassis" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of chassis on the angie's list... |
### Context: CREATE TABLE table_name_54 (
year INTEGER,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT YEAR HAS A SILVER FOR MATTHIAS MERZ?
### Query: SELECT MIN(year) FROM table_name_54 WHERE silver = "matthias merz" |
### Context: CREATE TABLE table_72922 (
"School" text,
"Est. Denotes original date of establishment of the school, changes in name and/or location noted in corresponding ootnote" real,
"Location Denotes location of school by Seattle neighborhood, does not necessary correspond with attendance area" text,
... |
### Context: CREATE TABLE table_name_1 (
points INTEGER,
opponent VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of points against the boston bruins on game 77?
### Query: SELECT MAX(points) FROM table_name_1 WHE... |
### Context: CREATE TABLE table_8261 (
"Name" text,
"Company" text,
"Tracking Method" text,
"Latest stable release" text,
"Price in USD" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name has a Company of quantcast corporation?
### Query: SE... |
### Context: CREATE TABLE device (
Device_ID int,
Device text,
Carrier text,
Package_Version text,
Applications text,
Software_Platform text
)
CREATE TABLE shop (
Shop_ID int,
Shop_Name text,
Location text,
Open_Date text,
Open_Year int
)
CREATE TABLE stock (
Shop_ID in... |
### Context: CREATE TABLE table_204_70 (
id number,
"pick #" number,
"nfl team" text,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ed bauer was picked by the saints , what was his position ?
### Query... |
### Context: CREATE TABLE table_name_65 (
last_appearance VARCHAR,
school VARCHAR,
wins VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Last Appearance, when Wins is less than 1, when Losses is 1, and when School is Oklahoma St... |
### 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 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 hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
... |
### 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 jobs (
JOB_ID varchar(10... |
### Context: CREATE TABLE table_33977 (
"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.
-- For the game with 6,126 in attendance, how many points ... |
### 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 CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes numb... |
### 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_name_70 (
set_2 VARCHAR,
set_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for set 2 when the score of set 1 is 19 25?
### Query: SELECT set_2 FROM table_name_70 WHERE set_1 = "19–25" |
### 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 person_info_hz_info (
... |
### Context: CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
N... |
### Context: CREATE TABLE table_name_30 (
ship VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ship was launched from Devonport, Devon?
### Query: SELECT ship FROM table_name_30 WHERE location = "devonport, devon" |
### Context: CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE lives_in (
stuid number,
dormid number,
room_number number
)
CREATE TABLE dorm_amenity (
amenid number,
amenit... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.