text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE reviewer (
rid number,
name text
)
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
-- Using valid SQLite, answer the following questions for the t... |
### 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_CLINIC_ID text,
ME... |
### 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_23284271_10 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for game 78?
### Query: SELECT score FROM table_23284271_10 WHERE game = 78 |
### Context: CREATE TABLE table_54502 (
"Tournament" text,
"Date" text,
"City" text,
"Country" text,
"Surface" text,
"Singles champions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Singles Champions in Trieste, Italy?
### Query: ... |
### Context: CREATE TABLE table_204_265 (
id number,
"no." number,
"title (latin)" text,
"title (english translation)" text,
"subject" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the last title ?
### Query: SELECT "title... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatme... |
### Context: CREATE TABLE screen_mode (
graphics_mode number,
char_cells text,
pixels text,
hardware_colours number,
used_kb number,
map text,
type text
)
CREATE TABLE phone (
company_name text,
hardware_model_name text,
accreditation_type text,
accreditation_level text,
... |
### Context: CREATE TABLE table_train_5 (
"id" int,
"pregnancy_or_lactation" bool,
"severe_sepsis" bool,
"protein_c" int,
"liver_disease" bool,
"chronic_respiratory_disease" bool,
"child_pugh_score" int,
"septic_shock" bool,
"myocardial_infarction" bool,
"NOUSE" float
)
-- Usin... |
### Context: CREATE TABLE table_name_82 (
lane INTEGER,
mark VARCHAR,
heat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest lane value for a mark of 2:02.27 NR, with heats under 2?
### Query: SELECT MAX(lane) FROM table_name_82 WHERE m... |
### Context: CREATE TABLE table_51742 (
"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.
-- On what date did the away team scor... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
Mar... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
P... |
### Context: CREATE TABLE table_name_53 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent led to a 56-59 record?
### Query: SELECT opponent FROM table_name_53 WHERE record = "56-59" |
### Context: CREATE TABLE table_name_19 (
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the away team at Essendon?
### Query: SELECT away_team AS score FROM table_name_19 WHERE away_team = "essendon" |
### Context: CREATE TABLE table_14882588_2 (
race_number VARCHAR,
sail_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If sail number is AUS 03, what are all associated race numbers?
### Query: SELECT race_number FROM table_14882588_2 WHERE sail_numbe... |
### Context: CREATE TABLE table_203_321 (
id number,
"sheriff" text,
"start of term" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when did the first sheriff 's term start ?
### Query: SELECT MIN("start of term") FROM table_203_321 |
### Context: CREATE TABLE table_name_25 (
bronze VARCHAR,
silver VARCHAR,
total VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was the total more than 1, the nation was east germany and silver was more than 1?
### Quer... |
### Context: CREATE TABLE table_66315 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country does Adam van Koeverden play for?
### Query: SELECT "Country" FROM table_66315 WH... |
### Context: CREATE TABLE table_12206918_2 (
number VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was iran barkley an opponent?
### Query: SELECT number FROM table_12206918_2 WHERE opponent = "Iran Barkley" |
### 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_56878 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_204_613 (
id number,
"title" text,
"year" number,
"peak chart positions\nus" number,
"peak chart positions\nus\nr&b" number,
"peak chart positions\nus\nrap" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_name_58 (
iata VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IATA of gale o airport?
### Query: SELECT iata FROM table_name_58 WHERE airport = "galeão airport" |
### 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_50 (
year INTEGER,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the latest year with a hometown of san carlos, pangasinan?
### Query: SELECT MAX(year) FROM table_name_50 WHERE hometown = "san carlos, pa... |
### Context: CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE ci... |
### Context: CREATE TABLE table_46691 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which method took place against Chris Herring?
### Que... |
### Context: CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Students_in_Detention (
student_id INTEGER,
detention_id INTEGER,
incident_id INTEGER
)
CREATE TABLE Behavior_Incident (
incident_id INTEGER,
incident_type_code ... |
### Context: CREATE TABLE table_4656 (
"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 away team when the home... |
### Context: CREATE TABLE table_60167 (
"Model" text,
"Screen size" text,
"Bluetooth" text,
"FM transmitter" text,
"Flash" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Does the S90i model have bluetooth?
### Query: SELECT "Bluetooth" FROM table_6... |
### Context: CREATE TABLE table_52332 (
"Pac-12" text,
"Lost" real,
"Tied" real,
"Pct." real,
"Years" real,
"Total Games" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of games tied for teams with under 551 games and ... |
### Context: CREATE TABLE table_170969_2 (
status VARCHAR,
official_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status for Saint George?
### Query: SELECT status FROM table_170969_2 WHERE official_name = "Saint George" |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE microlab (
... |
### Context: CREATE TABLE table_44164 (
"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 position of the player from the college of North Carolina with ... |
### Context: CREATE TABLE table_67920 (
"Program" text,
"Frequency MHz" real,
"ERP kW" real,
"Polarisation" text,
"Antenna Diagram around (ND) / directional (D)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average MHz Frequency of rad... |
### Context: CREATE TABLE table_name_47 (
h_s_asst_principal VARCHAR,
glendale_principal VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the H.S. Asst. principal with a Glendale principal Joyce Brace during 2002-2003?
### Query: SEL... |
### Context: CREATE TABLE table_2140071_7 (
episode VARCHAR,
coach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes have Valerie?
### Query: SELECT COUNT(episode) AS Summary FROM table_2140071_7 WHERE coach = "Valerie" |
### 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 ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
t... |
### Context: CREATE TABLE table_name_60 (
venue VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Venue is in 1994?
### Query: SELECT venue FROM table_name_60 WHERE year = 1994 |
### Context: CREATE TABLE table_14011 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, an... |
### Context: CREATE TABLE table_train_274 (
"id" int,
"gender" string,
"serum_bicarbonate" int,
"randomization_bg" int,
"positive_serum" bool,
"diabetic_ketoacidosis" bool,
"urinary_ketones" bool,
"diastolic_blood_pressure_dbp" int,
"heart_rate" int,
"body_mass_index_bmi" float,
... |
### Context: CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
CREATE TABLE reviewer (
rid number,
name text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE review (
a_id number,
u_id number,
i_id number,
rating number,
rank number
)
CREATE TABLE item (
i_id number,
title text
)
CREATE TABLE useracct (
u_id number,
name text
)
CREATE TABLE trust (
source_u_id number,
target_u_id number,
trust numb... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_71223 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of an athlete that holds a time higher than 53.38?
### Query: SELECT A... |
### Context: CREATE TABLE table_67670 (
"Position" text,
"Player" text,
"County team" text,
"Club team(s)" text,
"Team Number" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many team numbers have john keane as the player?
### Query: SELECT COU... |
### Context: CREATE TABLE table_4665 (
"Player" text,
"Nationality" text,
"Position" text,
"From" text,
"School/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality is the guard from ucla?
### Query: SELECT "Nationality" FROM ta... |
### Context: CREATE TABLE table_name_56 (
driver VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver has a 166 c 500 chassis?
### Query: SELECT driver FROM table_name_56 WHERE chassis = "166 c 500" |
### Context: CREATE TABLE regions (
region_id number,
region_name text
)
CREATE TABLE employees (
employee_id number,
first_name text,
last_name text,
email text,
phone_number text,
hire_date time,
job_id text,
salary number,
commission_pct number,
manager_id number,
... |
### Context: CREATE TABLE table_71379 (
"Polling Firm" text,
"Date" text,
"Link" text,
"PSOE" text,
"Others" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is lead for the Election Results polling firm and has a PSOE of 39.6% 1... |
### Context: CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_name_41 (
losses INTEGER,
byes INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the losses when the byes were less than 0?
### Query: SELECT MIN(losses) FROM table_name_41 WHERE byes < 0 |
### Context: CREATE TABLE table_54616 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are toranosuke takagi's average laps?
### Query: SELECT AVG("Laps") FROM table_5... |
### Context: CREATE TABLE table_204_874 (
id number,
"year" number,
"winner" text,
"runner-up" text,
"final score" text,
"third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who has won the league the most ?
### Query: SELECT "winner" FROM ta... |
### 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 gymnast (
gymnast_id number,
floor_exercise_points number,
pommel_horse_points number,
rings_points number,
vault_points number,
parallel_bars_points number,
horizontal_bar_points number,
total_points number
)
CREATE TABLE people (
people_id number,
nam... |
### Context: CREATE TABLE table_30205 (
"No." real,
"Title" text,
"Lyricist" text,
"Composer" text,
"Arrangement" text,
"Sound Engineer" text,
"Length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which number was the lyricist ahmed metwal... |
### 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_14889048_2 (
points INTEGER,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When a team wins 4, how much is the Maximum amount of points?
### Query: SELECT MAX(points) FROM table_14889048_2 WHERE wins = 4 |
### Context: CREATE TABLE table_2468961_7 (
directed_by VARCHAR,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 123 is the number in series who is the director?
### Query: SELECT directed_by FROM table_2468961_7 WHERE no_in_series = 123 |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE ref_document_types (
document_type_code text,
document_type_name text,
document_type_description text
)
CREATE TABLE accounts (
account_id number,
statement_id number,
account_details text
)
CREATE TABLE documents_with_expenses (
document_id number,
budget_typ... |
### Context: CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_200_7 (
id number,
"afrikaans" text,
"ipa" text,
"dutch" text,
"english" text,
"german" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- translate the following into english : 'n bietjie .
### Query: SELECT "englis... |
### Context: CREATE TABLE table_name_1 (
episode_title VARCHAR,
original_airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode that originally aired on March 31, 2008?
### Query: SELECT episode_title FROM table_name_1 WHERE... |
### Context: CREATE TABLE table_8477 (
"Election" real,
"Candidate" text,
"Number of votes" text,
"Share of votes" text,
"Outcome of election" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earlest election with a 0.9% share of votes?
#... |
### Context: CREATE TABLE table_name_31 (
score VARCHAR,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is T7 Place Player Justin Leonard's Score?
### Query: SELECT score FROM table_name_31 WHERE place = "t7" AND player = "jus... |
### 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(1... |
### Context: CREATE TABLE table_19630743_2 (
to_par VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many to par has the winning score of 69-66-68=203.
### Query: SELECT to_par FROM table_19630743_2 WHERE winning_score = 69 - 66 - 6... |
### Context: CREATE TABLE Student_Tests_Taken (
registration_id INTEGER,
date_test_taken DATETIME,
test_result VARCHAR(255)
)
CREATE TABLE Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Student_Course_Enrolment (
registration_id INTEGER,
student_id INTEGER,
cou... |
### Context: CREATE TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_count INTEGER,
bedroom_count INTEGER,
room_count CHAR(5)
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER... |
### Context: CREATE TABLE table_name_45 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Venue, when Date is '7 September'?
### Query: SELECT venue FROM table_name_45 WHERE date = "7 september" |
### 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 circuits (
circuitId INTEGER,
circuitRef TEXT,
name TEXT,
location TEXT,
country TEXT,
lat REAL,
lng REAL,
alt TEXT,
url TEXT
)
CREATE TABLE constructors (
constructorId INTEGER,
constructorRef TEXT,
name TEXT,
nationality TEXT,
url TEXT... |
### Context: CREATE TABLE table_15187735_11 (
segment_b VARCHAR,
series_ep VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In seris episode 11-04, what is the B segment titled?
### Query: SELECT segment_b FROM table_15187735_11 WHERE series_ep = "11-04" |
### Context: CREATE TABLE table_38405 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many silver medals does China have?
### Query: SELECT COUNT("Silver") FROM... |
### Context: CREATE TABLE table_74103 (
"Status" text,
"2001 number (,000)" real,
"2001 %" text,
"2011 number (,000)" real,
"2011 %" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest 2011 number (,000)?
### Query: SELECT MIN("2011 n... |
### Context: CREATE TABLE table_44913 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the grid for the driver with an electrical time/retired and 51 laps?
### Query: SELE... |
### Context: CREATE TABLE domain_conference (
cid int,
did int
)
CREATE TABLE author (
aid int,
homepage varchar,
name varchar,
oid int
)
CREATE TABLE publication (
abstract varchar,
cid int,
citation_num int,
jid int,
pid int,
reference_num int,
title varchar,
... |
### Context: CREATE TABLE table_21676617_1 (
odds_of_winner VARCHAR,
horse VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were Gentleman's odds of winner?
### Query: SELECT odds_of_winner FROM table_21676617_1 WHERE horse = "Gentleman" |
### Context: CREATE TABLE table_name_26 (
place VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Place has a To par smaller than 15, and a Score of 74-74-74-75=297?
### Query: SELECT place FROM table_name_26 WHERE to_p... |
### Context: CREATE TABLE table_52018 (
"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 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 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_26351260_1 (
team_nickname VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Kent State University's team nickname?
### Query: SELECT team_nickname FROM table_26351260_1 WHERE institution = "Kent Sta... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ... |
### 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 mzb (
CLINIC_ID 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,
INSURED_STS text,
INSU_TYPE... |
### 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 lab (
... |
### Context: CREATE TABLE table_77782 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Decision listed when the Home was Colorad... |
### Context: CREATE TABLE table_name_53 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 value with a 2r in 2012 and 1r in 2002?
### Query: SELECT 2007 FROM table_name_53 WHERE 2012 = "2r" AND 2002 = "1r" |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### 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_14160 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time of the match with a Record of 3-3?
###... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.