text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_65282 (
"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_42 (
start_source VARCHAR,
loan_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the loan start source when the loan club is fulham?
### Query: SELECT start_source FROM table_name_42 WHERE loan_club = "fulham" |
### 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 intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### Context: CREATE TABLE table_72889 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_26376 (
"Province (ashkharh)" text,
"Armenian name" text,
"Area (km\u00b2)" real,
"Number of cantons (gavars)" real,
"Center" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the center of the Artsakh province?
... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_79 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did the away team score when playing North Melbourne?
### Query: SELECT away_team AS score FROM table_name_79 WHERE home_team = "north... |
### Context: CREATE TABLE table_43396 (
"Season" text,
"Games" real,
"Lost" real,
"Points" real,
"Pct %" real,
"Goals for" real,
"Goals against" real,
"Playoffs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Pct %, w... |
### Context: CREATE TABLE jobs (
job_id text,
job_title text,
min_salary number,
max_salary number
)
CREATE TABLE job_history (
employee_id number,
start_date time,
end_date time,
job_id text,
department_id number
)
CREATE TABLE regions (
region_id number,
region_name text
... |
### Context: CREATE TABLE table_58374 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record of the game that had a home team of Colorado, and a visiting team of Winnipeg?... |
### Context: CREATE TABLE table_name_49 (
result VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game against the Los Angeles Dons?
### Query: SELECT result FROM table_name_49 WHERE opponent = "los angeles dons" |
### 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 Has_amenity (
dormid INTEGER,
amenid INTEGER
)
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 Dorm_amenity (
amenid INTEGE... |
### 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_204_392 (
id number,
"#" number,
"stadium" text,
"capacity" number,
"city" text,
"country" text,
"domed or retractable roof" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many stadiums are above 60,000 pe... |
### Context: CREATE TABLE table_66939 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the driver who started 9 with a qualifing speed of 152.672 and finished f... |
### Context: CREATE TABLE table_204_882 (
id number,
"number" number,
"builder" text,
"entered service" text,
"withdrawn" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year was number 445 and 446 entered into service ?
### Q... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
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_... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime... |
### Context: CREATE TABLE table_31626 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first leg score in that match where Marseille was the first team?
### Query: SEL... |
### Context: CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE reviewer (
rid number,
name text
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_76969 (
"Result" text,
"Race" text,
"Distance" text,
"Weight" real,
"Winner or 2nd" text,
"Pos'n" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weight number when the distance was 5 f?
### Query: SEL... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatmen... |
### Context: CREATE TABLE county_public_safety (
LOCATION VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location shared by most counties?
### Query: SELECT LOCATION FROM county_public_safety GROUP BY LOCATION ORDER BY COUNT(*) DESC LIMIT 1 |
### 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_55055 (
"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.
-- What is the home team score that pl... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number... |
### Context: CREATE TABLE table_6759 (
"Date" text,
"Pos." text,
"Player" text,
"From club" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player had a Date of 31 jan. 2008, and a Transfer fee of 3.87m?
### Query: SELECT ... |
### 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 customers (
customer_id number,
payment_method_code text,
customer_code text,
customer_name text,
customer_address text,
customer_phone text,
customer_email text
)
CREATE TABLE department_stores (
dept_store_id number,
dept_store_chain_id number,
store_... |
### Context: CREATE TABLE table_25936 (
"Episode" text,
"First broadcast" text,
"Seans team" text,
"Jasons team" text,
"Scores" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the seans team being 13 november 2008
### Query: SELECT "Seans team"... |
### 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 table_27396005_2 (
constructor VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many constructors had a grid of 13?
### Query: SELECT COUNT(constructor) FROM table_27396005_2 WHERE grid = 13 |
### Context: CREATE TABLE table_47059 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which united states player finished with a place of t10?
### Query: SELECT "Player" FROM tabl... |
### Context: CREATE TABLE table_60676 (
"Name" text,
"Wikis" text,
"Web publishing" text,
"Calendaring software" text,
"Project Management" text,
"Workflow system" text,
"Document Management" text,
"List Management" text,
"XML Forms Management and workflow" text,
"Discussion" tex... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admissi... |
### Context: CREATE TABLE table_18618 (
"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.
-- what was the maxiumum for the first elected?
### Query: SE... |
### Context: CREATE TABLE table_name_3 (
driver VARCHAR,
engine VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Driver, when the Engine was 7.1 l6, and when the Chassis was Mercedes-Benz SSK l?
### Query: SELECT driver FROM t... |
### 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 county_public_safety (
County_ID int,
Name text,
Population int,
Police_officers int,
Residents_per_officer int,
Case_burden int,
Crime_rate real,
Police_force text,
Location text
)
CREATE TABLE city (
City_ID int,
County_ID int,
Name text,
... |
### 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_1028356_3 (
score VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score with partner Jim Pugh?
### Query: SELECT score FROM table_1028356_3 WHERE partner = "Jim Pugh" |
### Context: CREATE TABLE table_25017530_6 (
cfl_team VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the cfl team for lb position
### Query: SELECT cfl_team FROM table_25017530_6 WHERE position = "LB" |
### Context: CREATE TABLE table_name_20 (
mascot VARCHAR,
enrollment__2010_ VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mascot with an enrollment (2010) less than 980, and heritage as the school?
### Query: SELECT mascot F... |
### Context: CREATE TABLE table_15365 (
"Category" text,
"Film" text,
"Director(s)" text,
"Country" text,
"Nominating Festival" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nominating festival did Russia enter?
### Query: SELECT "Nominating... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE table_name_68 (
round INTEGER,
college VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the round when the college is north carolina and the overall is more than 124?
### Query: SELECT SUM(round) FROM tab... |
### Context: CREATE TABLE table_41904 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Away team when the home team was wycombe wanderers?
### Query: SELECT "... |
### Context: CREATE TABLE table_72450 (
"Result" text,
"Date" text,
"Race" text,
"Venue" text,
"Group" text,
"Distance" text,
"Weight (kg)" text,
"Jockey" text,
"Winner/2nd" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What group i... |
### Context: CREATE TABLE table_56533 (
"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.
-- Which event was in round 1, resulted i... |
### Context: CREATE TABLE table_74930 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of all points in 1975 with 0 wins?
### Query: SELECT SUM("Points") FROM table_74930... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE prescriptions (
row_id number,
subje... |
### Context: CREATE TABLE table_5815 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What location has a... |
### Context: CREATE TABLE hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
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,
XL... |
### Context: CREATE TABLE table_7392 (
"Player" text,
"Club" text,
"League" real,
"FA Cup" real,
"FA Trophy" real,
"League Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average total of halifax town club, whic... |
### 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 vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatmen... |
### Context: CREATE TABLE table_name_27 (
result VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What resulted in a score of 22-21?
### Query: SELECT result FROM table_name_27 WHERE score = "22-21" |
### Context: CREATE TABLE table_name_49 (
date VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date did Ian Mosey finish runner-up?
### Query: SELECT date FROM table_name_49 WHERE runner_s__up = "ian mosey" |
### Context: CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varc... |
### Context: CREATE TABLE table_name_5 (
lead VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the lead for the 2008 WCC?
### Query: SELECT lead FROM table_name_5 WHERE event = "2008 wcc" |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_5373 (
"Date" text,
"Result" text,
"Score" text,
"Brazil scorers" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Competition's Score was 1-2?
### Query: SELECT "Competition" FROM table_5373 W... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
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_... |
### Context: CREATE TABLE table_name_33 (
t20_matches VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What T20 match was played in 1979?
### Query: SELECT t20_matches FROM table_name_33 WHERE year = "1979" |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_I... |
### 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 flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flig... |
### 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_name_45 (
gold INTEGER,
total INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average amount of gold medals for a country with more than 12 total medals?
### Query: SELECT AVG(gold) FROM table_name_45 WHERE total >... |
### Context: CREATE TABLE table_1341568_14 (
incumbent VARCHAR,
elected VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Republican incumbent was elected in 1974?
### Query: SELECT incumbent FROM table_1341568_14 WHERE elected = 1974 A... |
### Context: CREATE TABLE table_1805191_50 (
district VARCHAR,
party VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district first elected a Democratic incumbent in 1998?
### Query: SELECT district FROM table_1805191_50 WHERE... |
### 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_31849 (
"Pick #" real,
"MLS Team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What affiliations have Pick #s under 32?
### Query: SELECT "Affiliation" FROM table... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,... |
### Context: CREATE TABLE table_name_70 (
position VARCHAR,
round VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did a. j. feeley play who was picked in round 5?
### Query: SELECT position FROM table_name_70 WHERE round = 5... |
### Context: CREATE TABLE table_2713 (
"Edition" text,
"Round" text,
"Date" text,
"Partnering" text,
"Against" text,
"Surface" text,
"Opponents" text,
"W/L" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total... |
### Context: CREATE TABLE Video_games (
gname VARCHAR,
gtype VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all video games with type Collectible card game.
### Query: SELECT gname FROM Video_games WHERE gtype = "Collectible card game" |
### Context: CREATE TABLE appointment (
appointmentid number,
patient number,
prepnurse number,
physician number,
start time,
end time,
examinationroom text
)
CREATE TABLE nurse (
employeeid number,
name text,
position text,
registered boolean,
ssn number
)
CREATE TABLE... |
### 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_name_7 (
winner VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Winner of the Game on November 26?
### Query: SELECT winner FROM table_name_7 WHERE date = "november 26" |
### Context: CREATE TABLE table_204_15 (
id number,
"year" number,
"date" text,
"venue" text,
"city" text,
"country" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is usa listed as the country ?
### Query: SELEC... |
### Context: CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_zone (
time_... |
### Context: CREATE TABLE table_12649 (
"Perpetrator" text,
"Year" text,
"Location" text,
"Country" text,
"Killed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location for Yemen in 1994?
### Query: SELECT "Location" FROM table_12649 ... |
### Context: CREATE TABLE cite (
cited int,
citing int
)
CREATE TABLE publication_keyword (
kid int,
pid int
)
CREATE TABLE journal (
homepage varchar,
jid int,
name varchar
)
CREATE TABLE organization (
continent varchar,
homepage varchar,
name varchar,
oid int
)
CREATE ... |
### Context: CREATE TABLE table_name_62 (
avg_g VARCHAR,
att_cmp_int VARCHAR,
effic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Avg/G that has a Att-Cmp-Int of 1 1 0, and an Effic larger than 394 is what total?
### Query: SELECT COUNT(avg_g) FROM tab... |
### Context: CREATE TABLE table_9536 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the friendly competition on 17 December 1967 played at?
### Query: SELECT "Venue" ... |
### Context: CREATE TABLE table_name_57 (
seats_in_hamburgische_bürgerschaft VARCHAR,
name__english_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT ARE THE SEATS IN Hamburgische B rgerschaft WITH THE NAME alliance '90/the greens?
### Query: SELECT seat... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
... |
### Context: CREATE TABLE table_69497 (
"Game" real,
"Date" text,
"Score" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Game larger than 4, and a Time of 2:26 resulted in what score?
### Query: ... |
### Context: CREATE TABLE table_name_98 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the away team that played Essendon?
### Query: SELECT away_team AS score FROM table_name_98 WHERE home_team = "essendo... |
### 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_23575917_6 (
scores VARCHAR,
lees_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When kevin bridges and katy wix are both on the less team what is the score?
### Query: SELECT scores FROM table_23575917_6 WHERE lees_team... |
### 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 Student (
Sex VARCHAR,
Fname VARCHAR,
Lname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the gender of the student Linda Smith?
### Query: SELECT Sex FROM Student WHERE Fname = "Linda" AND Lname = "Smith" |
### Context: CREATE TABLE table_name_61 (
country VARCHAR,
label VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country for Sony / Sony Bmg?
### Query: SELECT country FROM table_name_61 WHERE label = "sony / sony bmg" |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.