text stringlengths 197 8.39k |
|---|
### 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_icd_procedures (
row_id number,
icd9_cod... |
### Context: CREATE TABLE table_204_418 (
id number,
"date" text,
"opponent" text,
"score" text,
"overall record" text,
"scba record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games were played in total ?
### Query: SELECT COUNT(*... |
### Context: 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
... |
### Context: CREATE TABLE table_204_442 (
id number,
"institution" text,
"location" text,
"enrollment" number,
"nickname" text,
"varsity\nsports" number,
"rugby\nsince" text,
"head coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wh... |
### Context: CREATE TABLE table_name_29 (
league_division VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What League/Division has a Location of n/a?
### Query: SELECT league_division FROM table_name_29 WHERE location = "n/a" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
... |
### Context: CREATE TABLE table_75478 (
"Year" text,
"Overall Record" text,
"Conference Record" text,
"Coach" text,
"Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the conference record for the year of 1971?
### Query: SELECT "C... |
### 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 table_47224 (
"Player" text,
"Nationality" text,
"Jersey Number(s)" text,
"Position" text,
"Years" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years were from Connecticut?
### Query: SELECT "Years"... |
### Context: CREATE TABLE table_name_75 (
message VARCHAR,
designation_hd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What message has hd 186408 as a designation HD?
### Query: SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408" |
### Context: CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
building_address VARCHAR(255),
building_manager VARCHAR(50),
building_phone VARCHAR(80)
)
CREATE TABLE Apartment_Bookings (
... |
### 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 table_name_21 (
value__ VARCHAR,
team VARCHAR,
revenue__$m_ VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of value for revenue more than 193 and rank less than 12 for manchester united
#... |
### 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_49867 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team had a score of 85-101?
### Query:... |
### 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 CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTasks... |
### Context: CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
... |
### Context: CREATE TABLE table_25437 (
"Edition" text,
"Round" text,
"Date" text,
"Against" text,
"Surface" text,
"Opponent" text,
"W\u2013L" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent for 3 6, 4 6, ... |
### 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id number,
subject_id... |
### Context: CREATE TABLE table_name_86 (
high_rebounds VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is High Rebounds, when High Assists is 'Delonte West (10)'?
### Query: SELECT high_rebounds FROM table_name_86 WHERE high_assis... |
### Context: CREATE TABLE Movie (
mID VARCHAR,
year VARCHAR
)
CREATE TABLE Rating (
mID VARCHAR,
stars VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find all years that have a movie that received a rating of 4 or 5, and sort them in increasing orde... |
### 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 table_77939 (
"Player" text,
"Date of Birth" text,
"Batting Style" text,
"Bowling Style" text,
"First Class Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What first class team does sanath jayasuriya play for?
### Qu... |
### Context: CREATE TABLE table_23315 (
"Verbs" text,
"Yo" text,
"T\u00fa" text,
"Vos (*)" text,
"\u00c9l / Ella / Usted" text,
"Nosotros / Nosotras" text,
"Vosotros / Vosotras" text,
"Ellos / Ellas / Ustedes" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_203_530 (
id number,
"country" text,
"gdp (usd bln, 2012)" number,
"gdp (usd bln, 2017)" number,
"gdp (usd ppp bln, 2012)" number,
"gdp (usd ppp bln, 2017)" number,
"per capita (usd, 2012)" number,
"per capita (usd, 2017)" number,
"per capita (usd ppp,... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
rout... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
... |
### Context: CREATE TABLE ref_attraction_types (
attraction_type_code text,
attraction_type_description text
)
CREATE TABLE features (
feature_id number,
feature_details text
)
CREATE TABLE tourist_attraction_features (
tourist_attraction_id number,
feature_id number
)
CREATE TABLE staff (
... |
### Context: CREATE TABLE table_name_59 (
representative VARCHAR,
termination_of_mission VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which representative has a Termination of MIssion date Mar 25, 1976?
### Query: SELECT representative FROM table_name_59 ... |
### Context: CREATE TABLE table_name_19 (
country VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is ranked 79?
### Query: SELECT country FROM table_name_19 WHERE rank = 79 |
### Context: 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,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_49483 (
"Rifle" text,
"Danish Krag-J\u00f8rgensen 1889" text,
"US Krag-J\u00f8rgensen M1892" text,
"Norwegian Krag-J\u00f8rgensen M1894" text,
"Japanese Type 38 Rifle" text,
"German Gewehr 98" text,
"British Lee-Enfield (data for late model)" text
)
-- Using... |
### Context: CREATE TABLE table_52028 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Year for Jazz club of Houston?
### Query: SELECT "Years... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostHistory (
Id n... |
### Context: CREATE TABLE addresses (
address_id number,
line_1 text,
line_2 text,
city text,
zip_postcode text,
state_province_county text,
country text
)
CREATE TABLE people_addresses (
person_address_id number,
person_id number,
address_id number,
date_from time,
date... |
### Context: CREATE TABLE table_204_822 (
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.
-- which country won the same amount of medals as bulga... |
### Context: CREATE TABLE table_204_620 (
id number,
"title" text,
"year" number,
"language" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what title is before dhol in 2007 ?
### Query: SELECT "title" FROM table_204_... |
### Context: CREATE TABLE table_19041 (
"Episode" text,
"Original Air Date" text,
"Viewers (millions)" text,
"Presenter" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was held the ceremony for the 12th Pride of Britain Awards... |
### Context: CREATE TABLE table_name_62 (
language VARCHAR,
music_director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language does Raj Kamal speak?
### Query: SELECT language FROM table_name_62 WHERE music_director = "raj kamal" |
### Context: CREATE TABLE table_76279 (
"Season" real,
"Date" text,
"Winner" text,
"Score [C ]" text,
"Venue" text,
"Competition round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue had an event on 17 November 1963?
### Query: SELEC... |
### Context: CREATE TABLE table_66188 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of the Ameritech Senior Open?
### Query: SELECT "... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
A... |
### 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_67362 (
"Name" text,
"Species Authority" text,
"Order" text,
"Family" text,
"Red List" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Red List for the muridae family and species Authority of microt... |
### Context: CREATE TABLE table_12911 (
"Elector" text,
"Nationality" text,
"Order" text,
"Title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Elevator has a Title of bishop of palestrina?
### Query: SE... |
### Context: CREATE TABLE photos (
id int,
camera_lens_id int,
mountain_id int,
color text,
name text
)
CREATE TABLE mountain (
id int,
name text,
Height real,
Prominence real,
Range text,
Country text
)
CREATE TABLE camera_lens (
id int,
brand text,
name text,
... |
### Context: CREATE TABLE Person (
name VARCHAR,
gender VARCHAR,
age INTEGER
)
CREATE TABLE person (
name VARCHAR,
gender VARCHAR,
age INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the youngest male?
### Query: SELECT name FROM Pers... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id num... |
### 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_5943 (
"Draw" real,
"Artist" text,
"Song" text,
"Jury" real,
"Televote" real,
"Total" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Place is the highest one that has an Artist of nikolas m... |
### Context: CREATE TABLE table_name_65 (
name VARCHAR,
constituency_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the name of Constituency number 108?
### Query: SELECT name FROM table_name_65 WHERE constituency_number = "108" |
### Context: CREATE TABLE table_54910 (
"Rd #" real,
"Pick #" real,
"Player" text,
"Team (League)" text,
"Reg GP" real,
"Pl GP" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Steve Hazlett is the Player, and the PI GP is under 0, what is th... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE transfers (
r... |
### Context: CREATE TABLE albums (
aid number,
title text,
year number,
label text,
type text
)
CREATE TABLE instruments (
songid number,
bandmateid number,
instrument text
)
CREATE TABLE band (
id number,
firstname text,
lastname text
)
CREATE TABLE performance (
song... |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: 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,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_221315_3 (
usaf_space_flights VARCHAR,
max_speed__mph_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were all USAF space flights when the aximum speed was 3822?
### Query: SELECT usaf_space_flights FROM table_221315_3 W... |
### Context: CREATE TABLE table_29501 (
"Number" real,
"Player" text,
"Position" text,
"Seasons by team" text,
"Year of induction into Pro Football Hall of Fame" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Will Shields inducted into the ... |
### 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... |
### Context: CREATE TABLE table_54414 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick number attended McMaster College?
### Query: SELECT "Pick #" FROM table_5441... |
### Context: CREATE TABLE table_name_51 (
metres VARCHAR,
feet INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Metres wiht a Feet that's smaller than 196?
### Query: SELECT COUNT(metres) FROM table_name_51 WHERE feet < 196 |
### Context: CREATE TABLE table_55689 (
"Season" real,
"Series Name" text,
"Champion" text,
"Team Champion" text,
"Secondary Class Champion" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the seasons where Marcello Puglisi (formula master i... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE qtb (
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 t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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,
I... |
### Context: CREATE TABLE table_6019 (
"Year" real,
"Artist" text,
"Title" text,
"Genre" text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year was cryptogramophon released
### Query: SELECT "Year" FROM table_6019 WHERE "Label" = 'c... |
### 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_79109 (
"Round" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round on 30 June with a.z.k./roc-comp tition a.z.k./roc-comp tition a... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_37692 (
"Rank" text,
"Urban sub-area" text,
"Population" text,
"Status" text,
"Council area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the urban sub-area with an East Dunbartonshire council area and a pop... |
### Context: CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier te... |
### 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 mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
Dele... |
### Context: CREATE TABLE table_51383 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Total is less than 1, and Bronze is 0, how many Gold medals are there?... |
### Context: CREATE TABLE table_name_40 (
game INTEGER,
march VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- March of 29 involves what highest scoring game?
### Query: SELECT MAX(game) FROM table_name_40 WHERE march = 29 |
### Context: CREATE TABLE table_72086 (
"No. in set" real,
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The episode with... |
### Context: CREATE TABLE table_19423 (
"State/UT Code" real,
"India/State/UT" text,
"Literate Persons (%)" text,
"Males (%)" text,
"Females (%)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of females where in India and are... |
### Context: CREATE TABLE county_public_safety (
county_id number,
name text,
population number,
police_officers number,
residents_per_officer number,
case_burden number,
crime_rate number,
police_force text,
location text
)
CREATE TABLE city (
city_id number,
county_id numb... |
### Context: CREATE TABLE table_50536 (
"Season" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the skip that has a third of Anna Sloan in season 2012-13?
### Query: SELECT "Skip" FROM ... |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE table_name_12 (
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the time/retired for grid of 24
### Query: SELECT time_retired FROM table_name_12 WHERE grid = 24 |
### Context: CREATE TABLE table_38310 (
"Start month" text,
"End month" text,
"Cover" text,
"Spine" text,
"Indicia" text,
"Masthead" text,
"Number of issues" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which spine has 12 issues?
### Quer... |
### Context: CREATE TABLE table_32109 (
"Year" real,
"Play" text,
"Role" text,
"Theatre" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the lowest year for shubert theatre
### Query: SELECT MIN("Year") FROM table_32109 WHER... |
### Context: CREATE TABLE table_11250_4 (
top_division_titles INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least top division titles?
### Query: SELECT MIN(top_division_titles) FROM table_11250_4 |
### 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_43511 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round has an opponent of Freiburg?
### Query: SELECT "Round" FROM... |
### Context: CREATE TABLE table_11104 (
"Suburb" text,
"Population (in 2008)" real,
"Median age (in 2006)" text,
"Mean household size (in 2006)" text,
"Area (km\u00b2)" real,
"Density (/km\u00b2)" real,
"Date first settled as a suburb" real,
"Gazetted as a Division Name" text
)
-- Usin... |
### Context: CREATE TABLE table_name_4 (
position VARCHAR,
years_for_rockets VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the years 1992-93, what position did he play for the Houston Rockets?
### Query: SELECT position FROM table_name_4 WHERE years_fo... |
### Context: CREATE TABLE table_23308178_8 (
points INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number of points they had?
### Query: SELECT MAX(points) FROM table_23308178_8 |
### 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 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_10315 (
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of Bronze for futsal
### Query: SELECT COUNT("Bronze") FROM table_10315... |
### Context: CREATE TABLE table_18373863_2 (
year_drafted INTEGER,
years_played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 2005 is the year played what is the lowest year drafted?
### Query: SELECT MIN(year_drafted) FROM table_18373863_2 WHERE year... |
### 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 table_59025 (
"Stage" text,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Points Classification" text,
"Sprints classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_19156 (
"High School" text,
"Type" text,
"Established" real,
"Enrollment" real,
"Mascot" text,
"WIAA Classification" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was Mount Tahoma establish... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.