text stringlengths 197 8.39k |
|---|
### 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 countrie... |
### Context: CREATE TABLE table_name_62 (
total VARCHAR,
nation VARCHAR,
silver VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many medals for spain that has 1 silver and 1 bronze?
### Query: SELECT COUNT(total) FROM table_name_6... |
### Context: CREATE TABLE table_27698941_6 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the game with the record of 3 12?
### Query: SELECT score FROM table_27698941_6 WHERE record = "3–12" |
### 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_41842 (
"Episode number" real,
"Season" text,
"Original airing" text,
"Total viewers" text,
"Audience share (average)" text,
"Season viewer average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode numb... |
### Context: CREATE TABLE table_57672 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest grid that has 55 laps?
### Query: SELECT MAX("Grid") FROM table_5... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_51690 (
"Player" text,
"No.(s)" text,
"Height in Ft." text,
"Position" text,
"Years for Rockets" text,
"School/Club Team/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which years did the Rockets number 6... |
### Context: CREATE TABLE table_name_24 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the away team at Victoria Park?
### Query: SELECT away_team AS score FROM table_name_24 WHERE venue = "victoria park" |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_66 (
undecided VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Undecided on 2009-05-24?
### Query: SELECT undecided FROM table_name_66 WHERE date = "2009-05-24" |
### Context: CREATE TABLE category (
category_id number,
name text,
last_update time
)
CREATE TABLE store (
store_id number,
manager_staff_id number,
address_id number,
last_update time
)
CREATE TABLE staff (
staff_id number,
first_name text,
last_name text,
address_id numb... |
### Context: CREATE TABLE table_50350 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place had a score of 71-70-73-71=285?
### Query: SELECT "Place" ... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_72173 (
"Round" 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.
-- Who had the fastest... |
### Context: CREATE TABLE table_70831 (
"Name" text,
"Frequency" text,
"Language" text,
"City" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which english website has a daily frequency ?
### Query: SELECT "Website" FROM table_70831... |
### Context: CREATE TABLE table_name_1 (
player VARCHAR,
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a Round larger than 5, and a Position of (g)?
### Query: SELECT player FROM table_name_1 WHERE round > 5 AND... |
### Context: CREATE TABLE table_25057928_1 (
institute VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most 2012/13 for university of cambridge
### Query: SELECT MAX(2012 AS _13) FROM table_25057928_1 WHERE institute = "University of Cambridge" |
### Context: CREATE TABLE table_1638437_2 (
pinyin VARCHAR,
area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the pinyin for 487 area
### Query: SELECT pinyin FROM table_1638437_2 WHERE area = "487" |
### Context: CREATE TABLE table_49470 (
"Game" text,
"Date" text,
"Home team" text,
"Result" text,
"Road team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Home team of philadelphia, and a Result of 104 110?
### Query: SELECT "Da... |
### Context: CREATE TABLE table_204_595 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many nations won at least two gold medals ?
###... |
### Context: CREATE TABLE table_name_65 (
party VARCHAR,
state VARCHAR,
member VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party is Peter Fisher from Vic serve in office?
### Query: SELECT party FROM table_name_65 WHERE state = "vic" AND member ... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_name_18 (
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is Retief Goosen from?
### Query: SELECT country FROM table_name_18 WHERE player = "retief goosen" |
### Context: CREATE TABLE table_23234 (
"Office" text,
"Branch" text,
"Location" text,
"Elected" real,
"Term began" text,
"Term ended" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What branch was involved when the term began in January 3, 1985... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity tex... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Votes (
Id number,
PostId number,
... |
### Context: CREATE TABLE table_name_9 (
overall INTEGER,
name VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Overall is the highest one that has a Name of gregory spann, and a Pick # larger than 19?
### Query: SELECT MAX(ove... |
### Context: CREATE TABLE table_name_18 (
language VARCHAR,
english_translation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the language when the english translation is come to me?
### Query: SELECT language FROM table_name_18 WHERE english_trans... |
### Context: CREATE TABLE table_name_59 (
format VARCHAR,
label VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the format on july 27, 1994 for alfa records
### Query: SELECT format FROM table_name_59 WHERE label = "alfa records" AND d... |
### 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_name_34 (
school VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school is in Brookville?
### Query: SELECT school FROM table_name_34 WHERE city = "brookville" |
### Context: CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE field (
... |
### Context: CREATE TABLE Problem_Status_Codes (
problem_status_code VARCHAR(20),
problem_status_description VARCHAR(80)
)
CREATE TABLE Staff (
staff_id INTEGER,
staff_first_name VARCHAR(80),
staff_last_name VARCHAR(80),
other_staff_details VARCHAR(255)
)
CREATE TABLE Product (
product_id ... |
### Context: 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 TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
... |
### Context: CREATE TABLE table_12807904_3 (
points_for VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- HOW MANY GAMES HAD BONUS POINTS OF 6?
### Query: SELECT points_for FROM table_12807904_3 WHERE try_bonus = "6" |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE SuggestedEditVotes (
Id number,
Sugge... |
### Context: CREATE TABLE table_name_67 (
right_ascension___j2000__ VARCHAR,
constellation VARCHAR,
ngc_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pegasus' right ascension with a 7318a NGC?
### Query: SELECT right_ascension___j2000__ ... |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_name_64 (
attendance INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the greatest attendance when the opponent is the chicago bears
### Query: SELECT MAX(attendance) FROM table_name_64 WHERE opponent =... |
### Context: CREATE TABLE table_60571 (
"Measure" text,
"Bombali" real,
"Bonthe" real,
"Kailahun" real,
"Kambia" text,
"Kenema" real,
"Koinadugu" real,
"Kono" real,
"Moyamba" text,
"Port Loko" text,
"Pujehun" real,
"Tonkolili" real
)
-- Using valid SQLite, answer the fo... |
### Context: CREATE TABLE table_name_80 (
_percentage_hydropower INTEGER,
_percentage_nuclear_power VARCHAR,
_percentage_oil VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest % hydropower when the % oil is less than ... |
### Context: CREATE TABLE table_18955077_1 (
interval_name VARCHAR,
size__cents_ VARCHAR,
just_ratio VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the just ratio is 11:8 and the cents size is 560, what is the interval name?
### Query: SELECT interva... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_13190 (
"Date" text,
"Ship" text,
"Tonnage" text,
"Nationality" text,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tonnage is on 25 july 1942?
### Query: SELECT "Tonnage" FROM table_13190 WHERE "Date" ... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gende... |
### Context: CREATE TABLE table_name_8 (
opponent_in_the_final VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the final of the Senegal f2 tournament>
### Query: SELECT opponent_in_the_final FROM table_name_8 WHERE... |
### Context: CREATE TABLE exhibition (
artist_id VARCHAR,
year VARCHAR
)
CREATE TABLE artist (
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all artist names who didn't have an exhibition in 2004.
### Query: SELECT name FROM artist EXCEPT SE... |
### Context: CREATE TABLE trained_in (
physician number,
treatment number,
certificationdate time,
certificationexpires time
)
CREATE TABLE on_call (
nurse number,
blockfloor number,
blockcode number,
oncallstart time,
oncallend time
)
CREATE TABLE department (
departmentid num... |
### Context: CREATE TABLE Ref_Locations (
Location_Code CHAR(15),
Location_Name VARCHAR(255),
Location_Description VARCHAR(255)
)
CREATE TABLE Documents_to_be_Destroyed (
Document_ID INTEGER,
Destruction_Authorised_by_Employee_ID INTEGER,
Destroyed_by_Employee_ID INTEGER,
Planned_Destructio... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
... |
### Context: CREATE TABLE table_40356 (
"Position" text,
"Jersey #" real,
"Name" text,
"Height (cm)" real,
"Weight (kg)" real,
"Birthdate" text,
"Birthplace" text,
"2008\u20132009 Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... |
### Context: CREATE TABLE club_rank (
Rank real,
Club_ID int,
Gold real,
Silver real,
Bronze real,
Total real
)
CREATE TABLE club (
Club_ID int,
name text,
Region text,
Start_year text
)
CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 ... |
### Context: CREATE TABLE table_203_320 (
id number,
"rank in\n2011" number,
"name of\nconcern" text,
"location of\nheadquarters" text,
"revenue\n(thou.\npln)" number,
"profit\n(thou.\npln)" number,
"employees" number
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_47351 (
"District" real,
"Representative" text,
"Party" text,
"First elected" real,
"Residence" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What residence has representative Quincy Murphy?
### Query: SELECT "Resid... |
### Context: CREATE TABLE table_name_72 (
rank VARCHAR,
qual VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the car with a qual of 134.288, what was the rank?
### Query: SELECT rank FROM table_name_72 WHERE qual = "134.288" |
### 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 cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE countries ... |
### Context: CREATE TABLE table_17516967_1 (
preliminary VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the preliminary for north carolina
### Query: SELECT preliminary FROM table_17516967_1 WHERE state = "North Carolina" |
### Context: CREATE TABLE table_63801 (
"Draw" real,
"Televote Points" text,
"Jury Points" text,
"Total" text,
"Final Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Jury Points value when there were 3 Televote Points?
### Query... |
### Context: CREATE TABLE table_23917 (
"Year" text,
"Head Coach" text,
"Regular Season Record (W-L)" text,
"NEC Record" text,
"Standing" text,
"NEC Tournament Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year for standing 9th... |
### Context: CREATE TABLE employee (
eid number(9,0),
name varchar2(30),
salary number(10,2)
)
CREATE TABLE aircraft (
aid number(9,0),
name varchar2(30),
distance number(6,0)
)
CREATE TABLE flight (
flno number(4,0),
origin varchar2(20),
destination varchar2(20),
distance numb... |
### Context: CREATE TABLE table_13555999_1 (
specification VARCHAR,
senior_high_school__15_18_yrs_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the specification where senior high school is 25mm?
### Query: SELECT specification FROM table_13555999... |
### Context: CREATE TABLE table_name_96 (
seats_up_for_election INTEGER,
election_result VARCHAR,
staying_councillors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Seats up for election have an Election result larger than 8, and Staying councillor... |
### 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE table_name_63 (
date VARCHAR,
distance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Distance of 3,000 m?
### Query: SELECT date FROM table_name_63 WHERE distance = "3,000 m" |
### Context: CREATE TABLE table_204_692 (
id number,
"publication" text,
"score" text,
"review" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which publication only received a letter score ?
### Query: SELECT "publication" FROM table_204_692 WHERE "sc... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE institution (
institution_id text,
institution text,
location text,
founded number,
type text,
enrollment number,
team text,
primary_conference text,
building_id text
)
CREATE TABLE building (
building_id text,
name text,
street_address text,
... |
### Context: CREATE TABLE products (
product_name VARCHAR,
product_price VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of the most expensive product.
### Query: SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1 |
### Context: CREATE TABLE Royal_Family (
Royal_Family_ID INTEGER,
Royal_Family_Details VARCHAR(255)
)
CREATE TABLE Ref_Hotel_Star_Ratings (
star_rating_code CHAR(15),
star_rating_description VARCHAR(80)
)
CREATE TABLE Staff (
Staff_ID INTEGER,
Tourist_Attraction_ID INTEGER,
Name VARCHAR(40... |
### Context: CREATE TABLE table_3896 (
"Rnd" real,
"Circuit" text,
"LMP1 Winning Team" text,
"LMP2 Winning Team" text,
"LMPC Winning Team" text,
"GT Winning Team" text,
"GTC Winning Team" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### Context: CREATE TABLE table_2468961_3 (
title VARCHAR,
written_by VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll?
### Query: SELECT title... |
### Context: CREATE TABLE table_50140 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" real,
"Year named" real,
"Name origin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Name origin has a Longitude of 332.5e?
### Query... |
### Context: CREATE TABLE table_name_47 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which venue did the competition on 11 October 2008 take place?
### Query: SELECT venue FROM table_name_47 WHERE date = "11 october 2008" |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE table_24807774_1 (
colombian VARCHAR,
bangladeshi VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many colombia in bangladesh is serbian
### Query: SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian" |
### Context: CREATE TABLE table_53083 (
"Height (m.)" text,
"No. of times visited" real,
"No. of HC climbs" real,
"First time as HC climb" real,
"Most recent" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the height with more than 2 HC clim... |
### Context: CREATE TABLE table_50651 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest area for locations named Centreville having populat... |
### Context: CREATE TABLE table_19048 (
"SUBJECT" text,
"FRESHMAN (Grade 7)" text,
"SOPHOMORE (Grade 8)" text,
"JUNIOR (3rd Year)" text,
"SENIOR (4th Year)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many classes between senior and junior ye... |
### Context: CREATE TABLE table_66077 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has w 14-10 as the result?
### Query: SELECT "Date" FROM table_66077 WHERE "Resu... |
### Context: CREATE TABLE table_54130 (
"Date of Issue" text,
"Denomination" text,
"Design" text,
"Paper Type" text,
"First Day Cover Cancellation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Date of Issue for Design of Katalin Kovats?... |
### Context: CREATE TABLE table_4726 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Network has Punjabi as the Language?
### Query: SELECT "Network" FROM ... |
### Context: CREATE TABLE table_35713 (
"Province" text,
"Kibaki" text,
"Raila" text,
"Wamalwa" text,
"Ngilu" text,
"Others" text,
"Registered Voters" text,
"Turnout %" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's listed for the... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPriv... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity tex... |
### 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 vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE allergy ... |
### Context: CREATE TABLE table_name_92 (
semi_finalists VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the semi finalists when the runner-up was Alexandra Fusai Wiltrud Probst?
### Query: SELECT semi_finalists FROM table_name_92... |
### Context: CREATE TABLE table_80201 (
"Date" text,
"Home captain" text,
"Away captain" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Venue which has a Wi by 8 wkts?
### Query: SELECT "Venue" FROM table_80... |
### Context: CREATE TABLE table_25004 (
"Character" text,
"Original Manchester Performer" text,
"Original West End Performer" text,
"Original Broadway Performer" text,
"Original UK Tour Performer" text,
"Original Non-Equity US Tour Performer" text,
"Original Italian Tour Performer" text,
... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE... |
### Context: CREATE TABLE table_31583 (
"Name" text,
"Location" text,
"Launched" real,
"Acquired" text,
"Capacity, mln tpa" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the average launced for capacity mln tpa of 15,0
### Query: SELECT AV... |
### 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_8022 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tie no when scunthorpe united was the away team?
### Query: SELECT "Tie no" FR... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.