text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_77 (
rounds VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rounds did the team Walther participate in?
### Query: SELECT rounds FROM table_name_77 WHERE team = "walther" |
### Context: CREATE TABLE table_37636 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Attendance of 55,340 had what opponent?
### Query... |
### Context: CREATE TABLE table_6663 (
"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 is the record when the loss is westbrook (1-6)?
### Query: SELECT "R... |
### Context: CREATE TABLE table_48381 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Pick # smaller than 23, and a Player of garrett sutherland?
### Qu... |
### Context: CREATE TABLE table_204_174 (
id number,
"rank" number,
"name" text,
"nationality" text,
"result" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many names are there ?
### Query: SELECT COUNT("name") FROM table_2... |
### Context: CREATE TABLE table_name_79 (
position VARCHAR,
first_team_goals VARCHAR,
current_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player who has ongoing first-team goals and currently plays for the Aston Villa ... |
### 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 record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE... |
### Context: CREATE TABLE table_29110 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote 'at the end of the aisle'?
### Query: SELECT "Wr... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
adm... |
### Context: CREATE TABLE table_name_16 (
bronze INTEGER,
total INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest bronze for less than 2 total trophies?
### Query: SELECT MAX(bronze) FROM table_name_16 WHERE total < 2 |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
it... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_10357 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the racer that had a first qualification time of 1:22.085?
### Query: SELECT "... |
### Context: CREATE TABLE certificate (
eid number,
aid number
)
CREATE TABLE flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
sala... |
### Context: CREATE TABLE table_204_887 (
id number,
"district" number,
"representative" text,
"party" text,
"residence" text,
"counties represented" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many senators represent natrona county ?
##... |
### Context: CREATE TABLE table_15229 (
"Rank" real,
"Heat" real,
"Lane" real,
"Nation" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what heat did the swimmer in Lane 6 rank higher than 7 with a time of 4:08.27?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_58 (
debut VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was the debut of Scott Tunbridge?
### Query: SELECT debut FROM table_name_58 WHERE name = "scott tunbridge" |
### Context: CREATE TABLE theme_parks (
theme_park_id number,
theme_park_details text
)
CREATE TABLE ref_attraction_types (
attraction_type_code text,
attraction_type_description text
)
CREATE TABLE hotels (
hotel_id number,
star_rating_code text,
pets_allowed_yn text,
price_range numb... |
### Context: CREATE TABLE table_12672 (
"Mininera DFL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins for the team with more than 1282 against and fewer than 14... |
### 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 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 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_26275 (
"Name" text,
"Starting chip count" real,
"WSOP bracelets" real,
"WSOP cashes" real,
"WSOP earnings" text,
"Final place" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had 2 WSOP cashe... |
### Context: CREATE TABLE table_name_72 (
opponent VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Opponent that has the Time of 0:20?
### Query: SELECT opponent FROM table_name_72 WHERE time = "0:20" |
### Context: CREATE TABLE table_72696 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the interview subject on the dat... |
### Context: CREATE TABLE MediaType (
MediaTypeId integer,
Name varchar(120)
)
CREATE TABLE Invoice (
InvoiceId integer,
CustomerId integer,
InvoiceDate datetime,
BillingAddress varchar(70),
BillingCity varchar(40),
BillingState varchar(40),
BillingCountry varchar(40),
BillingPo... |
### Context: CREATE TABLE table_11734041_3 (
years_for_rockets VARCHAR,
no_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During which years did number 13 play for the Rockets?
### Query: SELECT years_for_rockets FROM table_11734041_3 WHERE no_s_ = "13" |
### 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_49 (
example_meaning_in_english VARCHAR,
standard_thai VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What example in English has a Standard Thai of ?
### Query: SELECT example_meaning_in_english FROM table_name_49 WHERE... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
Revie... |
### Context: CREATE TABLE table_39360 (
"Date" text,
"Opponents" text,
"H / A" text,
"Result F \u2013 A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Attendances have a Result F A of 0 2, and a Date of 31 january 1903?
... |
### Context: CREATE TABLE enzyme (
id VARCHAR,
name VARCHAR
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id VARCHAR,
interaction_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the id and name of the enzyme with most number of med... |
### Context: CREATE TABLE table_name_78 (
playoffs VARCHAR,
manager VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Manager of spencer abbott, and a Year of 1919 involves what playoffs?
### Query: SELECT playoffs FROM table_name_78 WHERE ma... |
### 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 table_16879 (
"No. in series" text,
"No. in season" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Featured character(s)" text,
"Original air date" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE Person (
gender VARCHAR,
age INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average age for each gender?
### Query: SELECT AVG(age), gender FROM Person GROUP BY gender |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description tex... |
### 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_204_468 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which driver dro... |
### 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_name_93 (
position VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Chris Hanburger's position?
### Query: SELECT position FROM table_name_93 WHERE name = "chris hanburger" |
### Context: CREATE TABLE table_name_74 (
member VARCHAR,
state VARCHAR,
electorate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which member is from the state of SA and the grey electorate?
### Query: SELECT member FROM table_name_74 WHERE state = "s... |
### Context: CREATE TABLE table_25146 (
"Season" text,
"Games" real,
"Won" real,
"Lost" real,
"Tied" real,
"Points" real,
"Winning Pct. %" text,
"Goals for" real,
"Goals against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### Context: CREATE TABLE table_65687 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"Hometown/School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick # of the player who has a hometown/school of Atlanta, GA?
### Query... |
### 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 table_67742 (
"Island" text,
"Nickname" text,
"Area" text,
"Population (as of 2010)" real,
"Highest point" text,
"Elevation" text,
"Age ( Ma )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most point with... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_name_41 (
particle VARCHAR,
isospin_i VARCHAR,
commonly_decays_to VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Particle has an Isospin I of 1 and Commonly decays to p + + 0 or n 0 + +?
### Query: SELECT particle F... |
### Context: CREATE TABLE table_1277350_7 (
friday_day_six VARCHAR,
thursday_day_five VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is friday day six when thursday day five is pachhambey?
### Query: SELECT friday_day_six FROM table_1277350_7 WHERE thu... |
### Context: CREATE TABLE table_49570 (
"Location" text,
"Year" real,
"Champion" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the champion with a score of 7 6, 6 0?
### Query: SELECT "Champion" FROM table_49... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerD... |
### Context: CREATE TABLE table_23285761_10 (
score VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the game against Houston?
### Query: SELECT score FROM table_23285761_10 WHERE team = "Houston" |
### Context: CREATE TABLE table_203_545 (
id number,
"single/ep" text,
"release date" text,
"label" text,
"format(s)" text,
"uk singles chart position" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many singles were on t... |
### Context: CREATE TABLE table_name_71 (
power__horsepower_ INTEGER,
year_built INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power of the unit built after 1995?
### Query: SELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1... |
### Context: CREATE TABLE table_49429 (
"Date" text,
"Time" text,
"Home" text,
"Geust" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home of the geust fc basel (asl)?
### Query: SELECT "Home" FROM table_49429 WHERE "Geus... |
### Context: CREATE TABLE table_name_64 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for 2006, when 2013 is 2 4?
### Query: SELECT 2006 FROM table_name_64 WHERE 2013 = "2–4" |
### Context: CREATE TABLE table_name_33 (
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the game played at Punt Road Oval?
### Query: SELECT date FROM table_name_33 WHERE venue = "punt road oval" |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE student_course_registrations (
student_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is id of students who registered some courses but the least number of courses in these students?
### Query: SELECT student_id FROM student_co... |
### 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_name_87 (
black VARCHAR,
opening VARCHAR,
white VARCHAR,
moves VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent of Anand in the match with 20 moves that opened with E15 Queen's Indian Defence?
### Q... |
### Context: CREATE TABLE table_27593 (
"June 10-11" text,
"March 27-29" text,
"January 15-16" text,
"November 3" text,
"August 21-22" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- june 10-11 when november 3 is 133?
### Query: SELECT "June 10-11" ... |
### Context: CREATE TABLE table_name_92 (
country VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is the player ho had a To par of +1 and a score of 69-70-72=211 from?
### Query: SELECT country FROM table_name_... |
### Context: CREATE TABLE table_66685 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game before week 3 with an attendance of 53,658?
### Query: SEL... |
### Context: CREATE TABLE table_name_33 (
away_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the away team of the game with tie number 31?
### Query: SELECT away_team FROM table_name_33 WHERE tie_no = "31" |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_ti... |
### 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_62452 (
"Class" text,
"Number(s)" text,
"Quantity" text,
"Year(s) of Manufacture" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number corresponds to the quantity of 24?
### Query: SELECT "Number(s... |
### Context: CREATE TABLE table_35126 (
"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 lowest total medals the team with more than 0 bronze, 6 silver, and... |
### Context: CREATE TABLE table_2429942_2 (
top_goalscorer VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the top goalscorer for season 2001-02?
### Query: SELECT top_goalscorer FROM table_2429942_2 WHERE season = "2001-02" |
### Context: CREATE TABLE table_19149550_7 (
london_borough VARCHAR,
black_caribbean_population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where are the london borough with the black caribbean population of 17974?
### Query: SELECT london_borough FROM t... |
### Context: CREATE TABLE table_22514845_5 (
s_host VARCHAR,
s_analyst VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the host for john rotz and howard cosell
### Query: SELECT s_host FROM table_22514845_5 WHERE s_analyst = "John Rotz and Howard Cosell... |
### 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 tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_description VARCHAR(255)
)
CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),... |
### Context: CREATE TABLE table_51881 (
"D 41" text,
"D 42" text,
"D 43" text,
"D 44" text,
"D 45" text,
"D 46" text,
"R 54" text,
"R 53" text,
"R 52" text,
"R 51" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the D 42 whic... |
### Context: CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE instructor (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
salary numeric(8,2)
)
CREATE TABLE prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CRE... |
### Context: CREATE TABLE table_name_4 (
rank VARCHAR,
notes VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Brazil's rank when it has notes of R?
### Query: SELECT COUNT(rank) FROM table_name_4 WHERE notes = "r" AND country = "br... |
### Context: CREATE TABLE table_3071 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Wildcats points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Against what opponent did the Wildcats have a ... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
Accepted... |
### Context: CREATE TABLE table_17309500_1 (
assists VARCHAR,
blocks VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of assists for 77 blocks
### Query: SELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = "77" |
### Context: CREATE TABLE table_203_615 (
id number,
"district" text,
"incumbent" text,
"party" text,
"first\nelected" number,
"result" text,
"candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many candidates were part of the re... |
### Context: CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Assessment_Notes (
notes_id INTEGER,
student_id INTEGER,
teacher_id INTEGER,
date_of_notes DATETIME,
text_of_notes VARCHAR(255),
other_details VARCHAR(255)
)
... |
### Context: CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### 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 PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,... |
### Context: CREATE TABLE table_name_63 (
winner VARCHAR,
route VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of the mechelen > mechelen route?
### Query: SELECT winner FROM table_name_63 WHERE route = "mechelen > mechelen" |
### Context: CREATE TABLE table_22994 (
"Pos" real,
"Member Association" text,
"Points (total 500)" real,
"Clubs" real,
"Group stage" real,
"Play-off" real,
"AFC Cup" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which club in group stage 4... |
### Context: CREATE TABLE table_name_33 (
finish VARCHAR,
total INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what place(s) did the player(s) with a total less than 282 finish?
### Query: SELECT finish FROM table_name_33 WHERE total < 282 |
### Context: CREATE TABLE table_52793 (
"Analog Channel" text,
"Digital Channel" text,
"Call sign" text,
"Name" text,
"Network" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which digital channel is named Storm Tracker?
### Query: SELECT "Digital ... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)... |
### Context: CREATE TABLE table_4522 (
"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 lowest crowd when the aw... |
### Context: CREATE TABLE table_name_74 (
storms__days_year_ VARCHAR,
fog__days_year_ VARCHAR,
sunshine__hrs_year_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the number of storms where fog is lower than 74, and sunshine is 2 668?
### Query:... |
### Context: CREATE TABLE table_name_99 (
position VARCHAR,
height VARCHAR,
current_club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the position of the player with a Height of 2.06 and club of Triumph Lyubertsy?
### Query: SELECT position FRO... |
### Context: CREATE TABLE table_3654 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nhl team for the position centre and... |
### Context: CREATE TABLE table_20124413_1 (
original_airdate VARCHAR,
prod_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1.17 is the production code how many air dates are there?
### Query: SELECT COUNT(original_airdate) FROM table_20124413_1 WH... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.