text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_4636 (
"Date" text,
"Pages" text,
"Hero" text,
"Story" text,
"Story code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the story code of the story published on 2002-12?
### Query: SELECT "Story code" FROM t... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTyp... |
### Context: CREATE TABLE table_45836 (
"Club" text,
"City" text,
"Stadium" text,
"Capacity" real,
"2007\u201308 season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2007-08 season has marcianise as the city?
### Query: SELECT "2007\u201308 ... |
### Context: CREATE TABLE table_7405 (
"Position" text,
"Name" text,
"Birthdate" text,
"Birthplace" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Birthdate of raymond bonney?
### Query: SELECT "Birthdate" FROM table_7405 W... |
### Context: CREATE TABLE table_22034853_1 (
language_s_ VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the language for the movie 'Late Bloomers'?
### Query: SELECT language_s_ FROM table_22034853_1 WHERE fil... |
### Context: CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
... |
### Context: CREATE TABLE table_name_46 (
notes VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Notes of the Frequency with a Format of soft adult contemporary?
### Query: SELECT notes FROM table_name_46 WHERE format = "soft adult... |
### Context: CREATE TABLE Residents_Services (
resident_id INTEGER,
service_id INTEGER,
date_moved_in DATETIME,
property_id INTEGER,
date_requested DATETIME,
date_provided DATETIME,
other_details VARCHAR(255)
)
CREATE TABLE Residents (
resident_id INTEGER,
property_id INTEGER,
d... |
### Context: CREATE TABLE table_28052 (
"Episode no." real,
"Airdate" text,
"Dave Viewers" real,
"Dave Rank" real,
"Rank (cable)" real,
"Dave ja vu Viewers" real,
"Total viewers" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low... |
### 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 intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
rout... |
### Context: CREATE TABLE table_11318462_5 (
open_2nd_viii VARCHAR,
u15_3rd_iv VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many open 2nd viii had u15 3rd iv being gt
### Query: SELECT COUNT(open_2nd_viii) FROM table_11318462_5 WHERE u15_3rd_iv = "GT" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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 te... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_d... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### 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 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 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_2679 (
"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 above... |
### Context: CREATE TABLE table_27720737_1 (
original_air_date VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original air date when the u.s. viewers in millions was 5.39?
### Query: SELECT original_air_date FROM ta... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
out... |
### Context: CREATE TABLE table_name_64 (
played INTEGER,
points VARCHAR,
position VARCHAR,
goals_for VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the average number of played with goals of less than 43, more than 9 draw... |
### Context: CREATE TABLE table_name_43 (
record VARCHAR,
attendance INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which record has an attendance larger than 28,459?
### Query: SELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459 |
### Context: CREATE TABLE table_4463 (
"Round" real,
"Track" text,
"Date" text,
"Pole Position" text,
"Fastest Lap" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which track did Takashi Kogure hold pole positi... |
### Context: CREATE TABLE table_204_360 (
id number,
"year" number,
"host" text,
"gold" text,
"silver" text,
"bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year did the fiba south america under-17 championship for women first be... |
### Context: CREATE TABLE table_71859 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score to par for 156 strokes?
### Query: SELECT COUNT("To par") FROM table... |
### Context: CREATE TABLE table_name_13 (
week INTEGER,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Week was the Attendance 43,430?
### Query: SELECT MAX(week) FROM table_name_13 WHERE attendance = 43 OFFSET 430 |
### Context: CREATE TABLE table_name_23 (
name VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when Location is 'DZ'?
### Query: SELECT name FROM table_name_23 WHERE location = "dz" |
### Context: CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
min... |
### Context: CREATE TABLE table_60814 (
"Name" text,
"Dates active" text,
"Windspeeds" text,
"Pressure" text,
"Deaths" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What pressure is Ken?
### Query: SELECT "Pressure" FROM table_60814 WHERE "Name" =... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
... |
### 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 chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
di... |
### Context: CREATE TABLE table_9239 (
"Player" text,
"No.(s)" text,
"Height in Ft." text,
"Position" text,
"Years with Spurs" text,
"School/Previous Club Team/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Position, when School... |
### Context: CREATE TABLE table_22182 (
"Season" real,
"Average Attendance Home" text,
"Highest Attendance Home" text,
"Average Attendance Away" text,
"Highest Attendance Away" text,
"Division / Section" text,
"Level" text,
"Average Attendance League" text
)
-- Using valid SQLite, answ... |
### Context: CREATE TABLE table_49800 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Tournament, when Result is 18th?
### Query: SELECT "Tournament" FROM table_49800 WHE... |
### Context: CREATE TABLE table_name_7 (
college_junior_club_team VARCHAR,
pick VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College/Junior/Club Team has a Pick larger than 70, and a Round smaller than 7?
### Query: SELECT college... |
### Context: CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Lives_in (
stuid INTEGER,
dormid INTEGER,
room_number INTEGER
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
... |
### 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_35865 (
"Gauge" text,
"Railway" text,
"Works no." text,
"Year" text,
"Builder" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Gauge of Builder Beyer, Peacock?
### Query: SELECT "Gauge" FROM table_35865 WH... |
### Context: CREATE TABLE table_name_79 (
latitude VARCHAR,
year_named VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Latitude has a Year named smaller than 1997, and a Name of aino planitia?
### Query: SELECT latitude FROM table_nam... |
### 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 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 table_name_8 (
loss VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has the record of 11-6?
### Query: SELECT loss FROM table_name_8 WHERE record = "11-6" |
### Context: CREATE TABLE table_25213146_2 (
circuit VARCHAR,
winning_driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what circuit was Bruno Spengler the winning driver?
### Query: SELECT circuit FROM table_25213146_2 WHERE winning_driver = "Bruno ... |
### Context: CREATE TABLE table_name_50 (
year INTEGER,
genre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is total number of years that has genre of first-person shooter?
### Query: SELECT SUM(year) FROM table_name_50 WHERE genre = "first-person sho... |
### Context: CREATE TABLE table_name_3 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away side's score when richmond is at home?
### Query: SELECT away_team AS score FROM table_name_3 WHERE home_team = "richmond" |
### Context: CREATE TABLE table_76260 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest week that was played against the Minnesota Vikings?
... |
### Context: CREATE TABLE table_name_25 (
constructor VARCHAR,
driver VARCHAR,
rounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the constructor of the car that Jan Lammers made 7-14 rounds in?
### Query: SELECT constructor FROM table_name_2... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id numb... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requireme... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
in... |
### Context: CREATE TABLE table_10418 (
"7:00 PM" text,
"8:00 PM" text,
"8:30 PM" text,
"9:00 PM" text,
"9:30 PM" text,
"10:00 PM" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for 9:00 PM when the 9:30 PM shows as specials?
### Que... |
### Context: CREATE TABLE table_177766_1 (
percentage VARCHAR,
abbreviation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of this constellation abbreviated as 'nor'?
### Query: SELECT percentage FROM table_177766_1 WHERE abbrev... |
### Context: CREATE TABLE table_28014096_1 (
no_in_season INTEGER,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of this season's episode that had the production code 2t6206?
### Query: SELECT MIN(no_in_season) FROM table... |
### Context: CREATE TABLE department (
dept_code VARCHAR,
dept_name VARCHAR
)
CREATE TABLE CLASS (
prof_num VARCHAR
)
CREATE TABLE professor (
prof_high_degree VARCHAR,
emp_num VARCHAR,
dept_code VARCHAR
)
CREATE TABLE employee (
emp_fname VARCHAR,
emp_num VARCHAR
)
-- Using valid S... |
### Context: CREATE TABLE table_36445 (
"Year" text,
"Flagship Station" text,
"Play-by-play" text,
"Color commentator(s)" text,
"Studio host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the studio host for glenn ordway and jerry sichting wit... |
### Context: CREATE TABLE table_23211041_5 (
high_points VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the most points in game 4?
### Query: SELECT high_points FROM table_23211041_5 WHERE game = 4 |
### Context: CREATE TABLE table_name_36 (
team VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team when the time is 1:11.19.89?
### Query: SELECT team FROM table_name_36 WHERE time = "1:11.19.89" |
### Context: CREATE TABLE table_15887683_8 (
n° VARCHAR,
television_service VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number for fox news channel
### Query: SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel" |
### Context: CREATE TABLE table_name_79 (
land___sqmi__ INTEGER,
water__sqmi_ VARCHAR,
longitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Land (sqmi) has a Water (sqmi) smaller than 0.04, and a Longitude of -96.794706?
### Query: SELECT MIN(... |
### Context: CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE country (
Country_id int,
Country_name text,
Capital text,
Official_native_language text
)
CREATE TABLE match_season (
... |
### Context: CREATE TABLE table_name_6 (
player VARCHAR,
round VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has a round larger than 1 in Austria?
### Query: SELECT player FROM table_name_6 WHERE round > 1 AND nationali... |
### Context: CREATE TABLE team (
Team_id VARCHAR,
Name VARCHAR
)
CREATE TABLE match_season (
Position VARCHAR,
Team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the positions of the players from the team with name 'Ryley Goldner'.
### Query:... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE fare (
fa... |
### Context: CREATE TABLE table_266 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the largest purse?
###... |
### Context: CREATE TABLE table_69346 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game that had a loss of Risley (0-1)?
### Query... |
### Context: CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number in... |
### Context: CREATE TABLE table_name_94 (
outcome VARCHAR,
partner VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Outcome, when Partner is 'Byron Black', and when Opponents is 'Goran Ivani evi Brian Macphie'?
### Query: SELECT... |
### Context: CREATE TABLE table_25037577_1 (
superintendent VARCHAR,
year VARCHAR,
middle_school_principal VARCHAR,
gorham_principal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the superintendent(s) when the middle school principal was al... |
### Context: CREATE TABLE table_16367 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the prod... |
### Context: CREATE TABLE table_name_74 (
second_vice_president VARCHAR,
third_vice_president VARCHAR,
inaugurated VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Second Vice President, when Third Vice President is 'Gen. Juan Alonso', and when Ina... |
### Context: CREATE TABLE table_78079 (
"Airing date" text,
"Number of episodes" real,
"HD format" text,
"Highest average point ratings" real,
"Genre" text,
"Official website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the airing da... |
### 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_52448 (
"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 total Attendance for Games while Chicago... |
### Context: CREATE TABLE table_204_422 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"time" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- at the women 's 200 meter individual medley sm10 event at... |
### Context: CREATE TABLE table_35451 (
"Season" real,
"Game" text,
"Record" text,
"Opponent" text,
"Score" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Game has a Result of win, and an Opponent of new hampshire, and a Sea... |
### Context: CREATE TABLE inst (
instid number,
name text,
country text
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
)
CREATE TABLE authors (
authid number,
lname text,
fna... |
### Context: CREATE TABLE table_2190919_1 (
team_s_ VARCHAR,
avg_finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the racing teams for which the average finish is 23.3?
### Query: SELECT team_s_ FROM table_2190919_1 WHERE avg_finish = "23.3" |
### Context: CREATE TABLE table_42847 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" real,
"Finish" real,
"Entrant" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average finish that has 24 as the start, with a year after 1987... |
### Context: CREATE TABLE table_16022 (
"Episode #" real,
"Production code" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who directed the movie written by is sib ventress / a... |
### Context: CREATE TABLE table_77330 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TOTAL, OF A TO PAR FOR HUBERT GREEN, AND A TOTAL LARGER T... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
i... |
### Context: CREATE TABLE table_name_21 (
stadium VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium had the score 1 - 1 dodd 38'?
### Query: SELECT stadium FROM table_name_21 WHERE score = "1 - 1 dodd 38'" |
### Context: CREATE TABLE table_name_84 (
country VARCHAR,
icao VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the country for ICAO of tjig
### Query: SELECT country FROM table_name_84 WHERE icao = "tjig" |
### Context: CREATE TABLE table_23506 (
"Year" real,
"Date" text,
"Type" text,
"Species" text,
"Author Species" text,
"Value" text,
"Scott" text,
"Yvert" real,
"Mitchell" real,
"Sta. & Gib." real,
"Order" text,
"Family" text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
in... |
### Context: CREATE TABLE table_61215 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what series was in sydney, new south wales?
### Query: SELECT "Series"... |
### Context: CREATE TABLE rooms (
roomid text,
roomname text,
beds number,
bedtype text,
maxoccupancy number,
baseprice number,
decor text
)
CREATE TABLE reservations (
code number,
room text,
checkin text,
checkout text,
rate number,
lastname text,
firstname tex... |
### Context: CREATE TABLE table_37283 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many draws were there when the... |
### Context: CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE state (
state_code text,
state_name text,
country_name tex... |
### Context: CREATE TABLE inventory (
inventory_id number,
film_id number,
store_id number,
last_update time
)
CREATE TABLE actor (
actor_id number,
first_name text,
last_name text,
last_update time
)
CREATE TABLE store (
store_id number,
manager_staff_id number,
address_id... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE transfers (
r... |
### Context: CREATE TABLE table_name_16 (
tries_for VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of tries for when the try bonus is 0?
### Query: SELECT tries_for FROM table_name_16 WHERE try_bonus = "0" |
### Context: CREATE TABLE table_8436 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is Nick Price from?
### Query: SELECT "Country" FROM table_8436 WHERE "Player" = ... |
### Context: CREATE TABLE table_name_74 (
casualties VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the casualities for kabul area
### Query: SELECT casualties FROM table_name_74 WHERE location = "kabul area" |
### Context: CREATE TABLE table_name_41 (
qual_1 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the qual 1 for conquest racing?
### Query: SELECT qual_1 FROM table_name_41 WHERE team = "conquest racing" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.