text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE cost (
row_id number,
subject_id number,
... |
### Context: CREATE TABLE table_23286223_8 (
record VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record at the game where Deron Williams (6) did the high assists?
### Query: SELECT record FROM table_23286223_8 WHERE high... |
### Context: CREATE TABLE table_32295 (
"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 was the smallest crowd for a C... |
### Context: CREATE TABLE table_12407 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player with a 70-68-74=212 score?
### Query: SELECT "Player" FROM table_12407 WHER... |
### Context: CREATE TABLE table_40552 (
"Race" text,
"Pole position" text,
"Fastest lap" text,
"Most laps led" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Winning Driver, ... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS varchar(20),
DEPT_EXTENSION varchar(4)
)
CREATE TABLE CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME ... |
### Context: CREATE TABLE table_name_22 (
crowd INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest crowd at victoria park?
### Query: SELECT MIN(crowd) FROM table_name_22 WHERE venue = "victoria park" |
### Context: CREATE TABLE gyb (
CLINIC_ID 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,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_255885_1 (
municipality VARCHAR,
area__km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the municipality that has an area of exactly 214.44 sq. km?
### Query: SELECT municipality FROM table_255885_1 WHERE area__km²... |
### Context: CREATE TABLE table_34205 (
"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.
-- Year of 2006-07 had what studio host?
### Query: SELECT "St... |
### Context: CREATE TABLE table_name_99 (
bronze INTEGER,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most bronze when the total is 14, and there are more than 6 gold?
### Query: SELECT MAX(bronze) FROM table_name_99 W... |
### 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_name_38 (
cpc_blend_kazakhstan INTEGER,
draugen_north_sea VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?
### Query: SELECT MIN(cpc_blend_kazakhstan)... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departme... |
### Context: CREATE TABLE train (
Train_ID int,
Train_Num text,
Name text,
From text,
Arrival text,
Railway_ID int
)
CREATE TABLE railway_manage (
Railway_ID int,
Manager_ID int,
From_Year text
)
CREATE TABLE railway (
Railway_ID int,
Railway text,
Builder text,
Bui... |
### Context: CREATE TABLE table_name_26 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 value at the 2012 Grand Slam Tournaments?
### Query: SELECT 2007 FROM table_name_26 WHERE 2012 = "grand slam tournaments" |
### Context: CREATE TABLE table_2401326_1 (
kerry_percentage VARCHAR,
county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of the votes in Oneida did Kerry win?
### Query: SELECT kerry_percentage FROM table_2401326_1 WHERE county = "Oneida" |
### Context: CREATE TABLE table_14209455_1 (
mon_26_may VARCHAR,
fri_30_may VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what time is mon may 26 and fri may 30 is 18' 28.27 122.599mph?
### Query: SELECT mon_26_may FROM table_14209455_1 WHERE fri_30_may = ... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE requirement (
requirement_id int... |
### Context: CREATE TABLE table_55004 (
"Year" text,
"Make & Model" text,
"Length" text,
"Engine Type" text,
"Numbers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lenth of a 2003 Make & Model of nabi 35-lfw?
### Query: SELECT "Length... |
### 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_3 (
cultural_and_educational_panel INTEGER,
university_of_dublin VARCHAR,
administrative_panel VARCHAR,
agricultural_panel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the Cultural and Educati... |
### Context: CREATE TABLE table_27293285_2 (
points_against VARCHAR,
points_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points against did the club who had 353 points for have?
### Query: SELECT points_against FROM table_27293285_2 WHERE poi... |
### Context: CREATE TABLE table_11209 (
"Player" text,
"Pos." text,
"From" text,
"School/Country" text,
"Rebs" real,
"Asts" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the school/country of the player with 337 assists?
### Query: SEL... |
### Context: CREATE TABLE table_name_6 (
result VARCHAR,
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHat was the result of the friendly match that was played on october 8, 2012?
### Query: SELECT result FROM table_name_6 WH... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
S... |
### Context: CREATE TABLE table_name_83 (
career_w_l VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for Career W-L for the Grand Slam Tournaments?
### Query: SELECT career_w_l FROM table_name_83 WHERE tournament = "gran... |
### Context: CREATE TABLE table_55643 (
"Round" real,
"Grand Prix" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_54601 (
"Year" real,
"Date" text,
"Type" text,
"President" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd... |
### Context: CREATE TABLE table_name_42 (
penalty VARCHAR,
team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the penalty for the DET team player Andreas Lilja?
### Query: SELECT penalty FROM table_name_42 WHERE team = "det" AND... |
### Context: CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE dataset (
... |
### Context: CREATE TABLE table_name_78 (
name VARCHAR,
snatch VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a Snatch of 157.0?
### Query: SELECT name FROM table_name_78 WHERE snatch = "157.0" |
### Context: CREATE TABLE CloseReasonTypes (
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 Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### 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 CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_items... |
### Context: CREATE TABLE table_3356 (
"meas. num." real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every entry ... |
### Context: CREATE TABLE weather (
zip_code VARCHAR,
max_wind_Speed_mph VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For each zip code, return how many times max wind speed reached 25?
### Query: SELECT zip_code, COUNT(*) FROM weather WHERE max_wind_Spee... |
### Context: CREATE TABLE table_name_71 (
built VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who built the conant creek pegram truss railroad bridge?
### Query: SELECT built FROM table_name_71 WHERE name = "conant creek pegram truss railroad... |
### 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 PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
... |
### 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 ship (
ship_id number,
name text,
type text,
built_year number,
class text,
flag text
)
CREATE TABLE captain (
captain_id number,
name text,
ship_id number,
age text,
class text,
rank text
)
-- Using valid SQLite, answer the following question... |
### 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_1874 (
"Species" text,
"Common name" text,
"Trinidad" text,
"Tobago" text,
"Bocas Is." text,
"Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- are in tobago species liophis cobellus cobellus?
### Query: SELE... |
### Context: CREATE TABLE table_1067441_1 (
_in_€_ VARCHAR,
gdp_per_cap__2003 INTEGER,
province VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Friesland's gdp per capita?
### Query: SELECT MIN(gdp_per_cap__2003), _in_€_ FROM table_1067441_1 WHER... |
### Context: CREATE TABLE table_name_64 (
winning_score VARCHAR,
runner_s__up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What winning score has in-kyung kim as the runner(s)-up?
### Query: SELECT winning_score FROM table_name_64 WHERE runner_s__up = "in... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat... |
### Context: CREATE TABLE table_58794 (
"Name" text,
"Tournaments" real,
"Pro Debut" text,
"Top division debut" text,
"Highest rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pro Debut, when Tournament is greater than 11, and when Highe... |
### Context: CREATE TABLE grapes (
id number,
grape text,
color text
)
CREATE TABLE appellations (
no number,
appelation text,
county text,
state text,
area text,
isava text
)
CREATE TABLE wine (
no number,
grape text,
winery text,
appelation text,
state text,
... |
### Context: CREATE TABLE table_73432 (
"P" real,
"Player" text,
"League" real,
"Scottish Cup" real,
"League Cup" real,
"Challenge Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did player 7 score in the ch... |
### Context: CREATE TABLE table_39558 (
"Paul McCartney" text,
"Stuart" text,
"McIntosh" text,
"Whitten" text,
"Linda McCartney" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Paul McCartney has a Linda McCartney of keyboards?
### Query: SELE... |
### Context: CREATE TABLE table_1597866_3 (
regular_judge VARCHAR,
host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the regular judge when host is anja rubik
### Query: SELECT regular_judge FROM table_1597866_3 WHERE host = "Anja Rubik" |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NA... |
### Context: CREATE TABLE table_76811 (
"1976" text,
"1977" text,
"1978" text,
"1979" text,
"1980" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is 1976 when 1980 is 2.0?
### Query: SELECT "1976" FROM table_76811 WHERE "1980" = '2.0' |
### Context: CREATE TABLE table_name_30 (
visitor VARCHAR,
home VARCHAR,
decision VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Visitor has a Home of vancouver, and a Decision of cloutier?
### Query: SELECT visitor FROM table_name_30 WHERE home =... |
### Context: CREATE TABLE table_23248967_5 (
location_attendance VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many locations was game 3 played at?
### Query: SELECT COUNT(location_attendance) FROM table_23248967_5 WHERE game = 3 |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE table_1998037_9 (
television_commentator VARCHAR,
radio_commentator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the television commentator when the radio commentator is Galyna Babiy?
### Query: SELECT television_commentat... |
### Context: CREATE TABLE table_17483 (
"Rd." real,
"Grand Prix" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the report wit... |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_name_33 (
high_rebounds VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the highest rebounds on game 5?
### Query: SELECT high_rebounds FROM table_name_33 WHERE game = 5 |
### Context: CREATE TABLE table_70525 (
"Name" text,
"Country" text,
"Status" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows as the status for the name of de la red?
### Query: SELECT "Status"... |
### Context: CREATE TABLE table_name_76 (
draw INTEGER,
english_translation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the English translation Someone Like You, what is the lowest draw?
### Query: SELECT MIN(draw) FROM table_name_76 WHERE english_tr... |
### Context: CREATE TABLE table_name_87 (
bronze_medals VARCHAR,
silver_medals VARCHAR,
gold_medals VARCHAR,
total_medals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of bronze medals when gold medals was 2, total medals more ... |
### Context: CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
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,
JZ... |
### 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_9396 (
"Year" real,
"Manufacturer" text,
"Start" text,
"Finish" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the start when the finish is 1?
### Query: SELECT "Start" FROM table_9396 WHERE "Fini... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedE... |
### Context: CREATE TABLE table_name_74 (
host_city VARCHAR,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Host City has more than 6 Silver and a Total of 22?
### Query: SELECT host_city FROM table_name_74 WHERE silver > 6 A... |
### Context: CREATE TABLE table_394 (
"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_name_40 (
novelty VARCHAR,
name VARCHAR,
status VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the novel that has a valid status, located in Mongolia, and named Prenocephale?
### Query: SELEC... |
### 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 hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,... |
### Context: CREATE TABLE files (
f_id number,
artist_name text,
file_size text,
duration text,
formats text
)
CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolut... |
### Context: CREATE TABLE table_203_640 (
id number,
"name" text,
"college" text,
"years" text,
"reign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which monarchs attended the same college at the university of oxford as seretse khama ?
### Query... |
### Context: CREATE TABLE table_2560 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_name_27 (
score VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has t3 as the place?
### Query: SELECT score FROM table_name_27 WHERE place = "t3" |
### Context: CREATE TABLE table_18893428_1 (
location VARCHAR,
constructor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the car that has a constructor of Lorraine-Dietrich?
### Query: SELECT location FROM table_18893428_1 WHERE con... |
### Context: CREATE TABLE table_name_51 (
surface VARCHAR,
outcome VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface when the opponent was judith wiesner, and the outcome was winner?
### Query: SELECT surface FROM tab... |
### Context: CREATE TABLE table_name_52 (
partner VARCHAR,
surface VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the partner that played a match on a grass court?
### Query: SELECT partner FROM table_name_52 WHERE surface = "grass" |
### Context: CREATE TABLE attribute_definitions (
attribute_id number,
attribute_name text,
attribute_data_type text
)
CREATE TABLE catalog_contents_additional_attributes (
catalog_entry_id number,
catalog_level_number number,
attribute_id number,
attribute_value text
)
CREATE TABLE catalo... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### Context: CREATE TABLE table_2822 (
"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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POS... |
### Context: CREATE TABLE table_47438 (
"Year" real,
"Nominated/Won" text,
"Award/category" text,
"Festival/organization" text,
"Role" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What role was nominated at the Sydney Film Festival?
### Query: SE... |
### Context: CREATE TABLE table_name_32 (
laps INTEGER,
driver VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average laps for ralph firman with a grid of over 19?
### Query: SELECT AVG(laps) FROM table_name_32 WHERE driver = "... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE table_name_43 (
competition VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the competition in 2003?
### Query: SELECT competition FROM table_name_43 WHERE year = 2003 |
### Context: CREATE TABLE customers (
customer_id number,
customer_name text
)
CREATE TABLE claims (
claim_id number,
fnol_id number,
effective_date time
)
CREATE TABLE available_policies (
policy_id number,
policy_type_code text,
customer_phone text
)
CREATE TABLE services (
serv... |
### Context: CREATE TABLE table_57908 (
"Year" real,
"Title" text,
"Original channel" text,
"Role" text,
"Note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the original channel when the note is co-star in year 2012?
### Query: SELECT "Or... |
### Context: CREATE TABLE table_name_86 (
innings INTEGER,
runs VARCHAR,
matches VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest number of innings with less than 342 runs and more than 4 matches?
### Query: SELECT MAX(innings) FROM ta... |
### Context: CREATE TABLE table_18007 (
"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 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_72 (
score VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the match in which mardy fish was the partner?
### Query: SELECT score FROM table_name_72 WHERE partner = "mardy fish" |
### Context: CREATE TABLE table_10592536_8 (
date_of_appointment VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of appointment when replaced by is roy hodgson?
### Query: SELECT date_of_appointment FROM table_10592536_8... |
### Context: CREATE TABLE table_203_450 (
id number,
"team" text,
"outgoing manager" text,
"manner of departure" text,
"date of vacancy" text,
"replaced by" text,
"date of appointment" text,
"position in table" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: CREATE TABLE table_name_62 (
date VARCHAR,
round VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did the match take place in a round of 1r and have a result 2 6, 5 7, 2 6?
### Query: SELECT date FROM table_name_6... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.