text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_689 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Status" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the party with opponent being mike oxley (r) unopposed
... |
### Context: CREATE TABLE table_name_17 (
title_of_work VARCHAR,
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the title of work for year more than 2009
### Query: SELECT title_of_work FROM table_name_17 WHERE year > 2009 |
### Context: CREATE TABLE table_25369796_1 (
season INTEGER,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest season where a team got a 29th position?
### Query: SELECT MIN(season) FROM table_25369796_1 WHERE position = "29th" |
### Context: CREATE TABLE table_9747 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the result in week 10?
### Query: SELECT "Result" FROM table_9747 WHERE "Week" = '... |
### Context: CREATE TABLE table_74846 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Venue" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average attendance at a week 4 game?
### Query: SELECT AVG("... |
### 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 Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
... |
### Context: CREATE TABLE table_name_24 (
apparent_magnitude VARCHAR,
constellation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the apparent magnitude of the constellation sculptor
### Query: SELECT COUNT(apparent_magnitude) FROM table_name_24 WH... |
### Context: CREATE TABLE table_name_78 (
leader_at_the_summit VARCHAR,
finish VARCHAR,
start VARCHAR,
stage VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the leader at the summit when the stage was larger than 14, the ... |
### Context: CREATE TABLE table_name_84 (
manufacturer VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who manufactured the motorcycle that did 24 laps and 9 grids?
### Query: SELECT manufacturer FROM table_name_84 WHERE laps ... |
### Context: CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID ... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE... |
### Context: CREATE TABLE table_70777 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of points scored by Goulds' Garage (Bristol), engines of Maserati S... |
### Context: CREATE TABLE table_train_12 (
"id" int,
"sequential_organ_failure_assessment_sofa" int,
"active_infection" bool,
"taking_pioglitazone" bool,
"taking_rosiglitazone" bool,
"body_weight" float,
"diabetic" string,
"organ_failure" bool,
"age" float,
"NOUSE" float
)
-- U... |
### Context: CREATE TABLE table_53159 (
"Rd #" real,
"Pick #" real,
"Player" text,
"Team (League)" text,
"Reg GP" real,
"Pl GP" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team played under 52 Reg GP, and picked 130?
### Query: SELECT "... |
### Context: CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### 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 table_13464416_7 (
location_attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many locations have a record of 14-38?
### Query: SELECT COUNT(location_attendance) FROM table_13464416_7 WHERE record = "14-... |
### Context: CREATE TABLE table_name_36 (
record VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is game 9's record?
### Query: SELECT record FROM table_name_36 WHERE game = 9 |
### 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 table_name_63 (
attendance INTEGER,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average attendance when the record was 58 49?
### Query: SELECT AVG(attendance) FROM table_name_63 WHERE record = "58–49" |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
... |
### Context: CREATE TABLE Ref_Document_Types (
document_type_description VARCHAR,
document_type_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the description of document type 'Paper'?
### Query: SELECT document_type_description FROM Ref_Docume... |
### Context: CREATE TABLE table_47336 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest attendance of the match with a 2:0 score and vida as the away team?
### Que... |
### Context: CREATE TABLE table_name_95 (
week VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of week number(s) had an attendance of 61,985?
### Query: SELECT COUNT(week) FROM table_name_95 WHERE attendance = 61 OFFSET 98... |
### 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 schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREA... |
### Context: CREATE TABLE table_40622 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week was on November 13, 1955 when the attendance was over 33,982?
### Query: SELECT... |
### Context: CREATE TABLE performance (
Performance_ID real,
Date text,
Host text,
Location text,
Attendance int
)
CREATE TABLE member (
Member_ID text,
Name text,
Nationality text,
Role text
)
CREATE TABLE member_attendance (
Member_ID int,
Performance_ID int,
Num_of_P... |
### Context: CREATE TABLE table_name_61 (
lost VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Lost when the points were dissolved?
### Query: SELECT lost FROM table_name_61 WHERE points = "dissolved" |
### Context: CREATE TABLE zyjybgb (
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_9105 (
"Candidate" text,
"Party" text,
"Election List" text,
"Governorate" text,
"Votes" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Candidate has a Votes larger than 622,961, and a Governorate of baghdad?
#... |
### 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 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 View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER,
booking_status_code CHAR(15),
booking_start_date DATETIME,
bo... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE SuggestedEditVotes (
Id number,
Suggested... |
### Context: CREATE TABLE table_25816476_2 (
air_date VARCHAR,
team_guest_captain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the air date when the team guest captain was john bishop?
### Query: SELECT air_date FROM table_25816476_2 WHERE team_g... |
### Context: CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,... |
### 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_2328 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Enrollment (fall 2010)" real,
"Founded" real,
"Accreditation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the school fou... |
### Context: CREATE TABLE table_39551 (
"Tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"Career W\u2013L" text
)
-- Using valid SQLite, answer the following questions for the tables prov... |
### Context: CREATE TABLE table_name_92 (
genre VARCHAR,
english_title__chinese_title_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Genre has an English title (Chinese title) of the romance of the white hair maiden ?
### Query: SELECT genre FROM tab... |
### Context: CREATE TABLE table_72151 (
"School" text,
"Mascot" text,
"Location" text,
"League" text,
"Enrollment" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which leagues is the Galena school in?
### Query: SELECT "League" FROM table_72151 WHE... |
### Context: CREATE TABLE table_44339 (
"Team" text,
"Tries for" text,
"Tries against" text,
"Try diff" text,
"Points for" text,
"Points against" text,
"Points diff" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has 102 Points aga... |
### Context: CREATE TABLE table_76352 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int... |
### Context: CREATE TABLE table_48158 (
"Year" real,
"Championship" text,
"Winning score" text,
"To par" text,
"Margin of victory" text,
"Runner-up" text,
"Winner's share ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smal... |
### Context: CREATE TABLE manager (
Manager_ID int,
Name text,
Country text,
Working_year_starts text,
Age int,
Level int
)
CREATE TABLE train (
Train_ID int,
Train_Num text,
Name text,
From text,
Arrival text,
Railway_ID int
)
CREATE TABLE railway (
Railway_ID int,... |
### Context: CREATE TABLE table_name_60 (
away_leg VARCHAR,
opposition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ist the Away Leg with an Opposition that is aarhus gymnastik forening?
### Query: SELECT away_leg FROM table_name_60 WHERE opposition ... |
### Context: CREATE TABLE table_42051 (
"Outcome" text,
"Year" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the match against filippo volandri where xavier malisse was runner-up?
### Qu... |
### Context: CREATE TABLE table_name_47 (
year VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the Honda ra168e 1.5 v6 t engine used?
### Query: SELECT year FROM table_name_47 WHERE engine = "honda ra168e 1.5 v6 t" |
### Context: CREATE TABLE table_46170 (
"Date" text,
"Opponent" text,
"Score" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a Result of loss, and an Opponent of @ la clippers?
### Query: SELECT "Recor... |
### Context: CREATE TABLE products (
product_id number,
product_name text,
product_details text
)
CREATE TABLE orders (
order_id number,
customer_id number,
order_status text,
date_order_placed time,
order_details text
)
CREATE TABLE shipment_items (
shipment_id number,
order_i... |
### Context: CREATE TABLE table_name_24 (
digital VARCHAR,
provider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the digital of Virgin [analogue]?
### Query: SELECT digital FROM table_name_24 WHERE provider = "virgin [analogue]" |
### Context: CREATE TABLE table_187239_1 (
kit_manufacturer VARCHAR,
minor_sponsors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When tim brasil brokers are the minor sponsors who is the kit manufacturer?
### Query: SELECT kit_manufacturer FROM table_1872... |
### Context: CREATE TABLE table_42089 (
"Office" text,
"Democratic ticket" text,
"Republican ticket" text,
"American Labor ticket" text,
"Socialist ticket" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which American Labor candidate ran against Dem... |
### Context: CREATE TABLE table_name_55 (
country VARCHAR,
province_region VARCHAR,
airport VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what country is Hokkaid and New Chitose airport located?
### Query: SELECT country FROM table_name_55 WHERE pro... |
### Context: CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year t... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_22380270_1 (
original_air_date VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what air date were there 2.15 million u.s. viewers?
### Query: SELECT original_air_date FROM table_22380270_1 WHE... |
### Context: CREATE TABLE table_16481 (
"Trim" text,
"Engine" text,
"Turbo" text,
"Fuel Delivery" text,
"Power" text,
"Torque" text,
"Transmission" text,
"Performance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the engine wher... |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
... |
### 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_43 (
attendance VARCHAR,
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance in the gave versus the Brewers with a score of 9 6?
### Query: SELECT attendance FROM table_name... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId... |
### Context: CREATE TABLE table_72038 (
"Code Name" text,
"Function (figure)" text,
"Real Name" text,
"Birthplace" text,
"Serial number" text,
"Primary military speciality" text,
"Secondary military speciality" text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE table_204_863 (
id number,
"state" text,
"city/county" text,
"population served" number,
"charter type" text,
"station name" text,
"web site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which has the least number... |
### Context: CREATE TABLE table_name_84 (
margin_of_victory VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Margin of victory in the southwest golf classic Tournament?
### Query: SELECT margin_of_victory FROM table_name_84 WH... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE T... |
### Context: CREATE TABLE table_name_83 (
skip VARCHAR,
second VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Skip will play Joan Mccusker?
### Query: SELECT skip FROM table_name_83 WHERE second = "joan mccusker" |
### Context: CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25)... |
### Context: CREATE TABLE table_11603006_1 (
tournament VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tournaments were held in Maryland?
### Query: SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland" |
### 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 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_34921 (
"Team" text,
"Driver" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Laps that shows spun off for time?
### Query: SELECT AVG("Laps") FROM table_3492... |
### Context: CREATE TABLE table_33097 (
"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.
-- Who was the home team that scored 1... |
### Context: CREATE TABLE table_204_423 (
id number,
"name" text,
"location" text,
"city" text,
"listing date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name a site that was listed no later than 1960 .
### Query: SELECT "name" FROM table_204_4... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid... |
### Context: CREATE TABLE table_name_93 (
ihsaa_class VARCHAR,
mascot VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Class has a Mascot of eagles, and a City of evansville?
### Query: SELECT ihsaa_class FROM table_name_93 WHERE... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE instructor (
... |
### Context: CREATE TABLE table_name_50 (
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Stacy Lewis' place?
### Query: SELECT place FROM table_name_50 WHERE player = "stacy lewis" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime... |
### Context: CREATE TABLE table_72196 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the original air date where writte... |
### Context: CREATE TABLE table_70946 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?
### Query: S... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decim... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE microbiologyevent... |
### Context: CREATE TABLE Asset_Parts (
asset_id INTEGER,
part_id INTEGER
)
CREATE TABLE Engineer_Skills (
engineer_id INTEGER,
skill_id INTEGER
)
CREATE TABLE Engineer_Visits (
engineer_visit_id INTEGER,
contact_staff_id INTEGER,
engineer_id INTEGER,
fault_log_entry_id INTEGER,
fa... |
### 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 table_75058 (
"Team" text,
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text,
"Week 6" text,
"Week 7" text,
"Week 8 Final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team... |
### Context: CREATE TABLE table_name_89 (
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 250 cc with a year bigger than 1984?
### Query: SELECT 250 AS _cc FROM table_name_89 WHERE year > 1984 |
### Context: CREATE TABLE table_14683 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has october 16, 2000 as the date?
### Query: SELECT "Score" FROM table_14683 WHE... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,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 job_history (
EMPLOYEE_I... |
### Context: CREATE TABLE table_204_880 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was the venue in athens or beijing associated with 31... |
### Context: CREATE TABLE table_23154 (
"LGA Name" text,
"Area (km 2 )" real,
"Census 2006 population" real,
"Administrative capital" text,
"Postal Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the administrative capital that has a 20... |
### Context: CREATE TABLE table_24329520_8 (
members VARCHAR,
borough VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of members that have boroughs of Bandon Bridge?
### Query: SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "B... |
### Context: CREATE TABLE table_26652 (
"District" text,
"Vacator" text,
"Reason for change" text,
"Successor" text,
"Date successor seated" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the reason for change to the successor that was seat... |
### 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_61 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Record of 0-1?
### Query: SELECT score FROM table_name_61 WHERE record = "0-1" |
### Context: CREATE TABLE table_name_93 (
series_leader VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Series leader with a Date that is october 9?
### Query: SELECT series_leader FROM table_name_93 WHERE date = "october 9" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.