text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_65412 (
"Region" text,
"Date" text,
"Format" text,
"Label" text,
"Edition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Avex Entertainment release a CD?
### Query: SELECT "Date" FROM table_65412 WHERE "For... |
### Context: CREATE TABLE table_name_63 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the 05/09/1973 venue?
### Query: SELECT venue FROM table_name_63 WHERE date = "05/09/1973" |
### Context: CREATE TABLE table_73907 (
"Municipality" text,
"No. of Barangays" real,
"Area (km\u00b2)" text,
"Population (2010)" real,
"Pop. density (per km\u00b2)" text,
"Income Class (2004)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List... |
### Context: CREATE TABLE table_39403 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many picks have an Overall of 114?
### Query: SELECT COUNT("Pick #")... |
### 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 jybgb (
BBCJBW text,... |
### Context: CREATE TABLE table_name_50 (
character VARCHAR,
actor_actress VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What character did actor Damien Richardson play?
### Query: SELECT character FROM table_name_50 WHERE actor_actress = "damien richardso... |
### Context: CREATE TABLE table_name_64 (
city_of_license VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which City of license has a Call sign of w220ba?
### Query: SELECT city_of_license FROM table_name_64 WHERE call_sign = "w220ba" |
### Context: CREATE TABLE table_name_38 (
total_score_week VARCHAR,
status VARCHAR,
scores_by_each_individual_judge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total score/week has a Status of eliminated, and Scores by each individual judge of 5... |
### Context: CREATE TABLE table_25635 (
"Season" text,
"Junior (South) Winners" text,
"Intermediate (South) Winners" text,
"Minor (South) Winners" text,
"Primary (South) Winners" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What isthe minor (South... |
### Context: CREATE TABLE table_name_80 (
result VARCHAR,
year VARCHAR,
awards VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result at the Berlin International Film Festival in a year greater than 1987?
### Query: SELECT result FROM table_... |
### Context: CREATE TABLE table_225205_4 (
successor VARCHAR,
reason_for_change VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the successor when the reason for change is died November 11, 1845?
### Query: SELECT successor FROM table_225205_4 WHERE r... |
### Context: CREATE TABLE table_24938621_3 (
no VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number was written by Gregg Hurwitz?
### Query: SELECT no FROM table_24938621_3 WHERE written_by = "Gregg Hurwitz" |
### Context: CREATE TABLE table_76357 (
"Year of release" real,
"Title" text,
"Label" text,
"Format" text,
"Cat. No." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total year of release of the title what goes around comes around?
### Q... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_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
)
... |
### Context: CREATE TABLE table_59416 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which golfer finished with a score of 70-71=141?
### Query: SELECT "Player" FROM table_59416 ... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment t... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_16 (
week VARCHAR,
finalist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the week when the finalist is marcelo r os?
### Query: SELECT week FROM table_name_16 WHERE finalist = "marcelo ríos" |
### 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 d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE table_9245 (
"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 status for Pointe-Verte, with a population smaller than 1,13... |
### Context: CREATE TABLE Customer_Payments (
customer_id INTEGER,
datetime_payment DATETIME,
payment_method_code VARCHAR(10),
amount_payment DOUBLE
)
CREATE TABLE Vehicles (
vehicle_id INTEGER,
vehicle_details VARCHAR(255)
)
CREATE TABLE Addresses (
address_id INTEGER,
line_1_number_b... |
### Context: CREATE TABLE table_name_89 (
artist VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What artist's song was performed in the week with theme of Billboard #1?
### Query: SELECT artist FROM table_name_89 WHERE theme = "billboard #1" |
### 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 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the Home team fitzroy?
### Query: SELECT date FROM table_name_18 WHERE home_team = "fitzroy" |
### Context: CREATE TABLE table_73059 (
"Province" text,
"Capital" text,
"Area (km\u00b2)" text,
"Population" real,
"Density" real,
"Map region" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when province is monse or nouel, what is the area (km... |
### Context: CREATE TABLE table_27755784_11 (
high_rebounds VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the high rebounds for 77 game
### Query: SELECT high_rebounds FROM table_27755784_11 WHERE game = 77 |
### Context: CREATE TABLE table_26428602_1 (
absorb__nm_ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest dye absoprtion in nm?
### Query: SELECT MIN(absorb__nm_) FROM table_26428602_1 |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_38784 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the game with 38,062 people in attendance?
### Query... |
### Context: CREATE TABLE table_name_2 (
hosts VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the hosts for the 2004 event?
### Query: SELECT hosts FROM table_name_2 WHERE year = "2004" |
### Context: CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_28742659_2 (
immunity VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of immunity when the finish is 3rd voted out day 9?
### Query: SELECT immunity FROM table_28742659_2 WHERE finish = "3rd vo... |
### Context: CREATE TABLE table_name_66 (
population INTEGER,
place VARCHAR,
code VARCHAR,
area__km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Population of Tshepiso with a Code of 70409 or smaller and an Area (km 2) smaller than ... |
### Context: CREATE TABLE customer (
cust_ID varchar(3),
cust_name varchar(20),
acc_type char(1),
acc_bal int,
no_of_loans int,
credit_score int,
branch_ID int,
state varchar(20)
)
CREATE TABLE bank (
branch_ID int,
bname varchar(20),
no_of_customers int,
city varchar(10... |
### Context: CREATE TABLE table_2190919_1 (
top_10 VARCHAR,
avg_finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many teams finished in the top team with an average finish of 23.3?
### Query: SELECT COUNT(top_10) FROM table_2190919_1 WHERE avg_fini... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### Context: CREATE TABLE table_204_184 (
id number,
"#" number,
"title" text,
"producer(s)" text,
"featured guest(s)" text,
"length" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many tracks are listed in this table ?
### Query: SELECT CO... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### 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 table_13706 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score in the final of the tourn... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
d... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### 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 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 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 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 table_17708 (
"Club" text,
"Overall Record" text,
"Goals For" real,
"Goals For Avg." text,
"Goals Against" real,
"Goals Against Avg." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The Kansas City Wizards had a 9-10-9 r... |
### Context: CREATE TABLE fgwyjzb (
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,
INSUR... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALA... |
### Context: CREATE TABLE table_name_25 (
elevated VARCHAR,
cardinalatial_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento?
### Query: SELECT e... |
### Context: CREATE TABLE table_name_98 (
attendance INTEGER,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least attendance with visitor of edmonton
### Query: SELECT MIN(attendance) FROM table_name_98 WHERE visitor = "edmonton" |
### Context: CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varc... |
### Context: CREATE TABLE table_name_82 (
group VARCHAR,
distance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What group has 1200 m as the distance?
### Query: SELECT group FROM table_name_82 WHERE distance = "1200 m" |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### Context: CREATE TABLE table_name_54 (
location_attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location and attendance at the game when the record was 9-6?
### Query: SELECT location_attendance FROM table_name_54 W... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRES... |
### 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 department (
dept_code... |
### Context: CREATE TABLE table_42891 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament was on 2 October 2006?
### Query: SELECT "Tournament" FROM... |
### Context: CREATE TABLE table_47046 (
"Squad No." real,
"Name" text,
"Position" text,
"League Apps" text,
"League Goals" real,
"FA Cup Apps" text,
"FA Cup Goals" real,
"League Cup Apps" text,
"League Cup Goals" real,
"FLT Apps" text,
"FLT Goals" real,
"Playoff Apps" tex... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_48561 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the event Kage Kombat 16?
#... |
### Context: CREATE TABLE table_name_61 (
record VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has @ detroit as the opponent?
### Query: SELECT record FROM table_name_61 WHERE opponent = "@ detroit" |
### Context: CREATE TABLE table_44962 (
"Name" text,
"Built" text,
"Listed" text,
"Location" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the historic place that was built in 1910?
### Query: SELECT "Location" FROM table_4... |
### 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_66 (
award VARCHAR,
result VARCHAR,
film VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Award, when Result is 'Nominated', and when Film is 'Sankranthi'?
### Query: SELECT award FROM table_name_66 WHERE resul... |
### Context: CREATE TABLE table_name_75 (
capacity INTEGER,
year_opened VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest capacity for 1903?
### Query: SELECT MIN(capacity) FROM table_name_75 WHERE year_opened = "1903" |
### 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_25 (
length VARCHAR,
junctions VARCHAR,
route_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the length of the highway with junctions i-35 us 83 and named us 83 bus.?
### Query: SELECT length FROM table_... |
### Context: CREATE TABLE table_68933 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the record with opponent of chris... |
### Context: CREATE TABLE table_56992 (
"Name" text,
"Latitude" real,
"Longitude" real,
"Diameter (km)" real,
"Named after" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the named after for diameter less than 19.2 and latitude more than -37... |
### Context: CREATE TABLE table_test_9 (
"id" int,
"ejection_fraction_ef" int,
"anemia" bool,
"child_pugh_class" string,
"systolic_blood_pressure_sbp" int,
"leukopenia" int,
"heart_disease" bool,
"stroke" bool,
"av_block" bool,
"renal_disease" bool,
"hepatic_disease" bool,
... |
### Context: CREATE TABLE qtb (
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 instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational in... |
### Context: CREATE TABLE table_name_30 (
date VARCHAR,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the Red Wings home game against Anaheim?
### Query: SELECT date FROM table_name_30 WHERE visitor = "anaheim" |
### Context: CREATE TABLE table_204_933 (
id number,
"year" number,
"competition" text,
"date" text,
"location" text,
"opponent" text,
"score" text,
"result" text,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games d... |
### 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 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_6453 (
"Birth" text,
"Marriage" text,
"Became Duchess" text,
"Ceased to be Duchess" text,
"Death" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Spouse of the Duchess that has a Death on... |
### Context: CREATE TABLE table_1081459_1 (
introduced INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest introduced value?
### Query: SELECT MIN(introduced) FROM table_1081459_1 |
### Context: CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required varchar
)
CREATE TABLE time_zone (
time_zone_code text,
ti... |
### Context: CREATE TABLE table_66656 (
"Wimmera FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Losses have Draws smaller than 0?
### Query: SELECT MAX("Losses") F... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number... |
### Context: CREATE TABLE table_name_69 (
away_captain VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the away captain with result of wi by 9 wkts
### Query: SELECT away_captain FROM table_name_69 WHERE result = "wi by 9 wkts" |
### Context: CREATE TABLE program (
Program_ID int,
Name text,
Origin text,
Launch real,
Owner text
)
CREATE TABLE channel (
Channel_ID int,
Name text,
Owner text,
Share_in_percent real,
Rating_in_percent real
)
CREATE TABLE broadcast (
Channel_ID int,
Program_ID int,
... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_6 (
date VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a score of 2-1?
### Query: SELECT date FROM table_name_6 WHERE score = "2-1" |
### Context: CREATE TABLE table_1342370_41 (
result VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result in the election where the incumbent was Finis J. Garrett?
### Query: SELECT result FROM table_1342370_41 WHERE incumben... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
d... |
### Context: CREATE TABLE table_15081939_4 (
swimsuit VARCHAR,
evening_gown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the swimsuit score for the item that has 7.61 as evening gown
### Query: SELECT swimsuit FROM table_15081939_4 WHERE evening_g... |
### Context: CREATE TABLE table_name_58 (
friendly VARCHAR,
germany VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the friendly game for Germany of France?
### Query: SELECT friendly FROM table_name_58 WHERE germany = "france" |
### Context: CREATE TABLE table_54586 (
"Player" text,
"Height" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the NBA draft result of the player from Washington, DC?
###... |
### Context: CREATE TABLE table_name_62 (
points VARCHAR,
difference VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points have a difference of 23, with a drawn less than 5?
### Query: SELECT COUNT(points) FROM table_name_62 WHER... |
### Context: CREATE TABLE table_name_65 (
score VARCHAR,
dance VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the team that danced a jive and was safe?
### Query: SELECT score FROM table_name_65 WHERE dance = "jive"... |
### Context: CREATE TABLE table_79857 (
"Title" text,
"Producer(s)" text,
"Artist(s)" text,
"Time" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who produced 'Fast Life'?
### Query: SELECT "Producer(s)" FROM table_79857 WHERE "Titl... |
### Context: CREATE TABLE table_2850912_12 (
player VARCHAR,
college_junior_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the players for team bryn s if (sweden).
### Query: SELECT player FROM table_2850912_12 WHERE college_junior_club_team ... |
### Context: CREATE TABLE table_13869651_3 (
frequency VARCHAR,
part_number_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the frequency of the model whose part number is ado520biaa5do?
### Query: SELECT frequency FROM table_13869651_3 WHERE part... |
### Context: CREATE TABLE table_14875671_1 (
attendance INTEGER,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance in week 8?
### Query: SELECT MAX(attendance) FROM table_14875671_1 WHERE week = 8 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.