text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_67 (
player VARCHAR,
position VARCHAR,
club_province VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player Munster from Munster is a fly-half?
### Query: SELECT player FROM table_name_67 WHERE position = "fly-h... |
### 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 station (
id number,
name text,
lat number,
long number,
dock_count number,
city text,
installation_date text
)
CREATE TABLE status (
station_id number,
bikes_available number,
docks_available number,
time text
)
CREATE TABLE weather (
date tex... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_26998135_2 (
outgoing_manager VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the outgoing manager for the team kas mpa a?
### Query: SELECT outgoing_manager FROM table_26998135_2 WHERE team = "Kasımpaşa" |
### Context: CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE geographic (
city_name varchar,
county varchar,
region varchar
)
CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varchar,
rating "decimal
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varcha... |
### Context: CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE repair (
repair_ID int,
name text,
Launch_Date text,
Notes text
)
CREATE TABLE repair_assignment (
technician_id int,
repair_ID int,
Machine_ID in... |
### Context: CREATE TABLE table_9662 (
"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.
-- Which Home team has a Tie no of replay, a Date of 19 november 1985, and an Away team of tra... |
### Context: CREATE TABLE table_name_3 (
points VARCHAR,
year VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points were there before 1979 with a ferrari 312b2 chassis?
### Query: SELECT points FROM table_name_3 WHERE year < 19... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
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_i... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE table_29336 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_52275 (
"Race Title" text,
"Circuit" text,
"City / State" text,
"Date" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner for the Winton Motor Raceway circuit?
### Query... |
### Context: CREATE TABLE table_34076 (
"Track number" real,
"Song title" text,
"Songwriter(s)" text,
"Orchestra" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the songwriter for track number 12
### Query: SELECT "Songwriter(s)" ... |
### Context: CREATE TABLE table_77689 (
"Player" text,
"Shoots" text,
"Acquired" real,
"Place of Birth" text,
"Joined from" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who acquired tom norton?
### Query: SELECT "Acquired" FROM table_77689 WHERE ... |
### Context: CREATE TABLE table_8184 (
"Club" text,
"Sport" text,
"Founded" real,
"League" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Venue has a Club of west bromwich albion?
### Query: SELECT "Venue" FROM table_8184 WHERE ... |
### Context: CREATE TABLE table_18349 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the candidates for texas 20
### Query: SELECT "Candid... |
### Context: CREATE TABLE table_204_911 (
id number,
"album / name" text,
"artist(s)" text,
"label" text,
"role/credit" text,
"date" text,
"chart#" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the top album name ?
### Query: SELEC... |
### Context: CREATE TABLE table_51992 (
"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 lowest amount of bronze Liechtenstein, who has more than 11 gold, has?
### Query: S... |
### Context: CREATE TABLE table_31438 (
"model" text,
"Sonnet" text,
"Apple" text,
"NUpowr 117" text,
"NUpowr 167" text,
"NUpowr 183" text,
"NUpowr G3" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 0,4, or 8 mb is the nupowr 117 what i... |
### 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_203_126 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who did ohio state play before indiana on october 23 ... |
### 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_10 (
area_km_2 INTEGER,
population VARCHAR,
status VARCHAR,
census_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area (in km2) for the community that has a status of village, a census ranking ... |
### Context: CREATE TABLE table_55235 (
"Match" real,
"Date" text,
"Competition or tour" text,
"Ground" text,
"Opponent" text,
"Score1" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the competition of friendly, at match 7?
... |
### Context: CREATE TABLE table_12808 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Player's Score is 69-71-69=208?
### Query: SELECT "Player" FROM table_12808 WHERE "Score... |
### 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 table_name_92 (
tv_network_s_ VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of Bulgaria's TV network?
### Query: SELECT tv_network_s_ FROM table_name_92 WHERE country = "bulgaria" |
### Context: CREATE TABLE table_23285849_10 (
score VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When j.r. smith (26) has the highest amount of points what is the score?
### Query: SELECT score FROM table_23285849_10 WHERE high_points... |
### Context: CREATE TABLE table_name_19 (
date VARCHAR,
loss VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of A. Benes loss to the Rockies?
### Query: SELECT date FROM table_name_19 WHERE loss = "a. benes" AND oppone... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_43684 (
"Class" text,
"Team" text,
"Driver" text,
"Chassis \u2013 Engine" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class had Stanley Dickens as a driver?
### Query: SELECT "Class" FROM table_... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit te... |
### Context: CREATE TABLE table_30269 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college did the player who was drafted by Calgary go to?
### Query: SELECT "Colleg... |
### Context: CREATE TABLE table_72392 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the district for tim lee hall
### Query: SELECT "Dist... |
### Context: CREATE TABLE table_71059 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which place is Emmet French?
### Query: SELECT "Place" FROM table_71059 WHERE "Player" = '... |
### Context: CREATE TABLE table_21088 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" text,
"Year named" real,
"Name origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the name of 36.0n
### Query: SELECT "Name" FROM t... |
### Context: CREATE TABLE table_53042 (
"Round" real,
"Pick" real,
"Player" text,
"Nationality" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick's player was Marc Lewis (lhp)?
### Query: SELECT "Pick" FROM table_53042 WHERE ... |
### 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 patient ... |
### Context: CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int
)
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Tick... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### Context: CREATE TABLE table_name_87 (
name_v_t_e VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the player from club pro recco?
### Query: SELECT name_v_t_e FROM table_name_87 WHERE club = "pro recco" |
### Context: CREATE TABLE table_name_30 (
silver VARCHAR,
nation VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many silvers have a Nation of hungary, and a Rank larger than 10?
### Query: SELECT COUNT(silver) FROM table_name_30 WHERE ... |
### Context: CREATE TABLE table_name_36 (
zaaps___ziips VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For Model e64 what is the zAAPs/zIIPs?
### Query: SELECT zaaps___ziips FROM table_name_36 WHERE model = "e64" |
### Context: CREATE TABLE table_21501564_1 (
theme VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks featured duffy as the original artist?
### Query: SELECT COUNT(theme) FROM table_21501564_1 WHERE original_artist = "Du... |
### Context: CREATE TABLE table_name_31 (
release_date VARCHAR,
catalogue VARCHAR,
recorded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the cataglogue EPA 4054 released with a 1/12/57 recorded?
### Query: SELECT release_date FROM table_name_... |
### Context: CREATE TABLE table_name_92 (
country VARCHAR,
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Score of 69, and a Player of mick soli?
### Query: SELECT country FROM table_name_92 WHERE score = 69 AND... |
### Context: CREATE TABLE table_67360 (
"Image" real,
"Smith" text,
"Ashmolean" real,
"Foster" real,
"Hahland" real,
"Dinsmoor" text,
"Hofkes-Brukker" text,
"Harrison" text,
"Cooper" text,
"BM/Corbett" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_name_73 (
bronze INTEGER,
nation VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Bronze, when Nation is 'South Africa', and when Total is less than 20?
### Query: SELECT MAX(bronze) FROM ... |
### Context: CREATE TABLE table_8794 (
"Rank" real,
"City" text,
"Population" real,
"Country" text,
"Area (km\u00b2)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rank had a population of 7,069,000?
### Query: SELECT COUNT("Rank") FROM tabl... |
### Context: CREATE TABLE table_203_216 (
id number,
"rank" number,
"hospital" text,
"city" text,
"county" text,
"# beds" number,
"type of hospital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what hospital in los angeles county providing... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
... |
### Context: CREATE TABLE airlines (
alid integer,
name text,
iata varchar(2),
icao varchar(3),
callsign text,
country text,
active varchar(2)
)
CREATE TABLE airports (
apid integer,
name text,
city text,
country text,
x real,
y real,
elevation bigint,
iata c... |
### Context: CREATE TABLE table_78113 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Res has a Method of decision (un... |
### Context: CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
Work_Type text
)
CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Eve... |
### Context: CREATE TABLE member (
member_id number,
card_number text,
name text,
hometown text,
level number
)
CREATE TABLE membership_register_branch (
member_id number,
branch_id text,
register_year text
)
CREATE TABLE purchase (
member_id number,
branch_id text,
year te... |
### Context: CREATE TABLE accounts (
account_id number,
customer_id number,
account_name text,
other_account_details text
)
CREATE TABLE customers (
customer_id number,
customer_first_name text,
customer_last_name text,
customer_address text,
customer_phone text,
customer_email ... |
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_prerequisite (
p... |
### Context: CREATE TABLE table_52191 (
"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 was the home team at Princes Pa... |
### Context: CREATE TABLE table_name_67 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament had the result of a W in 2009?
### Query: SELECT tournament FROM table_name_67 WHERE 2009 = "w" |
### Context: CREATE TABLE table_1342198_18 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the candidate wehre district is louisiana 1?
### Query: SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 1" |
### Context: CREATE TABLE table_76658 (
"Season" text,
"Series" text,
"Team Name" text,
"Races" text,
"Wins" text,
"Poles" text,
"F.L." text,
"Podiums" text,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_2517159_1 (
last_appearance VARCHAR,
name_of_bowl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the last appearance for music city bowl
### Query: SELECT last_appearance FROM table_2517159_1 WHERE name_of_bowl = "Music ... |
### Context: CREATE TABLE table_6029 (
"National team" text,
"Club" text,
"Season" text,
"Apps" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Season does the Internazionale Club have more than 2 Apps?
### Query: SELECT "Seaso... |
### Context: CREATE TABLE table_47299 (
"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 for the home team wigan athletic?
### Query: SELECT "Away team" FRO... |
### Context: CREATE TABLE table_36659 (
"Season" real,
"Driver" text,
"Team" text,
"Tyre" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team won after 2008?
### Query: SELECT "Team" FROM table_36659 WHERE "Season" > '2008' |
### Context: CREATE TABLE table_9092 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record with the opponent as... |
### Context: CREATE TABLE table_71015 (
"Competing entities" text,
"First held" real,
"Current holder" text,
"Next" text,
"Held every" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Competing entities that has the First held smal... |
### Context: CREATE TABLE table_14999 (
"No.1" text,
"No.2" text,
"No.3" text,
"No.4" text,
"No.5" text,
"No.6" text,
"No.7" text,
"No.8" text,
"No.9" text,
"No.10" text,
"FINAL" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE table_57846 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who built the grid 2 car?
### Query: SELECT "Constructor" FROM table_57846 WHERE "Gri... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### 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_8870 (
"Name" text,
"Nationality" text,
"Position" text,
"Crewe Alexandra career" text,
"Appearances" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position when the Crewe Alexandra care... |
### Context: CREATE TABLE shipments (
order_id VARCHAR,
shipment_tracking_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the id of the order whose shipment tracking number is '3452'.
### Query: SELECT order_id FROM shipments WHERE shipment_track... |
### Context: CREATE TABLE table_name_84 (
form_factor VARCHAR,
introduced VARCHAR,
controller VARCHAR,
capacities__gb_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which value for Form factor has Sandforce with Capacity 80/120/180/240/360/480 intro... |
### 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 CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_14665 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the extra result of the 4th game?
### Query: SELECT "Extra" FROM table_14665 WHERE "... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration n... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_76197 (
"Team" text,
"Sets+" real,
"Sets\u2013" real,
"Points+" real,
"Points\u2013" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Points+ number that has a Sets+ number larger than 45, a Sets- nu... |
### 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 jybgb (
BBCJBW text,... |
### Context: CREATE TABLE table_name_67 (
city_of_license VARCHAR,
erp_w VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What City of license has a ERP W of 2,000?
### Query: SELECT city_of_license FROM table_name_67 WHERE erp_w = "2,000" |
### Context: CREATE TABLE store_product (
Store_ID int,
Product_ID int
)
CREATE TABLE product (
product_id int,
product text,
dimensions text,
dpi real,
pages_per_minute_color real,
max_page_size text,
interface text
)
CREATE TABLE store_district (
Store_ID int,
District_ID... |
### 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 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_204_323 (
id number,
"year" number,
"film" text,
"function" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long was the film schooled out before beginning blue ?
### Query: SELECT (SELECT "year" FRO... |
### Context: CREATE TABLE table_8452 (
"Player" text,
"Team" text,
"Matches" real,
"Wickets" real,
"Average" real,
"Best Bowling" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest wickets when the matches is less than 5, player ... |
### Context: CREATE TABLE table_45281 (
"Series Number" real,
"Number of Episodes" real,
"Original Air Date" real,
"DVD Region 2 release date" text,
"DVD Region 1 release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the sum of the num... |
### Context: CREATE TABLE Research_Staff (
staff_id INTEGER,
employer_organisation_id INTEGER,
staff_details VARCHAR(255)
)
CREATE TABLE Projects (
project_id INTEGER,
organisation_id INTEGER,
project_details VARCHAR(255)
)
CREATE TABLE Staff_Roles (
role_code VARCHAR(10),
role_descrip... |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufact... |
### Context: CREATE TABLE table_36342 (
"Wind Farm" text,
"Scheduled" text,
"Capacity (MW)" real,
"Turbines" real,
"Type" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of turbine having fewer than 17 units and ... |
### Context: CREATE TABLE table_name_94 (
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where has Jimmy Demaret as a player?
### Query: SELECT place FROM table_name_94 WHERE player = "jimmy demaret" |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE table_65314 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2003)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Constituency Number of ... |
### Context: CREATE TABLE table_204_394 (
id number,
"year" number,
"album" text,
"label" text,
"peak chart\npositions\nus" number,
"peak chart\npositions\nus r&b" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name an album released before ce... |
### Context: CREATE TABLE table_57210 (
"Pick" real,
"Round" real,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest round that Melvin Johnson played?
### Query: SELECT MIN("Round") FROM tab... |
### Context: CREATE TABLE table_name_64 (
puchat_ligi INTEGER,
uefa_cup VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Puchat Ligi has a UEFA Cup smaller than 2, and a Player of takesure chinyama?
### Query: SELECT MIN(puchat_ligi)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.