text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE claims (
claim_id number,
policy_id number,
date_claim_made time,
date_claim_settled time,
amount_claimed number,
amount_settled number
)
CREATE TABLE payments (
payment_id number,
settlement_id number,
payment_method_code text,
date_payment_made time,
... |
### Context: CREATE TABLE gyb (
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 farm_competition (
competition_id number,
year number,
theme text,
host_city_id number,
hosts text
)
CREATE TABLE farm (
farm_id number,
year number,
total_horses number,
working_horses number,
total_cattle number,
oxen number,
bulls number,
... |
### Context: CREATE TABLE table_16541 (
"Year" real,
"Title" text,
"Format" text,
"Studio" text,
"Release Date" text,
"Copyright Information" text,
"Catalog Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where title is beginning call... |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE... |
### 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_12148 (
"Seat" real,
"Series 1" text,
"Series 3" text,
"Series 4" text,
"Series 5" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series 3 with more than 4 seats?
### Query: SELECT "Series 3" FROM table_1... |
### Context: CREATE TABLE customer_addresses (
customer_id number,
address_id number,
date_address_from time,
address_type text,
date_address_to time
)
CREATE TABLE products (
product_id number,
product_details text
)
CREATE TABLE customer_orders (
order_id number,
customer_id numb... |
### Context: CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_last_name VARCHAR(80),
date_of_birth DATETIME
)
CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABL... |
### Context: CREATE TABLE table_14372 (
"January" text,
"February" text,
"March" text,
"April" text,
"June" text,
"July" text,
"August" text,
"September" text,
"October" text,
"November" text,
"December" text
)
-- Using valid SQLite, answer the following questions for the t... |
### 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 table_name_48 (
attendance INTEGER,
opponent VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4?
### Quer... |
### 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_204_938 (
id number,
"year" number,
"edmonton\nhundred" number,
"elthorne\nhundred" number,
"gore\nhundred" number,
"isleworth\nhundred" number,
"ossulstone\nhundred\nholborn\ndivision" number,
"ossulstone\nhundred\nfinsbury\ndivision" number,
"ossulst... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTyp... |
### Context: CREATE TABLE table_name_3 (
points VARCHAR,
engine VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did the Ford V8 with a Tyrrell 007 have?
### Query: SELECT points FROM table_name_3 WHERE engine = "ford v8" ... |
### Context: CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Activity (
ac... |
### 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 table_name_32 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Collingwood's away team score?
### Query: SELECT away_team AS score FROM table_name_32 WHERE home_team = "collingwood" |
### Context: CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
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 V... |
### Context: CREATE TABLE table_name_40 (
conference_joined VARCHAR,
mascot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What conference includes the Indians?
### Query: SELECT conference_joined FROM table_name_40 WHERE mascot = "indians" |
### 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_name_58 (
college_junior_club_team VARCHAR,
position VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the College/Junior/Club Team that has the Position of defence, and the Nationality of... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_25800134_11 (
season__number INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest season #?
### Query: SELECT MIN(season__number) FROM table_25800134_11 |
### 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 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_204_761 (
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.
-- how many countries did not win any gold medals ?
##... |
### 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_c... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_41331 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round with an Opponent that is torpedo mo... |
### Context: CREATE TABLE table_43875 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Place of the Player with a Score of 68-73-66-74=281?
... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid ... |
### Context: CREATE TABLE table_25740548_2 (
original_air_date VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes were directed by Rod Hardy?
### Query: SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE table_name_20 (
year_s__won VARCHAR,
total VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The golfer from Spain with a total less than 294 won in what year (s)?
### Query: SELECT year_s__won FROM table_name_20 ... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### 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_9824 (
"Model number" text,
"sSpec number" text,
"Frequency" text,
"GPU frequency" text,
"L2 cache" text,
"I/O bus" text,
"Memory" text,
"Voltage" text,
"Socket" text,
"Release date" text,
"Part number(s)" text
)
-- Using valid SQLite, answer... |
### 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 fgwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSUR... |
### Context: CREATE TABLE table_name_43 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of Game 48?
### Query: SELECT score FROM table_name_43 WHERE game = "48" |
### Context: CREATE TABLE Transactions_Lots (
transaction_id INTEGER,
lot_id INTEGER
)
CREATE TABLE Sales (
sales_transaction_id INTEGER,
sales_details VARCHAR(255)
)
CREATE TABLE Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Ref_Transaction_Types (... |
### Context: CREATE TABLE enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
)
CREATE TABLE medicine (
id int,
name text,
Trade_Name text,
FDA_approved text
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
m... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intake... |
### 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 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_name_95 (
location VARCHAR,
name_in_malay VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the institution whose name in Malay is kolej kemahiran belia nasional, pontian?
### Query: SELECT location FROM ... |
### Context: CREATE TABLE table_name_12 (
crew_chief VARCHAR,
owner_s_ VARCHAR,
driver_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What crew chief has an owner name Jack Roush and driver Greg Biffle?
### Query: SELECT crew_chief FROM table_name_12... |
### Context: CREATE TABLE table_name_40 (
goals_scored INTEGER,
points VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total of Goals Scored with Points that's smaller than 27, and a Team of C.D. Atl tico Balboa?
### Query: SELEC... |
### Context: CREATE TABLE table_22871316_6 (
high_points VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the high points in the game played on December 2?
### Query: SELECT high_points FROM table_22871316_6 WHERE date = "December 2" |
### Context: CREATE TABLE table_name_6 (
goals_for INTEGER,
played VARCHAR,
drawn VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of goals scored for the Al Wahda team with less than 4 drawn and more than 22 plays?
### Q... |
### Context: CREATE TABLE student (
name VARCHAR,
dept_name VARCHAR,
tot_cred VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of the students and their department names sorted by their total credits in ascending order.
### Query: SELECT nam... |
### Context: CREATE TABLE table_name_18 (
mission VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the mission when the location is brasilia?
### Query: SELECT mission FROM table_name_18 WHERE location = "brasilia" |
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE torrents (
groupname text,
totalsnatched number,
artist text,
groupyear number,
releasetype text,
groupid number,
id number
)
CREATE TABLE tags (
index number,
id number,
tag text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_40940 (
"Pilot" text,
"Original Airdate" text,
"Musical Guest/Song performed" text,
"YouTube Hero" text,
"MySpace Band" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the MySpace Band with an Origi... |
### Context: CREATE TABLE table_name_80 (
chassis VARCHAR,
engine VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A ferrari flat-12 engine with more than 1 point has what kind of chassis?
### Query: SELECT chassis FROM table_name_80 WHERE... |
### Context: CREATE TABLE table_name_96 (
charting VARCHAR,
blogs VARCHAR,
discussion VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT CHARTING HAS NO BLOGS OR DISCUSSION?
### Query: SELECT charting FROM table_name_96 WHERE blogs = "no" AND discussio... |
### Context: CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTEGER,
min_dew_point_f INTEGER,
max_humidity INTEGER,
mean_humidity INTEGER,
min_humidity INTEGER,
max_... |
### Context: CREATE TABLE table_17001658_7 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many scores are listed for game 37?
### Query: SELECT COUNT(score) FROM table_17001658_7 WHERE game = 37 |
### Context: CREATE TABLE table_name_60 (
score VARCHAR,
tournament VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score on October 24, 1982 in Tokyo, Japan?
### Query: SELECT score FROM table_name_60 WHERE tournament = "tokyo... |
### Context: CREATE TABLE table_11106 (
"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_61511 (
"Date" text,
"Opponent" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Attendance has a Result of l12 21?
### Query: SELECT "Attendance" FROM table_61511 WH... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_49924 (
"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 Away Team, when Date is '25 January 1986', and when Tie No is '6'?
### Query: SEL... |
### Context: CREATE TABLE table_1788 (
"Country" text,
"Population (2011)" real,
"GDP (nominal) (2010, US$ millions)" real,
"Military expenditures (2011, US$ millions)" real,
"Military expenditures (2011, % of GDP)" text,
"Defence expenditures, (2011, per capita)" real,
"Deployable military ... |
### Context: CREATE TABLE table_1680 (
"Position" real,
"Team" text,
"Played" real,
"Won" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Average 1" text,
"Points 2" real
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE table_11017 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least amount of laps for Luca Badoer?
### Query: SELECT MIN("Laps") FROM ... |
### Context: CREATE TABLE table_203_808 (
id number,
"rank" number,
"peak name" text,
"elevation" text,
"location" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many feet separate the 7th and 8th ranked highest peaks ?
### Qu... |
### Context: CREATE TABLE table_67790 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of laps with rank of 8
### Query: SELECT COUNT("Laps") FROM ... |
### 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_name_77 (
first_elected VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Barclay Henley first elected?
### Query: SELECT COUNT(first_elected) FROM table_name_77 WHERE incumbent = "barclay henley... |
### Context: CREATE TABLE table_name_1 (
date_of_birth__age_ VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was brian lemay born?
### Query: SELECT date_of_birth__age_ FROM table_name_1 WHERE player = "brian lemay" |
### Context: CREATE TABLE table_71945 (
"Rank" real,
"Name" text,
"Height ft (m)" text,
"Floors" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Regions center has a rank less than 11, what is the greatest number o floors?
### Quer... |
### Context: CREATE TABLE table_38540 (
"Station Code" text,
"Station" text,
"Arrival" text,
"Departure" text,
"Kilometers" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's listed for the Station Code that has the Arrival of 02:20?
### Query: ... |
### Context: CREATE TABLE table_21636599_2 (
security_forces VARCHAR,
civilians VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the security forces when the civilians are 202?
### Query: SELECT security_forces FROM table_21636599_2 WHERE civilians =... |
### Context: CREATE TABLE table_name_8 (
date VARCHAR,
margin_of_victory VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A tournament on which date has a margin of victory of 2 strokes and a par of 16?
### Query: SELECT date FROM table_na... |
### 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 Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Dorm_amenity ... |
### Context: CREATE TABLE table_name_31 (
opponent_in_final VARCHAR,
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponent in Final, when Surface is 'Hard', and when Date is '13 January 1992'?
### Query: SELECT opponent_i... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,... |
### Context: CREATE TABLE table_52600 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Trofeo Fast Team has a Winner of alessandro pag... |
### Context: CREATE TABLE table_21007615_1 (
record VARCHAR,
sun_devils_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record for the Sun Devils when they scored 44 points?
### Query: SELECT record FROM table_21007615_1 WHERE sun_devils_... |
### 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_23487 (
"Season" real,
"Network" text,
"Host" text,
"Contestants" real,
"Winner" text,
"Destination" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the latest season with 20 contestants?
### Query: SELEC... |
### Context: CREATE TABLE driver (
Driver_ID int,
Name text,
Party text,
Home_city text,
Age int
)
CREATE TABLE school (
School_ID int,
Grade text,
School text,
Location text,
Type text
)
CREATE TABLE school_bus (
School_ID int,
Driver_ID int,
Years_Working int,
... |
### Context: CREATE TABLE Customer_Contact_Channels (
customer_id INTEGER,
channel_code VARCHAR(15),
active_from_date DATETIME,
active_to_date DATETIME,
contact_number VARCHAR(50)
)
CREATE TABLE Addresses (
address_id INTEGER,
address_content VARCHAR(80),
city VARCHAR(50),
zip_postc... |
### Context: CREATE TABLE table_174491_1 (
winter_olympics VARCHAR,
fis_nordic_world_ski_championships VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year did the winner of the FIS championship in 1982 win the Winter Olympics?
### Query: SELECT wint... |
### Context: CREATE TABLE table_204_63 (
id number,
"round" number,
"circuit" text,
"date" text,
"pole position" text,
"winning driver" text,
"winning team" text,
"trophy winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was it azet... |
### Context: CREATE TABLE table_name_54 (
country VARCHAR,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has is Len Mattiace in T10 place?
### Query: SELECT country FROM table_name_54 WHERE place = "t10" AND player =... |
### 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 diagnoses (
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 station (
station_id number,
name text,
annual_entry_exit number,
annual_interchanges number,
total_passengers number,
location text,
main_services text,
number_of_platforms number
)
CREATE TABLE train (
train_id number,
name text,
time text,
se... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
### Context: CREATE TABLE table_23001 (
"Pos" real,
"Member Association" text,
"Points (total 500)" real,
"Clubs" text,
"Group stage" real,
"Play-off" real,
"AFC Cup" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest position... |
### Context: CREATE TABLE table_name_75 (
score INTEGER,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS AVERAGE SCORE WITH T3 PLACE, FOR DOUG SANDERS?
### Query: SELECT AVG(score) FROM table_name_75 WHERE place = "t3" AND p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.