text stringlengths 197 8.39k |
|---|
### 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_name_73 (
author VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the author when the title is destination: nerva?
### Query: SELECT author FROM table_name_73 WHERE title = "destination: nerva" |
### Context: CREATE TABLE table_10718631_2 (
written_by VARCHAR,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote episode 94?
### Query: SELECT written_by FROM table_10718631_2 WHERE no_in_series = 94 |
### Context: CREATE TABLE table_name_50 (
event VARCHAR,
result VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the event when the result is loss and the record is 7-5?
### Query: SELECT event FROM table_name_50 WHERE result = "lo... |
### 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 job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
... |
### Context: CREATE TABLE table_15331868_1 (
position INTEGER,
difference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smalledt position when the difference was 6?
### Query: SELECT MIN(position) FROM table_15331868_1 WHERE difference = "6" |
### Context: CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
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,
meter_200 text,
meter_300 text,... |
### Context: CREATE TABLE table_71706 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the grid total associated with 18 laps?
### Query: SELECT COUNT("Grid") FROM ... |
### Context: CREATE TABLE table_name_85 (
area VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area of Mount Albert School?
### Query: SELECT area FROM table_name_85 WHERE name = "mount albert school" |
### Context: CREATE TABLE table_1341453_7 (
district VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many districts does gary condit represent?
### Query: SELECT COUNT(district) FROM table_1341453_7 WHERE incumbent = "Gary Condit" |
### Context: CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
)
CREATE TABLE ENROLL (
CLASS_CODE varchar(5),
STU_NUM int,
ENROLL_GRADE varchar(50)
)
CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU... |
### Context: CREATE TABLE table_name_69 (
previous_conference VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the previous conference when the location is converse?
### Query: SELECT previous_conference FROM table_name_69 WHERE loca... |
### Context: CREATE TABLE table_name_53 (
verb_meaning VARCHAR,
part_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the verb meaning when the part 1 is lopen?
### Query: SELECT verb_meaning FROM table_name_53 WHERE part_1 = "lopen" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
... |
### Context: CREATE TABLE table_18300 (
"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.
-- How many parties does the incumbent Donald A. Bailey a memb... |
### Context: CREATE TABLE table_13273629_2 (
original_air_date VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the episode directed by Carey Meyer aired for the first time?
### Query: SELECT original_air_date FROM table_13273629... |
### 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_25572068_1 (
circuit VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What circuit was the FR3.5 11 series on?
### Query: SELECT circuit FROM table_25572068_1 WHERE series = "FR3.5 11" |
### Context: CREATE TABLE table_name_39 (
floors INTEGER,
name VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name of 900 north michigan, and a Year smaller than 1989 involves what lowest floors?
### Query: SELECT MIN(floors) FROM table_na... |
### Context: CREATE TABLE table_29908 (
"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_204_618 (
id number,
"place" number,
"position" text,
"number" number,
"name" text,
"nasl" number,
"playoffs" number,
"cfu club championship" number,
"concacaf champions league" number,
"total" number
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_name_5 (
decision VARCHAR,
series VARCHAR,
visitor VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Decision has a Visitor of calgary, a Score of 2 1, and a Series of 4 3?
### Query: SELECT decision... |
### 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 schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREA... |
### Context: CREATE TABLE table_12499 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- From what Country is Gary Evans?
### Query: SELECT "Country" FROM table_12499 WHERE "Player" ... |
### Context: CREATE TABLE table_19690 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Language (s)" text,
"Director(s)" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many directors for ... |
### Context: CREATE TABLE table_name_7 (
time_retired VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time/Retired value of driver Pedro Diniz?
### Query: SELECT time_retired FROM table_name_7 WHERE driver = "pedro diniz" |
### 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
d... |
### 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.
-- Display a bar ... |
### 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 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_23356 (
"School" text,
"City / Town" text,
"Website" text,
"Size" real,
"Principal" text,
"Grades" text,
"IDOE Profile" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the grades served at Manchester J... |
### Context: CREATE TABLE table_39715 (
"Round" real,
"Pick #" text,
"Player" text,
"Position" text,
"College" text,
"Tenure w/ Steelers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average round for draft pick #49 from Notre Dame... |
### Context: CREATE TABLE table_2850912_5 (
college_junior_club_team VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many college/junior/club teams are from Sweden?
### Query: SELECT COUNT(college_junior_club_team) FROM table_2850912... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Locati... |
### Context: CREATE TABLE table_204_81 (
id number,
"rank" number,
"bib" number,
"name" text,
"country" text,
"time" text,
"deficit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the difference between the time of the fastest runner... |
### Context: CREATE TABLE table_11129 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the decision of the Lightning game when the ... |
### Context: CREATE TABLE table_58331 (
"Aircraft" text,
"Origin" text,
"Role" text,
"Registration" text,
"Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the role of the aircraft that has a registration of s5-hpb?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_83 (
envelopment VARCHAR,
family VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the envelopment for the rhabdoviridae family?
### Query: SELECT envelopment FROM table_name_83 WHERE family = "rhabdoviridae" |
### Context: CREATE TABLE table_29225103_2 (
ep_winning_team VARCHAR,
cp_winning_team VARCHAR,
gm_winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was ... |
### 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 table_name_33 (
matrix INTEGER,
recording_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest matrix when the recording date is 1926/03?
### Query: SELECT MAX(matrix) FROM table_name_33 WHERE recording_date = "1... |
### 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_26362472_1 (
election_date VARCHAR,
left_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the election date for those politicians who left office on 1850-11-15?
### Query: SELECT COUNT(election_date) FROM table_2... |
### Context: CREATE TABLE table_name_21 (
away_captain VARCHAR,
venue VARCHAR,
home_captain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground?
### Query: SELECT away... |
### Context: CREATE TABLE table_10892 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of gold medals with more than 1 bronze medal?
### Q... |
### 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 PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Sugge... |
### Context: CREATE TABLE table_14489 (
"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 game held that resulted in a score of 9-2?
### Query: SELECT "Venue" FROM tab... |
### Context: CREATE TABLE procedures (
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 table_name_5 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game played on September 9?
### Query: SELECT score FROM table_name_5 WHERE date = "september 9" |
### 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 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 table_29522 (
"Artist" text,
"Country" text,
"Number-one single(s)" text,
"Year" real,
"Weeks at #1" real,
"Straight to #1 ?" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was the country Belgium?
### Q... |
### Context: CREATE TABLE architect (
id text,
name text,
nationality text,
gender text
)
CREATE TABLE bridge (
architect_id number,
id number,
name text,
location text,
length_meters number,
length_feet number
)
CREATE TABLE mill (
architect_id number,
id number,
l... |
### Context: CREATE TABLE Products_in_Events (
Product_in_Event_ID INTEGER,
Event_ID INTEGER,
Product_ID INTEGER
)
CREATE TABLE Assets (
Asset_ID INTEGER,
Other_Details VARCHAR(255)
)
CREATE TABLE Assets_in_Events (
Asset_ID INTEGER,
Event_ID INTEGER
)
CREATE TABLE Addresses (
Address... |
### Context: CREATE TABLE table_41076 (
"Position" text,
"Name v t e" text,
"Height (cm)" real,
"Weight (kg)" real,
"Birthplace" text,
"1999-2000 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Height (cm), when the Weigh... |
### Context: CREATE TABLE enroll (
class_code text,
stu_num number,
enroll_grade text
)
CREATE TABLE professor (
emp_num number,
dept_code text,
prof_office text,
prof_extension text,
prof_high_degree text
)
CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname t... |
### Context: CREATE TABLE table_31586 (
"Camp" text,
"Place" text,
"Province" text,
"Location" text,
"Period" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the province of 1941-1946
### Query: SELECT "Province" FROM table_31586 WHERE "Peri... |
### 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_49411 (
"Outcome" text,
"Date" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has an Outcome of runner-up... |
### Context: CREATE TABLE table_name_90 (
round INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest round when the player is troy creurer (d)?
### Query: SELECT MAX(round) FROM table_name_90 WHERE player = "troy creurer (d)" |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE ... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ReviewTaskResults (
I... |
### Context: CREATE TABLE table_40926 (
"From" real,
"Goal" text,
"Round 1" text,
"Round 2" text,
"Round 3" text,
"Round 4" text,
"Round 5" text,
"Round 6+" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Round 2 from 1999?
### Q... |
### Context: CREATE TABLE table_66401 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the game larger than 4 in series 3-2?
###... |
### Context: CREATE TABLE table_16027 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score with partner Jim Pugh?
### ... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId n... |
### Context: CREATE TABLE table_30487 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
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 admi... |
### 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 table_name_31 (
total VARCHAR,
a_score VARCHAR,
b_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Total that has the A Score larger than 6.4, and the B Score smaller than 9.025?
### Query: SELECT total ... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_labitem... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime ... |
### Context: CREATE TABLE table_name_77 (
total VARCHAR,
club VARCHAR,
league_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Total, when Club is Leeds United, and when League Goals is 13?
### Query: SELECT COUNT(total) ... |
### 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_24625467_1 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode with a production code of 2j5356 originally air?
### Query: SELECT original_air_date FROM table_... |
### Context: CREATE TABLE table_name_97 (
tournament VARCHAR,
opponent_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At which tournament does Milan play against Hungary's league selection?
### Query: SELECT tournament FROM table_name_97 WHERE opponent... |
### Context: CREATE TABLE table_47599 (
"Rank" text,
"Team" text,
"Run 1" text,
"Run 2" text,
"Run 3" text,
"Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has run 1 of 1:17.44?
### Query: SELECT "Team" FROM table_47599 WHERE ... |
### Context: CREATE TABLE table_40428 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location when the time was... |
### Context: CREATE TABLE table_2780146_6 (
no_x__g_kwh_ VARCHAR,
hc__g_kwh_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the NO of the standard with HC of 1.23 g/kWh?
### Query: SELECT no_x__g_kwh_ FROM table_2780146_6 WHERE hc__g_kwh_ = "1.23" |
### Context: CREATE TABLE table_12206 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Finish which has a Total of 287?
### Query: SELECT "Finish"... |
### Context: CREATE TABLE table_17947 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the others# when bush% is 57.0%?
### Query: SE... |
### Context: CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE fare (
fare_id i... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_200_47 (
id number,
"date" text,
"event" text,
"duration\t\n(months)" text,
"duration\t\t\n(years)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when did the second drop in the experiment fall ?
### Query: SELECT "... |
### Context: CREATE TABLE table_name_76 (
attendance VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for the game played at 3:31?
### Query: SELECT attendance FROM table_name_76 WHERE time = "3:31" |
### Context: CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Location text,
Main_Services text,
Number_of_Platforms int
)
CREATE TABLE train_station (
Train_ID int,
Station_ID int
)
CREATE TABLE train (
... |
### Context: CREATE TABLE table_26998693_1 (
season INTEGER,
podiums VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest season where podium was 9?
### Query: SELECT MIN(season) FROM table_26998693_1 WHERE podiums = 9 |
### Context: CREATE TABLE table_40585 (
"Season" real,
"Episodes" real,
"Premiere" text,
"Finale" text,
"DVD release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which premiere had more than 15 episodes?
### Query: SELECT "Premiere" FROM ta... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharg... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost ... |
### Context: CREATE TABLE table_63456 (
"Result" text,
"Record" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round of the event with a Record of 5-4?
### Query: SELECT "R... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
Creation... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidan... |
### Context: CREATE TABLE table_4992 (
"Version" text,
"Length" text,
"Album" text,
"Remixed by" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Version has a Remixed by Perky Park with a Length of 6:38?
### Query: SELECT "Version"... |
### Context: CREATE TABLE table_name_81 (
winner VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner when mark fuller was the runner-up?
### Query: SELECT winner FROM table_name_81 WHERE runner_up = "mark fuller" |
### Context: CREATE TABLE table_name_60 (
team VARCHAR,
qual_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Team had a 1:24.365 Qual 2?
### Query: SELECT team FROM table_name_60 WHERE qual_2 = "1:24.365" |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.