text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_name_33 (
place VARCHAR,
performance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place had 14:11.15 as the performance?
### Query: SELECT place FROM table_name_33 WHERE performance = "14:11.15" |
### Context: CREATE TABLE table_name_18 (
purpose VARCHAR,
band VARCHAR,
frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Band of am, and a Frequency of 0 846 has what purpose?
### Query: SELECT purpose FROM table_name_18 WHERE band = "am" AND f... |
### Context: CREATE TABLE table_23670057_5 (
current_club VARCHAR,
height__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which clubs have players with height 2.14m?
### Query: SELECT current_club FROM table_23670057_5 WHERE height__m_ = "2.14" |
### Context: CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE dorm_amenity (
amenid number,
amenity_name text
)
CREATE TABLE dorm (
dormid number,
dorm_name text,
student_c... |
### Context: CREATE TABLE table_name_3 (
clubs VARCHAR,
number_of_fixtures VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Clubs when there are 4 for the number of fixtures?
### Query: SELECT clubs FROM table_name_3 WHERE number_of_fixtures = 4 |
### Context: CREATE TABLE people (
name VARCHAR,
height INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- find the name of people whose height is lower than the average.
### Query: SELECT name FROM people WHERE height < (SELECT AVG(height) FROM people) |
### Context: CREATE TABLE table_28211103_1 (
winner VARCHAR,
st_kilda_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner when the st kilda score is 13.10.88?
### Query: SELECT winner FROM table_28211103_1 WHERE st_kilda_score = "13.10.88... |
### Context: CREATE TABLE table_1157867_2 (
name VARCHAR,
notes VARCHAR,
builder VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which locomotives 12' x 17' are both ex-industrial and built by Manning Wardle?
### Query: SELECT name FROM table_1157867_2 W... |
### Context: CREATE TABLE course (
crs_code text,
dept_code text,
crs_description text,
crs_credit number
)
CREATE TABLE department (
dept_code text,
dept_name text,
school_code text,
emp_num number,
dept_address text,
dept_extension text
)
CREATE TABLE employee (
emp_num n... |
### 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_2730 (
"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 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_26 (
record VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the season record when the location attendance was Air Canada Centre 19,800?
### Query: SELECT record FROM table_name_26 WH... |
### Context: CREATE TABLE table_name_73 (
specific_orbital_energy VARCHAR,
orbital_period VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Orbital period of 89 to 128 min has what specific orbital energy?
### Query: SELECT specific_orbital_energy FROM table_n... |
### 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 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_62126 (
"Player" text,
"Height" real,
"Position" text,
"Year born (Age)" text,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Current Club has a Player of bassem balaa?
### Query: SELECT "Current... |
### Context: CREATE TABLE table_name_2 (
popular_votes INTEGER,
year VARCHAR,
office VARCHAR,
percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes for the candidate after 1992, 1.59% of the vote, and the office of us representativ... |
### 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 table_67944 (
"Date" text,
"Round" text,
"Opponents" text,
"Result F\u2013A" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the attendance for 4 january 2004
### Query: SELECT "Attendance" FROM tabl... |
### Context: CREATE TABLE table_17627 (
"Municipality" text,
"Population" real,
"Police officers" real,
"Residents per officer" real,
"Total costs (2005)" text,
"Cost per capita" text,
"Case burden" real,
"Crime rate per 1,000 people" real,
"Police force" text
)
-- Using valid SQLi... |
### Context: CREATE TABLE table_74129 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest entry in November for... |
### Context: CREATE TABLE table_1341663_11 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the race involving Billy Lee Evans as the seated Representative, was he elected again?
### Query: SELECT result FROM table_1341663_11 WH... |
### Context: CREATE TABLE table_name_52 (
score VARCHAR,
date VARCHAR,
home VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Home of quebec nordiques, and a Visitor of vancouver blazers on february 28?
### Query: SEL... |
### Context: CREATE TABLE table_40087 (
"Name" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which author is located in Mexico?
### Query: SELECT "Authors" FROM table_40087 WHERE "Locati... |
### Context: CREATE TABLE table_17001658_10 (
date VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the team Philadelphia?
### Query: SELECT date FROM table_17001658_10 WHERE team = "Philadelphia" |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABL... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
... |
### 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_name_49 (
year INTEGER,
city VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest year that has chester-le-street as the city, with 345 runs as the score?
### Query: SELECT MIN(year) FROM table... |
### Context: CREATE TABLE table_46979 (
"2004/ 05" text,
"2006/ 07" text,
"2007/ 08" text,
"2009/ 10" text,
"2010/ 11" text,
"2011/ 12" text,
"2012/ 13" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2012/13 result for the tourn... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CRE... |
### Context: CREATE TABLE table_name_5 (
sales__billion_ INTEGER,
company VARCHAR,
profits__billion_$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average sales in billions of walmart, which has more than 15.7 billion in profits?
### Quer... |
### Context: CREATE TABLE table_1827690_4 (
no VARCHAR,
elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1462/63 was the elected what was the no.?
### Query: SELECT no FROM table_1827690_4 WHERE elected = "1462/63" |
### Context: CREATE TABLE table_name_64 (
year INTEGER,
sideline_reporter_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest year featuring Sideline reporter(s) of michelle tafoya and suzy kolber?
### Query: SELECT MIN(year) FROM table_... |
### Context: CREATE TABLE table_15700367_6 (
runs_conceded VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runs conceded for chaminda vaas?
### Query: SELECT runs_conceded FROM table_15700367_6 WHERE name = "Chaminda Vaas" |
### Context: 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,
salary number
)
CREATE TABLE aircraft (
aid number,
name... |
### Context: CREATE TABLE table_16729063_2 (
date VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the opponent the Los Angeles Raiders?
### Query: SELECT date FROM table_16729063_2 WHERE opponent = "Los Angeles Raiders" |
### Context: CREATE TABLE table_33339 (
"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 HOME TEAM SCORED 9.11 (65)?
#... |
### 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 table_name_93 (
to_par VARCHAR,
player VARCHAR,
place VARCHAR,
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How far to par did ed furgol from the United States get when he scored less than 72 and... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE 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 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 table_61083 (
"Date of release" text,
"Title" text,
"Billboard peak" real,
"RIAA cert." text,
"Label" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What label is released on September 20, 2005?
### Query: SELECT "Label" F... |
### Context: CREATE TABLE table_5783 (
"Call sign" text,
"Frequency" text,
"City of License" text,
"Owner" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which format is in St. George with a frequency of 0 107.3 fm?
### Query: SELECT... |
### Context: CREATE TABLE table_name_37 (
total INTEGER,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the most total medals awarded to Poland?
### Query: SELECT MAX(total) FROM table_name_37 WHERE nation = "poland" |
### Context: CREATE TABLE table_name_40 (
margin INTEGER,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is canada's margin?
### Query: SELECT SUM(margin) FROM table_name_40 WHERE country = "canada" |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE table_29533 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (millions)" text,
"Original U.S. air date" text,
"Prod. code" real
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_15190346_2 (
stadium VARCHAR,
bowl_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium was the 1994 Gator Bowl in?
### Query: SELECT stadium FROM table_15190346_2 WHERE bowl_game = "1994 Gator Bowl" |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
... |
### Context: CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE table_name_58 (
interface VARCHAR,
product VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the interface of the product xerox travel scanner 100?
### Query: SELECT interface FROM table_name_58 WHERE product = "xerox travel s... |
### Context: CREATE TABLE table_name_81 (
opposing_teams VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opposing Teams, when Date is '11/10/1991'?
### Query: SELECT opposing_teams FROM table_name_81 WHERE date = "11/10/1991" |
### Context: CREATE TABLE table_203_654 (
id number,
"position" number,
"team" text,
"points" number,
"played" number,
"won" number,
"drawn" number,
"lost" number,
"for" number,
"against" number,
"difference" number
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE college (
cname text,
state text,
enr number
)
CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE table_64675 (
"Rank:" real,
"Premier:" text,
"Assumed Office:" text,
"Left Office:" text,
"TOTAL Time in Office:" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the TOTAL Time in Office with a rank smaller than 18, ... |
### Context: CREATE TABLE table_24807774_1 (
bosnian VARCHAR,
cook_islands VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many bosnian in cook islands is sri lankan
### Query: SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan" |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locatio... |
### Context: CREATE TABLE Customer_Orders (
Order_ID INTEGER,
Customer_ID INTEGER,
Store_ID INTEGER,
Order_Date DATETIME,
Planned_Delivery_Date DATETIME,
Actual_Delivery_Date DATETIME,
Other_Order_Details VARCHAR(255)
)
CREATE TABLE Performers_in_Bookings (
Order_ID INTEGER,
Perform... |
### 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 table_name_75 (
area_km_2 INTEGER,
official_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of Area km 2 that has the Official Name of glenelg?
### Query: SELECT SUM(area_km_2) FROM table_name_75 WHERE o... |
### Context: CREATE TABLE table_1974545_3 (
basketball_arena VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many basketball arenas are there that belong to a school with a capacity of 3,000?
### Query: SELECT COUNT(basketball_arena) FR... |
### Context: CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,
stu_transfer number,
dept_code text,
stu_phone text,
prof_num number
)
CREATE TABLE enroll (
class_code te... |
### 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_11750 (
"Town/City" text,
"Population" real,
"Operator" text,
"First year" real,
"Duration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Ivaipor , pr's biggest population?
### Query: SELECT MAX("Population"... |
### Context: CREATE TABLE table_204_986 (
id number,
"#" number,
"event year" number,
"season" text,
"flag bearer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the first samoan flag bearer at the olympic games ?
### Query: SELECT "flag be... |
### Context: CREATE TABLE table_name_62 (
gold INTEGER,
rank VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for gold when the rank is less than 3, and silver less than 1?
### Query: SELECT SUM(gold) FROM table_name_62 WHERE ra... |
### Context: CREATE TABLE table_name_91 (
silver VARCHAR,
gold INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number in total of silver with a gold smaller than 0?
### Query: SELECT COUNT(silver) FROM table_name_91 WHERE gold < 0 |
### Context: CREATE TABLE table_41890 (
"RR Romaja" text,
"M\u2013R Romaja" text,
"Hangul" text,
"Hanja" text,
"Name origin" text,
"Capital" text,
"Region" text,
"Korean dialect" text,
"Post-1896 Provinces" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: 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,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE gwyjzb (
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_1771753_3 (
race_time VARCHAR,
team VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 228 is the lap and chip ganassi racing is the team what is the race time?
### Query: SELECT race_time FROM table_177175... |
### Context: CREATE TABLE table_55560 (
"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.
-- In the game where Collingwood is th... |
### Context: CREATE TABLE table_8061 (
"Rank" text,
"Margin" text,
"Opponent" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Rank that has a Venue of bellerive oval , hobart, and a Margin of 115 runs?
### Qu... |
### Context: CREATE TABLE gwyjzb (
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_11 (
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?
### Query: SELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279 |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate ti... |
### 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 train (
Train_ID int,
Name text,
Time text,
Service text
)
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
)
C... |
### Context: CREATE TABLE table_19766_1 (
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of $ were spent in Iceland in 1948/49?
### Query: SELECT MAX(1948 AS _49__) AS $_millions_ FROM table_19766_1 WHERE country = "Iceland" |
### 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 hz_info (
KH text,
... |
### Context: CREATE TABLE table_28613 (
"#" real,
"Player" text,
"Points" real,
"Rebounds" real,
"Assists" real,
"Opponent" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the number of assists against illinois-chicago.
###... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
K... |
### 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 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,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE song (
song_name VARCHAR,
releasedate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the song that was released in the most recent year?
### Query: SELECT song_name, releasedate FROM song ORDER BY releasedate DE... |
### Context: CREATE TABLE table_14392 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is the lane less than 5 and is named gnes kov cs?
### Query: SELECT "Time" FROM table_1439... |
### Context: CREATE TABLE table_44504 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Set 1 of 21 25?
### Query: SELECT "Date" FROM ... |
### Context: CREATE TABLE table_name_34 (
ends VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When does Donaldson's move end?
### Query: SELECT ends FROM table_name_34 WHERE name = "donaldson" |
### Context: CREATE TABLE table_558 (
"Basic stem (root)" text,
"Present stem" text,
"Non-present stem" text,
"Participle" text,
"Verbal noun" text,
"Short stem" text,
"Meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the verb... |
### Context: CREATE TABLE table_name_18 (
gold INTEGER,
nation VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total gold from New zealand and a rank less than 14?
### Query: SELECT SUM(gold) FROM table_name_18 WHERE nation = "n... |
### Context: CREATE TABLE farm_competition (
Competition_ID int,
Year int,
Theme text,
Host_city_ID int,
Hosts text
)
CREATE TABLE city (
City_ID int,
Official_Name text,
Status text,
Area_km_2 real,
Population real,
Census_Ranking text
)
CREATE TABLE farm (
Farm_ID int... |
### Context: CREATE TABLE pilot (
Pilot_ID int,
Pilot_name text,
Rank int,
Age int,
Nationality text,
Position text,
Join_Year int,
Team text
)
CREATE TABLE pilot_record (
Record_ID int,
Pilot_ID int,
Aircraft_ID int,
Date text
)
CREATE TABLE aircraft (
Aircraft_ID ... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNotice... |
### Context: CREATE TABLE Roles (
role_code VARCHAR(15),
role_description VARCHAR(80)
)
CREATE TABLE Functional_Areas (
functional_area_code VARCHAR(15),
parent_functional_area_code VARCHAR(15),
functional_area_description VARCHAR(80)
)
CREATE TABLE Users (
user_id INTEGER,
role_code VARCH... |
### Context: CREATE TABLE table_name_48 (
losing_bonus VARCHAR,
points_for VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For Ynysybwl RFC, what was the losing bonus for 416 points?
### Query: SELECT losing_bonus FROM table_name_48 WHERE p... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.