text stringlengths 197 8.39k |
|---|
### 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 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 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_name_27 (
district VARCHAR,
constituency_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district has a constituency of 60?
### Query: SELECT district FROM table_name_27 WHERE constituency_number = "60" |
### Context: CREATE TABLE table_14553 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?
### Q... |
### Context: CREATE TABLE table_20718 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Joined TSCHL" real,
"Home Arena" text,
"Capacity" real,
"Team Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the flyers, what's ... |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
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 ... |
### Context: CREATE TABLE table_23292220_17 (
scores VARCHAR,
seans_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the scores for chris ramsey and carol vorderman
### Query: SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and... |
### Context: CREATE TABLE table_name_86 (
games VARCHAR,
tied VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of games for the season with 10 ties?
### Query: SELECT games FROM table_name_86 WHERE tied = 10 |
### Context: CREATE TABLE table_name_9 (
year VARCHAR,
event VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did she place 8th in the junior race?
### Query: SELECT year FROM table_name_9 WHERE event = "junior race" AND positi... |
### Context: CREATE TABLE Ref_Characteristic_Types (
characteristic_type_code VARCHAR(15),
characteristic_type_description VARCHAR(80)
)
CREATE TABLE Products (
product_id INTEGER,
color_code VARCHAR(15),
product_category_code VARCHAR(15),
product_name VARCHAR(80),
typical_buying_price VARC... |
### Context: CREATE TABLE table_56530 (
"Year" text,
"Starts" real,
"Cuts made" real,
"Wins" real,
"Top 10" real,
"Top 25" real,
"Earnings ($)" real,
"Money list rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest E... |
### Context: CREATE TABLE table_8509 (
"White" text,
"Black" text,
"Year" real,
"Result" text,
"Moves" real,
"Tournament" text,
"Opening" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had 32 moves?
### Query: SELECT SUM("Year") F... |
### Context: CREATE TABLE table_204_343 (
id number,
"nation" text,
"model" text,
"length" text,
"barrel length" text,
"weight" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long was the m1894 rifle 's barrel ?
### Query: SELECT "barrel le... |
### Context: CREATE TABLE table_name_65 (
att INTEGER,
yards VARCHAR,
long VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Atts that have Yards of 43 and a Long larger than 43?
### Query: SELECT SUM(att) FROM table_name_65 WHERE yards = 43 AND l... |
### Context: CREATE TABLE table_25220821_4 (
mon_31_may VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times are listed for 31 May for the rider ranked 5?
### Query: SELECT COUNT(mon_31_may) FROM table_25220821_4 WHERE rank = 5 |
### Context: CREATE TABLE train (
id int,
train_number int,
name text,
origin text,
destination text,
time text,
interval text
)
CREATE TABLE weekly_weather (
station_id int,
day_of_week text,
high_temperature int,
low_temperature int,
precipitation real,
wind_speed_... |
### Context: CREATE TABLE table_56316 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which constructor has a Time/Retired of +37.311?
### Query: SELECT "Constructor" FROM... |
### Context: CREATE TABLE table_name_91 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 result when the 2010 result was 2r, at the US Open?
### Query: SELECT 2007 FROM table_name_91 WHERE 2010 = "2r" AND tournament = "us open" |
### Context: CREATE TABLE table_22277 (
"Departure" text,
"Going to" text,
"Calling at" text,
"Arrival" text,
"Operator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when does the train arriving at bourne at 11.45 departure
### Query: SELECT "Dep... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
... |
### Context: CREATE TABLE table_name_58 (
time_retired VARCHAR,
grid VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time/Retired has a Grid smaller than 3, and a Driver of mika h kkinen?
### Query: SELECT time_retired FROM table_na... |
### Context: CREATE TABLE table_name_4 (
attendance INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the higest attendance on November 9, 1958?
### Query: SELECT MAX(attendance) FROM table_name_4 WHERE date = "november 9, 1958" |
### Context: CREATE TABLE table_78521 (
"Team" text,
"Games Played" real,
"Wins" real,
"Losses" real,
"Ties" real,
"Goals For" real,
"Goals Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses did the team with 22 goals fo... |
### Context: CREATE TABLE table_2930244_3 (
number_of_major_hurricanes INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest overall number of major hurricanes?
### Query: SELECT MAX(number_of_major_hurricanes) FROM table_2930244_3 |
### 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 table_41531 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" text,
"Province / Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Position, when Caps is Example, and When Player is Shane Kelly?... |
### 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_97 (
proto_austronesian VARCHAR,
proto_oceanic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Proto-Austronesian has a Proto-Oceanic of *lima?
### Query: SELECT proto_austronesian FROM table_name_97 WHERE proto_oce... |
### Context: CREATE TABLE table_60349 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2 0?
### Q... |
### Context: CREATE TABLE table_name_19 (
res VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The match against Oleg Taktarov had what result?
### Query: SELECT res FROM table_name_19 WHERE opponent = "oleg taktarov" |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
in... |
### 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 table_55779 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the featured in Engine through rounds 10... |
### Context: CREATE TABLE table_67113 (
"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 was Laurel's division record?
### Query: SELECT "Division Record... |
### Context: CREATE TABLE table_name_91 (
games INTEGER,
name VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340?
### Query: SELECT MIN(games) FROM tabl... |
### Context: CREATE TABLE table_30030227_1 (
written_by VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people wrote the episode directed by Arvin Brown?
### Query: SELECT COUNT(written_by) FROM table_30030227_1 WHERE directed_b... |
### Context: CREATE TABLE table_70406 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was ensign n180b a Chassis with 4 points?
### Query: SELECT SUM("Year") FROM ... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locatio... |
### Context: CREATE TABLE table_75827 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has an Away of 1 1, and a Home of 3 3?... |
### 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_name_49 (
venue VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the venue that had a friendly match competition?
### Query: SELECT venue FROM table_name_49 WHERE competition = "friendly match" |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
... |
### Context: CREATE TABLE fzzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM tex... |
### 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 Faculty_Participates_in (
FacID 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 Student (
Stu... |
### Context: CREATE TABLE table_1691800_2 (
population__2010_ VARCHAR,
municipality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the population where municipality is san jacinto?
### Query: SELECT population__2010_ FROM table_1691800_2 WHERE munic... |
### Context: CREATE TABLE table_name_10 (
nba_draft VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the NBA Draft for the School Bishop O'Connell High School?
### Query: SELECT nba_draft FROM table_name_10 WHERE school = "bishop o'con... |
### Context: CREATE TABLE table_33305 (
"Round" real,
"Overall" real,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average round in which a Safety with an overall rank higher than 89 was drafte... |
### Context: CREATE TABLE table_33270 (
"Dance" text,
"Best dancer" text,
"Best score" real,
"Worst dancer" text,
"Worst score" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Worst score for Mario Lopez as the Best dancer and Tan... |
### 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 roller_coaster (
Status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the different statuses and the numbers of roller coasters for each status.
### Query: SELECT Status, COUNT(*) FROM roller_coaster GROUP BY Status |
### Context: CREATE TABLE table_name_1 (
character VARCHAR,
year VARCHAR,
award_ceremony VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which character was nominated in the 2010 Indian Television Academy Awards?
### Query: SELECT character FROM table_na... |
### Context: CREATE TABLE table_name_35 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on May 3?
### Query: SELECT score FROM table_name_35 WHERE date = "may 3" |
### Context: CREATE TABLE fgwyjzb (
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,
INSUR... |
### Context: CREATE TABLE table_203_166 (
id number,
"pos" text,
"no" number,
"rider" text,
"manufacturer" text,
"laps" number,
"time" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which rider complet... |
### Context: CREATE TABLE table_19654 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed ... |
### Context: CREATE TABLE table_203_630 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won more gold medals , brazil or china ?
### Qu... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
Ow... |
### 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_53058 (
"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 date was the game played at Pu... |
### Context: CREATE TABLE table_3873 (
"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 above... |
### 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 microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### 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 table_26914759_3 (
manner_of_departure VARCHAR,
team VARCHAR,
incoming_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the manner of departure for notts county with an incoming manager of martin allen
### Query:... |
### Context: CREATE TABLE table_29572583_20 (
player VARCHAR,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which player had the status to the fourth round lost to tsvetana pironkova [32] Answers:
### Query: SELECT player FROM table_29572583_20 WHER... |
### Context: CREATE TABLE table_name_44 (
home VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey?
### Query: SELECT home FROM table_name_44 ... |
### Context: CREATE TABLE table_76383 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest round for an overall pick of 349 with a pick number in t... |
### Context: CREATE TABLE table_38485 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" real,
"Best" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has a qualifying 2 time under 59.612 and a best of 59.14?
### Query: SELECT "Team" FROM... |
### Context: CREATE TABLE table_18734298_1 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the production code 1acx09?
### Query: SELECT title FROM table_18734298_1 WHERE production_code = "1ACX09" |
### Context: CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,
departure_flight_number int,
stop_time int
)
CREATE TABLE... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE departments (... |
### 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_56896 (
"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.
-- The home team has a score of 12.9 (... |
### Context: CREATE TABLE table_53653 (
"Place (Posici\u00f3n)" real,
"Team (Equipo)" text,
"Played (PJ)" real,
"Won (PG)" real,
"Draw (PE)" real,
"Lost (PP)" real,
"Goals Scored (GF)" real,
"Goals Conceded (GC)" real,
"+/- (Dif.)" real,
"Points (Pts.)" real
)
-- Using valid SQ... |
### Context: CREATE TABLE table_3565 (
"Contestant" text,
"Place" real,
"Age" real,
"Country" text,
"Federal state" text,
"City" text,
"Height" text,
"Measurements (in cm)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what measurement ... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE ship (
name VARCHAR,
ship_id VARCHAR
)
CREATE TABLE captain (
ship_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of the ships that have more than one captain.
### Query: SELECT t1.name FROM ship AS t1 JOIN ca... |
### Context: CREATE TABLE table_name_69 (
runner_up VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Runner-up has a Winning score of 20 (70-69-64-65=268)?
### Query: SELECT runner_up FROM table_name_69 WHERE winning_score = −20(7... |
### Context: CREATE TABLE table_27715173_8 (
game VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the game where the high points is by manu gin bili (26)?
### Query: SELECT game FROM table_27715173_8 WHERE high_points = "Manu Gin... |
### Context: CREATE TABLE table_50944 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the average Laps on Grid 15?
### Query: SELECT AVG("Laps") FROM table_50944 WHERE "G... |
### Context: CREATE TABLE table_66598 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event was in a year later than 2007 and in the 88th position?
### ... |
### Context: CREATE TABLE table_53525 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_203_871 (
id number,
"#" number,
"player" text,
"pos" text,
"pts" number,
"tries" number,
"conv" number,
"pens" number,
"drop" number,
"opposition" text,
"venue" text,
"date" text
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE table_42917 (
"m\u00e5cha" text,
"indicative" text,
"imperative" text,
"subjunctive" text,
"inverse subjunctive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What inverse subjunctive has as the imperative and a subjunctiv... |
### Context: CREATE TABLE table_name_76 (
term_in_office VARCHAR,
electorate VARCHAR,
state VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which term in office has a qld state, a Party of labor, and an Electorate of fisher?
### Query:... |
### Context: CREATE TABLE Documents (
document_id INTEGER,
document_type_code VARCHAR(10),
grant_id INTEGER,
sent_date DATETIME,
response_received_date DATETIME,
other_details VARCHAR(255)
)
CREATE TABLE Grants (
grant_id INTEGER,
organisation_id INTEGER,
grant_amount DECIMAL(19,4),... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance t... |
### Context: CREATE TABLE table_name_40 (
score VARCHAR,
money___$__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the player who won $3,600?
### Query: SELECT score FROM table_name_40 WHERE money___$__ = "3,600" |
### Context: CREATE TABLE table_72533 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most field goals
### Query:... |
### Context: CREATE TABLE table_53833 (
"Year" text,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance" text,
"Time" text,
"Purse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did jockey Ramon Dominguez ha... |
### Context: CREATE TABLE table_73867 (
"Constituency" text,
"Candidate" text,
"Affiliation" text,
"Result - votes" real,
"Result - %" text,
"Loss/gain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest vote result if loss/gain ... |
### Context: CREATE TABLE table_36845 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum for December when the record was 22-12-5?
### Query: SELECT SUM("December")... |
### Context: CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
)
CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE date... |
### Context: CREATE TABLE table_22851 (
"Year" real,
"Worldwide" real,
"Africa" real,
"America" real,
"Asia" real,
"Australia" real,
"Europe" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many members did Africa have the year that Austr... |
### Context: CREATE TABLE table_2533 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the total number of years that have a... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.