text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_63 (
venue VARCHAR,
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location for the match held on March 7, 2007, which ended with a score of 0-0?
### Query: SELECT venue FROM table_na... |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE table_name_94 (
round INTEGER,
pick VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Average round for 22 pick that is overall smaller than 229?
### Query: SELECT AVG(round) FROM table_name_94 WHERE pick = 22 AND... |
### Context: CREATE TABLE table_61451 (
"Class" text,
"DRG Number(s)" text,
"Quantity" real,
"Year(s) of Manufacture" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the quantity when the DRG was E 62 01 E 62 05?
### Query: SELE... |
### 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 treatmen... |
### Context: CREATE TABLE table_name_99 (
losses INTEGER,
byes INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the highest losses for a byes larger than 2?
### Query: SELECT MAX(losses) FROM table_name_99 WHERE byes > 2 |
### Context: CREATE TABLE table_name_9 (
province VARCHAR,
ubigeo VARCHAR,
districts VARCHAR,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What province in Tumbes has less than 11 districts and a UBIGEO of 2401?
### Query: SELECT province F... |
### Context: CREATE TABLE table_57371 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the listed opponent in Week 2?
### Query: SELECT "Opponent" FROM table_57371 WHERE ... |
### Context: CREATE TABLE table_name_19 (
gender VARCHAR,
university_students_and_adults__18yrs VARCHAR,
_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which gender is associated with University students and adults of 25mm?
### Query: SELECT gender FR... |
### 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_name_92 (
attendance VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance of the Game at Hoosier Dome?
### Query: SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome" |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_name_11 (
year INTEGER,
placement_in_miss_world VARCHAR,
delegate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the latest year that daisy garcia reyes did not place in miss world?
### Query: SELECT MAX(year) FROM... |
### Context: CREATE TABLE table_name_33 (
competition VARCHAR,
venue VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What New Delhi Competition has a Result of Loss?
### Query: SELECT competition FROM table_name_33 WHERE venue = "new delh... |
### 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 treatmen... |
### Context: CREATE TABLE table_54070 (
"Rank" real,
"Name" text,
"Location" text,
"State" text,
"Designer, Year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is augusta's low rank?
### Query: SELECT MIN("Rank") FROM table_54070 WHERE "Locat... |
### Context: CREATE TABLE table_1414702_3 (
enrollment INTEGER,
wiaa_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest enrollment value out of the enrollment values I'd the schools with a 3A WIAA clarification?
### Query: SELE... |
### Context: CREATE TABLE table_test_17 (
"id" int,
"anemia" bool,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"active_infection" bool,
"fever" bool,
"bradycardia" int,
"renal_disease" bool,
"oliguria" bool,
"creatinine_clearance_cl" float,
... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE FlagTy... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE food_servic... |
### Context: CREATE TABLE table_13108 (
"Elected" text,
"Assembled" text,
"Dissolved" text,
"1st member" text,
"2nd member" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Elected has Assembled of 23 january 1559?
### Query: SELECT "Elected" FR... |
### Context: CREATE TABLE table_name_80 (
week INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the earliest that New England Patriots played?
### Query: SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots" |
### Context: CREATE TABLE table_name_1 (
lost VARCHAR,
played INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many lost stats have a played number of less than 8?
### Query: SELECT COUNT(lost) FROM table_name_1 WHERE played < 8 |
### Context: CREATE TABLE table_203_671 (
id number,
"name" text,
"rank" text,
"age" number,
"years until mandatory retirement" text,
"appointed by" text,
"year appointed" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many justices we... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE table_203_299 (
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 long was the sprint from the european indoor championships competit... |
### Context: CREATE TABLE table_20026849_1 (
winner VARCHAR,
destination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the season with Africa as its destination?
### Query: SELECT winner FROM table_20026849_1 WHERE destination = "Africa" |
### Context: CREATE TABLE table_66923 (
"!accented mora" text,
"one mora" text,
"two-mora word" text,
"three-mora word" text,
"gloss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the two-mora word with a low tone accented mora and a gloss ... |
### Context: CREATE TABLE table_name_17 (
start INTEGER,
year VARCHAR,
engine VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many starts are associated with an oldsmobile engine, 21 finishes and before 2001?
### Query: SELECT SUM... |
### Context: CREATE TABLE table_39955 (
"Rank" real,
"Name" text,
"Years" text,
"Matches" text,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a rank larger than 7, less than 305 goals, and 418 matches?
### Query: SELECT "Name" FROM... |
### Context: CREATE TABLE table_name_50 (
winner VARCHAR,
prize VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner of the prize of 200,000 as listed?
### Query: SELECT winner FROM table_name_50 WHERE prize = "£200,000" |
### Context: CREATE TABLE table_79399 (
"Olympics" text,
"Name" text,
"Country" text,
"Medal" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country in the 2008 summer olympics is vadim devyatovskiy from?
### Query: SELECT "Coun... |
### Context: CREATE TABLE table_203_437 (
id number,
"year" number,
"laureate" text,
"relation" text,
"category" text,
"rationale" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the only person that received a nobel peace prize ?
### Que... |
### Context: CREATE TABLE table_2011 (
"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 frequency of 101.5 News FM?
### Query: SELECT "Frequency" FROM table... |
### Context: CREATE TABLE table_35705 (
"Source" text,
"Date" text,
"Fidesz" text,
"MSZP" text,
"SZDSZ" text,
"Jobbik" text,
"others" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of others have an SZDSZ of 4% and a Fidesz o... |
### Context: CREATE TABLE Employee (
name VARCHAR,
salary VARCHAR,
eid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name and salary for employee with id 242518965?
### Query: SELECT name, salary FROM Employee WHERE eid = 242518965 |
### Context: CREATE TABLE table_name_17 (
name VARCHAR,
area VARCHAR,
decile VARCHAR,
roll VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Onehunga school with a decile 3 and smaller than 310 rolls?
### Query: SELECT name FROM table_name_... |
### 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_18946749_2 (
col__m_ INTEGER,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the col (m) of the Bewani Mountains High Point peak?
### Query: SELECT MIN(col__m_) FROM table_18946749_2 WHERE peak = "Bewani Mountain... |
### 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_name_43 (
year VARCHAR,
category VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year with the best female pop vocal album and result of won
### Query: SELECT year FROM table_name_43 WHERE category... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDat... |
### Context: CREATE TABLE table_31187 (
"Year" text,
"Universities" real,
"No. of Students Signed up" real,
"% electricity reduction" text,
"Tonnes of CO2 Saved" real,
"\u00a3 Saved" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 8.9% is th... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### Context: CREATE TABLE table_name_91 (
swimsuit INTEGER,
evening_gown VARCHAR,
interview VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest swimsuit score of the contestant with an evening gown larger than 9.175 and an interview score ... |
### Context: CREATE TABLE table_name_66 (
runners_up INTEGER,
years_won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runners up for the team that won in 1993?
### Query: SELECT MIN(runners_up) FROM table_name_66 WHERE years_won = "1993" |
### Context: CREATE TABLE table_name_68 (
score VARCHAR,
december VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- December smaller than 21, and a Opponent of buffalo sabres had what score?
### Query: SELECT score FROM table_name_68 WHER... |
### Context: CREATE TABLE church (
church_id number,
name text,
organized_by text,
open_date number,
continuation_of text
)
CREATE TABLE people (
people_id number,
name text,
country text,
is_male text,
age number
)
CREATE TABLE wedding (
church_id number,
male_id numbe... |
### Context: CREATE TABLE table_203_196 (
id number,
"terminal" text,
"operator" text,
"depth\n(m)" text,
"berths" number,
"quay length\n(m)" number,
"quay cranes" number,
"area\n(m2)" number,
"capacity\n(kteus)" text
)
-- Using valid SQLite, answer the following questions for the ... |
### 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 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 jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id 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,
JZZT... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_23684 (
"Year" real,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won mixed doubles when wang yihan won... |
### Context: CREATE TABLE table_name_6 (
crowd VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance of the North Melbourne's home game?
### Query: SELECT COUNT(crowd) FROM table_name_6 WHERE home_team = "north melbourne" |
### Context: CREATE TABLE table_name_7 (
title VARCHAR,
peak_position VARCHAR,
weeks_on_chart VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the single with the peak position of 10 and weeks on chart is less than 19?
### Query: SELE... |
### Context: CREATE TABLE manufacturers (
code number,
name text,
headquarter text,
founder text,
revenue number
)
CREATE TABLE products (
code number,
name text,
price number,
manufacturer number
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE Staff (
staff_id INTEGER,
staff_gender VARCHAR(1),
staff_name VARCHAR(80)
)
CREATE TABLE Customers (
customer_id INTEGER,
payment_method_code VARCHAR(10),
customer_code VARCHAR(20),
customer_name VARCHAR(80),
customer_address VARCHAR(255),
customer_phone VA... |
### Context: CREATE TABLE table_63527 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue #" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the format for the catalogue number GAD 2014 CD on July 6, 1998?
### Query: SELEC... |
### 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_name_9 (
country VARCHAR,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of t1 place player wayne grady?
### Query: SELECT country FROM table_name_9 WHERE place = "t1" AND player ... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
char... |
### Context: CREATE TABLE table_40803 (
"Verb" text,
"Proto-Austronesian" text,
"Proto-Malayo-Polynesian" text,
"Proto-Oceanic" text,
"Proto-Polynesian" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the verb for the Proto-Austronesian word ... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE... |
### Context: CREATE TABLE table_name_29 (
championship_game VARCHAR,
conference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the championship game for big eight
### Query: SELECT championship_game FROM table_name_29 WHERE conference = "big eight" |
### Context: CREATE TABLE table_name_98 (
tries VARCHAR,
points VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tries that has a points of 008 8 and games of 27 27
### Query: SELECT tries FROM table_name_98 WHERE points = "008 8" ... |
### 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 table_name_99 (
lost INTEGER,
draw INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses have a draw greater than 0?
### Query: SELECT SUM(lost) FROM table_name_99 WHERE draw > 0 |
### Context: CREATE TABLE table_18773 (
"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 table_1182314_5 (
norwegian_americans__2000_ INTEGER,
norwegian_americans__1990_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum norwegian americans (2000) where norwegian americans (1990) is 9170
### Query: SELE... |
### Context: CREATE TABLE table_47693 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time has Laps smaller than 28, and a Rider of nicky hayden?
### Query: SELECT "Time" FR... |
### 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_25246990_2 (
no_in_series VARCHAR,
prod_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number episode in the series had a production code of 111?
### Query: SELECT no_in_series FROM table_25246990_2 WHERE prod_code ... |
### Context: CREATE TABLE table_68536 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the opponent at the game that had a loss of Travers (0 2)?
### Query: SELECT "Opponent... |
### Context: CREATE TABLE table_21501518_1 (
song_choice VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whats the song of name with an original artist Garth Brooks
### Query: SELECT song_choice FROM table_21501518_1 WHERE original_a... |
### Context: CREATE TABLE table_45141 (
"Episode number Production number" text,
"Title" text,
"Sydney" real,
"Melbourne" real,
"Brisbane" real,
"Adelaide" real,
"Perth" real,
"TOTAL" real,
"WEEKLY RANK" real,
"NIGHTLY RANK" real
)
-- Using valid SQLite, answer the following qu... |
### Context: CREATE TABLE table_57219 (
"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 was the home team that had an ... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### Context: CREATE TABLE table_name_95 (
share_of_votes VARCHAR,
electors VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the share of votes when there were more than 56 electors and the year was more recent than 1950?
### Query: ... |
### 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_64 (
term_of_office VARCHAR,
member VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Term of Office, when Member is 'Dominic Costa'?
### Query: SELECT term_of_office FROM table_name_64 WHERE member = "dominic costa... |
### Context: CREATE TABLE table_34754 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest earnings of Vijay Singh who had more than 24 wins?
### Query: SELECT... |
### Context: CREATE TABLE table_26409328_1 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what title was given to the episode with production code 6ajn08?
### Query: SELECT title FROM table_26409328_1 WHERE production_code =... |
### Context: CREATE TABLE table_36269 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Asian rider classification" text,
"Team classification" text,
"Asian team classification" text
)
-- Using valid SQLite, an... |
### Context: 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,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_17798548_4 (
date_released VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day was the complete 2nd series: volume one released?
### Query: SELECT date_released FROM table_17798548_4 WHERE season = "The Co... |
### Context: CREATE TABLE table_36735 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average total for teams with over 3 bronzes and over 8 golds?
### Query: SELECT AVG("... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE cost (
... |
### Context: CREATE TABLE table_name_9 (
catalog VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What catalog has the United Kingdom as the country?
### Query: SELECT catalog FROM table_name_9 WHERE country = "united kingdom" |
### Context: CREATE TABLE table_name_37 (
goals INTEGER,
matches VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the lowest goal that have goals/matches greater than 0.43 with joachim streich as the name and matches greater than 378... |
### Context: CREATE TABLE table_25346763_1 (
capacity VARCHAR,
year_opened VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the capacity for a facility opened in 1956?
### Query: SELECT COUNT(capacity) FROM table_25346763_1 WHERE year_opened = "1956" |
### Context: CREATE TABLE ship (
Ship_ID int,
Name text,
Type text,
Nationality text,
Tonnage int
)
CREATE TABLE mission (
Mission_ID int,
Ship_ID int,
Code text,
Launched_Year int,
Location text,
Speed_knots int,
Fate text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE aircraft (
aid number(9,0),
name varchar2(30),
distance number(6,0)
)
CREATE TABLE flight (
flno number(4,0),
origin varchar2(20),
destination varchar2(20),
distance number(6,0),
departure_date date,
arrival_date date,
price number(7,2),
aid number(... |
### Context: CREATE TABLE table_1997 (
"Rank" real,
"London Borough" text,
"Black African Population" real,
"Black Caribbean Population" real,
"Other Black Population" real,
"Total Black Population" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### 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_51514 (
"Channel" real,
"Video" text,
"Aspect" text,
"PSIP Short Name" text,
"Network" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of channels for qubo network?
### Query: SELECT SUM("Channel") FRO... |
### Context: CREATE TABLE table_19968 (
"Province" text,
"Prefecture" text,
"County" text,
"Tujia Population" real,
"% of Chinas Tujia Population" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When tujia population equals 388035 people and the % of... |
### Context: CREATE TABLE aircraft (
aid number,
name text,
distance number
)
CREATE TABLE certificate (
eid number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
salary number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.