text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_61166 (
"Distance" text,
"Event" text,
"Time" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Meet has a Time of 1:04.84?
### Query: SELECT "Meet" FROM table_61166 WHERE "Time" = '1:... |
### Context: 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,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZB... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_name_97 (
office VARCHAR,
greenback_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which office was Richard M. Griffin vying for on the Greenback ticket?
### Query: SELECT office FROM table_name_97 WHERE greenback_tick... |
### Context: CREATE TABLE airport (
id number,
city text,
country text,
iata text,
icao text,
name text
)
CREATE TABLE flight (
id number,
vehicle_flight_number text,
date text,
pilot text,
velocity number,
altitude number,
airport_id number,
company_id number
)
... |
### Context: CREATE TABLE table_train_21 (
"id" int,
"pregnancy_or_lactation" bool,
"severe_sepsis" bool,
"systolic_blood_pressure_sbp" int,
"active_infection" bool,
"limited_care" bool,
"septic_shock" bool,
"coagulopathy" bool,
"age" float,
"lactate" int,
"NOUSE" float
)
-... |
### Context: CREATE TABLE table_51569 (
"Season" text,
"Champion" text,
"Team" text,
"Chassis" text,
"Engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the winning car's chassis for the 1982 season?
### Query: SELECT "Chassis" FROM ta... |
### Context: CREATE TABLE table_9131 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the tournament where monica seles was the finalist wh... |
### Context: CREATE TABLE table_name_75 (
goals_against VARCHAR,
minutes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the goals against for the goalkeeper with 2520 minutes?
### Query: SELECT goals_against FROM table_name_75 WHERE minutes = 2520 |
### Context: CREATE TABLE table_66161 (
"Pick" real,
"Player" text,
"Team" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is John Curtice's position?
### Query: SELECT "Position" FROM table_66161 WHERE "Player" ... |
### Context: CREATE TABLE table_35758 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text,
"10:30" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 9:00 has entertainment tonight as 7:00?
### ... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate... |
### 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_204_465 (
id number,
"#" number,
"temple name" text,
"hangul" text,
"hanja" text,
"period of reign" text,
"personal name" text,
"relationship" text,
"note" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_name_88 (
venue VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue has a Home team of south melbourne?
### Query: SELECT venue FROM table_name_88 WHERE home_team = "south melbourne" |
### Context: CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy 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 Allergy_Type (
Allergy V... |
### Context: CREATE TABLE table_57961 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalogue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format is catalogue WPCR13504 in?
### Query: SELECT "Format" FROM table_57961 WHERE "Ca... |
### Context: CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the... |
### Context: CREATE TABLE table_name_76 (
year INTEGER,
departed_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- From how many years did tampa, FL depart?
### Query: SELECT SUM(year) FROM table_name_76 WHERE departed_from = "tampa, fl" |
### Context: CREATE TABLE people (
people_id number,
name text,
age number,
height number,
hometown text
)
CREATE TABLE gymnast (
gymnast_id number,
floor_exercise_points number,
pommel_horse_points number,
rings_points number,
vault_points number,
parallel_bars_points numbe... |
### 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_name_2 (
score VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many scores have a Place of t5?
### Query: SELECT COUNT(score) FROM table_name_2 WHERE place = "t5" |
### Context: CREATE TABLE wdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE region (
region_code VARCHAR,
region_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show all region code and region name sorted by the codes.
### Query: SELECT region_code, region_name FROM region ORDER BY region_code |
### Context: CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
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
)
CREAT... |
### Context: CREATE TABLE table_75349 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of field go... |
### Context: CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE region (
Region_ID int,
Re... |
### Context: CREATE TABLE table_76514 (
"Verb" text,
"2 (VF)" text,
"2 (F)" text,
"3 (F)" text,
"2/3 (P)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the verb for Khola?
### Query: SELECT "3 (F)" FROM table_76514 WHERE "Verb" = 'khola' |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE submission (
submission_id number,
scores number,
author text,
college text
)
CREATE TABLE workshop (
workshop_id number,
date text,
venue text,
name text
)
CREATE TABLE acceptance (
submission_id number,
workshop_id number,
result text
)
-- Usin... |
### Context: CREATE TABLE table_name_55 (
city VARCHAR,
home_arena VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city includes Barclays Center?
### Query: SELECT city FROM table_name_55 WHERE home_arena = "barclays center" |
### Context: CREATE TABLE table_name_95 (
rank INTEGER,
province VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of the province alborz, which had more than 14526 in 1956?
### Query: SELECT AVG(rank) FROM table_name_95 WHERE province... |
### Context: CREATE TABLE table_214479_8 (
y_ VARCHAR,
_2008 VARCHAR,
expression VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the y = 2008 when the expression is easter day (julian calendar)?
### Query: SELECT y_ = _2008 FROM table_214479_8 WH... |
### 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 ship (
name VARCHAR,
built_year VARCHAR,
CLASS VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List all ship names in the order of built year and class.
### Query: SELECT name FROM ship ORDER BY built_year, CLASS |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_63419 (
"Place" real,
"Team" text,
"Played" real,
"Draw" real,
"Lost" real,
"Goals Scored" real,
"Goals Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the draw that's played... |
### Context: CREATE TABLE table_name_70 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the Mariners play when their record was 26 32?
### Query: SELECT opponent FROM table_name_70 WHERE record = "26–32" |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedbac... |
### Context: CREATE TABLE table_75795 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Package/Option, when Content is Poker?
### ... |
### Context: CREATE TABLE table_55949 (
"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.
-- Which team plays at Lake Oval?
###... |
### Context: CREATE TABLE table_5228 (
"Season" text,
"Tier" real,
"League" text,
"Pos." real,
"Postseason" text,
"European competitions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of tiers for the postseason of semi... |
### Context: CREATE TABLE table_60481 (
"Edition" text,
"Round" text,
"Date" text,
"Surface" text,
"Opponent" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What clay surface edition had an opponent of miho saeki?
### Query: SELE... |
### Context: CREATE TABLE table_26316 (
"Rank" real,
"Operators Name" text,
"Technology" text,
"Subscribers (in millions)" text,
"Ownership" text,
"Market Share" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rank of operator whose ... |
### Context: CREATE TABLE table_9630 (
"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 attendance for the week 1 game?
### Query: SELECT "Attendance" FROM table_9630... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE table_26507 (
"Team" text,
"Location" text,
"Stadium" text,
"Capacity" real,
"Manager" text,
"Captain" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the captain in Chaguaramas?
### Query: SELECT "Captain" FROM ... |
### 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_32096 (
"2nd component" text,
"b.p. 2nd comp. (\u02daC)" real,
"3rd component" text,
"b.p. 3rd comp. (\u02daC)" text,
"b.p. azeo. (\u02daC)" text,
"% wt 1st" text,
"% wt 2nd" text,
"% wt 3rd" text
)
-- Using valid SQLite, answer the following questions f... |
### Context: CREATE TABLE table_51578 (
"Club" text,
"Leagues" text,
"Venue" text,
"Location" text,
"Capacity" real,
"Established" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the capacity at the nop aquatic centre, established after 1... |
### Context: CREATE TABLE table_49641 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real,
"2000 result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes went to other ca... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TA... |
### Context: CREATE TABLE table_56136 (
"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.
-- Which Away team score has a Home te... |
### Context: CREATE TABLE table_name_73 (
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has an Attendance of 9,535?
### Query: SELECT date FROM table_name_73 WHERE attendance = "9,535" |
### 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 diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_co... |
### Context: CREATE TABLE table_7956 (
"Rank" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Bronze with a Silver greater than 0 and a Gold of 7 and a total less than 29
#... |
### Context: CREATE TABLE table_52524 (
"Munsee Delaware" text,
"Unami Delaware" text,
"De Laet (1633)" text,
"Campanius (ca. 1645)" text,
"Interpreter (1684?)" text,
"Thomas (1698)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Una... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
Mark... |
### Context: CREATE TABLE table_8670 (
"Date" text,
"Home" text,
"Score" text,
"Away" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score was associated with an attendance of 275?
### Query: SELECT "Score" FROM table_8670 ... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_73073 (
"Date" text,
"B-52 Model" text,
"Serial #" text,
"Unit" text,
"Bomb Capacity" text,
"Mission/Target" text,
"Cause of Loss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 7th bw attached to 43rd sw... |
### Context: CREATE TABLE table_name_22 (
set_3 VARCHAR,
time VARCHAR,
set_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Set 3 has a Time of 10:00, and a Set 2 of 25 19?
### Query: SELECT set_3 FROM table_name_22 WHERE time = "10:00" AND set_2 ... |
### Context: CREATE TABLE table_56499 (
"Wind farm" text,
"Capacity (MW)" real,
"Country" text,
"State/Province" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which state is Tehachapi Pass Wind Farm located in?
### Query: SELECT "Sta... |
### Context: CREATE TABLE table_name_67 (
attendance VARCHAR,
result VARCHAR,
year VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total attendance at anaheim stadium after 1983 when the result is 14-28?
### Query: SELECT CO... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_name_25 (
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the essendon score when they were at home?
### Query: SELECT home_team AS score FROM table_name_25 WHERE home_team = "essendon" |
### Context: CREATE TABLE procedures (
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,
rel... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE table_3051 (
"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 is the highest poi... |
### Context: CREATE TABLE table_72389 (
"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 is the earliest first elected for district georgia 1?
... |
### Context: CREATE TABLE table_60986 (
"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 of the game that had 77,702 people in attendance?
### Query: SELECT "R... |
### 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 equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_co... |
### Context: CREATE TABLE table_name_42 (
final INTEGER,
all_around VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average final with an all around greater than 19.35 and a total over 40?
### Query: SELECT AVG(final) FROM tabl... |
### Context: CREATE TABLE table_26725 (
"Country or region" text,
"Highest point" text,
"Maximum elevation" text,
"Lowest point" text,
"Minimum elevation" text,
"Elevation span" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the highest... |
### 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_85 (
competition VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What competition took place on 10 August 2011?
### Query: SELECT competition FROM table_name_85 WHERE date = "10 august 2011" |
### Context: CREATE TABLE table_46831 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Rockets score" real,
"Opponents" real,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Rockets sco... |
### Context: CREATE TABLE table_14977252_2 (
draw INTEGER,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least draw for elena dermidjean
### Query: SELECT MIN(draw) FROM table_14977252_2 WHERE artist = "Elena Dermidjean" |
### Context: CREATE TABLE table_18646111_13 (
round_1 VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the round 1 for team event
### Query: SELECT round_1 FROM table_18646111_13 WHERE event = "Team" |
### Context: CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varchar,
rating "decimal
)
CREATE TABLE geographic (
city_name varchar,
county varchar,
region varchar
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varcha... |
### Context: CREATE TABLE table_name_85 (
points INTEGER,
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the total Pints after 1957?
### Query: SELECT SUM(points) FROM table_name_85 WHERE year > 1957 |
### 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_58268 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series score of the game with Vancouver as the visiting team on April 16?
### Query:... |
### Context: CREATE TABLE finrev_fed_17 (
state_code number,
idcensus number,
school_district text,
nces_id text,
yr_data number,
t_fed_rev number,
c14 number,
c25 number
)
CREATE TABLE finrev_fed_key_17 (
state_code number,
state text,
#_records text
)
CREATE TABLE ndecore... |
### Context: CREATE TABLE table_73274 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Area" real,
"Population" real,
"Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Pinyin for the simplified... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_31526 (
"Economy" text,
"1980" real,
"Gap from Thailand as of 1980 (times)" text,
"1985" real,
"1990" real,
"1995" real,
"2000" real,
"2005" real,
"2010" real,
"2012" real,
"Gap from Thailand as of 2012 (times)" text,
"GDP as of 2012 after ... |
### Context: CREATE TABLE table_70502 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Chassis that has the Year of 1977?
### Query: SELECT "Chassis" FROM tabl... |
### Context: CREATE TABLE table_1342379_41 (
result VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was the election joseph w. byrns, sr. (d) unopposed?
### Query: SELECT COUNT(result) FROM table_1342379_41 WHERE candidates... |
### Context: CREATE TABLE table_51291 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine \u2020" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constructor of driver Alexander... |
### Context: CREATE TABLE table_62167 (
"Party" text,
"Name in English" text,
"City" text,
"Province" text,
"Date of registration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the Canarian Workers Socialist Union registered?
### ... |
### Context: CREATE TABLE table_name_46 (
country VARCHAR,
ief_2011 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has an IEF 2011 of 45.3?
### Query: SELECT country FROM table_name_46 WHERE ief_2011 = "45.3" |
### 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_3339 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name... |
### Context: CREATE TABLE table_name_69 (
year__ceremony_ VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Zona Sur nominated?
### Query: SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur" |
### 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 t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
CREATE TA... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.