text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_18352 (
"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 party where the incumbent is edward boland?
##... |
### Context: CREATE TABLE table_41535 (
"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.
-- Which team had 1 position?
### Qu... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTM... |
### Context: CREATE TABLE table_39028 (
"Saddle cloth" real,
"Horse" text,
"Trainer" text,
"Jockey" text,
"Weight (kg)" real,
"Barrier [b ]" text,
"Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who rode mad rush?
### Query: SELECT... |
### Context: CREATE TABLE table_name_14 (
title VARCHAR,
year VARCHAR,
award VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Title has a Year smaller than 2001, and an Award of independent spirit awards?
### Query: SELECT title FROM table_name_14 W... |
### Context: CREATE TABLE club (
Club_ID int,
name text,
Region text,
Start_year text
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
Club_ID int,
Apps real,
Tries real,
Goals text,
Points real
)
CREATE TABLE competition (
Competition_ID int,
Ye... |
### Context: CREATE TABLE table_20866024_4 (
engine VARCHAR,
model_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Engine for model CF350.
### Query: SELECT engine FROM table_20866024_4 WHERE model_type = "CF350" |
### 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 student_record (
student_id int,
course_id int,
semester int,
... |
### Context: CREATE TABLE table_name_23 (
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has a 72-70-75-72=289 score?
### Query: SELECT country FROM table_name_23 WHERE score = 72 - 70 - 75 - 72 = 289 |
### 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_23 (
player VARCHAR,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?
### Query: SELECT player FROM table_name_23 WHERE cfl_team = "mo... |
### Context: CREATE TABLE table_name_90 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3?
### Query: SELECT 2011 FROM table_name_90 WHERE 2007 = "q3" |
### Context: CREATE TABLE table_46391 (
"Driver" text,
"Race 1" text,
"Race 2" text,
"Race 3" text,
"Race 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the value for race 4 for driver kevin heffernan?
### Query: SELECT "Race 4" FROM tabl... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_25773 (
"Date" text,
"Location" text,
"Opponent" text,
"Sun Devils Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the game with a 4-1 record played?
### Query:... |
### Context: CREATE TABLE table_54203 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high lap total for fran ois cevert?
### Query: SELECT MAX("Laps") FROM ta... |
### Context: CREATE TABLE table_24234 (
"Name" text,
"Municipal status" text,
"Census division" text,
"Population (2011)" real,
"Population (2006)" real,
"Change (%)" text,
"Area (km\u00b2)" text,
"Population density" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_2527063_3 (
growth_rate VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the growth rate for hooghly
### Query: SELECT growth_rate FROM table_2527063_3 WHERE district = "Hooghly" |
### Context: CREATE TABLE table_23535 (
"Year" text,
"Team" text,
"Games" real,
"Mins" text,
"FG%" text,
"3P%" text,
"FT%" text,
"Rebounds" text,
"Assists" text,
"Steals" text,
"Blocks" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the ... |
### Context: CREATE TABLE reviewer (
rid number,
name text
)
CREATE TABLE rating (
rid number,
mid number,
stars number,
ratingdate time
)
CREATE TABLE movie (
mid number,
title text,
year number,
director text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_5285 (
"Date" text,
"Opponent" text,
"Location" text,
"Result" text,
"Overall" text,
"Conf." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Conference was during the NCAA Tournament?
### Query: SELECT "Conf.... |
### Context: CREATE TABLE table_58078 (
"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.
-- When the Away team footscray played... |
### Context: CREATE TABLE table_50326 (
"Season" text,
"North" text,
"South" text,
"East" text,
"West" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season has esc holzkirchen south, esv buchloe west, and ehc bayreuth north?
### Query: SELECT... |
### Context: CREATE TABLE table_name_4 (
attendance VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the number of attendance that has a result of l 35-17
### Query: SELECT COUNT(attendance) FROM table_name_4 WHERE result = "l 35-17" |
### 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 table_203_151 (
id number,
"no." number,
"date" text,
"tournament" text,
"winning score" text,
"margin of\nvictory" text,
"runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had the top score in the pg... |
### Context: CREATE TABLE table_11803648_17 (
overall INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- HOW MUCH WAS THE OVERALL FOR ERIK KARLSSON?
### Query: SELECT MIN(overall) FROM table_11803648_17 |
### Context: CREATE TABLE table_name_23 (
crowd INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total crowd count for the venue Princes Park?
### Query: SELECT SUM(crowd) FROM table_name_23 WHERE venue = "princes park" |
### Context: CREATE TABLE table_204_696 (
id number,
"issue" number,
"volume" number,
"title" text,
"main feature story" text,
"first/early appearance story/stories" text,
"release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how man... |
### 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 stay (
patient VARCHAR,
room VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many patients stay in room 112?
### Query: SELECT COUNT(patient) FROM stay WHERE room = 112 |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
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,
charttime time,
... |
### Context: CREATE TABLE table_name_95 (
runner_s__up VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the runner(s)-up for the tournament played on Jun 3, 1973?
### Query: SELECT runner_s__up FROM table_name_95 WHERE date = "jun 3, 197... |
### Context: CREATE TABLE table_18077713_1 (
year_to_april VARCHAR,
revenue__us_$million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year to april when the revenue is 434.8 million dollars?
### Query: SELECT year_to_april FROM table_18077713... |
### Context: CREATE TABLE table_217785_2 (
tv_season VARCHAR,
viewers__in_millions_of_households_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season received 10.2 million viewers?
### Query: SELECT COUNT(tv_season) FROM table_217785_2 WHERE viewers... |
### 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_46317 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The K-1 MMA Romanex event went how man... |
### Context: CREATE TABLE table_67295 (
"Name" text,
"Country" text,
"Status" text,
"Moving to" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Transfer window, when the Transfer fee is 'fr... |
### Context: CREATE TABLE club (
clubid number,
clubname text,
clubdesc text,
clublocation text
)
CREATE TABLE member_of_club (
stuid number,
clubid number,
position text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major numb... |
### Context: CREATE TABLE table_name_49 (
home VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team has a record of 3-2?
### Query: SELECT home FROM table_name_49 WHERE record = "3-2" |
### Context: CREATE TABLE table_38853 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day in December was the game before game 11 with a record of 7-2-2?
### Query: SELECT ... |
### Context: CREATE TABLE table_name_18 (
name VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What name is the goals of 25?
### Query: SELECT name FROM table_name_18 WHERE goals = 25 |
### Context: CREATE TABLE table_name_57 (
producer VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Director Erik Matti's Producer?
### Query: SELECT producer FROM table_name_57 WHERE director = "erik matti" |
### Context: CREATE TABLE table_4807 (
"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.
-- How many games did the home team sco... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TA... |
### Context: CREATE TABLE table_32831 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest week with the date of november 5, 1995?
### Query: SELECT MAX("Week") F... |
### Context: CREATE TABLE table_name_27 (
year VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was there a finish of 3?
### Query: SELECT year FROM table_name_27 WHERE finish = "3" |
### Context: CREATE TABLE table_52841 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of laps for mika salo's arrows car with a grid over 13?
##... |
### Context: CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Compute the to... |
### Context: CREATE TABLE table_38362 (
"Season" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team has the Player of A.J. Moye?
### Query: SELECT "Team" FROM table_38362 WHERE... |
### Context: CREATE TABLE table_48257 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Silva's Partner in the match with a Score of 6 3... |
### Context: CREATE TABLE table_59536 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event had Edson Claas Vieira as an opponent?
### Query: SELECT "Ev... |
### Context: CREATE TABLE table_1977630_2 (
vos__ VARCHAR,
_ VARCHAR,
él___ella___usted VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the forms of the conjucated vos(*) where l / ella / usted is muela
### Query: SELECT vos__ * _ FROM table_197... |
### Context: CREATE TABLE roller_coaster (
Speed INTEGER,
Country_ID VARCHAR
)
CREATE TABLE country (
Name VARCHAR,
Country_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the names of countries and the average speed of roller coasters from e... |
### Context: CREATE TABLE table_204_693 (
id number,
"place" text,
"total" number,
"men" number,
"women" number,
"children" number,
"elderly" number,
"serbs" number,
"jews" number,
"romani" number,
"rusyns" number,
"hungarians" number,
"russians" number
)
-- Using v... |
### 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 student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE table_name_55 (
agg VARCHAR,
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the aggregate score that had Union Douala as Team 1?
### Query: SELECT agg FROM table_name_55 WHERE team_1 = "union douala" |
### Context: CREATE TABLE table_5800 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"Long" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many averages have recs smaller than 26, and a Player of reggie brown, and a Long smaller than 40... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
BBCJBW text,... |
### Context: CREATE TABLE table_name_89 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the largest crowd when South Melbourne was the away team?
### Query: SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south mel... |
### Context: CREATE TABLE table_204_791 (
id number,
"event" text,
"winner" text,
"second" text,
"third" text,
"fourth" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what event did chelsea williams win her first title ?
### Query: SELECT "e... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTME... |
### Context: CREATE TABLE table_18102421_2 (
title VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the title of the episode that had 13.82 million U.S. viewers?
### Query: SELECT title FROM table_18102421_2 WHERE us_vi... |
### Context: CREATE TABLE table_12271718_1 (
status VARCHAR,
channel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of channel 44.1?
### Query: SELECT status FROM table_12271718_1 WHERE channel = "44.1" |
### Context: CREATE TABLE table_6490 (
"Source" text,
"Date" text,
"GERB" text,
"Attack" text,
"Blue Coalition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Attack has a 30,00% GERB?
### Query: SELECT "Attack" FROM table_6490 WHERE "GERB" = ... |
### 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 MATCH (
match_id VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the match ids of the cities that hosted competition '1994 FIFA World Cup qualification'?
### Query: SELECT match_id FROM MATCH WHERE competit... |
### Context: CREATE TABLE table_name_68 (
competition VARCHAR,
final_position___round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which competition had a final position/round of 2?
### Query: SELECT competition FROM table_name_68 WHERE final_position___r... |
### 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_name_91 (
wins INTEGER,
hampden_fl VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins did South Warrambool have?
### Query: SELECT AVG(wins) FROM table_name_91 WHERE hampden_fl = "south warrambool" |
### Context: CREATE TABLE table_name_78 (
title VARCHAR,
end_term VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Title has an 1825 end term?
### Query: SELECT title FROM table_name_78 WHERE end_term = 1825 |
### Context: CREATE TABLE table_17487395_1 (
branding VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the branding for stations located in Cebu?
### Query: SELECT branding FROM table_17487395_1 WHERE location = "Cebu" |
### Context: CREATE TABLE table_name_92 (
home VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team did the Chicago Black Hawks visit on April 20?
### Query: SELECT home FROM table_name_92 WHERE visitor = "chicago blac... |
### Context: CREATE TABLE table_name_58 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 2008 with 2010 of 2r and wimbledon tournament
### Query: SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon" |
### Context: CREATE TABLE table_71053 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the prize for winner benny spindler?
### Query: SELECT "Prize" FROM table_71053 WHERE "Wi... |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback in... |
### Context: 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 TABLE flight_stop (
flight_id int,
stop_number int,
stop_days te... |
### 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 TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE Votes (
Id number,
PostI... |
### Context: CREATE TABLE table_204_948 (
id number,
"year" number,
"award" text,
"category" text,
"film" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film won the most awards ?
### Query: SELECT "film" FROM table_204_948... |
### Context: CREATE TABLE table_27571 (
"Player" text,
"Games Played" real,
"Rebounds" real,
"Assists" real,
"Steals" real,
"Blocks" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many steals did Kelly Miller have?
### Qu... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE flight_fare (
flight_id int,
far... |
### Context: CREATE TABLE train (
Train_ID int,
Train_Num text,
Name text,
From text,
Arrival text,
Railway_ID int
)
CREATE TABLE manager (
Manager_ID int,
Name text,
Country text,
Working_year_starts text,
Age int,
Level int
)
CREATE TABLE railway_manage (
Railway_... |
### Context: CREATE TABLE table_23248940_9 (
high_assists VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different high assists results are there for the game played on February 24?
### Query: SELECT COUNT(high_assists) FROM table_232... |
### 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_44361 (
"Tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"Career SR" text,
"Career win-loss" text
)
... |
### 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 vitalperiodic (
... |
### Context: CREATE TABLE table_79771 (
"Rocket" text,
"Country" text,
"Type" text,
"Launches" real,
"Successes" real,
"Failures" real,
"Partial failures" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of successes for roc... |
### Context: CREATE TABLE wdmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### 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 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_name_6 (
position VARCHAR,
cfl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a CFL Team of montreal alouettes (via edmonton)?
### Query: SELECT position FROM table_name_6 WHERE cfl_team = "montreal al... |
### Context: CREATE TABLE table_21259 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE vitalp... |
### Context: CREATE TABLE table_8479 (
"Election" real,
"Candidate" text,
"Number of votes" text,
"Share of votes" text,
"Outcome of election" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the share of votes in the 2008 election?
### Query... |
### Context: CREATE TABLE table_name_24 (
high_rebounds VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the high rebounds, and how many did he have, for the game played on April 9?
### Query: SELECT high_rebounds FROM table_name_24 WHER... |
### Context: CREATE TABLE table_64601 (
"Name" text,
"La Liga" real,
"Copa del Rey" real,
"UEFA Champions League" real,
"FIFA Club World Championship" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Copa del Rey has a Name of ... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_54725 (
"Year" text,
"Venue" text,
"Winner" text,
"Country" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what venue saw a score of 285?
### Query: SELECT "Venue" FROM table_54725 WHERE "Score" = '285' |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.