text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respi... |
### Context: CREATE TABLE table_23812628_1 (
points VARCHAR,
team__number1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the points for zamora
### Query: SELECT points FROM table_23812628_1 WHERE team__number1 = "Zamora" |
### Context: CREATE TABLE table_name_3 (
composer VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Director John Ramster's Composer?
### Query: SELECT composer FROM table_name_3 WHERE director = "john ramster" |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeo... |
### Context: CREATE TABLE teaches (
ID VARCHAR
)
CREATE TABLE instructor (
ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the names of all instructors who have taught some course and the course_id.
### Query: SELECT name, course_id FROM instructor ... |
### Context: CREATE TABLE table_11344 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much money did the player ranked above 3 with under 28 events ear... |
### Context: CREATE TABLE table_name_36 (
secr_numbers VARCHAR,
class VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which SECR numbers have a class of b1?
### Query: SELECT secr_numbers FROM table_name_36 WHERE class = "b1" |
### Context: CREATE TABLE table_name_37 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the score for 28 march 1979
### Query: SELECT score FROM table_name_37 WHERE date = "28 march 1979" |
### Context: CREATE TABLE table_71416 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score num... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
m... |
### Context: CREATE TABLE table_71885 (
"Date" text,
"Visiting team" text,
"Final score" text,
"Host team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Stadium has a Visiting team of pittsburgh steelers?
### Query: SELECT "S... |
### Context: CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### 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 requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE progra... |
### Context: CREATE TABLE table_75785 (
"Name" text,
"Appointed" text,
"Prior position" text,
"Province" text,
"Nominated by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the prior position held by Wyman Webb?
### Query: SELECT "Prior po... |
### Context: CREATE TABLE table_11210576_4 (
character VARCHAR,
fate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the character with fate being deceased: knife wound
### Query: SELECT character FROM table_11210576_4 WHERE fate = "Deceased: Knife Wo... |
### 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_11912 (
"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 away team played at VFL Park w... |
### Context: CREATE TABLE table_50940 (
"Senator" text,
"Party" text,
"District" real,
"Home Town" text,
"Took Office" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Senator has a Party of republican, a Home Town of houston, and a District of ... |
### Context: CREATE TABLE table_14864 (
"Round" text,
"Track" text,
"Race 1" text,
"Race 2" text,
"Race 3" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Race 1 result of Round 2?
### Query: SELECT "Race 1" FROM table_14864 WHERE "Round... |
### Context: CREATE TABLE table_34829 (
"Game" real,
"April" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent with record of 38-34-10
### Query: SELECT "Opponent" FROM table_34829 WHERE ... |
### Context: CREATE TABLE table_203_697 (
id number,
"player" text,
"career" text,
"nickname" text,
"team inducted as" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the first player to play for the st louis cardinals ?
### Query: SELECT "p... |
### Context: CREATE TABLE table_69977 (
"Name" text,
"Date of Execution" text,
"Crime" text,
"Method" text,
"Race" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the race of the person executed on December 27, 1827?
### Query: SELECT "Race... |
### Context: CREATE TABLE table_name_57 (
goals_against INTEGER,
draws VARCHAR,
wins VARCHAR,
goal_difference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high goal against associated with 18 wins, a Goal Difference of 43, and under 6 d... |
### Context: CREATE TABLE table_71204 (
"Year" real,
"Team" text,
"Co-Drivers" text,
"Class" text,
"Pos." text,
"Class Pos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Co-Driver of the winner of 1992's race?
### Query: SELECT "C... |
### Context: CREATE TABLE table_name_44 (
byzantine_commander VARCHAR,
result VARCHAR,
battle VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Byzantine Commander with a Bulgarian Victory at the Siege of Lovech?
### Query: SELECT byzantine_com... |
### Context: CREATE TABLE table_18661 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party is incumbent Oliver H. Cross?
### Query: SELECT... |
### Context: CREATE TABLE table_name_31 (
capacity_in_use VARCHAR,
annual_change VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Capacity in use with an Annual change that is 21.8%?
### Query: SELECT capacity_in_use FROM table_name_31 WHERE annua... |
### 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_name_19 (
score VARCHAR,
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has an Opponent of @ athletics, and a Record of 76-57?
### Query: SELECT score FROM table_name_19 WHERE opponent... |
### 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_name_38 (
circuit VARCHAR,
winning_driver VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which circuit did Jim Clark win in 1962?
### Query: SELECT circuit FROM table_name_38 WHERE winning_driver = "jim clar... |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
ad... |
### 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 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 table_51488 (
"Year" real,
"Organisation" text,
"Award" text,
"Nominated Work Title" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the year when then organisation is star awards, the result is won an... |
### Context: CREATE TABLE table_name_49 (
time VARCHAR,
laps VARCHAR,
bike VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time of the honda cbr1000rr bike, which has less than 25 laps?
### Query: SELECT time FROM table_name_49 WHERE laps < 2... |
### 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_17 (
play_by_play VARCHAR,
studio_host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the play by play commentator for the game that has Alan Massengale as Studio Host?
### Query: SELECT play_by_play FROM table_na... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
ch... |
### 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 table_2526 (
"Rank" real,
"School" text,
"Basic Elements" real,
"Tumbling" real,
"Stunts" text,
"Pyramids" text,
"Tosses" text,
"Deductions" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What ... |
### Context: CREATE TABLE table_name_44 (
co_drivers VARCHAR,
laps VARCHAR,
tyres VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which co-driver has fewer than 282 laps and type P tyres?
### Query: SELECT co_drivers FROM table_name_44 WHERE laps < 282 A... |
### 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_train_132 (
"id" int,
"loss_of_consciousness" bool,
"deep_venous_thrombosis" bool,
"unstable_angina" bool,
"thromboembolic_vascular_disease" bool,
"head_injury" bool,
"stroke" bool,
"cerebrovascular_disease" bool,
"mental_retardation" bool,
"psychi... |
### Context: CREATE TABLE Apartment_Buildings (
building_address VARCHAR,
building_phone VARCHAR,
building_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the addresses and phones of all the buildings managed by 'Brenden'.
### Query: SELECT ... |
### Context: CREATE TABLE table_26260 (
"Party" text,
"Result, Parliam. election 2005" text,
"Result, County elections 2007" text,
"Aug 2008" text,
"Sep 2008" text,
"Oct 2008" text,
"Nov 2008" text,
"Dec 2008" text,
"Jan 2009" text,
"Feb 2009" text,
"Mar 2009" text,
"Apr ... |
### Context: CREATE TABLE table_name_20 (
date VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was 16 (62-71-71-68=272) the winning score?
### Query: SELECT date FROM table_name_20 WHERE winning_score = –16(62 - 71 - 71 - 68 = 272... |
### Context: CREATE TABLE table_53213 (
"Year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real,
"1995" real,
"1990" real,
"1985" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1995 value with a 2005 ... |
### Context: CREATE TABLE table_24270 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Derik Fury plays for which college?
### Query: SELECT "College" FROM table_24270 WHERE ... |
### Context: CREATE TABLE table_name_17 (
score VARCHAR,
opponent VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of Game 2 in the series against the Florida Panthers?
### Query: SELECT score FROM table_name_17 WHERE oppo... |
### 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 table_20874 (
"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.
-- who is the vacator whre the district is new jersey 2nd?
### ... |
### 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 chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_12340907_1 (
population INTEGER,
police_officers VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the number of police officers is 94, what is the lowest population number?
### Query: SELECT MIN(population) FROM table_123409... |
### Context: CREATE TABLE type_of_restaurant (
resid number,
restypeid number
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE visits_restaurant (
stuid number,
resid number,... |
### Context: CREATE TABLE table_31224 (
"Skip (Club)" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the blan... |
### Context: CREATE TABLE table_1598533_8 (
inflation__percentage_annual__2012_ VARCHAR,
gdp_per_capita_in_ppp_us$__2012_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?
### Quer... |
### Context: CREATE TABLE table_7580 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total having a bronze value over 1, silver under 5, and ranked 9?
#... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Ba... |
### Context: CREATE TABLE table_32363 (
"Crop (kilotonnes)" text,
"New South Wales" real,
"Victoria" real,
"Queensland" real,
"Western Australia" real,
"South Australia" real,
"Tasmania" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_19611329_1 (
year_inducted VARCHAR,
inducted_as VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the player for 1945 for player
### Query: SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = ... |
### Context: CREATE TABLE table_203_368 (
id number,
"date" text,
"opponent" text,
"venue" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many goals did cardiff city f.c. score in the month of april ?
### Query: SELECT SUM("resul... |
### Context: CREATE TABLE table_8601 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the outcome of the match played on carpet surface?
### Query:... |
### Context: CREATE TABLE table_49402 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Venue was the Score 1-1?
### Query: SELECT "Venue" FROM table_49402 WHERE "Score" = '1... |
### Context: CREATE TABLE table_60755 (
"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 outcome on March 20, 1994?
###... |
### Context: CREATE TABLE table_25884 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE Detention (
detention_id INTEGER,
detention_type_code VARCHAR(10),
teacher_id INTEGER,
datetime_detention_start DATETIME,
datetime_detention_end DATETIME,
detention_summary VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Teachers (
teacher_id INTEGER,
... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid n... |
### Context: CREATE TABLE table_name_25 (
virtual_channel VARCHAR,
station_ownership VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Station Ownership of eicb tv, and a Call sign of ktcj-ld is what virtual network?
### Query: SELECT vi... |
### 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_2781 (
"R" real,
"Player" text,
"Position" text,
"League" real,
"Champions League" real,
"Coppa Italia" real,
"Super Coppa" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the position fo... |
### Context: CREATE TABLE table_63552 (
"Pick" real,
"Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player was picked earlier than 126 by the Houston Oilers?
### Query: SELECT "Player" FRO... |
### Context: CREATE TABLE table_name_7 (
record VARCHAR,
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has w as the result, with January 2 as the date?
### Query: SELECT record FROM table_name_7 WHERE result = "w" AND d... |
### 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 table_name_52 (
administrative_panel INTEGER,
nominated_by_the_taoiseach INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Administrative Panel has a Nominated by the Taoiseach smaller than 0?
### Query: SELECT MIN(administrativ... |
### Context: CREATE TABLE table_15539 (
"Call Sign" text,
"City of License" text,
"Frequency" text,
"age Watt" text,
"Coverage Area" text,
"Founded" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the city of license which has age Watt of 16... |
### 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_64564 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_60173 (
"Shooter" text,
"Event" text,
"Rank points" text,
"Score points" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score Points, when Event is 'WC Rio De Janeiro', and when Rank Points is '1... |
### Context: CREATE TABLE table_18559 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for the incumbent Milton H. West?
### ... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCoun... |
### Context: CREATE TABLE table_name_31 (
year INTEGER,
album VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average Year of release for the Album, 'Da Baddest Bitch'?
### Query: SELECT AVG(year) FROM table_name_31 WHERE album = "da baddest bit... |
### Context: CREATE TABLE table_57127 (
"Year" real,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which women's doubles had the accompa... |
### Context: CREATE TABLE Contacts (
contact_id INTEGER,
customer_id INTEGER,
gender VARCHAR(1),
first_name VARCHAR(80),
last_name VARCHAR(50),
contact_phone VARCHAR(80)
)
CREATE TABLE Addresses (
address_id INTEGER,
line_1_number_building VARCHAR(80),
city VARCHAR(50),
zip_post... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE PostNotices (
Id number,
PostId number... |
### Context: CREATE TABLE table_27957 (
"meas. num." real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type wh... |
### Context: CREATE TABLE table_59952 (
"Rank" real,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number that 0 silver?
### Query: SELECT COUNT("Total") FROM table_59952 WHERE "... |
### Context: CREATE TABLE table_name_7 (
opponent VARCHAR,
loss VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent when there was a loss of Francisco (1-1)?
### Query: SELECT opponent FROM table_name_7 WHERE loss = "francisco (1-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 mzb (
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 table_70203 (
"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 chassis for a 1952 officine alfieri maserati with an entrant?
### Query: SELECT ... |
### Context: CREATE TABLE table_45401 (
"Province" text,
"Provincial capital" text,
"Largest city" text,
"Area (km 2 )" real,
"Population (2013)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nelspruit's population?
### Query: SELECT COUNT... |
### Context: CREATE TABLE table_2562572_50 (
type VARCHAR,
settlement VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of settlemen is Kru edol Selo?
### Query: SELECT type FROM table_2562572_50 WHERE settlement = "Krušedol Selo" |
### Context: CREATE TABLE table_13221 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par of the Player from Argentina?
### Query: SELECT "To par" FROM table_13221 ... |
### Context: CREATE TABLE table_name_75 (
hole VARCHAR,
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many holes did Mike Reid from United States have?
### Query: SELECT hole FROM table_name_75 WHERE country = "united states... |
### Context: CREATE TABLE table_name_36 (
game_1 VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 3rd Liga from Game 1 of 0-1 between the years 2008-09?
### Query: SELECT 3 AS rd_liga_3rd FROM table_name_36 WHERE game_1 = "0-1" AND d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.