text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE shop (
Shop_ID int,
Address text,
Num_of_staff text,
Score real,
Open_Year text
)
CREATE TABLE happy_hour (
HH_ID int,
Shop_ID int,
Month text,
Num_of_shaff_in_charge int
)
CREATE TABLE member (
Member_ID int,
Name text,
Membership_card text,
... |
### Context: CREATE TABLE table_11545282_5 (
player VARCHAR,
no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is no. 53?
### Query: SELECT player FROM table_11545282_5 WHERE no = "53" |
### Context: CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE member (
Member_ID int,
Member_Name t... |
### Context: CREATE TABLE table_name_87 (
player VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the player with pick 19?
### Query: SELECT player FROM table_name_87 WHERE pick = "19" |
### Context: CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INI... |
### Context: CREATE TABLE ref_document_types (
document_type_code text,
document_type_name text,
document_type_description text
)
CREATE TABLE documents_with_expenses (
document_id number,
budget_type_code text,
document_details text
)
CREATE TABLE projects (
project_id number,
project... |
### Context: CREATE TABLE table_2397 (
"District" text,
"Capital City" text,
"Area (km\u00b2)" real,
"Area (sq.mi)" real,
"Population (2005 est)" real,
"2-letter abbreviation" text,
"3-letter abbreviation" text
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### Context: CREATE TABLE table_24984 (
"Year" text,
"Chairman" text,
"Artistic Director" text,
"Performance Liaison" text,
"Secretary" text,
"Business manager" text,
"Production Stagemanager" text,
"Dramaturge" text,
"Public Relations" text,
"First/Second Year Rep." text,
"M... |
### Context: CREATE TABLE table_25820 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_name_42 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Away team score has a Venue of kardinia park?
### Query: SELECT away_team AS score FROM table_name_42 WHERE venue = "kardinia park" |
### Context: CREATE TABLE table_26037 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" text,
"U.S. Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables... |
### Context: CREATE TABLE table_train_250 (
"id" int,
"gender" string,
"waist_to_hip_ratio" float,
"creatinine_clearance_cl" float,
"panel_reactive_antibodies" int,
"insulin_requirement" float,
"serum_creatinine" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questi... |
### Context: CREATE TABLE table_62024 (
"Year" real,
"Average" text,
"High" real,
"Sellouts" real,
"Total for year" real,
"WNBA game average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years in all was less than 105,005 the total fo... |
### Context: CREATE TABLE Things (
thing_id INTEGER,
organization_id INTEGER,
Type_of_Thing_Code CHAR(15),
service_type_code CHAR(10),
service_details VARCHAR(255)
)
CREATE TABLE Properties (
property_id INTEGER,
property_type_code CHAR(15),
property_address VARCHAR(255),
other_deta... |
### Context: CREATE TABLE table_204_809 (
id number,
"draw" number,
"country" text,
"language" text,
"artist" text,
"song" text,
"english translation" text,
"national final" text,
"place" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the ta... |
### Context: CREATE TABLE table_20560 (
"Code" text,
"District" text,
"Headquarters" text,
"Population (2011)" real,
"Area (km\u00b2)" real,
"Density (/km\u00b2)" real,
"Official website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where ... |
### Context: CREATE TABLE table_37936 (
"Name" text,
"Faith" text,
"Type" text,
"DCSF number" real,
"Ofsted number" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which faith has a name of Belswains?
### Query: SELECT "Faith" FROM table_37936 WHERE... |
### Context: CREATE TABLE table_10198 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver had under 22 laps and a Time/Retired of ignition?
### Query: SELECT "Driv... |
### Context: CREATE TABLE table_76625 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when the fight had a time of 2:01?
##... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration n... |
### Context: CREATE TABLE table_name_12 (
valvetrain VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Valvetrain of the Diesel Engines Model?
### Query: SELECT valvetrain FROM table_name_12 WHERE model = "diesel engines" |
### 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_name_84 (
start VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the starting position when there were 182 laps?
### Query: SELECT start FROM table_name_84 WHERE laps = 182 |
### Context: CREATE TABLE table_274117_5 (
position VARCHAR,
year_of_induction_into_pro_football_hall_of_fame VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position was the player who was inducted into the Pro Football Hall of Fame in 1980?
### Query:... |
### Context: CREATE TABLE table_55323 (
"Date" text,
"Venue" text,
"Result" text,
"Competition" text,
"Scored" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what venue did Sigurd Rushfeldt score 1 point in the 2006 FIFA World Cup Qualification c... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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,
r... |
### Context: CREATE TABLE table_1055 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Last match" text,
"Replaced by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of date of vac... |
### Context: CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE repair (
repair_ID int,
name text,
Launch_Date text,
Notes text
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team tex... |
### 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE table_54333 (
"Area" text,
"Name" text,
"Zone" text,
"Group(s)" real,
"Parties" real,
"Max People" real,
"Camp Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What zone has camp type D/S in area Bl9?
### Query... |
### Context: CREATE TABLE people (
people_id number,
sex text,
name text,
date_of_birth text,
height number,
weight number
)
CREATE TABLE candidate (
candidate_id number,
people_id number,
poll_source text,
date text,
support_rate number,
consider_rate number,
oppose... |
### Context: CREATE TABLE event (
Event_ID int,
Date text,
Venue text,
Name text,
Event_Attendance int
)
CREATE TABLE journalist (
journalist_ID int,
Name text,
Nationality text,
Age text,
Years_working int
)
CREATE TABLE news_report (
journalist_ID int,
Event_ID int,
... |
### Context: CREATE TABLE table_69730 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Outcome for the Partner of J rgen Melzer and the Date of J... |
### Context: CREATE TABLE table_72237 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_24462 (
"Country" text,
"Area (km\u00b2)" text,
"Population (millions, 2011)" text,
"GDP (PPP) (USD, per capita)" real,
"GDP (nominal) (billions USD)" text,
"HDI (2011)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_203_853 (
id number,
"date" text,
"opponent" text,
"home/away" text,
"field" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many away games did the bridgeport barrage have ?
### Query: SELECT C... |
### 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_72209 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of th... |
### Context: CREATE TABLE table_60916 (
"Year" text,
"Venue" text,
"Winner" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What winner has royal st george's golf club as the venue, and 1969 as the year?
### Query: SE... |
### Context: CREATE TABLE table_62325 (
"Rank" real,
"Name" text,
"Season" text,
"Club" text,
"Goals" real,
"Apps" real,
"Goals per Match" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have 40 as the apps, with goals per matc... |
### 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 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 (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE table_22639 (
"Years covered" text,
"All bills sponsored" real,
"All amendments sponsored" real,
"All bills cosponsored" real,
"All amendments cosponsored" real,
"Bills originally cosponsored" real,
"Amendments originally cosponsored" real
)
-- Using valid SQLite,... |
### Context: CREATE TABLE table_74375 (
"Rank" real,
"Rider" text,
"Mon 30 May" text,
"Tues 31 May" text,
"Wed 1 June" text,
"Thurs 2 June" text,
"Fri 3 June" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the rider with a Fri 3 June... |
### Context: CREATE TABLE table_16075179_6 (
date_of_appointment VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the date of appointment for St. Johnstone's manager?
### Query: SELECT date_of_appointment FROM table_16075179_6 WHERE tea... |
### Context: CREATE TABLE table_80282 (
"Player" text,
"Height" real,
"Position" text,
"Year born" real,
"Current Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the height of the player who currently plays for Alta Gesti n Fuenlabrada?... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_3045 (
"Seed" real,
"Rank" real,
"Player" text,
"Points" real,
"Points defending" real,
"Points won" real,
"New points" real,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the status of ... |
### Context: CREATE TABLE table_name_38 (
score VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game at the Chicago Stadium?
### Query: SELECT score FROM table_name_38 WHERE location_attendance = "chicag... |
### Context: CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE airline (
airl... |
### Context: CREATE TABLE jobs (
job_id text,
job_title text,
min_salary number,
max_salary number
)
CREATE TABLE countries (
country_id text,
country_name text,
region_id number
)
CREATE TABLE regions (
region_id number,
region_name text
)
CREATE TABLE locations (
location_id... |
### Context: CREATE TABLE table_name_18 (
dutch VARCHAR,
english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the dutch word for one?
### Query: SELECT dutch FROM table_name_18 WHERE english = "one" |
### Context: CREATE TABLE table_26375386_20 (
total VARCHAR,
vote_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was the vote percentage 15.0%?
### Query: SELECT COUNT(total) FROM table_26375386_20 WHERE vote_percentage = "15.0%" |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
... |
### Context: CREATE TABLE Employee (
EmployeeId integer,
LastName varchar(20),
FirstName varchar(20),
Title varchar(30),
ReportsTo integer,
BirthDate datetime,
HireDate datetime,
Address varchar(70),
City varchar(40),
State varchar(40),
Country varchar(40),
PostalCode var... |
### Context: CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_49561 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the To par of +1?
### Query: SELECT "Score" FROM table_49561 WHERE "To... |
### 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 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 table_46892 (
"Area" text,
"Population" text,
"% Muslim" text,
"% Hindu" text,
"% Buddhist" text,
"% Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What area shows % Hindu of statistics from the bbc in depth repo... |
### Context: CREATE TABLE table_name_11 (
venue VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue featured collingwood as the away side?
### Query: SELECT venue FROM table_name_11 WHERE away_team = "collingwood" |
### Context: CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE company (
Company_ID in... |
### 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_3583 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what w... |
### Context: CREATE TABLE table_206359_1 (
shareholder_name VARCHAR,
_percentage_of_capital VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different shareholders have 2.39 % of capital?
### Query: SELECT COUNT(shareholder_name) FROM table_206359_1 ... |
### 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_26250227_1 (
order__number VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all of the order # where authentic artist is maroon 5
### Query: SELECT order__number FROM table_26250227_1 WHERE ori... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
... |
### Context: CREATE TABLE table_name_4 (
wins VARCHAR,
losses VARCHAR,
goals_for VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of wins when the goals for number was bigger than 35, the team was the Montreal Hockey Club,... |
### 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_73439 (
"Conference" text,
"Regular Season Winner" text,
"Conference Player of the Year" text,
"Conference Tournament" text,
"Tournament Venue (City)" text,
"Tournament Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel te... |
### Context: CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name V... |
### 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_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_22597626_17 (
year INTEGER,
opponents_in_the_final VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year date when one of the opponents in the final was bahrami leconte and score in t... |
### Context: CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM n... |
### Context: CREATE TABLE table_2468961_8 (
written_by VARCHAR,
directed_by VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name who wrote the episode directed by patrick duffy airing on november 7, 1997
### Query: SELECT writt... |
### Context: CREATE TABLE table_name_85 (
live_births VARCHAR,
migration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Live births has a Migration of -14 873?
### Query: SELECT live_births FROM table_name_85 WHERE migration = "-14 873" |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnsw... |
### Context: CREATE TABLE table_5478 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many bronze medals are there when there are fewer than 3 silver medals and 7 medals total?
###... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
... |
### Context: CREATE TABLE table_name_50 (
h___a VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the H/A of the game on 24 january 2009?
### Query: SELECT h___a FROM table_name_50 WHERE date = "24 january 2009" |
### Context: CREATE TABLE table_8483 (
"School" text,
"Locality" text,
"Ages" text,
"Capacity" real,
"Ofsted" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Ofsted has a Capacity smaller than 56, and Ages of 11-16?
### Query: SELECT SUM("Ofst... |
### 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_22536 (
"Position" text,
"Country" text,
"Floor" text,
"Pommel Horse" text,
"Rings" text,
"Vault" text,
"Parallel Bars" text,
"Horizontal Bar" text,
"Team Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: 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 varchar,
name varchar,
full_address varchar,
city varchar,
latitude varchar,
long... |
### 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_name_20 (
date VARCHAR,
nationality VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date were the 1997 Bridgetown games in which a Martinique girl competed?
### Query: SELECT date FROM table_name_20 ... |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_11562149_1 (
no_in_series VARCHAR,
featured_character_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the episode numbers where the episode features Jack & Locke?
### Query: SELECT no_in_series FROM table_11562149_... |
### Context: CREATE TABLE races (
raceid number,
year number,
round number,
circuitid number,
name text,
date text,
time text,
url text
)
CREATE TABLE qualifying (
qualifyid number,
raceid number,
driverid number,
constructorid number,
number number,
position num... |
### Context: CREATE TABLE table_name_26 (
runner_up VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the runner-up in 1999?
### Query: SELECT runner_up FROM table_name_26 WHERE year = 1999 |
### Context: CREATE TABLE table_74493 (
"Year" text,
"Competition" text,
"Opponent" text,
"Score" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- At what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)?
### Query: SELECT... |
### Context: CREATE TABLE table_16587 (
"#" real,
"Episode" text,
"Air Date" text,
"Timeslot (EST)" text,
"Season" text,
"Rating" text,
"Share" real,
"18\u201349" text,
"Viewers (m)" text,
"Rank (#)" text
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.