text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_1420 (
"District" text,
"Incumbent" text,
"Party" text,
"Elected" real,
"Status" text,
"2008 Candidates" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many groups of candidates are there i... |
### Context: 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,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_69954 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Pts." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine has more than 0 pts?
### Query: SELECT "Engine" FROM table_69954 WHERE "Pts." > '0... |
### Context: CREATE TABLE table_204_269 (
id number,
"week" number,
"room" text,
"winning couple" text,
"2nd couple" text,
"3rd couple" text,
"chumps" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who became winning couple for the first tim... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
v... |
### Context: CREATE TABLE table_name_88 (
runners VARCHAR,
course VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the runners for longchamp
### Query: SELECT runners FROM table_name_88 WHERE course = "longchamp" |
### Context: CREATE TABLE table_20172 (
"Locale" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot Pct." real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_203_79 (
id number,
"year" number,
"film" text,
"publisher" text,
"director" text,
"distributor" text,
"worldwide gross" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film made the mos... |
### Context: CREATE TABLE table_name_27 (
pollutant VARCHAR,
regulatory_citation VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the polluntant when the regulatory citation is 40 cfr 50.7(a) and the type is primary?
### Query: SELEC... |
### Context: CREATE TABLE table_2333416_2 (
top_10 VARCHAR,
winnings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many top 10 finishes did Ken Bouchard get in the year he won $17,695?
### Query: SELECT top_10 FROM table_2333416_2 WHERE winnings = "$17... |
### Context: CREATE TABLE table_38599 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Frequency MHz of 93.7 has what class?
### Query: SELEC... |
### Context: CREATE TABLE table_1331 (
"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 above... |
### Context: CREATE TABLE table_name_43 (
democratic_ticket VARCHAR,
liberal_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name on the Democratic ticket when the Liberal ticket is erastus corning 2nd?
### Query: SELECT democratic_ticket ... |
### Context: CREATE TABLE table_80011 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which qual has both 200 total laps and took place in 1957?
### Query: SELECT "Qual... |
### Context: CREATE TABLE table_name_66 (
laps VARCHAR,
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps for a Time/Retired of tyre, and a Grid larger than 10?
### Query: SELECT COUNT(laps) FROM table_name_66 WHERE... |
### Context: CREATE TABLE table_test_17 (
"id" int,
"anemia" bool,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"active_infection" bool,
"fever" bool,
"bradycardia" int,
"renal_disease" bool,
"oliguria" bool,
"creatinine_clearance_cl" float,
... |
### Context: CREATE TABLE table_14473 (
"Season" real,
"Champion" text,
"Count" real,
"Runner-up" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the runner up before 2007?
### Query: SELECT "Runner-up" FROM table_14473 W... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
... |
### 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 Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
... |
### Context: CREATE TABLE table_27785 (
"Position" real,
"Race number" text,
"Sail number" text,
"Yacht" text,
"State/country" text,
"Yacht type" text,
"LOA (Metres)" text,
"Skipper" text,
"Elapsed time d:hh:mm:ss" text
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Has_Allergy (
... |
### Context: CREATE TABLE table_name_9 (
season VARCHAR,
car__number VARCHAR,
sponsor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons has UPS sponsored a car with a number larger than 17?
### Query: SELECT COUNT(season) FROM table_name_9... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid n... |
### Context: CREATE TABLE table_7229 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Played when the... |
### Context: CREATE TABLE train_station (
train_id number,
station_id number
)
CREATE TABLE station (
station_id number,
name text,
annual_entry_exit number,
annual_interchanges number,
total_passengers number,
location text,
main_services text,
number_of_platforms number
)
CRE... |
### Context: CREATE TABLE table_24305 (
"Episode number" real,
"Total episodes" real,
"Title" text,
"Original UK broadcast by" text,
"Original UK airdate" text,
"DVD reference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did 'Granny Pig'... |
### Context: CREATE TABLE table_18955077_1 (
just_ratio VARCHAR,
just__cents_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the just cents is 84.46, what is the just ratio?
### Query: SELECT just_ratio FROM table_18955077_1 WHERE just__cents_ = "84.46" |
### 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 Catalogs (
catalog_id INTEGER,
catalog_name VARCHAR(50),
catalog_publisher VARCHAR(80),
date_of_publication DATETIME,
date_of_latest_revision DATETIME
)
CREATE TABLE Catalog_Contents (
catalog_entry_id INTEGER,
catalog_level_number INTEGER,
parent_entry_id INTE... |
### 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 Visits (
Visit_ID INTEGER,
Tourist_Attraction_ID INTEGER,
Tourist_ID INTEGER,
Visit_Date DATETIME,
Visit_Details VARCHAR(40)
)
CREATE TABLE Visitors (
Tourist_ID INTEGER,
Tourist_Details VARCHAR(255)
)
CREATE TABLE Royal_Family (
Royal_Family_ID INTEGER,
R... |
### Context: CREATE TABLE table_16157 (
"Model" real,
"Introduction" text,
"Discontinued" text,
"CPU Speed" text,
"Print resolution (DPI) Resolution is given in dots per inch (DPI)" text,
"Print speed (PPM)" text,
"Standard memory" text,
"Maximum memory" text
)
-- Using valid SQLite, a... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE a... |
### Context: CREATE TABLE table_name_90 (
opponent VARCHAR,
year VARCHAR,
town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponent when played in trieste before 2007?
### Query: SELECT opponent FROM table_name_90 WHERE year < 2007 AND tow... |
### Context: CREATE TABLE table_name_53 (
school_club_team VARCHAR,
nationality VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the School/Club team of the player from the United States that play'de guard?
### Query: SELECT scho... |
### 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_27491610_2 (
no_in_series INTEGER,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the latest number in series that was directed by Skip Sudduth?
### Query: SELECT MAX(no_in_series) FROM table_27491610_2 W... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE table_1444201_1 (
year_model VARCHAR,
engine VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year model for 4-cyl straight engine dohc 16v and 1.5 crdi
### Query: SELECT year_model FROM table_1444201_1 WH... |
### 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_... |
### Context: CREATE TABLE table_name_28 (
home VARCHAR,
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home of the match with a 0:2 result on 21.10.07?
### Query: SELECT home FROM table_name_28 WHERE result = "0:2" AND d... |
### 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 mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_61018 (
"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 Tournament has a Score of 5 7, 2 6?
### Query: SELECT "Tourname... |
### Context: CREATE TABLE table_name_49 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game when the Devils had a record of 21 14 3?
### Query: SELECT date FROM table_name_49 WHERE record = "21–14–3" |
### Context: CREATE TABLE table_56677 (
"Rank" real,
"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 nation with a total of 1, bronze smaller than 1 and a rank of 3?
#... |
### Context: 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_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_14903999_1 (
year INTEGER,
mixed_doubles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the last year rni r hallgr msson dr fa har ard ttir won mixed doubles
### Query: SELECT MAX(year) FROM table_14903999_1 WHERE mi... |
### 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 code_description (
code varchar,
description text
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE food_serv... |
### Context: CREATE TABLE table_name_66 (
goals_for INTEGER,
goals_against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest amount of goals with more than 51 goals against and less than 30 played?
### Query: SELECT MAX(... |
### Context: CREATE TABLE table_34519 (
"Year" real,
"Performance" text,
"World Ranking" real,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date is there a performance of more than 8.22.72?
### Query: SELECT "Date" F... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_23966 (
"Round" real,
"Choice" real,
"Player" text,
"Position" text,
"Height" text,
"Weight" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Curtis Painter's position?
### Query: SELECT ... |
### Context: CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
CREATE TABLE submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_20726262_3 (
no_in_season VARCHAR,
writtenby VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many numbers in the season were written by Brett Conrad & Liz Sagal?
### Query: SELECT COUNT(no_in_season) FROM table_20726262_3 ... |
### 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 departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations ... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### 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_63 (
format VARCHAR,
label VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Records from Kontor Records from the catalog of Kontor446 was released in what format?
### Query: SELECT format FROM table_na... |
### Context: CREATE TABLE table_20854 (
"Player" text,
"No." text,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How may players played for the Grizzlies from 2... |
### Context: CREATE TABLE table_name_61 (
attendance INTEGER,
visitor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total Attendance for Games while Chicago was the visiting Team?
### Query: SELECT SUM(attendance) FROM table_name_61 WHERE visi... |
### Context: CREATE TABLE table_65291 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result for the game played on December 20, 1970?
### Query: SELECT "Result" F... |
### Context: CREATE TABLE table_name_75 (
district VARCHAR,
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What District had Republican Incumbent Cathy McMorris?
### Query: SELECT district FROM table_name_75 WHERE party = "repub... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_80315 (
"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 happened after ... |
### 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 table_37088 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Save" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team played on april 21
### Query: SELECT "Opponent" FROM table_37088 WHERE "Date" = 'april ... |
### Context: CREATE TABLE table_16691 (
"Rd." real,
"Grand Prix" text,
"Date" text,
"Location" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_35046 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the average points that have december 27?
### Query: SELECT AVG... |
### Context: CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,
departure_flight_number int,
stop_time int
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_34 (
elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second member that was elected in 1555?
### Query: SELECT 2 AS nd_member FROM table_name_34 WHERE elected = "1555" |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TAB... |
### Context: CREATE TABLE table_41673 (
"Model Number" text,
"Frequency" text,
"L2-Cache" text,
"Multiplier 1" text,
"Voltage" text,
"Socket" text,
"Release date" text,
"Order Part Number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE table_27050732_7 (
delegate VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who represents district 41?
### Query: SELECT delegate FROM table_27050732_7 WHERE district = "41" |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id i... |
### Context: CREATE TABLE table_70250 (
"Margin" real,
"Score" text,
"Opponent" text,
"Venue" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue did Melbourne Storm played in Rd 7, 2006?
### Query: SELECT "Venue" FROM table_702... |
### Context: CREATE TABLE addresses (
address_id number,
address_content text,
city text,
zip_postcode text,
state_province_county text,
country text,
other_address_details text
)
CREATE TABLE customer_contact_channels (
customer_id number,
channel_code text,
active_from_date ti... |
### Context: CREATE TABLE table_18411 (
"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.
-- Who ran in the race for Jack Brooks' seat?
### Query: SELE... |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### Context: CREATE TABLE table_1036189_1 (
primer_annulus_color VARCHAR,
bullet_tip_color VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many primers annulus colors were there when the color of the bullet tip was white?
### Query: SELECT COUNT(primer_a... |
### 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_43 (
power VARCHAR,
displacement VARCHAR,
notes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec?
### Query: SELECT power FROM table... |
### Context: CREATE TABLE table_52001 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total crowd size for t... |
### Context: CREATE TABLE table_name_27 (
length VARCHAR,
class VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the length for class of gts-2 and date of october 8
### Query: SELECT length FROM table_name_27 WHERE class = "gts-2" AND d... |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE table_182298_5 (
mens_open VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many won the Men's Open if the players are from Sweden?
### Query: SELECT COUNT(mens_open) FROM table_182298_5 WHERE country = "Sweden" |
### Context: CREATE TABLE round (
round_id number,
member_id number,
decoration_theme text,
rank_in_round number
)
CREATE TABLE member (
member_id number,
name text,
country text,
college_id number
)
CREATE TABLE college (
college_id number,
name text,
leader_name text,
... |
### 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_70 (
british_record VARCHAR,
guernsey_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the British record for the fish with a Guernsey record of 32-8-0?
### Query: SELECT british_record FROM table_name_70 WH... |
### Context: CREATE TABLE table_204_651 (
id number,
"date" text,
"championship" text,
"location" text,
"category" text,
"surface" text,
"prev. result" text,
"prev. points" number,
"new points" number,
"outcome" text
)
-- Using valid SQLite, answer the following questions for t... |
### Context: CREATE TABLE table_name_21 (
capital VARCHAR,
hangul VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the capital of the province with in Hangul?
### Query: SELECT capital FROM table_name_21 WHERE hangul = "양주" |
### Context: CREATE TABLE table_name_8 (
home_team VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did the home team score when playing Fitzroy as the away team?
### Query: SELECT home_team AS score FROM table_name_8 WHERE away_team =... |
### Context: CREATE TABLE table_20780285_1 (
country_region VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country uses the title Marele C tig tor The Big Winner?
### Query: SELECT country_region FROM table_20780285_1 WHERE title = "Mare... |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.