text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_34393 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the winner when the Score was 274 ( 14) in... |
### 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 table_name_79 (
player VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is from South Africa?
### Query: SELECT player FROM table_name_79 WHERE country = "south africa" |
### 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_17001 (
"Season" real,
"Position" real,
"Win/Loss" text,
"Coach" text,
"Captain" text,
"Dudley Tuckey Medal" text,
"Leading goalkicker" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the win/loss ... |
### 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 VoteTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName tex... |
### Context: CREATE TABLE table_train_19 (
"id" int,
"white_blood_cell_count_wbc" int,
"active_infection" bool,
"heart_disease" bool,
"temperature" float,
"skin_lesion" bool,
"heart_rate" int,
"paco2" float,
"immature_form" int,
"respiratory_rate" int,
"age" float,
"NOUSE... |
### Context: CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE table_name_52 (
place INTEGER,
total VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest place number when the total is 16 and average is less than 16?
### Query: SELECT MIN(place) FROM table_na... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE table_17058226_10 (
date VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On how many dates did the Timberwolves play Phoenix?
### Query: SELECT COUNT(date) FROM table_17058226_10 WHERE team = "Phoenix" |
### Context: CREATE TABLE table_name_67 (
date VARCHAR,
venue VARCHAR,
goal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day is miami the venue with 38 goals?
### Query: SELECT date FROM table_name_67 WHERE venue = "miami" AND goal = 38 |
### Context: CREATE TABLE table_58716 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue for the game on 18/03/2006?
### Query: SELECT "Venue" FROM table_58... |
### Context: CREATE TABLE table_62368 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what City/State did the ATCC Round 4 series take place?
### Query: ... |
### Context: CREATE TABLE table_52925 (
"Class" text,
"Wheels" text,
"Date" text,
"No. built" real,
"Loco Nos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many were built with a locomotive number of 11-20?
### Query: SELECT "No. built" FROM... |
### Context: CREATE TABLE table_7289 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent of the Bye result?
### Query: SELECT "Opponent" FROM table_7289 WHERE ... |
### Context: CREATE TABLE table_name_56 (
height VARCHAR,
name VARCHAR,
position VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the freshman guard Cetera Degraffenreid?
### Query: SELECT height FROM table_name_56 WHERE posi... |
### Context: CREATE TABLE zyjybgb (
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 table_204_864 (
id number,
"pos" number,
"class" text,
"no" number,
"team" text,
"drivers" text,
"chassis" text,
"engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what type of engine did drivers use the mo... |
### Context: CREATE TABLE table_name_93 (
races VARCHAR,
position VARCHAR,
podiums VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of races associated with 7 podiums and a position of 4th?
### Query: SELECT races FROM table_name_93 WHE... |
### Context: CREATE TABLE table_train_1 (
"id" int,
"sinusal_rhythm" bool,
"severe_sepsis" bool,
"hemodynamic_instability" bool,
"social_security" bool,
"septic_shock" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### 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_4602 (
"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 venue featured north melbourne ... |
### Context: CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real,
Silver real,
Bronze real,
Total real
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
Club_ID int,
Apps real,
Tries real,
Goals text,
Points real
)
CREATE TABLE club (
C... |
### Context: CREATE TABLE table_name_1 (
riaa_sales_certification VARCHAR,
billboard_200_peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What RIAA Sales Certification was awarded to the song that had a Billboard 200 Peak of 21?
### Query: SELECT riaa_sa... |
### Context: CREATE TABLE table_13484 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when To par was 3, in South Africa, for Richard Sterne?
### Query: SELECT A... |
### Context: CREATE TABLE table_3073 (
"Country" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot %" text
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE table_42766 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Venue is Melbourne Cricket Ground, and when Result is Eng By Inns... |
### Context: CREATE TABLE table_66011 (
"Ship" text,
"Year" real,
"Dates" text,
"Line" text,
"From" text,
"Distance" text,
"Days, hours, minutes" text,
"Speed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Days, hours, minut... |
### Context: CREATE TABLE table_name_72 (
date VARCHAR,
result_f_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Result F A of 5 0 had what date?
### Query: SELECT date FROM table_name_72 WHERE result_f_a = "5–0" |
### 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_55149 (
"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 average crowd size for ... |
### 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 intakeou... |
### Context: CREATE TABLE table_72717 (
"City/town" text,
"Municipality" text,
"County" text,
"City/town status" real,
"Population" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total population in the city/town of Arendal?
### Query: ... |
### Context: CREATE TABLE Staff (
staff_id INTEGER,
staff_address_id INTEGER,
nickname VARCHAR(80),
first_name VARCHAR(80),
middle_name VARCHAR(80),
last_name VARCHAR(80),
date_of_birth DATETIME,
date_joined_staff DATETIME,
date_left_staff DATETIME
)
CREATE TABLE Lessons (
lesso... |
### Context: CREATE TABLE table_203_541 (
id number,
"games" text,
"host city" text,
"dates" text,
"nations" number,
"participants" number,
"events" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which olympics had the most participants ?
... |
### Context: CREATE TABLE Claims (
Claim_ID INTEGER,
Policy_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER
)
CREATE TABLE Customer_Policies (
Policy_ID INTEGER,
Customer_ID INTEGER,
Policy_Type_Code CHAR(15),
Start_Date ... |
### Context: CREATE TABLE table_64526 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### 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_79593 (
"Rank" real,
"Total Population (2010)" real,
"Indian American Population (2010)" real,
"% Indian American" real,
"Asian American Population (2010)" real,
"% Asian American" real
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE table_21532 (
"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_72 (
margin_of_victory VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Winning score is 74-68-67-75=284, what was the Margin of victory?
### Query: SELECT margin_of_victory FROM table_name_... |
### Context: CREATE TABLE table_name_61 (
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Gold that also has Bronze of Kim Sun-Bin?
### Query: SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin" |
### Context: CREATE TABLE table_name_57 (
high_assists VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the most assists in the game against Indiana?
### Query: SELECT high_assists FROM table_name_57 WHERE team = "indiana" |
### Context: CREATE TABLE table_name_51 (
position VARCHAR,
college VARCHAR,
pick VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the position when the pick is more than 2, the overall is more than 28 and the college is nebras... |
### Context: CREATE TABLE table_44229 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first week when there was an attendan... |
### Context: CREATE TABLE table_name_22 (
issue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Issue number was released on August 17, 2011?
### Query: SELECT issue FROM table_name_22 WHERE date = "august 17, 2011" |
### Context: CREATE TABLE table_1603 (
"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_44473 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the game where the NY Islanders are the home team?
### Qu... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STRE... |
### 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_66855 (
"Round" text,
"Fixtures" real,
"Clubs" text,
"New entries" text,
"Leagues entering" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for New entries, when the value for Fixtures is 2?
### Quer... |
### Context: CREATE TABLE table_name_73 (
result VARCHAR,
road_team VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result for Boston's road team in game 4?
### Query: SELECT result FROM table_name_73 WHERE road_team = "boston" ... |
### Context: CREATE TABLE table_27366772_3 (
population__2001_ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest population in 2001?
### Query: SELECT MAX(population__2001_) FROM table_27366772_3 |
### Context: CREATE TABLE table_25557556_5 (
couple VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What couple averaged 21.0?
### Query: SELECT couple FROM table_25557556_5 WHERE average = "21.0" |
### Context: CREATE TABLE table_203_288 (
id number,
"season" text,
"premiere date" text,
"the winner" text,
"runner-up" text,
"finalists" text,
"contestants in order of elimination" text,
"number of contestants" text,
"number of concerts" number
)
-- Using valid SQLite, answer the... |
### Context: CREATE TABLE table_204_398 (
id number,
"title" text,
"year" number,
"publisher" text,
"developer" text,
"platforms" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what lord of the rings game was previously released before lego the ... |
### Context: CREATE TABLE table_301 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What offensive line player hailed from Baton Rouge, Louisiana?
### Query: SELECT "Player"... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_name_96 (
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was John Fought's score?
### Query: SELECT score FROM table_name_96 WHERE player = "john fought" |
### Context: CREATE TABLE table_204_74 (
id number,
"#" number,
"title" text,
"producers" text,
"guest performers" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long is the longest track on the album ?
### Query: SELECT MAX(... |
### Context: CREATE TABLE table_name_94 (
winner VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner in the game that had Teikyo as the runner-up?
### Query: SELECT winner FROM table_name_94 WHERE runner_up = "teikyo" |
### Context: CREATE TABLE table_27516 (
"Supply sector (% of GDP in current prices)" text,
"1993-2001" text,
"2002-2005" text,
"2006-2009" text,
"2010-2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What sector had a 1.4 GDP for 2006-2009?
###... |
### Context: CREATE TABLE table_25200461_9 (
city VARCHAR,
democratic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Democratic is 42.5%, what is the city?
### Query: SELECT city FROM table_25200461_9 WHERE democratic = "42.5%" |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
v... |
### Context: CREATE TABLE table_35486 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Won by 2 or more goals difference" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### Context: CREATE TABLE Residents_Services (
resident_id INTEGER,
service_id INTEGER,
date_moved_in DATETIME,
property_id INTEGER,
date_requested DATETIME,
date_provided DATETIME,
other_details VARCHAR(255)
)
CREATE TABLE Customers (
customer_id INTEGER,
customer_details VARCHAR(2... |
### Context: CREATE TABLE table_22107 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the incumbent democratic party in district florida ... |
### Context: CREATE TABLE table_10812938_5 (
player VARCHAR,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player is on the Montreal Alouettes CFl team?
### Query: SELECT player FROM table_10812938_5 WHERE cfl_team = "Montreal Alouettes" |
### Context: CREATE TABLE table_203_455 (
id number,
"round" number,
"#" number,
"player" text,
"nationality" text,
"college/junior/club team (league)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the total number of players selected... |
### 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
### Context: CREATE TABLE table_25988 (
"Player" text,
"Games Played" real,
"Minutes" real,
"Field Goals" real,
"Three Pointers" real,
"Free Throws" real,
"Rebounds" real,
"Assists" real,
"Blocks" real,
"Steals" real,
"Points" real
)
-- Using valid SQLite, answer the follow... |
### 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_1137696_3 (
winning_driver VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winning driver of round 7?
### Query: SELECT winning_driver FROM table_1137696_3 WHERE round = 7 |
### Context: CREATE TABLE table_name_61 (
venue VARCHAR,
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue of the match with a w result on 3 March 2010?
### Query: SELECT venue FROM table_name_61 WHERE result = "w" AN... |
### Context: CREATE TABLE table_7817 (
"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_203_309 (
id number,
"team" text,
"winners" number,
"runners-up" number,
"years won" text,
"years lost" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team or teams had five winners total ?
### Query: SELEC... |
### Context: CREATE TABLE table_77484 (
"Actor in London, 2002" text,
"Actor in New York, 2006" text,
"Actor in Moscow, 2007" text,
"Voyage" text,
"Shipwreck" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Actor in the New York productio... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_7228 (
"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 highest against when th... |
### Context: CREATE TABLE table_204_888 (
id number,
"location" text,
"mile" number,
"destinations" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what destination is after the national pike ?
### Query: SELECT "destinations" FROM tab... |
### 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_6 (
builder VARCHAR,
locomotive VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Builder of Locomotive 2?
### Query: SELECT builder FROM table_name_6 WHERE locomotive = "2" |
### Context: CREATE TABLE table_39262 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Earnings ($) is the lowest one that has a Rank smaller than 1?
... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE d_items (
row_i... |
### Context: CREATE TABLE table_name_72 (
attendance VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance for No. 15 tie?
### Query: SELECT attendance FROM table_name_72 WHERE tie_no = "15" |
### Context: CREATE TABLE table_60056 (
"Team" text,
"Wins" text,
"Losses" text,
"Points" text,
"WPct." text,
"G.F." text,
"G.A." text,
"Assists" text,
"Penalties" text,
"P.I.M." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### Context: CREATE TABLE authors (
fname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the first names of all the authors ordered in alphabetical order.
### Query: SELECT fname FROM authors ORDER BY fname |
### Context: CREATE TABLE table_3292 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"F/Laps" real,
"Podiums" real,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ho... |
### Context: CREATE TABLE table_29371 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_6592 (
"Locomotive" text,
"Delivered as" text,
"Entered service" text,
"Owner" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Owner Delivered the T415?
### Query: SELECT "Owner" FROM table_6592 WH... |
### 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 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 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_46039 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest total when there's less than 16 bronze and more than 6 silver?
### Query: SELEC... |
### Context: CREATE TABLE table_615 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Area" real,
"Population" real,
"Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the capital of the district who... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.