text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR... |
### Context: CREATE TABLE table_name_75 (
date VARCHAR,
site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the game at Williams-Brice stadium Columbia, SC?
### Query: SELECT date FROM table_name_75 WHERE site = "williams-brice stadium • colum... |
### 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_15472061_1 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of titles for 3020 production code
### Query: SELECT COUNT(title) FROM table_15472061_1 WHERE production_code = ... |
### Context: CREATE TABLE table_12863 (
"Elimination" text,
"Wrestler" text,
"Team" text,
"Eliminated by" text,
"Elimination Move" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Elimination of the Player with Elimination... |
### Context: CREATE TABLE table_name_11 (
nationality VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality of the player in round 4?
### Query: SELECT nationality FROM table_name_11 WHERE round = 4 |
### Context: CREATE TABLE table_name_88 (
week INTEGER,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the mean week number when attendance was 63,263?
### Query: SELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263 |
### Context: CREATE TABLE table_2077192_2 (
phonetic_greek VARCHAR,
french VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Phonetic Greek words translate to grenouille in French?
### Query: SELECT COUNT(phonetic_greek) FROM table_2077192_2 WHERE fre... |
### 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_60000 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the score for the t10 player from zimbabwe?
### Query: SELECT "Score" FROM table_60000... |
### Context: CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID ... |
### 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_45840 (
"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 score for the game where Birmingham City was the home team on 10 March 1984?
... |
### Context: CREATE TABLE table_69644 (
"Tournament" text,
"Date" text,
"Surface" text,
"Round" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tournament for semifinal hard surface for opponent of pam casale
### Query: SEL... |
### Context: CREATE TABLE table_21633 (
"Series #" real,
"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.
-- In which season did Paul McCrane first direct an ep... |
### 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_31 (
discipline VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the USAC National Championship, what is the Discipline?
### Query: SELECT discipline FROM table_name_31 WHERE championship = "usac ... |
### 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 cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE labevents (
... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
... |
### Context: CREATE TABLE table_19687 (
"Position" real,
"Team" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Scored" real,
"Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least win... |
### Context: CREATE TABLE match_result (
club_id VARCHAR,
gold VARCHAR
)
CREATE TABLE coach (
club_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many gold medals has the club with the most coaches won?
### Query: SELECT T1.club_id, T1.gold FROM... |
### Context: CREATE TABLE table_name_72 (
record VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- August 16 had what record?
### Query: SELECT record FROM table_name_72 WHERE date = "august 16" |
### 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 zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE guests (
guest_id number,
gender_code text,
guest_first_name text,
guest_last_name text,
date_of_birth time
)
CREATE TABLE apartment_facilities (
apt_id number,
facility_code text
)
CREATE TABLE view_unit_status (
apt_id number,
apt_booking_id number,
... |
### Context: CREATE TABLE table_73313 (
"School District" text,
"Headquarters" text,
"Sector" text,
"Enrollment (2011-12)" real,
"Teachers (2008-09" real,
"Student-Teacher ratio (2008-09)" text,
"French enrollment (2011-12)" text,
"Graduation rate (2011-12)" text,
"Withdrawal rate (2... |
### Context: CREATE TABLE perpetrator (
People_ID VARCHAR
)
CREATE TABLE people (
Name VARCHAR,
People_ID VARCHAR,
Weight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the perpetrator with the biggest weight.
### Query: SELECT ... |
### 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_85 (
record VARCHAR,
round VARCHAR,
res VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record of the match with a win res., a 5:00 time, and more than 3 rounds?
### Query: SELECT record ... |
### Context: CREATE TABLE table_1342359_5 (
district VARCHAR,
party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the districtwith party being democratic
### Query: SELECT district FROM table_1342359_5 WHERE party = "Democratic" |
### Context: CREATE TABLE table_name_67 (
date VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for the italian grand prix
### Query: SELECT date FROM table_name_67 WHERE race = "italian grand prix" |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
Dele... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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,
r... |
### Context: CREATE TABLE table_24464 (
"Category" text,
"Sub-category" text,
"Cab size" text,
"Drive wheels" text,
"Capacity (litres)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the category for cab size crew and super tanker
### Query: S... |
### Context: CREATE TABLE table_18424435_4 (
_number VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of episodes listed with a production code of 306?
### Query: SELECT COUNT(_number) FROM table_18424435_4 WH... |
### Context: CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE advisor (
s_ID varchar(5),
i_ID varchar(5)
)
CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeri... |
### Context: CREATE TABLE table_name_32 (
school VARCHAR,
location VARCHAR,
mascot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school has south bend as the location, with indians as the mascot?
### Query: SELECT school FROM table_name_32 WHERE l... |
### Context: CREATE TABLE table_name_52 (
score VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the December 11 game against the Ottawa Senators?
### Query: SELECT score FROM table_name_52 WHERE visit... |
### Context: CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State TEXT,
Area TEXT,
isAVA TEXT
)
CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT... |
### Context: CREATE TABLE table_76391 (
"Year" text,
"Result" text,
"Matches" text,
"Wins" text,
"Draws" text,
"Losses" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many draws were there in 2006?
### Query: SELECT "Draws" FROM table_76391... |
### Context: CREATE TABLE table_name_93 (
lane INTEGER,
nationality VARCHAR,
heat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Spain's lane with a heat less than 4?
### Query: SELECT AVG(lane) FROM table_name_93 WHERE nationality = "spain" AND ... |
### Context: CREATE TABLE table_49801 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Venue, when Year is after 2003, and when Tournament is 'Hypo-Meeting'?
### Query: SE... |
### Context: CREATE TABLE table_18947 (
"Trim" text,
"Engine" text,
"Displacement" text,
"Power" text,
"Torque" text,
"Transmission" text,
"Fuel Mileage (latest EPA mpg - US )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the trim w... |
### Context: CREATE TABLE table_72265 (
"State" text,
"Preliminaries" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the evening gown where preliminaries is 8.977
##... |
### 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_89 (
young_classification VARCHAR,
aggressive_rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which young classification has an aggressive rider of Tim Johnson?
### Query: SELECT young_classification FROM table_name... |
### Context: CREATE TABLE txmzjzjlb (
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 table_62705 (
"Season" real,
"Winners" text,
"Runners-up" text,
"Third-place" text,
"fourth-placed" text,
"Number of clubs" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner when the runner-up was Guangz... |
### Context: CREATE TABLE table_22310 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Canadian air date" text,
"U.S. air date" text,
"Production code" real,
"Canadian viewers (million)" text
)
-- Using valid SQLite, answer the following questions for t... |
### Context: CREATE TABLE table_57322 (
"Rank" real,
"Name" text,
"Nation" text,
"Placings" text,
"Figures" real,
"Free" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many placings did Jacqueline du Bief earn where her tot... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE table_11455 (
"Year" real,
"Boys' Singles" text,
"Girls' Singles" text,
"Boys' Doubles" text,
"Girls' Doubles" text,
"Mixed Doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which girls singles in 2012?
### Query... |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
YLJGDM text,... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
I... |
### Context: CREATE TABLE 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_66 (
points_for_higher INTEGER,
points_for_foundation INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum points for higher when the points for foundation is less than 0?
### Query: SELECT MAX(points_for_h... |
### Context: CREATE TABLE table_203_212 (
id number,
"#" number,
"district" text,
"land area (km2)" number,
"population\n(2010 census)" number,
"density (persons/km2)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which other districts beside... |
### Context: CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_23028629_2 (
part_number_s_ VARCHAR,
model_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every part number with model number core i5-670?
### Query: SELECT part_number_s_ FROM table_23028629_2 WHERE model_numb... |
### Context: CREATE TABLE table_name_67 (
ends VARCHAR,
name VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the total number of ends for filip ebo and Goals more than 2
### Query: SELECT COUNT(ends) FROM table_name_67 WHERE name = ... |
### 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 faculty_participates_in (
facid number,
actid number
)
CREATE TABLE activity (
actid number,
activity_name text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
... |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
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_tri... |
### Context: CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE party_events (
Event_ID int,
Event_Nam... |
### 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_37788 (
"City" text,
"Operator" text,
"Type designation" text,
"Number of vehicles" real,
"Width" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Number of vehicles has a Type designation of u5-25 (bi-directional... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### 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_27 (
playing_for VARCHAR,
_number_100 VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Playing For has a # 100 larger than 36, and a Score of 122?
### Query: SELECT playing_for FROM table_name_27 W... |
### Context: CREATE TABLE table_67325 (
"Year" text,
"Driver/s" text,
"Class" text,
"Vehicle" text,
"Race title" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the III Coppa Acerbo title?
### Query: SELECT "Driver/s" FROM table_67325 WHERE ... |
### Context: CREATE TABLE table_11964154_2 (
game INTEGER,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games was Damien Wilkins (27) the high scorer?
### Query: SELECT MIN(game) FROM table_11964154_2 WHERE high_points = "Damien Wilki... |
### Context: CREATE TABLE table_56092 (
"Club" text,
"City" text,
"Stadium" text,
"Capacity" real,
"2011\u201312 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total capacity for the stadium of pasquale ianniello?
### Query: SEL... |
### Context: CREATE TABLE table_18922 (
"Year(s)" real,
"Grand Final Television Commentator" text,
"Grand Final Dual Television Commentator" text,
"Spokesperson" text,
"Semi Final Television Commentator" text,
"Semi Final Dual Television Commentator" text
)
-- Using valid SQLite, answer the fo... |
### 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_11621 (
"State" text,
"Interview" real,
"Swimsuit" real,
"Evening Gown" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number for swimsuit when the interview number is less than 8.808?
###... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,... |
### Context: CREATE TABLE table_24149 (
"Season" text,
"Games" real,
"Won" real,
"Lost" real,
"Tied" real,
"Points" real,
"Pct %" text,
"Goals For" real,
"Goals Against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### 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_77314 (
"Rank" real,
"Title" text,
"Studio" text,
"Director(s)" text,
"Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of The Big Doll House?
### Query: SELECT MIN("Rank") FROM table_77314 WHER... |
### Context: CREATE TABLE table_46886 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the Result l 38-14?
### Query: SELECT "Date" FROM table_46886 WHERE "Resu... |
### Context: CREATE TABLE table_43607 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Worldwide Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the title when the rank is less than 17 and the worldwide gross is $299,288,6... |
### Context: CREATE TABLE table_204_277 (
id number,
"region" text,
"country" text,
"location" text,
"size (m)" text,
"payload (metric tonnes)" text,
"degrees of freedom" number,
"x horiz disp (mm)" number,
"y horiz disp (mm)" number,
"z vert disp (mm)" number,
"x horiz vel (... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
... |
### Context: CREATE TABLE table_56060 (
"Nationality" text,
"Year" text,
"Games Played" real,
"Minutes Played" text,
"Goals Scored" text,
"Yellow Card" text,
"Red Card" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games had 2 goal... |
### Context: CREATE TABLE table_6666 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a 2nd round score of 1:0, 0:1 (4:3 a.p.)?
### Query: SELECT "Competiti... |
### Context: CREATE TABLE party_host (
party_id number,
host_id number,
is_main_in_charge others
)
CREATE TABLE party (
party_id number,
party_theme text,
location text,
first_year text,
last_year text,
number_of_hosts number
)
CREATE TABLE host (
host_id number,
name text,... |
### Context: CREATE TABLE table_11869952_3 (
launch_site VARCHAR,
mission VARCHAR,
results VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did Test Mission: War Heads and Missile Payload launch when there was a partial failure?
### Query: SELECT la... |
### Context: CREATE TABLE table_59938 (
"Spaceport" text,
"Launch complex" text,
"Launcher" text,
"Spacecraft" text,
"Flights" text,
"Years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the spaceport location that houses the LC34 compl... |
### Context: CREATE TABLE table_28759261_5 (
athens_xi VARCHAR,
dadar_xi_‘b’ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the athens xi where dada xi b is strikers fc?
### Query: SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Striker... |
### Context: CREATE TABLE table_name_98 (
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st leg with Team 2 Lyon?
### Query: SELECT 1 AS st_leg FROM table_name_98 WHERE team_2 = "lyon" |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE table_23097214_1 (
written_by VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode directed by Ken Whittingham?
### Query: SELECT written_by FROM table_23097214_1 WHERE directed_by = "Ken Whitti... |
### 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 was the last opponent ?
### Query: SELECT "oppon... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.