text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_57570 (
"Coach" text,
"Season" text,
"Record" text,
"Home" text,
"Away" text,
"Win %" real,
"Average (Total) Home Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest win% in the 1999-... |
### 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_11391954_3 (
Half VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whatis the total number of half marathon (mens) that represented kazakhstan?
### Query: SELECT COUNT(Half) AS marathon__mens_ FROM table_113919... |
### Context: CREATE TABLE gas_station (
LOCATION VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all locations and the number of gas stations in each location ordered by the count.
### Query: SELECT LOCATION, COUNT(*) FROM gas_station GROUP BY LOCATION ORDE... |
### Context: CREATE TABLE table_11964154_9 (
game INTEGER,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum game where high points is micka l gelabale (21)
### Query: SELECT MAX(game) FROM table_11964154_9 WHERE high_points = "... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_d... |
### Context: CREATE TABLE table_29283 (
"Position" real,
"Building" text,
"City" text,
"Height" text,
"Number of floors" real,
"Completion" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many positions does building Costanera Center Torre 1 ... |
### Context: CREATE TABLE table_2517159_1 (
record VARCHAR,
name_of_bowl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the record for cotton bowl classic
### Query: SELECT record FROM table_2517159_1 WHERE name_of_bowl = "Cotton Bowl Classic" |
### Context: CREATE TABLE table_204_102 (
id number,
"name" text,
"location served" text,
"governorate" text,
"utilization" text,
"helipads" number,
"runways" number,
"shelters" number,
"squadrons" text,
"coordinates" text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_16767 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the race in the Modena circuit?
### Qu... |
### Context: CREATE TABLE table_2062148_3 (
race VARCHAR,
distance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What race has a distance of 1200 m?
### Query: SELECT race FROM table_2062148_3 WHERE distance = "1200 m" |
### Context: CREATE TABLE table_66431 (
"Millewa" text,
"Wins" real,
"Forfeits" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Losses have Draws larger than 0?
### Query: SELECT MAX("Losses"... |
### Context: CREATE TABLE table_28453 (
"Episode #" text,
"Season Episode #" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many directors ... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
C... |
### Context: CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Locati... |
### Context: CREATE TABLE table_51595 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has the ICAO of LIRF?
### Query: SELECT "City" FROM table_51595 WHERE "ICAO" = 'lirf' |
### Context: CREATE TABLE table_46426 (
"Finished" real,
"Time/ Behind" text,
"Post" real,
"Horse" text,
"Jockey" text,
"Trainer" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Owner, when Finished is less than 15, when... |
### 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 equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_di... |
### Context: CREATE TABLE table_60820 (
"Player" text,
"Position" text,
"Ekstraklasa" real,
"Polish Cup" real,
"Puchat Ligi" real,
"UEFA Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Puchat Ligi has a UEFA Cup small... |
### Context: CREATE TABLE table_44082 (
"School" text,
"Conference" text,
"Games" real,
"Wins" real,
"Losses" real,
"Winning Pct." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of losses of the team with games less than... |
### 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 election (
Election_ID int,
Representative_ID int,
Date text,
Votes real,
Vote_Percent real,
Seats real,
Place real
)
CREATE TABLE representative (
Representative_ID int,
Name text,
State text,
Party text,
Lifespan text
)
-- Using valid SQLite... |
### 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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id... |
### Context: CREATE TABLE table_2259285_1 (
standing VARCHAR,
goals_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the standing when goal against were 279?
### Query: SELECT standing FROM table_2259285_1 WHERE goals_against = 279 |
### Context: CREATE TABLE table_name_36 (
game INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was played at Philadelphia?
### Query: SELECT AVG(game) FROM table_name_36 WHERE team = "philadelphia" |
### Context: CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Course_Authors_and_Tutors (
... |
### Context: CREATE TABLE table_21143 (
"Country" text,
"Name" text,
"Network" text,
"Premiere" text,
"Host(s)" text,
"Judges" text,
"Seasons and Winners" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the host for prime
### Query: SEL... |
### 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_20508 (
"Region of USSR" text,
"Number of families" real,
"Number of people" real,
"Average family size" text,
"% of total deportees" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most number of families ... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateO... |
### Context: CREATE TABLE table_12794 (
"Location" text,
"Year" real,
"Champion" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When John Mcenroe won at Montreal, what was the score?
### Query: SELECT "Score" FROM ta... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE building (
building_id text,
Name text,
Street_address text,
Years_as_tallest text,
Height_feet int,
Floors int
)
CREATE TABLE Institution (
Institution_id text,
Institution text,
Location text,
Founded real,
Type text,
Enrollment int,
Team ... |
### Context: CREATE TABLE table_76540 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the finalist Martina Hingis?
### Query: SELECT ... |
### Context: CREATE TABLE table_203_689 (
id number,
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the total number of wins ?
### Query: SELECT COUNT(*) FROM table_20... |
### Context: CREATE TABLE table_79760 (
"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 dates had matches at the venue Sabina Park?
### Query: SELECT "Date" FROM tabl... |
### Context: CREATE TABLE table_59775 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the broadcast date with 7.0 million viewers?
### Query: S... |
### Context: CREATE TABLE table_36645 (
"Club" text,
"Played" 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, answer the followin... |
### 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 storm (
Storm_ID int,
Name text,
Dates_active text,
Max_speed int,
Damage_millions_USD real,
Number_Deaths int
)
CREATE TABLE affected_region (
Region_id int,
Storm_ID int,
Number_city_affected real
)
CREATE TABLE region (
Region_id int,
Region_cod... |
### Context: CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Faculty_Participates_in (... |
### Context: CREATE TABLE table_42499 (
"Year" real,
"Winner" text,
"School" text,
"Position" text,
"Points" text,
"% of Points Possible" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the % of points possible of the winner from Penn Sta... |
### Context: CREATE TABLE table_23493 (
"Ostrich" text,
"Hamerkop" text,
"Hadeda Ibis" text,
"African Spoonbill" text,
"Whitefaced Duck" text,
"Knobbilled Duck" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Hadeda Ibis when the Ostr... |
### Context: CREATE TABLE table_5198 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the best time of the team that had a qualifying 1 time of 1:01.043?
### Query: SELECT "Best... |
### 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 cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_23563 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Foochow" text,
"Area" real,
"Population" real,
"Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the traditio... |
### Context: CREATE TABLE table_5694 (
"Week 6 Oct 5" text,
"Week 7 Oct 12" text,
"Week 9 Oct 26" text,
"Week 10 Nov 2" text,
"Week 11 Nov 9" text,
"Week 13 Nov 23" text,
"Week 14 Nov 30" text,
"Week 15 (Final) Dec 7" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,... |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE acceptance (
submission_id number,
workshop_id number,
result text
)
CREATE TABLE workshop (
workshop_id number,
date text,
venue text,
name text
)
CREATE TABLE submission (
submission_id number,
scores number,
author text,
college text
)
-- Usin... |
### Context: CREATE TABLE table_1429629_1 (
episode VARCHAR,
run_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all the episodes with an episode run time of 24:01?
### Query: SELECT episode FROM table_1429629_1 WHERE run_time = "24:01" |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_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 in... |
### Context: CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE Documents_to_be_Destroyed (
Document_ID INTEGER,
Destruction_Authorised_by_Employee_ID INTEGER,
Destroyed_by_Employee_ID INTEGER,
... |
### Context: CREATE TABLE table_62326 (
"Rank" real,
"Name" text,
"Season" text,
"Club" text,
"Goals" real,
"Apps" real,
"Goals per Match" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank that has goals per match less t... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
... |
### 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 Courses (
course_id VARCHAR(100),
course_name VARCHAR(120),
course_description VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Candidates (
candidate_id INTEGER,
candidate_details VARCHAR(255)
)
CREATE TABLE People_Addresses (
person_address_id INTEGER,
... |
### Context: CREATE TABLE table_67050 (
"Quarter" text,
"Score" text,
"Club" text,
"Opponent" text,
"Year" text,
"Round" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a Club of essendon, and a Score of 13.4.... |
### Context: CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
N... |
### Context: CREATE TABLE table_25428629_1 (
opponent VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the location is Yangon, Myanmar, what is the opponent total number?
### Query: SELECT COUNT(opponent) FROM table_25428629_1 WHERE locat... |
### Context: CREATE TABLE table_13696 (
"Season" text,
"Teams" real,
"Minor Ladder Position" text,
"Finals Qualification" text,
"Final Ladder Position" text,
"ACL Qualification" text,
"ACL Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: 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(9,0)
)
CREATE TABLE certificate (
eid number(9,0),
aid number(9,0)
)
CREATE TABLE empl... |
### Context: CREATE TABLE table_name_92 (
score VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has south africa as the country?
### Query: SELECT score FROM table_name_92 WHERE country = "south africa" |
### Context: CREATE TABLE table_203_559 (
id number,
"no." number,
"name" text,
"took office" text,
"left office" text,
"president served under" text,
"notable for" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many commissioners served... |
### Context: CREATE TABLE table_31968 (
"Heat Rank" real,
"Lane" real,
"Swimmer" text,
"Country" text,
"Time" real,
"Overall Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For how long did Bolivia have a lane greater than 6?
### Query: SE... |
### Context: CREATE TABLE table_name_12 (
try_bonus VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the try bonus for ynysybwl rfc?
### Query: SELECT try_bonus FROM table_name_12 WHERE club = "ynysybwl rfc" |
### Context: CREATE TABLE table_75443 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game has a Score of 4 1?
### Query: SELECT SUM("Game") FROM table_... |
### Context: CREATE TABLE table_name_7 (
position VARCHAR,
losses VARCHAR,
wins VARCHAR,
goals_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many positions have 14 wins, goals against of 61 and fewer than 19 losses?
### Query: SELECT CO... |
### Context: CREATE TABLE table_20396710_1 (
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when points against is points again, which are the drawn?
### Query: SELECT drawn FROM table_20396710_1 WHERE "points_against" = "points_against" |
### Context: CREATE TABLE table_203_735 (
id number,
"rd" number,
"pick" number,
"player" text,
"position" text,
"school" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players were from notre dame ?
### Query: SELECT COUNT("player") F... |
### Context: CREATE TABLE table_44305 (
"Rank" real,
"Country" text,
"Miss United Continent" real,
"Virreina" real,
"1st RU" real,
"2nd RU" real,
"3rd RU" real,
"4th RU" real,
"Semifinalists" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tab... |
### Context: CREATE TABLE race (
name VARCHAR,
date VARCHAR,
track_id VARCHAR
)
CREATE TABLE track (
name VARCHAR,
track_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the name and date for each race and its track name.
### Query: SELEC... |
### Context: CREATE TABLE table_name_86 (
position VARCHAR,
team VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the position that has baltimore bullets and college of texas tech
### Query: SELECT position FROM table_name_86 WHERE t... |
### 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_11208143_9 (
capacity INTEGER,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pittodrie Stadium's maximum capacity?
### Query: SELECT MAX(capacity) FROM table_11208143_9 WHERE stadium = "Pittodrie" |
### Context: CREATE TABLE broadcast (
channel_id number,
program_id number,
time_of_day text
)
CREATE TABLE broadcast_share (
channel_id number,
program_id number,
date text,
share_in_percent number
)
CREATE TABLE channel (
channel_id number,
name text,
owner text,
share_in... |
### Context: CREATE TABLE ReviewTaskStates (
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 has_allergy (
stuid number,
allergy text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE allergy_type (
allergy text,
allergytype text
)
-- Using... |
### Context: CREATE TABLE table_24906653_5 (
field_goals VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many long range shots did tonya edwards make.
### Query: SELECT COUNT(field_goals) FROM table_24906653_5 WHERE player = "Tonya Edward... |
### Context: CREATE TABLE table_59413 (
"Year" text,
"Result" text,
"Matches" text,
"Wins" text,
"Draws" text,
"Losses" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the result did not qualify?
### Query: SELECT "Year" FROM table... |
### 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_name_47 (
champion VARCHAR,
location VARCHAR,
semi_finalist__number2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which champion was from the location of Morrisville, NC, and whose SemiFinalist #2 of Clemson?
### Query:... |
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### Context: CREATE TABLE table_20214 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the interview subject in the 2-8... |
### 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 jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_name_47 (
average VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average when the matches are 11?
### Query: SELECT average FROM table_name_47 WHERE matches = "11" |
### Context: CREATE TABLE table_74914 (
"Pick #" real,
"Round" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player is a Wide Receiver?
### Query: SELECT "Player" FROM table_74914 WHERE "Positio... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Locati... |
### Context: CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE table_204_238 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"performer (s)" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many tracks last for more than three minutes ?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_17 (
laps INTEGER,
qual VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps resulted from a Qual of 165.229?
### Query: SELECT MAX(laps) FROM table_name_17 WHERE qual = "165.229" |
### Context: CREATE TABLE table_name_28 (
stadium VARCHAR,
week INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the stadium that held that game after week 15?
### Query: SELECT stadium FROM table_name_28 WHERE week > 15 |
### Context: CREATE TABLE table_269888_1 (
area__km²_ VARCHAR,
population__2010_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the area for population of 53542
### Query: SELECT area__km²_ FROM table_269888_1 WHERE population__2010_ = 53542 |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.