question
stringlengths 17
201
| answer
stringlengths 21
400
| context
stringlengths 32
286
|
---|---|---|
What is the print resolution (FPI) for December 2002?
|
SELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = "December 2002"
|
CREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)
|
When the winning driver was jacques villeneuve what was the fastest lap driven?
|
SELECT fastest_lap FROM table_name_31 WHERE winning_driver = "jacques villeneuve"
|
CREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR)
|
In what round was a left wing drafted?
|
SELECT round FROM table_name_58 WHERE position = "left wing"
|
CREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)
|
What is every Swedish name for residence city is Loviisa?
|
SELECT swedish_name FROM table_198175_2 WHERE residence_city = "Loviisa"
|
CREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR)
|
who are the candidates for district new york 10?
|
SELECT candidates FROM table_2668347_14 WHERE district = "New York 10"
|
CREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR)
|
How many new entries are there for a second phase that has 4 winners from previous rounds?
|
SELECT new_entries_this_round FROM table_name_71 WHERE phase = "second phase" AND winners_from_previous_round = "4"
|
CREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR)
|
What torque does 1.9 diesel with 1905 cc have?
|
SELECT torque FROM table_name_30 WHERE name = "1.9 diesel" AND capacity = "1905 cc"
|
CREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR)
|
Name the conventional for defter
|
SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter"
|
CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
|
What was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?
|
SELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = "des dickson" AND goals < 219
|
CREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)
|
What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
|
SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" AND no_10 = "amelia"
|
CREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)
|
For the 2013 completion schedule, what is the total S.no.?
|
SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"
|
CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)
|
What is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?
|
SELECT SUM(round) FROM table_name_84 WHERE method = "submission (ankle lock)" AND location = "tokyo, japan" AND record = "13-5-2"
|
CREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)
|
Name the sumof points for year less than 1994 and chassis of lola lc89b
|
SELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = "lola lc89b"
|
CREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR)
|
What is the N117/2400 IEC3 associated with an N100IEC3 of 25?
|
SELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = "25"
|
CREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR)
|
when was the death when the birth was 8 december 1542?
|
SELECT death FROM table_name_45 WHERE birth = "8 december 1542"
|
CREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR)
|
How many points did the Weslake v12 get in 1966?
|
SELECT MAX(points) FROM table_name_28 WHERE engine = "weslake v12" AND year < 1966
|
CREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR)
|
Who proceeded to the quarter final when the london irish were eliminated from competition?
|
SELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = "London Irish"
|
CREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)
|
What is the average attendance when the rank is 5?
|
SELECT avgatt FROM table_name_90 WHERE rank = "5"
|
CREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR)
|
What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
|
SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler"
|
CREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)
|
What is the region 2 for the complete fifth series?
|
SELECT region_2 FROM table_1337525_1 WHERE complete_series = "The Complete Fifth Series"
|
CREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR)
|
Which works number has a class of 15th and year of 1940?
|
SELECT works_no FROM table_name_69 WHERE class = "15th" AND year = "1940"
|
CREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)
|
What is the average react for a rank more than 8?
|
SELECT AVG(react) FROM table_name_36 WHERE rank > 8
|
CREATE TABLE table_name_36 (react INTEGER, rank INTEGER)
|
What is josé maría olazábal's country?
|
SELECT country FROM table_name_39 WHERE player = "josé maría olazábal"
|
CREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)
|
Tell me the record for a time in seconds smaller than 5.22.
|
SELECT record FROM table_name_45 WHERE time__seconds_ < 5.22
|
CREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)
|
What is Opponent, when Record is 17-44?
|
SELECT opponent FROM table_name_98 WHERE record = "17-44"
|
CREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR)
|
Name the first elected for lost renomination democratic loss
|
SELECT first_elected FROM table_1342249_32 WHERE result = "Lost renomination Democratic loss"
|
CREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)
|
what is the average rating when the air date is november 23, 2007?
|
SELECT AVG(rating) FROM table_name_46 WHERE air_date = "november 23, 2007"
|
CREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR)
|
What is the earliest year that a candidate was first elected?
|
SELECT MIN(first_elected) FROM table_1341897_42
|
CREATE TABLE table_1341897_42 (first_elected INTEGER)
|
What is friday day six when thursday day five is پچھمبے pachhambey?
|
SELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = "پچھمبے pachhambey"
|
CREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)
|
What is the change in population since 1993 in the region where the % of country's population was 4.2?
|
SELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = "4.2"
|
CREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)
|
how many highest with team being forfar athletic
|
SELECT COUNT(highest) FROM table_14003108_1 WHERE team = "Forfar Athletic"
|
CREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR)
|
What is Opponent, when Date is December 18, 1988?
|
SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988"
|
CREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR)
|
who is the the fastest lap with grand prix being european grand prix
|
SELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = "European grand_prix"
|
CREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)
|
What is Score, when Player is "Bob Murphy"?
|
SELECT score FROM table_name_9 WHERE player = "bob murphy"
|
CREATE TABLE table_name_9 (score VARCHAR, player VARCHAR)
|
Where was the game held where Hawthorn was the away team?
|
SELECT venue FROM table_name_46 WHERE away_team = "hawthorn"
|
CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR)
|
Which Points have a Drawn larger than 0, and a Lost larger than 1?
|
SELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND lost > 1
|
CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR)
|
Who were the candidates in the election in the Tennessee 9 district?
|
SELECT candidates FROM table_1342370_41 WHERE district = "Tennessee 9"
|
CREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR)
|
Which chassis has a year later than 1964, a Ford engine, and 13 points?
|
SELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = "ford" AND pts = 13
|
CREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)
|
What was the 'calling at' station of the train that departed on 18.16?
|
SELECT calling_at FROM table_18365784_3 WHERE departure = "18.16"
|
CREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR)
|
WHAT DATE HAS A CATALOG OF 486553.4?
|
SELECT MAX(date) FROM table_name_70 WHERE catalog = "486553.4"
|
CREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)
|
What was the score against Portland in game numbers under 20?
|
SELECT score FROM table_name_74 WHERE game < 20 AND team = "portland"
|
CREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR)
|
Name the region for cd with catalog of alca-9203
|
SELECT region FROM table_name_43 WHERE format = "cd" AND catalog = "alca-9203"
|
CREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR)
|
Name the innings for 5088 runs scored
|
SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088
|
CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR)
|
How many viewers tuned in for season 2?
|
SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2
|
CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)
|
What is the country named feeney with a bbc sport start source?
|
SELECT country FROM table_name_16 WHERE start_source = "bbc sport" AND name = "feeney"
|
CREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)
|
What is Li-FeS 2, when Type is Nominal Voltage?
|
SELECT li_fes_2 FROM table_name_9 WHERE type = "nominal voltage"
|
CREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR)
|
Which Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?
|
SELECT AVG(attendance) FROM table_name_32 WHERE opponent = "pittsburgh pirates" AND date = "may 5"
|
CREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)
|
Who was the away team at punt road oval?
|
SELECT away_team FROM table_name_5 WHERE venue = "punt road oval"
|
CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR)
|
When was republican incumbent Joseph McKenna first elected?
|
SELECT first_elected FROM table_name_28 WHERE party = "republican" AND incumbent = "joseph mckenna"
|
CREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)
|
What did they do in the game when their record was 3-2-1?
|
SELECT result FROM table_21058823_1 WHERE record = "3-2-1"
|
CREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR)
|
What are the positions with both players having more than 20 points and less than 10 points.
|
SELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 10
|
CREATE TABLE player (POSITION VARCHAR, Points INTEGER)
|
What is the smallest number of "goals for" out of the clubs where there were 18 wins and fewer than 38 "goals against"?
|
SELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38
|
CREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)
|
Find all the songs whose name contains the word "the".
|
SELECT title FROM songs WHERE title LIKE '% the %'
|
CREATE TABLE songs (title VARCHAR)
|
Which event did he win with a method of submission (triangle choke) and a time of n/a?
|
SELECT event FROM table_name_25 WHERE res = "win" AND time = "n/a" AND method = "submission (triangle choke)"
|
CREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR)
|
What is the Name of the Player from Albuquerque, New Mexico?
|
SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico"
|
CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR)
|
what is the competition when the date is 16 january 1996?
|
SELECT competition FROM table_name_14 WHERE date = "16 january 1996"
|
CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)
|
When did the playoffs reached Conference Finals?
|
SELECT year FROM table_15409403_1 WHERE playoffs = "Conference Finals"
|
CREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR)
|
What event is before 1964 and has an athlete of lászló tábori gunnar nielsen?
|
SELECT event FROM table_name_79 WHERE year < 1964 AND athlete = "lászló tábori gunnar nielsen"
|
CREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR)
|
How much is the population density with a GDP at $188,112?
|
SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112"
|
CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR)
|
What was the result at the Berlin International Film Festival in a year greater than 1987?
|
SELECT result FROM table_name_80 WHERE year > 1987 AND awards = "berlin international film festival"
|
CREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR)
|
What was the score on June 12?
|
SELECT score FROM table_name_76 WHERE date = "june 12"
|
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
|
What is the total number of Years when the LLWS is 4th place, and when the City is Westport?
|
SELECT COUNT(year) FROM table_name_19 WHERE llws = "4th place" AND city = "westport"
|
CREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)
|
What is the NHL team that has Peter Strom?
|
SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom"
|
CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)
|
What were the 2009 results that has 0 in 2010?
|
SELECT 2009 FROM table_name_52 WHERE 2010 = "0"
|
CREATE TABLE table_name_52 (Id VARCHAR)
|
Which Round is the highest one that has a Position of running back?
|
SELECT MAX(round) FROM table_name_14 WHERE position = "running back"
|
CREATE TABLE table_name_14 (round INTEGER, position VARCHAR)
|
which party is the newark representative from
|
SELECT party FROM table_29486189_4 WHERE residence = "Newark"
|
CREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR)
|
Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12?
|
SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12
|
CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR)
|
What is the total number of Entered when the eliminated number is 3?
|
SELECT COUNT(entered) FROM table_name_53 WHERE eliminated = "3"
|
CREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)
|
How many points were scored by Rolla Bigelow?
|
SELECT points FROM table_14342480_7 WHERE player = "Rolla Bigelow"
|
CREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR)
|
When there were 767 points, what was the point difference?
|
SELECT points_difference FROM table_name_34 WHERE points_against = "767"
|
CREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR)
|
What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?
|
SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5
|
CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)
|
Name the most number in series for production code of 3abc11
|
SELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = "3ABC11"
|
CREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)
|
Churai has what as the fewest number of electorates?
|
SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai"
|
CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)
|
Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?
|
SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6"
|
CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)
|
Who set the record in the 500 metres event?
|
SELECT name FROM table_name_14 WHERE event = "500 metres"
|
CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR)
|
Find the name and address of the customers who have both New and Pending orders.
|
SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "Pending"
|
CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
|
Name the 2008 for wta premier mandatory tournaments of 2007
|
SELECT 2008 FROM table_name_77 WHERE 2007 = "wta premier mandatory tournaments"
|
CREATE TABLE table_name_77 (Id VARCHAR)
|
What is the average PI GP of the player from round 5 with a pick # larger than 151?
|
SELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151
|
CREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR)
|
What is the title when the series # is 7?
|
SELECT title FROM table_29747178_2 WHERE series__number = 7
|
CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR)
|
What was the voting order when bunny carr was the commentator?
|
SELECT SUM(voting_order) FROM table_name_50 WHERE commentator = "bunny carr"
|
CREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)
|
Which player had a place of T4?
|
SELECT player FROM table_name_62 WHERE place = "t4"
|
CREATE TABLE table_name_62 (player VARCHAR, place VARCHAR)
|
What is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?
|
SELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = "theodoros baev"
|
CREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)
|
What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?
|
SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2"
|
CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)
|
Name the Score on 17 december 1979?
|
SELECT score FROM table_name_80 WHERE date = "17 december 1979"
|
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)
|
Who was the home team where Trail Blazers were the visitor?
|
SELECT home FROM table_name_70 WHERE visitor = "trail blazers"
|
CREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR)
|
Which vocal type is the most frequently appearring type?
|
SELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1
|
CREATE TABLE vocals (TYPE VARCHAR)
|
Who played as Team 1 against Lomé i?
|
SELECT team_1 FROM table_name_8 WHERE team_2 = "lomé i"
|
CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)
|
What is the number of draws when the played 9 and lost 3?
|
SELECT drew FROM table_name_23 WHERE played = "9" AND lost = "3"
|
CREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR)
|
What is the average area for code 98030 with population over 312?
|
SELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312
|
CREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)
|
What place did jacky cupit take when his To par was under 13?
|
SELECT place FROM table_name_67 WHERE to_par < 13 AND player = "jacky cupit"
|
CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, player VARCHAR)
|
What was the crowd attendance when the home team was Melbourne?
|
SELECT COUNT(crowd) FROM table_name_73 WHERE home_team = "melbourne"
|
CREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR)
|
What date did Toumani Diagouraga, who played position MF, start?
|
SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"
|
CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)
|
What were the scores of the games with a record of 47-34?
|
SELECT score FROM table_27902171_9 WHERE record = "47-34"
|
CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR)
|
Show the name for regions not affected.
|
SELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)
|
CREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)
|
what is the episode with the 183,000 viewers?
|
SELECT episode FROM table_name_64 WHERE viewers = "183,000"
|
CREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR)
|
Show the product type codes which have at least two products.
|
SELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2
|
CREATE TABLE products (product_type_code VARCHAR)
|
When chris barnes is on team usa how many europe teams are there?
|
SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes"
|
CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)
|
What was the label in the region of Argentina and had a format of CD?
|
SELECT label FROM table_name_82 WHERE format = "cd" AND region = "argentina"
|
CREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR)
|
For which play was the points 271?
|
SELECT played FROM table_name_74 WHERE points_against = "271"
|
CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR)
|
What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?
|
SELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = "kolejarz rawicz"
|
CREATE TABLE table_name_99 (match INTEGER, lost VARCHAR, team VARCHAR)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.