text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_37 (
surface VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the surface of the tournament with Sascha Kloer as the opponent?
### Query: SELECT surface FROM table_name_37 WHERE opponent = "sascha... |
### Context: CREATE TABLE neighborhood (
id int,
business_id varchar,
neighborhood_name varchar
)
CREATE TABLE review (
rid int,
business_id varchar,
user_id varchar,
rating float,
text longtext,
year int,
month varchar
)
CREATE TABLE business (
bid int,
business_id var... |
### Context: CREATE TABLE table_name_61 (
drawn INTEGER,
games INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Drawn is which has a Games smaller than 6?
### Query: SELECT SUM(drawn) FROM table_name_61 WHERE games < 6 |
### Context: CREATE TABLE table_name_61 (
catalog VARCHAR,
region VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Catalog has a Region of Canada and a Format of cd/dvd?
### Query: SELECT catalog FROM table_name_61 WHERE region = "ca... |
### Context: CREATE TABLE table_name_19 (
location VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location held the bout that led to a 4-3 record?
### Query: SELECT location FROM table_name_19 WHERE record = "4-3" |
### Context: CREATE TABLE table_21132404_1 (
_percentage_2006 VARCHAR,
political_parties VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many time was the political party the social democratic party of germany?
### Query: SELECT COUNT(_percentage_2006) F... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE offering_instructor (
... |
### Context: CREATE TABLE table_train_40 (
"id" int,
"bone_marrow_transplant" bool,
"organ_transplantation" bool,
"systolic_blood_pressure_sbp" int,
"do_not_resuscitate_dnr" bool,
"autoimmune_disease" bool,
"steroid_therapy" bool,
"intention_to_central_venous_catheter" bool,
"hematol... |
### Context: CREATE TABLE table_name_80 (
points VARCHAR,
rank VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points are there for rank 5 with more than 34 games?
### Query: SELECT COUNT(points) FROM table_name_80 WHERE rank = 5 ... |
### Context: CREATE TABLE table_60015 (
"Name" text,
"Region" text,
"Programming" text,
"Type" text,
"Encryption" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the region for tv uskana?
### Query: SELECT "Region" FROM table_60015 WHERE "Na... |
### Context: CREATE TABLE table_16976 (
"Total No." real,
"Celebrity" text,
"Director" text,
"Original air date" text,
"Viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the Original Air Date is 10January2008, what directors released on tha... |
### Context: CREATE TABLE table_name_73 (
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the home team that played Collingwood?
### Query: SELECT home_team FROM table_name_73 WHERE away_team = "collingwood" |
### Context: CREATE TABLE publication (
Publication_ID int,
Book_ID int,
Publisher text,
Publication_Date text,
Price real
)
CREATE TABLE book (
Book_ID int,
Title text,
Issues real,
Writer text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_63789 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank for a 6:52.70 time and notes of sa/b?
### Query: SELECT MAX("Rank") FR... |
### 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_53048 (
"Raion (district) or City" text,
"Total" text,
"Ukrainians" text,
"Moldovans" text,
"Bessarabian Bulgarians" text,
"Russians" text,
"Gagauzians" text,
"Other ethnic groups\u00b2" text
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE table_4823 (
"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 away team's score when s... |
### Context: CREATE TABLE table_name_64 (
date INTEGER,
cores_per_die___dies_per_module VARCHAR,
clock VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest date with Cores per die / Dies per module of 2 / 1, and a Clock of 1.4-1.6ghz?
### Q... |
### Context: CREATE TABLE table_20500097_1 (
points VARCHAR,
poles INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did he win in the race with more than 1.0 poles?
### Query: SELECT points FROM table_20500097_1 WHERE poles > 1.0 |
### Context: CREATE TABLE table_64207 (
"Frequency" text,
"Station" text,
"Operator" text,
"Country of origin" text,
"Transmitter location" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which station has a frequency of 873khz?
#... |
### Context: CREATE TABLE table_60853 (
"Position" real,
"Club" text,
"Played" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Points" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_name_1 (
song VARCHAR,
year VARCHAR,
us_hot_100 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Song has a Year smaller than 1979, and a US Hot 100 of 8?
### Query: SELECT song FROM table_name_1 WHERE year < 1979 AND... |
### Context: CREATE TABLE table_33865 (
"Frequency" real,
"Callsign" text,
"Brand" text,
"City of License" text,
"Website" text,
"Webcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Frequency has a Website of , and a Webcast of in san ... |
### Context: CREATE TABLE competition_result (
competition_id number,
club_id_1 number,
club_id_2 number,
score text
)
CREATE TABLE club (
club_id number,
name text,
region text,
start_year text
)
CREATE TABLE competition (
competition_id number,
year number,
competition_ty... |
### Context: CREATE TABLE table_70048 (
"Rank" real,
"Mountain Peak" text,
"Province" text,
"Mountain Range" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the mountain peak with location of 46.7000 n 60.5992 w
### Query: SELE... |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE PostHistoryTypes (
Id number... |
### Context: CREATE TABLE table_8168 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Date" text,
"Crowd" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the away team from Ad... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### Context: CREATE TABLE table_name_28 (
title VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title had rank 9?
### Query: SELECT title FROM table_name_28 WHERE rank = 9 |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_2006661_1 (
date VARCHAR,
value VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for value 55c
### Query: SELECT date FROM table_2006661_1 WHERE value = "55c" |
### Context: CREATE TABLE vocals (
TYPE VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find all the vocal types.
### Query: SELECT DISTINCT TYPE FROM vocals |
### Context: CREATE TABLE festival_detail (
Festival_Name VARCHAR,
YEAR VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the names of the three most recent festivals.
### Query: SELECT Festival_Name FROM festival_detail ORDER BY YEAR DESC LIMIT 3 |
### 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 table_name_90 (
power VARCHAR,
class VARCHAR,
identifier VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power that belongs to Class A with an Identifier of CBOC-FM?
### Query: SELECT power FROM table_name_90 WHERE c... |
### Context: CREATE TABLE table_14805 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date with margin of victory of 1 stroke and tournament of ... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_name_84 (
outcome VARCHAR,
score_in_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the outcome for the match that ended in a score of 5 7, 6 4, [10 7]?
### Query: SELECT outcome FROM table_name_84 WHERE score_i... |
### Context: CREATE TABLE table_name_36 (
slalom VARCHAR,
downhill VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Slalom has a Downhill of 4?
### Query: SELECT slalom FROM table_name_36 WHERE downhill = "4" |
### Context: CREATE TABLE table_58142 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nationality of the guard who plays at Utah?
### Query: ... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutp... |
### Context: CREATE TABLE table_50139 (
"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.
-- COunt the sum of Diameter (km) which has a Latitude of ... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE Elimination (
Elimination_ID text,
Wrestler_ID text,
Team text,
Eliminated_By text,
Elimination_Move text,
Time text
)
CREATE TABLE wrestler (
Wrestler_ID int,
Name text,
Reign text,
Days_held text,
Location text,
Event text
)
-- Using valid S... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
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 ... |
### Context: CREATE TABLE table_name_86 (
network VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Network, when Title is 'Epik High's Love And Delusion'?
### Query: SELECT network FROM table_name_86 WHERE title = "epik high's love ... |
### Context: CREATE TABLE table_71814 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the Blue Jays game when their record was 75-68 and ... |
### Context: CREATE TABLE operate_company (
id number,
name text,
type text,
principal_activities text,
incorporated_in text,
group_equity_shareholding number
)
CREATE TABLE flight (
id number,
vehicle_flight_number text,
date text,
pilot text,
velocity number,
altitude ... |
### Context: CREATE TABLE table_29218221_2 (
rider VARCHAR,
fri_3_june VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the rider with a Fri 3 June time of 18' 19.68 123.516mph?
### Query: SELECT rider FROM table_29218221_2 WHERE fri_3_june = "18' 19.... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,... |
### Context: CREATE TABLE table_name_50 (
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was South Melbourne's score as the away team?
### Query: SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne" |
### Context: CREATE TABLE table_name_64 (
entrant VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entrant in 1999?
### Query: SELECT entrant FROM table_name_64 WHERE year = 1999 |
### 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_6328 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament on October 24, 1982 had Alycia Mo... |
### 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_17683 (
"Series Ep #" real,
"Season 3 Ep #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Original Airdate" text,
"Production Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of... |
### Context: CREATE TABLE table_42202 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Country had a Score of 71-67=138?
### Query: SELECT "Country" FROM table_42202 WHERE "Sc... |
### Context: CREATE TABLE table_name_45 (
surface VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which has a Score of 6 1, 3 0 ret.?
### Query: SELECT surface FROM table_name_45 WHERE score = "6–1, 3–0 ret." |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTE... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE area (
course_id int,
area varchar
... |
### Context: CREATE TABLE table_57613 (
"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 score of the home team... |
### Context: CREATE TABLE table_17879 (
"Week" real,
"Date" text,
"Kickoff ( ET )" text,
"TV" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the opponent of the vet... |
### Context: CREATE TABLE table_65026 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of Israel?
### Query: SELECT MAX("Rank") FROM table_65026 WHERE "Country" = '... |
### Context: CREATE TABLE table_name_53 (
opponent VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when they played at the Skydome?
### Query: SELECT opponent FROM table_name_53 WHERE location_attendance = "s... |
### Context: CREATE TABLE table_name_27 (
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With a score of 70, this player's name is listed as what?
### Query: SELECT player FROM table_name_27 WHERE score = 70 |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_items (
... |
### 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_67579 (
"Status" text,
"Name" text,
"First Performance" text,
"Last Performance" text,
"Style" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what last performance has past status, ballet as style and tommy batchelor?... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id n... |
### Context: CREATE TABLE table_58693 (
"Position" real,
"Team" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Goals For" real,
"Goals Against" real,
"Goal Difference" text,
"Points 1" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE table_11545282_19 (
no INTEGER,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of school/club teams held by BYU?
### Query: SELECT MIN(no) FROM table_11545282_19 WHERE school_club_team = "BYU" |
### Context: CREATE TABLE table_2468961_2 (
title VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the episode written by Ross Brown?
### Query: SELECT title FROM table_2468961_2 WHERE written_by = "Ross Brown" |
### Context: CREATE TABLE table_name_25 (
label VARCHAR,
media VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the label for a CD released in 2004?
### Query: SELECT label FROM table_name_25 WHERE media = "cd" AND release_da... |
### Context: CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant ... |
### Context: CREATE TABLE table_53254 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school does John Crotty play for?
### Query: SELECT "School/Cl... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE table_204_867 (
id number,
"number" number,
"date" text,
"name" text,
"age\n(at execution)" number,
"age\n(at offense)" number,
"race" text,
"state" text,
"method" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_10968 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_7114 (
"Year" real,
"Conventional plans" text,
"HMOs" text,
"PPOs" text,
"POS plans" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which HMO has a conventional plan of 3% in 2005?
### Query: SELECT "HMOs" FROM table... |
### 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 jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
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... |
### Context: CREATE TABLE protein (
common_name text,
protein_name text,
divergence_from_human_lineage real,
accession_number text,
sequence_length real,
sequence_identity_to_human_protein text,
Institution_id text
)
CREATE TABLE building (
building_id text,
Name text,
Street_ad... |
### Context: CREATE TABLE table_name_22 (
attendance INTEGER,
date VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- before week 12 what was the attendance on 1983-11-21?
### Query: SELECT SUM(attendance) FROM table_name_22 WHERE date = "1983... |
### Context: CREATE TABLE table_10062 (
"Railway" text,
"Builder" text,
"Built" text,
"Wheels" text,
"Location" text,
"ObjectNumber" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which railway was built in 1920?
### Query: SELECT "Railway" FRO... |
### Context: CREATE TABLE table_name_42 (
level INTEGER,
example_name VARCHAR,
number_of_hus__approximate_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean level number when the example name is lower snake and the approximate number is hus... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
... |
### Context: CREATE TABLE table_73154 (
"#" real,
"Episode" text,
"UK air date" text,
"Timeslot" text,
"Viewers (millions)" text,
"Audience share in timeslot" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the total number of timeslot for n... |
### 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 microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time... |
### Context: CREATE TABLE table_12338595_1 (
swimsuit VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What swimsuit score did the state of Virginia contestant achieve?
### Query: SELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = "Virg... |
### Context: CREATE TABLE table_23802 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number for dl
### Query: SELECT "Pick #" FROM table_23802 WHERE "Position" = '... |
### Context: CREATE TABLE table_17086 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is Charone Peake?
### Query: SELECT "Position" FROM table_17086 WHERE "Pl... |
### Context: CREATE TABLE table_10190 (
"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.
-- If the away teams score was 15.6 (9... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeo... |
### Context: CREATE TABLE table_44049 (
"Class" text,
"Wheel arrangement" text,
"Manufacturer" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Wheel Arrangement, when Manu... |
### Context: CREATE TABLE table_name_5 (
meet VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Meet has a Time of 1:04.84?
### Query: SELECT meet FROM table_name_5 WHERE time = "1:04.84" |
### Context: CREATE TABLE table_71674 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Team 1 Al-Hilal's Agg.?
### Query: SELECT "Agg." FROM table_71674 WHERE "Team 1" = '... |
### Context: CREATE TABLE table_21321804_1 (
pick__number INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick # for player wes lysack?
### Query: SELECT MAX(pick__number) FROM table_21321804_1 WHERE player = "Wes Lysack" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.