answer stringlengths 6 3.91k | question stringlengths 7 766 | context stringlengths 27 7.14k |
|---|---|---|
SELECT COUNT(outgoing_manager) FROM table_27666856_3 WHERE replaced_by = "Esteban Vigo" | Name the outgoing manager for esteban vigo | CREATE TABLE table_27666856_3 (
outgoing_manager VARCHAR,
replaced_by VARCHAR
) |
SELECT high_rebounds FROM table_name_55 WHERE high_assists = "a. johnson (14)" | Who had the highest rebounds of the game with A. Johnson (14) as the highest assists? | CREATE TABLE table_name_55 (high_rebounds VARCHAR, high_assists VARCHAR) |
SELECT netflix FROM table_15187735_12 WHERE segment_d = "Pressure Gauges" | What is the Netflix where Segment D is pressure gauges ? | CREATE TABLE table_15187735_12 (netflix VARCHAR, segment_d VARCHAR) |
SELECT COUNT("Name") FROM table_25609 WHERE "Promoted from League" = 'Exeter Chiefs' | Name the number of names for exeter chiefs | CREATE TABLE table_25609 (
"Season" text,
"Name" text,
"Teams" real,
"Relegated to League" text,
"Promoted to League" text,
"Promoted from League" text,
"Relegated from League" text
) |
SELECT opponent FROM table_name_16 WHERE date = "august 30" | Who was the opponent on August 30? | CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR) |
SELECT segment_d FROM table_15187735_13 WHERE segment_a = "Bowling Balls" | Name the segment d for bowling balls | CREATE TABLE table_15187735_13 (segment_d VARCHAR, segment_a VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "1" AND procedures.short_title = "Endosc remove bile stone" | give me the number of patients whose death status is 1 and procedure short title is endosc remove bile stone? | 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 prescription... |
SELECT score FROM table_name_82 WHERE date = "august 8" | What was the score on August 8? | CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR) |
SELECT segment_b FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" | Name the segment b for pressure cookers | CREATE TABLE table_15187735_13 (segment_b VARCHAR, segment_a VARCHAR) |
SELECT AVG(total) FROM table_name_2 WHERE player = "simon donnelly" AND scottish_cup > 0 | What is the average total of player Simon Donnelly, with a Scottish Cup greater than 0? | CREATE TABLE table_name_2 (
total INTEGER,
player VARCHAR,
scottish_cup VARCHAR
) |
SELECT COUNT(pick) FROM table_name_52 WHERE player = "kenny evans" | How many picks included Kenny Evans? | CREATE TABLE table_name_52 (pick VARCHAR, player VARCHAR) |
SELECT segment_b FROM table_15187735_13 WHERE episode = 167 | Name the segment b for 167 | CREATE TABLE table_15187735_13 (segment_b VARCHAR, episode VARCHAR) |
SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3273 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label =... | what is the change in po2 patient 3273 experiences last measured on the first hospital visit compared to the first value measured on the first hospital visit? | CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
CREATE ... |
SELECT COUNT(pick) FROM table_name_95 WHERE college = "letran" | How many picks went to College of Letran? | CREATE TABLE table_name_95 (pick VARCHAR, college VARCHAR) |
SELECT segment_a FROM table_15187735_13 WHERE episode = 162 | Name the segment a for 162 | CREATE TABLE table_15187735_13 (segment_a VARCHAR, episode VARCHAR) |
SELECT date_of_vacancy FROM table_27782699_3 WHERE outgoing_manager = "Thomas Thomasberg" | What was the vacancy date for Thomas Thomasberg? | CREATE TABLE table_27782699_3 (
date_of_vacancy VARCHAR,
outgoing_manager VARCHAR
) |
SELECT player FROM table_name_5 WHERE pba_team = "red bull thunder" | Which player has a PBA team of Red Bull Thunder? | CREATE TABLE table_name_5 (player VARCHAR, pba_team VARCHAR) |
SELECT COUNT(segment_c) FROM table_15187735_13 WHERE segment_a = "Pressure Cookers" | Name the total number of segment c for pressure cookers | CREATE TABLE table_15187735_13 (segment_c VARCHAR, segment_a VARCHAR) |
SELECT team_classification FROM table_name_28 WHERE combination_classification = "egoi martínez" AND winner = "tom boonen" | Which Team classification has a Combination classification of egoi mart nez, and a Winner of tom boonen? | CREATE TABLE table_name_28 (
team_classification VARCHAR,
combination_classification VARCHAR,
winner VARCHAR
) |
SELECT event FROM table_name_98 WHERE year = 1971 AND result = "6th" | In which event did he place 6th in 1971? | CREATE TABLE table_name_98 (event VARCHAR, year VARCHAR, result VARCHAR) |
SELECT segment_c FROM table_15187735_1 WHERE segment_d = "Fluorescent Tubes" | What was segment C when segment D was fluorescent tubes? | CREATE TABLE table_15187735_1 (segment_c VARCHAR, segment_d VARCHAR) |
SELECT date FROM table_22879323_10 WHERE record = "11-67" | What date was the record 11-67? | CREATE TABLE table_22879323_10 (
date VARCHAR,
record VARCHAR
) |
SELECT MIN(year) FROM table_name_3 WHERE result = "2nd" AND venue = "izmir, turkey" | When was the first year he placed 2nd in Izmir, Turkey? | CREATE TABLE table_name_3 (year INTEGER, result VARCHAR, venue VARCHAR) |
SELECT segment_c FROM table_15187735_1 WHERE segment_b = "Package printing" | What was segment C when segment B was package printing? | CREATE TABLE table_15187735_1 (segment_c VARCHAR, segment_b VARCHAR) |
SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano" | Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title? | CREATE TABLE table_name_56 (
elevator VARCHAR,
order_and_title VARCHAR
) |
SELECT result FROM table_name_58 WHERE year = 1970 | How did he place in 1970? | CREATE TABLE table_name_58 (result VARCHAR, year VARCHAR) |
SELECT segment_a FROM table_15187735_1 WHERE segment_b = "Snowboards" | What was segment A when segment B was snowboards? | CREATE TABLE table_15187735_1 (segment_a VARCHAR, segment_b VARCHAR) |
SELECT COUNT(tier_1_capital), _€_million FROM table_22368322_2 WHERE institution = "Allied Irish Banks" | Name the total number of tier 1 capital for allied irish banks | CREATE TABLE table_22368322_2 (
_€_million VARCHAR,
tier_1_capital VARCHAR,
institution VARCHAR
) |
SELECT COUNT(attendance) FROM table_name_83 WHERE date = "may 29" | How many were in Attendance on the Date May 29? | CREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR) |
SELECT segment_d FROM table_15187735_1 WHERE segment_b = "Jeans" | What was segment D when segment B was jeans? | CREATE TABLE table_15187735_1 (segment_d VARCHAR, segment_b VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'CHICAGO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SEATTL... | flight numbers from CHICAGO to SEATTLE | CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name 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_cost int,
... |
SELECT record FROM table_name_15 WHERE date = "may 8" | What was the Record on the Date May 8? | CREATE TABLE table_name_15 (record VARCHAR, date VARCHAR) |
SELECT MAX(episode) FROM table_15187735_1 WHERE segment_d = "ned Can Corn" | In what episode was segment D ned Can Corn? | CREATE TABLE table_15187735_1 (episode INTEGER, segment_d VARCHAR) |
SELECT "Final Score" FROM table_78513 WHERE "Date" = 'january 9' AND "Host Team" = 'cincinnati bengals' | Tell me the final score for january 9 for cincinnati bengals | CREATE TABLE table_78513 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
) |
SELECT home FROM table_name_16 WHERE date = "april 14, 2008" | Who was the home team at the game played on April 14, 2008? | CREATE TABLE table_name_16 (home VARCHAR, date VARCHAR) |
SELECT COUNT(segment_c) FROM table_15187735_10 WHERE segment_d = "Crash Test Dummies" | Name the segment c for crash test dummies | CREATE TABLE table_15187735_10 (segment_c VARCHAR, segment_d VARCHAR) |
SELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id JOIN event AS t3 ON t2.event_id = t3.id JOIN stadium AS t4 ON t4.id = t3.stadium_id WHERE t1.nationality = 'Australia' | Find the names of stadiums that some Australian swimmers have been to. | CREATE TABLE swimmer (
id number,
name text,
nationality text,
meter_100 number,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
time text
)
CREATE TABLE record (
id number,
result text,
swimmer_id number,
event... |
SELECT votes FROM table_name_51 WHERE notes = "lost to incumbent vic gilliam" | How many votes were cast when the notes reported lost to incumbent vic gilliam? | CREATE TABLE table_name_51 (votes VARCHAR, notes VARCHAR) |
SELECT segment_b FROM table_15187735_10 WHERE segment_a = "s Dress Form" | Name the segment b for s dress form | CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_a VARCHAR) |
SELECT Founder, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder | For those records from the products and each product's manufacturer, find founder and the average of revenue , and group by attribute founder, and visualize them by a bar chart, could you sort x-axis in ascending order please? | 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
) |
SELECT candidate FROM table_name_57 WHERE race = "state representative, hd18" | Who is the candidate in Race for State representative, hd18? | CREATE TABLE table_name_57 (candidate VARCHAR, race VARCHAR) |
SELECT segment_a FROM table_15187735_10 WHERE segment_c = "s Duvet" | Name the segment a for s duvet | CREATE TABLE table_15187735_10 (segment_a VARCHAR, segment_c VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admityear < "2198" | what is the number of patients whose marital status is married and admission year is less than 2198? | 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,
hadm_id... |
SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop" | What club/province does the prop player with over 45 caps play for? | CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR) |
SELECT COUNT(episode) FROM table_15187735_10 WHERE segment_a = "s Fire Extinguisher" | Name the total number of episodes for s fire extinguisher | CREATE TABLE table_15187735_10 (episode VARCHAR, segment_a VARCHAR) |
SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina" | What is the earliest stage where mountains classifications was awarded to Peter Stetina? | CREATE TABLE table_25802689_14 (
stage INTEGER,
mountains_classification VARCHAR
) |
SELECT opponent FROM table_name_46 WHERE arena = "staples center" | Who was the opponent at the Staples Center? | CREATE TABLE table_name_46 (opponent VARCHAR, arena VARCHAR) |
SELECT COUNT(segment_b) FROM table_15187735_10 WHERE segment_d = "s Banjo" | Name the total number of segment b for s banjo | CREATE TABLE table_15187735_10 (segment_b VARCHAR, segment_d VARCHAR) |
SELECT hometown FROM table_name_62 WHERE height = "6-3" AND name = "devon bookert" | What is the hometown of Devon Bookert who is 6-3 tall? | CREATE TABLE table_name_62 (
hometown VARCHAR,
height VARCHAR,
name VARCHAR
) |
SELECT arena FROM table_name_33 WHERE opponent = "sharks" | In what arena was the game against the Sharks played? | CREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR) |
SELECT COUNT(segment_d) FROM table_15187735_10 WHERE segment_a = "Wooden s Barrel" | Name the total number of segment d for wooden s barrel | CREATE TABLE table_15187735_10 (segment_d VARCHAR, segment_a VARCHAR) |
SELECT SUM("Points") FROM table_40717 WHERE "Performer" = 'fe-mail' | What is the sum of Points, when the Performer is fe-mail? | CREATE TABLE table_40717 (
"Draw" real,
"Song" text,
"Performer" text,
"Points" real,
"Rank" text
) |
SELECT label FROM table_name_86 WHERE format = "lp" | What is the label with the LP format? | CREATE TABLE table_name_86 (label VARCHAR, format VARCHAR) |
SELECT COUNT(segment_a) FROM table_15187735_14 WHERE series_ep = "14-05" | How many segment A were in series episode 14-05 | CREATE TABLE table_15187735_14 (segment_a VARCHAR, series_ep VARCHAR) |
SELECT COUNT(*) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 18159 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND prescriptions.drug = 'adefovir dipivoxil' | how many times adefovir dipivoxil has been prescribed to patient 18159 on their last hospital encounter? | 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
chart... |
SELECT date FROM table_name_99 WHERE label = "4ad" AND format = "cd (reissue)" | What date had a 4ad label and a CD (reissue) format? | CREATE TABLE table_name_99 (date VARCHAR, label VARCHAR, format VARCHAR) |
SELECT segment_c FROM table_15187735_14 WHERE netflix = "S07E05" | What is segment C in s07e05 | CREATE TABLE table_15187735_14 (segment_c VARCHAR, netflix VARCHAR) |
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal" | What is jos mar a olaz bal's country? | CREATE TABLE table_name_39 (
country VARCHAR,
player VARCHAR
) |
SELECT country FROM table_name_66 WHERE catalogue__number = "cad 4011" | Which country had a cad 4011 catalogue #? | CREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR) |
SELECT netflix FROM table_15187735_15 WHERE segment_d = "High-Performance Engines" | What is the netflix episode number where Segment D is high-performance engines? | CREATE TABLE table_15187735_15 (netflix VARCHAR, segment_d VARCHAR) |
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT transfers.hadm_id FROM transfers WHERE transfers.careunit = 'tsicu' AND STRFTIME('%y', transfers.intime) = '2104') | how many patients in 2104 were staying in the tsicu careunit? | CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
... |
SELECT date FROM table_name_66 WHERE country = "japan" | Which date was for Japan? | CREATE TABLE table_name_66 (date VARCHAR, country VARCHAR) |
SELECT segment_d FROM table_15187735_15 WHERE episode = 183 | What was segment D for episode 183? | CREATE TABLE table_15187735_15 (segment_d VARCHAR, episode VARCHAR) |
SELECT asset_make, COUNT(asset_make) FROM Assets GROUP BY asset_make ORDER BY COUNT(asset_make) | Show the number of assets and group by asset make in a bar chart, order in asc by the how many asset make. | CREATE TABLE Asset_Parts (
asset_id INTEGER,
part_id INTEGER
)
CREATE TABLE Maintenance_Engineers (
engineer_id INTEGER,
company_id INTEGER,
first_name VARCHAR(50),
last_name VARCHAR(50),
other_details VARCHAR(255)
)
CREATE TABLE Engineer_Visits (
engineer_visit_id INTEGER,
contact... |
SELECT label FROM table_name_88 WHERE country = "united states" | What is the label on the United States? | CREATE TABLE table_name_88 (label VARCHAR, country VARCHAR) |
SELECT segment_a FROM table_15187735_15 WHERE segment_c = "Sushi (Part 1)" | What is Segment A where Segment C is Sushi (part 1)? | CREATE TABLE table_15187735_15 (segment_a VARCHAR, segment_c VARCHAR) |
SELECT us_air_date FROM table_10470082_8 WHERE writer = "Jim Morris" | When did the episode written by Jim Morris air? | CREATE TABLE table_10470082_8 (
us_air_date VARCHAR,
writer VARCHAR
) |
SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093" | What is the date with the catalogue # cocy-80093? | CREATE TABLE table_name_37 (date VARCHAR, catalogue__number VARCHAR) |
SELECT COUNT(episode) FROM table_15187735_15 WHERE netflix = "S08E04" | How many episodes have the Netflix episode number S08E04? | CREATE TABLE table_15187735_15 (episode VARCHAR, netflix VARCHAR) |
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND prescriptions.route = "ID" | Bring the number of white-russian patients who have an id route of drug administration. | 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,
admission_location t... |
SELECT category FROM table_name_72 WHERE nomination = "danson tang" | What category was danson tang nominated? | CREATE TABLE table_name_72 (category VARCHAR, nomination VARCHAR) |
SELECT segment_a FROM table_15187735_15 WHERE segment_d = "Luxury Sports Cars" | What is Segment A where Segment D is luxury sports cars? | CREATE TABLE table_15187735_15 (segment_a VARCHAR, segment_d VARCHAR) |
SELECT "venue" FROM table_203_715 WHERE "venue" IN ('germany', 'greece') GROUP BY "venue" ORDER BY COUNT("competition") DESC LIMIT 1 | which country had more competitions , germany or greece ? | CREATE TABLE table_203_715 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
) |
SELECT SUM(year) FROM table_name_52 WHERE category = "best improved singer (躍進歌手)" | What was the total number of years than had best improved singer (躍進歌手)? | CREATE TABLE table_name_52 (year INTEGER, category VARCHAR) |
SELECT MIN(episode) FROM table_15187735_20 WHERE segment_a = "Thinning Shears" | What episode number is the episode with a segment on thinning shears? | CREATE TABLE table_15187735_20 (episode INTEGER, segment_a VARCHAR) |
SELECT SUM(total_passengers) FROM table_name_88 WHERE capacity_in_use = "81.2%" | what is the number of passengers when the capacity is 81.2%? | CREATE TABLE table_name_88 (
total_passengers INTEGER,
capacity_in_use VARCHAR
) |
SELECT constructor FROM table_name_49 WHERE grid > 19 AND time_retired = "suspension" | Who constructed the car with a grid over 19 that retired due to suspension? | CREATE TABLE table_name_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) |
SELECT MIN(episode) FROM table_15187735_20 WHERE segment_d = "Custom Motorcycle Tanks" | Which episode has segment D on custom motorcycle tanks? | CREATE TABLE table_15187735_20 (episode INTEGER, segment_d VARCHAR) |
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ONTARIO' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MEMPHI... | what are the flights from ONTARIO to MEMPHIS | CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required t... |
SELECT driver FROM table_name_79 WHERE grid = 9 | What driver has a 9 grid total? | CREATE TABLE table_name_79 (driver VARCHAR, grid VARCHAR) |
SELECT COUNT(segment_c) FROM table_15187735_20 WHERE segment_d = "Bicycle Tires" | How many segment C are there in the episode where segment D is bicycle tires? | CREATE TABLE table_15187735_20 (segment_c VARCHAR, segment_d VARCHAR) |
SELECT "Conference" FROM table_72772 WHERE "School" = 'Belmont' | Which conference is Belmont in? | CREATE TABLE table_72772 (
"School" text,
"Record" text,
"Conference" text,
"Conf. record" text,
"Regular season finish" text,
"Regular season second place" text
) |
SELECT chassis FROM table_name_48 WHERE season = "1982" | What was the winning car's chassis for the 1982 season? | CREATE TABLE table_name_48 (chassis VARCHAR, season VARCHAR) |
SELECT MIN(episode) FROM table_15187735_20 | What is the first episode number? | CREATE TABLE table_15187735_20 (episode INTEGER) |
SELECT SUM("Gain") FROM table_65668 WHERE "Long" > '8' AND "Avg/G" = '124.9' | How many gains have a long greater than 8, with avg/g of 124.9? | CREATE TABLE table_65668 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
) |
SELECT team FROM table_name_8 WHERE chassis = "dallara f302" AND champion = "bastian kolmsee" | Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis? | CREATE TABLE table_name_8 (team VARCHAR, chassis VARCHAR, champion VARCHAR) |
SELECT COUNT(segment_b) FROM table_15187735_16 WHERE segment_a = "Filigree Glass" | How many segment b's when segment a is filigree glass | CREATE TABLE table_15187735_16 (segment_b VARCHAR, segment_a VARCHAR) |
SELECT AVG("Points") FROM table_68590 WHERE "Chassis" = 'mclaren m23' AND "Entrant" = 'centro asegurador' | What is the average points that Centro Asegurador earned with the McLaren M23 chassis? | CREATE TABLE table_68590 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) |
SELECT chassis FROM table_name_4 WHERE engine = "volkswagen" AND season = "2010" | What chassis was the car with the Volkswagen engine built on in 2010? | CREATE TABLE table_name_4 (chassis VARCHAR, engine VARCHAR, season VARCHAR) |
SELECT segment_a FROM table_15187735_16 WHERE netflix = "S08E21" | Whats the name of segment in s08e21 | CREATE TABLE table_15187735_16 (segment_a VARCHAR, netflix VARCHAR) |
SELECT "Home team" FROM table_47718 WHERE "Home team score" = '12.10 (82)' | Which Home team has a score of 12.10 (82)? | CREATE TABLE table_47718 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
) |
SELECT engine FROM table_name_86 WHERE team = "korten motorsport" | Which engine did Korten Motorsport use? | CREATE TABLE table_name_86 (engine VARCHAR, team VARCHAR) |
SELECT netflix FROM table_15187735_16 WHERE segment_a = "Digital Dentistry" | Whats the season/episode of segment a digital dentistry | CREATE TABLE table_15187735_16 (netflix VARCHAR, segment_a VARCHAR) |
SELECT "Venue" FROM table_10531 WHERE "Away team score" = '20.17 (137)' | Where was the game played that had an away team score of 20.17 (137)? | CREATE TABLE table_10531 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) |
SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971" | Who was the champion that drove the car with the Ford engine in 1971? | CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR) |
SELECT segment_d FROM table_15187735_16 WHERE segment_a = "Tequila" | Whats the name of segment D in the episode where segment A is tequila | CREATE TABLE table_15187735_16 (segment_d VARCHAR, segment_a VARCHAR) |
SELECT away_team AS score FROM table_name_83 WHERE home_team = "brisbane lions" | What was the away team score when the home team was the Brisbane Lions? | CREATE TABLE table_name_83 (
away_team VARCHAR,
home_team VARCHAR
) |
SELECT season FROM table_name_40 WHERE team = "lotus" AND champion = "jimmy eriksson" | In which season did Jimmy Eriksson win the championship for Team Lotus? | CREATE TABLE table_name_40 (season VARCHAR, team VARCHAR, champion VARCHAR) |
SELECT COUNT(episode) FROM table_15187735_18 WHERE segment_c = "s Oyster" | Name the number of episods for segment c being s oyster | CREATE TABLE table_15187735_18 (episode VARCHAR, segment_c VARCHAR) |
SELECT location FROM table_name_61 WHERE team = "seve ballesteros & manuel piñero" | What is the Location when the team was seve ballesteros & manuel pi ero? | CREATE TABLE table_name_61 (
location VARCHAR,
team VARCHAR
) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.