text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_8 (
terry_mcauliffe VARCHAR,
dates_administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Terry McAuliffe is it that has a Dates Administered on June 6 7?
### Query: SELECT terry_mcauliffe FROM table_name_8 WH... |
### 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_name_66 (
seasons VARCHAR,
poles VARCHAR,
entries VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Seasons have a Poles larger than 29, and Entries larger than 191?
### Query: SELECT seasons FROM table_name_66 WHERE p... |
### Context: CREATE TABLE table_2637317_1 (
change_in_population_since_1993 VARCHAR,
_percentage_of_countrys_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the change in population since 1993 in the region where the % of country's populati... |
### 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 flight_leg (
flight_id int,
leg_number int,
leg_flight 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,
... |
### Context: CREATE TABLE table_name_90 (
december VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Decembers have calgary flames as the opponent?
### Query: SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames... |
### Context: 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,
Event_Attendance int
)
CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
... |
### Context: CREATE TABLE table_name_58 (
opponent VARCHAR,
save VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the game with save ||33,389||87 62?
### Query: SELECT opponent FROM table_name_58 WHERE save = "||33,389||87–62" |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE intakeou... |
### Context: CREATE TABLE table_5999 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Combination classification" text,
"Team classification" text
)
-- Using valid SQLite, answer the following questions for the ta... |
### Context: CREATE TABLE table_name_25 (
opponent VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in week 13?
### Query: SELECT opponent FROM table_name_25 WHERE week = 13 |
### Context: CREATE TABLE Ref_calendar (
day_Number VARCHAR,
calendar_date VARCHAR
)
CREATE TABLE All_documents (
Date_Stored VARCHAR,
date_stored VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the day Number and date of all the documents?
... |
### Context: CREATE TABLE Customer_Addresses (
customer_id INTEGER,
address_id INTEGER,
date_address_from DATETIME,
address_type VARCHAR(15),
date_address_to DATETIME
)
CREATE TABLE Order_Items (
order_id INTEGER,
product_id INTEGER,
order_quantity VARCHAR(15)
)
CREATE TABLE Products (... |
### Context: CREATE TABLE table_39344 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean pick number for the cornerback position when the overall... |
### 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 station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE company (
Company_ID in... |
### Context: CREATE TABLE table_67840 (
"Rank" real,
"Team" text,
"Wins" real,
"Losses" real,
"Runs Allowed" real,
"Run Ratio" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest amount of losses the United States, ranked higher th... |
### Context: CREATE TABLE table_name_54 (
game VARCHAR,
pov_character VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game does the quentyn martell have?
### Query: SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell" |
### Context: CREATE TABLE table_name_45 (
first_elected VARCHAR,
result VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was first elected as the result of a retired republican gain in the district of ohio 21?
### Query: SELECT first... |
### Context: CREATE TABLE table_name_48 (
loss VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the losing score on September 1?
### Query: SELECT loss FROM table_name_48 WHERE date = "september 1" |
### Context: CREATE TABLE table_16929 (
"Venue" text,
"Hosted" real,
"Average" real,
"Highest" real,
"Lowest" real,
"Total" real,
"Last Year" text,
"Up/Down" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the up/down at the venue... |
### Context: CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return a pie o... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
C... |
### 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 table_name_4 (
diameter__km_ INTEGER,
name VARCHAR,
year_named VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Diameter (km) has a Name of alma-merghen planitia, and a Year named smaller than 1997?
### Query: SELECT MAX(di... |
### Context: CREATE TABLE table_203_608 (
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 have at least one gold medal ?
#... |
### 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 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 bdmzjzjlb (
HXPLC nu... |
### 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 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_18894744_6 (
high_rebounds VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the high rebounds in the game with a 19-6 record?
### Query: SELECT high_rebounds FROM table_18894744_6 WHERE record = "19-6" |
### Context: CREATE TABLE table_67712 (
"Status" text,
"Name" text,
"First Performance" text,
"Last Performance" text,
"Style" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the First Performance when the status is past and the style was bal... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttim... |
### Context: CREATE TABLE table_name_27 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the Kings game when they had a record of 8 11 1?
### Query: SELECT score FROM table_name_27 WHERE record = "8–11–1" |
### Context: CREATE TABLE table_29190 (
"Rank" real,
"Rider" text,
"Sat 21 Aug" text,
"Mon 23 Aug" text,
"Tues 24 Aug" text,
"Wed 25 Aug" text,
"Thurs 26 Aug" text,
"Fri 27 Aug" text,
"Sat 29 Aug" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_40086 (
"Name" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is the Jiufotang Formation located in?
### Query: SELECT "Location" FROM table_4... |
### Context: CREATE TABLE table_25920798_2 (
leader_battle VARCHAR,
vote VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the leader battle for 4-3 vote
### Query: SELECT leader_battle FROM table_25920798_2 WHERE vote = "4-3" |
### Context: CREATE TABLE claims_processing (
claim_processing_id number,
claim_id number,
claim_outcome_code text,
claim_stage_id number,
staff_id number
)
CREATE TABLE claims_documents (
claim_id number,
document_type_code text,
created_by_staff_id number,
created_date number
)
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 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 table_57363 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed By" text,
"Written By" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Julie gets Validated originally ... |
### Context: CREATE TABLE table_17350255_1 (
film_title_used_in_nomination VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the title used in nomination in the original B b i Zhu ngsh ( )?
### Query: SELECT film_title_used_in_... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE food_service (
meal_code text... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE author (
authorid int,
author... |
### Context: CREATE TABLE table_name_38 (
goals VARCHAR,
name VARCHAR,
since VARCHAR,
nat VARCHAR,
transfer_fee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals was by Rix from Eng who started before 2005 in the youth system?
### Qu... |
### Context: CREATE TABLE table_48133 (
"Event" text,
"Year" real,
"Category" text,
"Work" text,
"Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was the winner in?
### Query: SELECT "Category" FROM table_48133 WHERE "Outcome"... |
### Context: CREATE TABLE table_477 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Intergiro classification" text,
"Trofeo Fast Team" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_name_2 (
grid INTEGER,
manufacturer VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average grid for vehicles manufactured by Aprilia and having run more than 16 laps?
### Query: SELECT AVG(grid) ... |
### Context: CREATE TABLE table_66057 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which School has a Enrollment ... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respi... |
### 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 Purchases (
purchase_transaction_id INTEGER,
purchase_details VARCHAR(255)
)
CREATE TABLE Sales (
sales_transaction_id INTEGER,
sales_details VARCHAR(255)
)
CREATE TABLE Transactions_Lots (
transaction_id INTEGER,
lot_id INTEGER
)
CREATE TABLE Ref_Transaction_Types (... |
### Context: CREATE TABLE table_26637 (
"State (class)" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date of successors formal installation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What state had william bigler (d) as a ... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE 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_name_82 (
time VARCHAR,
nfl_recap VARCHAR,
game_site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time of the game at Arrowhead Stadium with an NFL Recap of recap?
### Query: SELECT time FROM table_name_82 W... |
### Context: CREATE TABLE table_24971 (
"#" text,
"Spacecraft" text,
"Spacewalkers" text,
"Start ( UTC )" text,
"End (UTC)" text,
"Duration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who walked in space from STS-101 Eva 1?
### Query: SELEC... |
### Context: CREATE TABLE Vehicles (
vehicle_details VARCHAR,
vehicle_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the detail of vehicle with id 1.
### Query: SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1 |
### 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 allergy_type (
allergy text,
allergytype text
)
CREATE TABLE has_allergy (
stuid number,
allergy text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
-- Using... |
### Context: CREATE TABLE table_76939 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par of the Player with a Score of 70-71=141?
### Query: SELECT AVG("To par") F... |
### Context: CREATE TABLE table_5139 (
"Season" text,
"Series" text,
"Races" real,
"Poles" real,
"Wins" real,
"Podiums" real,
"Points" real,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins are associated with 20 p... |
### Context: CREATE TABLE table_32387 (
"Player" text,
"Home Town" text,
"College/Prior" text,
"Drafting Team" text,
"Graduated" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who drafted the player from Michigan after 2010?
### Query: SELECT "Draf... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE employee... |
### Context: CREATE TABLE table_203_444 (
id number,
"week" number,
"start date" text,
"type" text,
"tournament" text,
"surface" text,
"town" text,
"country" text,
"continent" text,
"prize money" text
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### Context: CREATE TABLE table_20959 (
"Country" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends F/A" text,
"Stolen Ends For" real,
"Stolen Ends Against" real,
"Shot %" real
)
-- Using valid SQLite, answer the... |
### Context: CREATE TABLE table_26986076_5 (
mon_23_aug VARCHAR,
tues_24_aug VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 21' 18.87 106.209mph is Tuesday August 24th what is Monday August 23rd?
### Query: SELECT mon_23_aug FROM table_26986076_5 WHERE... |
### Context: CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_15314901_1 (
coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR,
condition_parameter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velo... |
### 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_11656578_2 (
voivodeship VARCHAR,
population__1980_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different voivodenship have 747 900 citizes?
### Query: SELECT COUNT(voivodeship) FROM table_11656578_2 WHERE populat... |
### Context: CREATE TABLE table_66805 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for september 25
### Query: SELECT "Score" FROM table_668... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagn... |
### 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 ReviewTasks (
Id number,
ReviewTaskTypeId n... |
### Context: CREATE TABLE table_26198 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What CFL team was the player playing on SB position drafted for?
### Query: SELECT "CFL ... |
### 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 table_61711 (
"Name" text,
"Position" text,
"League Apps" text,
"League Goals" real,
"FA Cup Apps" text,
"FA Cup Goals" real,
"League Cup Apps" text,
"League Cup Goals" real,
"FLT Apps" text,
"FLT Goals" real,
"Total Apps" text,
"Total Goals" rea... |
### Context: CREATE TABLE table_name_63 (
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did the match at Lake Oval take place?
### Query: SELECT date FROM table_name_63 WHERE venue = "lake oval" |
### Context: CREATE TABLE table_name_26 (
episode_title VARCHAR,
countries_visited VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which episode title featured a visit to the country of Cuba?
### Query: SELECT episode_title FROM table_name_26 WHERE countries... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME va... |
### Context: CREATE TABLE table_23949 (
"City (Utility)" text,
"Residential Monthly usage: 1000 kWh" text,
"Small power Power demand: 40 kW; Consumption 10,000 kWh, load factor: 35%." text,
"Medium power Power demand: 1,000 kW; Consumption: 400,000 kWh, load factor: 56 %." text,
"Large power Power d... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JCZB... |
### Context: CREATE TABLE table_30633 (
"Category" text,
"Player" text,
"Team" text,
"Games played" real,
"Totals" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the team when the category is field goal percentage?
### Q... |
### Context: CREATE TABLE table_11220799_2 (
episode_titles VARCHAR,
first_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episodes had their first air date on March 6, 2008?
### Query: SELECT COUNT(episode_titles) FROM table_11220799_2 WHE... |
### Context: CREATE TABLE technician (
technician_id number,
name text,
team text,
starting_year number,
age number
)
CREATE TABLE machine (
machine_id number,
making_year number,
class text,
team text,
machine_series text,
value_points number,
quality_rank number
)
CRE... |
### 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 cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytim... |
### 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 invoices (
customer_id VARCHAR
)
CREATE TABLE customers (
id VARCHAR,
first_name VARCHAR,
last_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many orders does Lucas Mancini has?
### Query: SELECT COUNT(*) FROM cus... |
### Context: CREATE TABLE table_name_94 (
losses VARCHAR,
wins VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of losses with less than 6 wins and less than 0 draws?
### Query: SELECT COUNT(losses) FROM table_name_... |
### Context: CREATE TABLE table_name_63 (
overall VARCHAR,
name VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the name Derek Smith when the round is higher than 3?
### Query: SELECT COUNT(overall) FROM table_name_63 WHE... |
### Context: CREATE TABLE table_name_32 (
enrollment INTEGER,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- COunt the average Enrollment in hope?
### Query: SELECT AVG(enrollment) FROM table_name_32 WHERE location = "hope" |
### 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_Facilities (... |
### Context: CREATE TABLE table_name_17 (
school VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is School, when Event is '100 Backstroke'?
### Query: SELECT school FROM table_name_17 WHERE event = "100 backstroke" |
### Context: CREATE TABLE table_18214 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Status" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many republican incumbents first elected in 1974?
### Qu... |
### Context: CREATE TABLE table_name_82 (
score VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Tie No is '30'?
### Query: SELECT score FROM table_name_82 WHERE tie_no = "30" |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
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,
pr... |
### Context: CREATE TABLE table_67126 (
"Year" real,
"Event" text,
"Venue" text,
"Driver" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the BRDC International Trophy with driver Emerson Fittipaldi held?
### Query: SELECT "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.