text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_44714 (
"Team" text,
"Average" real,
"Points" real,
"Played" real,
"2006" text,
"2007" text,
"2008" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Points, when Played is greater than 126?
... |
### Context: CREATE TABLE table_58283 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When there are more than 12 total medals and less than 5 gold medals, how many ... |
### Context: CREATE TABLE table_56044 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the team with 1 bronze and 0 gold medals?
### Query: SELEC... |
### Context: CREATE TABLE table_42557 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Set 4" text,
"Set 5" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the set 5 if the Date is jun 7, and a... |
### Context: CREATE TABLE table_name_92 (
game INTEGER,
decision VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first game in which Weekes scored the decision goal and the record was 7-4-2?
### Query: SELECT MIN(game) FROM 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 table_204_741 (
id number,
"rank" number,
"name" text,
"nationality" text,
"1,62" text,
"1,67" text,
"1,72" text,
"1,75" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what name is just before ... |
### Context: CREATE TABLE table_name_55 (
bronze VARCHAR,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When there are more than 12 total medals and less than 5 gold medals, how many bronze medals are there?
### Query: SELECT COUNT(... |
### Context: CREATE TABLE table_34559 (
"Year" text,
"Team" text,
"Progress" text,
"Score" text,
"Opponents" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has Opponents of valencia, and a Year of 2011 12?
### Query: SELECT "Score" FROM... |
### Context: CREATE TABLE table_47535 (
"Frequency" text,
"Call sign" text,
"Location" text,
"Name / Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Location has a Call sign of cjtw-fm?
### Query: SELECT "Location" FROM t... |
### Context: CREATE TABLE table_name_70 (
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality has jon koncak as the player?
### Query: SELECT nationality FROM table_name_70 WHERE player = "jon koncak" |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback in... |
### Context: CREATE TABLE table_name_77 (
d_50 VARCHAR,
d_43 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D 50 when the D 43 is r 43?
### Query: SELECT d_50 FROM table_name_77 WHERE d_43 = "r 43" |
### Context: CREATE TABLE table_name_14 (
supercopa_1996 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What racing club team made supercopa 1996?
### Query: SELECT supercopa_1996 FROM table_name_14 WHERE team = "racing club" |
### Context: CREATE TABLE table_61070 (
"Match Day" real,
"Date" text,
"Opponent" text,
"Venue" text,
"Score" text,
"Attendance" real,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on 12 May, when the match day... |
### Context: CREATE TABLE submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_name_55 (
endowment_as_of_2008 VARCHAR,
established VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the endowment in 2008 of the college that was established in 1961?
### Query: SELECT endowment_as_of_2008 FROM table_... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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 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_35799 (
"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 lowest against value w... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDat... |
### Context: CREATE TABLE table_25058269_1 (
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In season 2005 06, who is 3rd place?
### Query: SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005–06" |
### Context: CREATE TABLE table_name_17 (
years_for_jazz VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which years have a School/Club Team of colorado state?
### Query: SELECT years_for_jazz FROM table_name_17 WHERE school_club_te... |
### Context: CREATE TABLE table_57309 (
"Rank" real,
"English title" text,
"Chinese title" text,
"Average" real,
"Peak" real,
"Premiere" real,
"Finale" real,
"HK viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Chinese Title ... |
### Context: CREATE TABLE table_name_4 (
year VARCHAR,
points VARCHAR,
wins VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of years for wins less than 2 and class of 50cc with points of 15
### Query: SELECT CO... |
### Context: CREATE TABLE table_38816 (
"Year" real,
"Tournament" text,
"Winner" text,
"Country" text,
"Score" text,
"To par" text,
"Margin of victory" text,
"Winner's share ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ... |
### Context: CREATE TABLE table_32457 (
"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.
-- Who is the home team that scored 14... |
### Context: CREATE TABLE table_11677691_6 (
hometown VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is lincoln high school located?
### Query: SELECT hometown FROM table_11677691_6 WHERE school = "Lincoln High school" |
### Context: CREATE TABLE table_name_30 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date where the away team is Richmond?
### Query: SELECT date FROM table_name_30 WHERE away_team = "richmond" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
... |
### Context: CREATE TABLE table_68148 (
"Championship" text,
"Champion(s)" text,
"Previous champion(s)" text,
"Date Won" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the champion of the title previously held by Lash?
### Q... |
### Context: CREATE TABLE table_34996 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What home has February 10 as the date?
### Query: SE... |
### Context: CREATE TABLE table_15221 (
"Team" text,
"Car(s)" text,
"Driver(s)" text,
"Primary Sponsor(s)" text,
"Owner(s)" text,
"Crew Chief" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What crew chief has an owner name Jack Roush and driver... |
### Context: CREATE TABLE table_13758243_1 (
draft_year INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was jerry marion drafted?
### Query: SELECT MAX(draft_year) FROM table_13758243_1 WHERE player = "Jerry Marion" |
### 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 countries (
... |
### Context: CREATE TABLE APPELLATIONS (
Appelation VARCHAR,
County VARCHAR
)
CREATE TABLE WINE (
Appelation VARCHAR
)
CREATE TABLE wine (
price INTEGER,
Appelation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the average price of wines ... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE apartment_facilities (
apt_id number,
facility_code text
)
CREATE TABLE apartments (
apt_id number,
building_id number,
apt_type_code text,
apt_number text,
bathroom_count number,
bedroom_count number,
room_count text
)
CREATE TABLE guests (
guest_id n... |
### Context: CREATE TABLE table_45961 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament had Richard Krajicek as a finalist?... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
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,
JS... |
### Context: CREATE TABLE table_27821519_1 (
manufacturer VARCHAR,
no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the manufacturer is no.50?
### Query: SELECT manufacturer FROM table_27821519_1 WHERE no = 50 |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE table_74614 (
"Player" text,
"Nationality" text,
"Position" text,
"From" text,
"School/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position was for Arizona State?
### Query: SELECT "Position" FROM table_74... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 ... |
### Context: CREATE TABLE table_203_510 (
id number,
"township" text,
"fips" number,
"population\ncenter" text,
"population" number,
"population\ndensity\n(/mi2)" number,
"population\ndensity\n(/km2)" number,
"land area\n(mi2)" number,
"land area\n(km2)" number,
"water area\n(mi2... |
### Context: CREATE TABLE table_name_18 (
start VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the start of lap 55?
### Query: SELECT start FROM table_name_18 WHERE laps = 55 |
### Context: CREATE TABLE Document_Locations (
Document_ID INTEGER,
Location_Code CHAR(15),
Date_in_Location_From DATETIME,
Date_in_Locaton_To DATETIME
)
CREATE TABLE Documents_to_be_Destroyed (
Document_ID INTEGER,
Destruction_Authorised_by_Employee_ID INTEGER,
Destroyed_by_Employee_ID INT... |
### Context: CREATE TABLE table_60821 (
"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.
-- How much Ekstraklasa has a Total small... |
### 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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,... |
### Context: CREATE TABLE table_71021 (
"Draw" real,
"Artist" text,
"Song" text,
"Votes" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average place for the song called 'homme' that has voes larger than 1320?
### Query: S... |
### 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 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_31359 (
"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_31882 (
"Tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the 2008 for 2012 of 4r and 2009 of a
### Query: SELECT "2008" FROM tab... |
### Context: CREATE TABLE table_1751142_2 (
level INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest possible level?
### Query: SELECT MAX(level) FROM table_1751142_2 |
### Context: CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
... |
### Context: CREATE TABLE table_43545 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which week was the attendance 47,218?
### Query: SELECT SUM("Week") FROM table_43545 WH... |
### Context: CREATE TABLE table_43832 (
"Team" text,
"Manager" text,
"Home city" text,
"Stadium" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home city when Mladen Fran i is the manager?
### Query: SELECT "Home city" ... |
### Context: CREATE TABLE table_67541 (
"Week" real,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Set 4" text,
"Set 5" text,
"Volume Lbs." real,
"Peak Intensity(Last Set)" text,
"% of 1 Rep Max(Last Set)" text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### 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_22181917_2 (
original_air_date VARCHAR,
season__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many original airdates did season 20 have?
### Query: SELECT COUNT(original_air_date) FROM table_22181917_2 WHERE seaso... |
### Context: CREATE TABLE table_32785 (
"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 which date was St Kilda the home... |
### Context: CREATE TABLE table_76541 (
"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 was the surface for finalist Justine Henin?
### Query: S... |
### Context: CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,0)
)
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept... |
### Context: CREATE TABLE table_43375 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Set 4" text,
"Set 5" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for Set 5 when the Total was 77 - ... |
### Context: CREATE TABLE market (
market_id number,
country text,
number_cities number
)
CREATE TABLE film (
film_id number,
title text,
studio text,
director text,
gross_in_dollar number
)
CREATE TABLE film_market_estimation (
estimation_id number,
low_estimate number,
hi... |
### 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_12321870_32 (
goals VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals were scored by the player who played 17 matches?
### Query: SELECT goals FROM table_12321870_32 WHERE matches = "17" |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnsw... |
### Context: CREATE TABLE Staff (
Staff_ID INTEGER,
Staff_Details VARCHAR(255)
)
CREATE TABLE Customers (
Customer_ID INTEGER,
Customer_Details VARCHAR(255)
)
CREATE TABLE Claim_Headers (
Claim_Header_ID INTEGER,
Claim_Status_Code CHAR(15),
Claim_Type_Code CHAR(15),
Policy_ID INTEGER,
... |
### Context: CREATE TABLE table_16467 (
"No. in season" real,
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wr... |
### Context: CREATE TABLE table_name_37 (
top_25 VARCHAR,
cuts_made VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total number of Top-25 values, for which Cuts made was 62, and for which Wins were less than 1?
### Query: SELE... |
### Context: CREATE TABLE table_58134 (
"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.
-- When the Away team had a score of 1... |
### Context: CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
-- Using valid SQLite, answer the following quest... |
### 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE table_66778 (
"Counting Method" text,
"Basis" text,
"Name" text,
"Directed / Undirected" text,
"Induced / Non-Induced" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the algorithm with a directed/undirec... |
### Context: CREATE TABLE table_56421 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date where the attendance was 31,220?
### Query: SELECT "Dat... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icu... |
### 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_name_67 (
score VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when the NY Islanders was the visiting team?
### Query: SELECT score FROM table_name_67 WHERE visitor = "ny islanders" |
### Context: CREATE TABLE table_38450 (
"Game" real,
"March" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which Record is on March of 12
### Query: SELECT "Record" FROM table_38450 WHERE "March" = '12... |
### Context: CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required va... |
### Context: CREATE TABLE table_203_385 (
id number,
"material" text,
"formula" text,
"refractive\nindex(es)\n589.3 nm" text,
"dispersion\n431 - 687 nm" number,
"hardness\n(mohs'\nscale)" text,
"density\n(g/cm3)" text,
"thermal\ncond." text,
"state of\nthe art" text
)
-- Using vali... |
### Context: CREATE TABLE table_1341865_11 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party did Don Fuqua belong to?
### Query: SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua" |
### Context: CREATE TABLE table_80419 (
"Year" text,
"Carries" real,
"Rushing Yards" real,
"Average" real,
"Touchdowns" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most number of touchdowns that have fewer than 105 ... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_42860 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the option from Italy with general televisi... |
### Context: CREATE TABLE table_20361783_1 (
womens_doubles VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won womens doubles in 2010
### Query: SELECT womens_doubles FROM table_20361783_1 WHERE year = 2010 |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
J... |
### 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_name_88 (
bats VARCHAR,
first VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many bats does Todd have?
### Query: SELECT bats FROM table_name_88 WHERE first = "todd" |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE PostHistoryTypes (
Id number... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatmen... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time... |
### Context: CREATE TABLE table_41084 (
"Airline" text,
"Fleet Size" real,
"Notes" text,
"IOSA (IATA)" text,
"EASA (EU)" text,
"IASA (FAA)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- hat is the Airline when the EASA (EU) is yes?
### Query: ... |
### Context: CREATE TABLE table_name_76 (
name__english_ VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the English Name of the Location in Chester?
### Query: SELECT name__english_ FROM table_name_76 WHERE location = "chester" |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
... |
### Context: CREATE TABLE table_45947 (
"Ethnicity" text,
"Islam" text,
"Christianity" text,
"Judaism" text,
"Buddhism" text,
"Other" text,
"Atheism" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of Judaism associated... |
### Context: CREATE TABLE table_15888 (
"Season" real,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text,
"Draft Pick #" text,
"Draft Class" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.