answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT position FROM table_name_1 WHERE nationality = "ukraine" | What is the position of the player from the Ukraine? | CREATE TABLE table_name_1 (position VARCHAR, nationality VARCHAR) |
SELECT record FROM table_name_93 WHERE score = "3 - 2" | Score of 3 - 2 had what record? | CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR) |
SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84" | What engine with the years of 1975-84 has a model of 1600? | CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR) |
SELECT country FROM table_name_98 WHERE score > 69 AND player = "brian henninger" | Which country is Brian Henninger from, who had a score larger than 69? | CREATE TABLE table_name_98 (country VARCHAR, score VARCHAR, player VARCHAR) |
SELECT winning_driver FROM table_name_62 WHERE winning_team = "mathiasen motorsports" AND pole_position = "dane cameron" | Who drove for Mathiasen Motorsports with dane cameron as pole position? | CREATE TABLE table_name_62 (winning_driver VARCHAR, winning_team VARCHAR, pole_position VARCHAR) |
SELECT start FROM table_name_15 WHERE rank = "7" AND laps > 100 | What was the start result with a Rank of 7 and more than 100 laps? | CREATE TABLE table_name_15 (start VARCHAR, rank VARCHAR, laps VARCHAR) |
SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL') | Find names of colleges with enrollment greater than that of some (at least one) college in the FL state. | CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR) |
SELECT french FROM table_15040_8 WHERE russian = "filtrovat (фильтровать)" | What is the french word for the Russian word filtrovat (фильтровать)? | CREATE TABLE table_15040_8 (french VARCHAR, russian VARCHAR) |
SELECT mac_os_x FROM table_name_66 WHERE amigaos = "partial" | Which Mac OS X has an AmigaOS of partial? | CREATE TABLE table_name_66 (mac_os_x VARCHAR, amigaos VARCHAR) |
SELECT college FROM table_name_72 WHERE pick__number < 46 AND round = 5 AND position = "defensive tackle" | Pick # smaller than 46, and a Round of 5, and a Position of defensive tackle involves which college? | CREATE TABLE table_name_72 (college VARCHAR, position VARCHAR, pick__number VARCHAR, round VARCHAR) |
SELECT city_of_license FROM table_name_20 WHERE erp_w < 14 AND frequency_mhz > 93.7 | Which city has ERP W under 14 and a frequency over 93.7MHz? | CREATE TABLE table_name_20 (city_of_license VARCHAR, erp_w VARCHAR, frequency_mhz VARCHAR) |
SELECT date FROM table_name_94 WHERE record = "4-3-0" | What date is the record 4-3-0? | CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR) |
SELECT début FROM table_name_9 WHERE team = "waterford" AND player = "tom feeney" | What is the year of debut when Tom Feeney plays for the Waterford team? | CREATE TABLE table_name_9 (début VARCHAR, team VARCHAR, player VARCHAR) |
SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen" | What genre is the Banpresto game tittled Ranma ½: netsuretsu kakutouhen? | CREATE TABLE table_name_34 (genre VARCHAR, developer VARCHAR, japanese_title VARCHAR) |
SELECT class FROM table_name_26 WHERE year = 2009 | What is the class of 2009? | CREATE TABLE table_name_26 (class VARCHAR, year VARCHAR) |
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r" | How many viewers watched the 16mm t/r episode? | CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, archive VARCHAR) |
SELECT partner FROM table_2259502_2 WHERE year = 2012 | Who were the partners in 2012? | CREATE TABLE table_2259502_2 (partner VARCHAR, year VARCHAR) |
SELECT country FROM table_name_25 WHERE to_par = "+1" AND score = 71 - 76 - 70 = 217 | What country has a To par of +1 and the score of 71-76-70=217? | CREATE TABLE table_name_25 (country VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT opponent FROM table_name_25 WHERE week = 4 | Who was the opponent in the Week 4 game? | CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR) |
SELECT AVG(week) FROM table_name_17 WHERE attendance = 75 OFFSET 111 | Name the average week for attendance of 75,111 | CREATE TABLE table_name_17 (week INTEGER, attendance VARCHAR) |
SELECT AVG(total) FROM table_name_4 WHERE nation = "ethiopia (eth)" AND rank > 9 | What is the average Total with a Nation of ethiopia (eth) and a Rank that is larger than 9? | CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, rank VARCHAR) |
SELECT MAX(lost) FROM table_name_37 WHERE played = 2 AND first_game > 1997 AND drawn > 0 | What is the highest number of losses associated with 2 matches played, a first game after 1997, and more than 0 draws? | CREATE TABLE table_name_37 (lost INTEGER, drawn VARCHAR, played VARCHAR, first_game VARCHAR) |
SELECT SUM(year) FROM table_name_98 WHERE competition = "british empire and commonwealth games" | What is the Year the competition the british empire and commonwealth games were held? | CREATE TABLE table_name_98 (year INTEGER, competition VARCHAR) |
SELECT name FROM table_name_6 WHERE heat > 4 AND nationality = "germany" AND lane = 7 | Who has more than 4 heat for Germany and 7 lanes? | CREATE TABLE table_name_6 (name VARCHAR, lane VARCHAR, heat VARCHAR, nationality VARCHAR) |
SELECT college FROM table_name_28 WHERE player = "john sullivan" | What college did john sullivan attend? | CREATE TABLE table_name_28 (college VARCHAR, player VARCHAR) |
SELECT COUNT(game) FROM table_22654073_13 WHERE date = "May 11" | How many games were played on May 11? | CREATE TABLE table_22654073_13 (game VARCHAR, date VARCHAR) |
SELECT COUNT(grid) FROM table_name_6 WHERE laps = 14 AND time = "+29.483" | What is the total grid number that has 14 laps and a time of +29.483? | CREATE TABLE table_name_6 (grid VARCHAR, laps VARCHAR, time VARCHAR) |
SELECT AVG(year) FROM table_name_9 WHERE reg_season = "3rd, western" | Which Year has a Reg Season of 3rd, western? | CREATE TABLE table_name_9 (year INTEGER, reg_season VARCHAR) |
SELECT MAX(crowd) FROM table_name_58 WHERE home_team = "fitzroy" | What was the largest crowd that was in attendance for fitzroy? | CREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR) |
SELECT rounds FROM table_name_7 WHERE sponsor_s_ = "arciero wines" AND chassis = "march 85c" | Which rounds do Arciero Wines sponsor a March 85c chassis? | CREATE TABLE table_name_7 (rounds VARCHAR, sponsor_s_ VARCHAR, chassis VARCHAR) |
SELECT MIN(week) FROM table_name_32 WHERE date = "sunday november 28" | Which Week is on sunday november 28? | CREATE TABLE table_name_32 (week INTEGER, date VARCHAR) |
SELECT competition FROM table_name_43 WHERE date = "26 jan 2005" | What is the Competition On 26 jan 2005 | CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR) |
SELECT location_attendance FROM table_name_32 WHERE team = "golden state" | What is the location attendance when the team is Golden State? | CREATE TABLE table_name_32 (location_attendance VARCHAR, team VARCHAR) |
SELECT AVG(game) FROM table_name_96 WHERE opponent = "phoenix coyotes" AND december < 9 | Which game has an opponent of Phoenix Coyotes and was before Dec 9? | CREATE TABLE table_name_96 (game INTEGER, opponent VARCHAR, december VARCHAR) |
SELECT candidate FROM table_name_99 WHERE outcome_of_election = "lost" AND number_of_votes = "770,046" | Which candidate lost the election that 770,046 people voted in? | CREATE TABLE table_name_99 (candidate VARCHAR, outcome_of_election VARCHAR, number_of_votes VARCHAR) |
SELECT location FROM table_name_27 WHERE established = 2013 | What is the location of the school established in 2013? | CREATE TABLE table_name_27 (location VARCHAR, established VARCHAR) |
SELECT evaluation_average__before_april_2009_ FROM table_name_41 WHERE _percentage_of_negative_evaluations = "0.8%" AND evaluation_average__from_april_2009_ = "4.2" | What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2? | CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average__from_april_2009_ VARCHAR) |
SELECT LOCATION FROM performance WHERE Attendance > 2000 INTERSECT SELECT LOCATION FROM performance WHERE Attendance < 1000 | Show the locations that have both performances with more than 2000 attendees and performances with less than 1000 attendees. | CREATE TABLE performance (LOCATION VARCHAR, Attendance INTEGER) |
SELECT MAX(crowd) FROM table_name_29 WHERE away_team = "carlton" | What's the highest turnout when carlton was playing as the away team? | CREATE TABLE table_name_29 (crowd INTEGER, away_team VARCHAR) |
SELECT english_title FROM table_name_17 WHERE director = "jean-pierre jeunet" | Name the title of jean-pierre jeunet | CREATE TABLE table_name_17 (english_title VARCHAR, director VARCHAR) |
SELECT MAX(lane) FROM table_name_83 WHERE country = "ireland" | What is the most lanes used that had a winner from Ireland? | CREATE TABLE table_name_83 (lane INTEGER, country VARCHAR) |
SELECT production__hectolitres_ FROM table_29012710_1 WHERE province = "New Brunswick" | what is the amount where the area is new brunswick | CREATE TABLE table_29012710_1 (production__hectolitres_ VARCHAR, province VARCHAR) |
SELECT COUNT(team_classification) FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND combativity_award = "Jacky Durand" | What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand? | CREATE TABLE table_2267345_2 (team_classification VARCHAR, young_rider_classification VARCHAR, combativity_award VARCHAR) |
SELECT year_s__won FROM table_name_25 WHERE finish = "68" | Which year was won with a finish of 68 | CREATE TABLE table_name_25 (year_s__won VARCHAR, finish VARCHAR) |
SELECT result FROM table_12310814_1 WHERE episode = "Top 3" | What was the result of the Top 3 episode? | CREATE TABLE table_12310814_1 (result VARCHAR, episode VARCHAR) |
SELECT longest_span_in_s_metre___feet__ FROM table_name_40 WHERE location = "villeneuve-sur-lot" | How long is the bridge in Villeneuve-sur-Lot? | CREATE TABLE table_name_40 (longest_span_in_s_metre___feet__ VARCHAR, location VARCHAR) |
SELECT country FROM table_name_36 WHERE material = "concrete" AND span_metres < 270 AND span_feet > 837 AND year_opened = "1943" | Which country's material was concrete when the span metres were less than 270, span feet is more than 837, and the year opened was 1943? | CREATE TABLE table_name_36 (country VARCHAR, year_opened VARCHAR, span_feet VARCHAR, material VARCHAR, span_metres VARCHAR) |
SELECT unit FROM table_name_95 WHERE location = "greenland" | What is the unit of the non-mammal from greenland? | CREATE TABLE table_name_95 (unit VARCHAR, location VARCHAR) |
SELECT date_of_appointment FROM table_17085981_2 WHERE outgoing_manager = "Jürgen Kohler" | What was the date of appointment when Jürgen Kohler was the outgoing manager? | CREATE TABLE table_17085981_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) |
SELECT date FROM table_name_40 WHERE venue = "princes park" | What is the date of the game when the venue is Princes Park? | CREATE TABLE table_name_40 (date VARCHAR, venue VARCHAR) |
SELECT T2.product_name, COUNT(*) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id JOIN Orders AS T3 ON T3.order_id = T1.order_id GROUP BY T2.product_name | Show all product names and the number of customers having an order on each product. | CREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE Orders (order_id VARCHAR); CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR) |
SELECT operator FROM table_1612760_1 WHERE destination = "Dalston Junction" | Who is the operator to destination Dalston Junction? | CREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR) |
SELECT AVG(_number_of_phones_as__percentage_of_population) FROM table_name_15 WHERE country_or_region = "russia" | What percent of the population has phone in Russia? | CREATE TABLE table_name_15 (_number_of_phones_as__percentage_of_population INTEGER, country_or_region VARCHAR) |
SELECT score FROM table_name_9 WHERE date = "april 25" | What was the score on April 25? | CREATE TABLE table_name_9 (score VARCHAR, date VARCHAR) |
SELECT date_of_appointment FROM table_18795125_6 WHERE outgoing_manager = "Simon Davies" | What was the date of appointment for the manager that replaced Simon Davies? | CREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) |
SELECT december FROM table_name_27 WHERE score = "8 - 1" | Score of 8 - 1 happened on what day in December? | CREATE TABLE table_name_27 (december VARCHAR, score VARCHAR) |
SELECT driver FROM table_name_27 WHERE laps > 66 AND grid = 5 | Who drove the car with over 66 laps with a grid of 5? | CREATE TABLE table_name_27 (driver VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT score FROM table_name_92 WHERE date = "february 3" | what is the score when the date is february 3? | CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR) |
SELECT crew_chief FROM table_name_81 WHERE car_s_ = "chevrolet monte carlo" AND team = "joe gibbs racing" AND primary_sponsor_s_ = "fedex" | Who is the crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor? | CREATE TABLE table_name_81 (crew_chief VARCHAR, primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, team VARCHAR) |
SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker" | When was tony parker (guard) born? | CREATE TABLE table_name_31 (year_born INTEGER, position VARCHAR, player VARCHAR) |
SELECT series FROM table_11963601_11 WHERE game = 5 | What was the series count at for game 5? | CREATE TABLE table_11963601_11 (series VARCHAR, game VARCHAR) |
SELECT score FROM table_name_65 WHERE date = "1 august 2008" | What was the final score on 1 August 2008? | CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) |
SELECT country FROM table_name_55 WHERE director_s_ = "julio robledo" | Julio Robledo represents which country? | CREATE TABLE table_name_55 (country VARCHAR, director_s_ VARCHAR) |
SELECT date_released FROM table_1463383_1 WHERE green_communist = "8.9%" | When was there 8.9% Green-Communist? | CREATE TABLE table_1463383_1 (date_released VARCHAR, green_communist VARCHAR) |
SELECT MAX(year) FROM table_name_26 WHERE venue = "aigburth" | What year was in Aigburth? | CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR) |
SELECT T1.series_name, T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Michael Chang' INTERSECT SELECT T1.series_name, T1.country FROM TV_Channel AS T1 JOIN cartoon AS T2 ON T1.id = T2.Channel WHERE T2.directed_by = 'Ben Jones' | Find the series name and country of the tv channel that is playing some cartoons directed by Ben Jones and Michael Chang? | CREATE TABLE TV_Channel (series_name VARCHAR, country VARCHAR, id VARCHAR); CREATE TABLE cartoon (Channel VARCHAR, directed_by VARCHAR) |
SELECT T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID GROUP BY T2.Host_city_ID HAVING COUNT(*) > 1 | Show the official names of the cities that have hosted more than one competition. | CREATE TABLE farm_competition (Host_city_ID VARCHAR); CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR) |
SELECT population__2011_ FROM table_2562572_22 WHERE cyrillic_name_other_names = "Бачки Моноштор (Croatian: Monoštor)" | Name the population for бачки моноштор (croatian: monoštor) | CREATE TABLE table_2562572_22 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) |
SELECT studio_host FROM table_name_42 WHERE year = "2003-04" | WHich Studio host has a Year of 2003-04? | CREATE TABLE table_name_42 (studio_host VARCHAR, year VARCHAR) |
SELECT player FROM table_name_96 WHERE round = 6 | What player was selected in Round 6? | CREATE TABLE table_name_96 (player VARCHAR, round VARCHAR) |
SELECT MIN(mpg_us_combined) FROM table_name_11 WHERE transmission = "a6" AND co_2_g_km < 303 AND engine_capacity > 2461 AND l_100km_urban__cold_ = 15.9 | What is the lowest combined mpg in the US for the A6 transmission, a CO2 g/km under 303, engine capacity over 2461, and L/100km urban (cold) of 15.9? | CREATE TABLE table_name_11 (mpg_us_combined INTEGER, l_100km_urban__cold_ VARCHAR, engine_capacity VARCHAR, transmission VARCHAR, co_2_g_km VARCHAR) |
SELECT mixed_doubles FROM table_15001681_1 WHERE womens_singles = "Michaela Ritter" AND mens_singles = "Armand Jehle" | In 2001, where the mens singles is armand jehle and the womens singles is michaela ritter, who are the mixed doubles | CREATE TABLE table_15001681_1 (mixed_doubles VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR) |
SELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32 | Which Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32? | CREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR) |
SELECT score FROM table_name_30 WHERE result = "5–0" | What was the score of the game that had a result of 5–0? | CREATE TABLE table_name_30 (score VARCHAR, result VARCHAR) |
SELECT name FROM manufacturers EXCEPT SELECT T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T1.name = 'DVD drive' | Find the name of companies that do not make DVD drive. | CREATE TABLE manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Manufacturer VARCHAR, name VARCHAR); CREATE TABLE manufacturers (name VARCHAR) |
SELECT visitor FROM table_name_96 WHERE leading_scorer = "rudy gay (18)" | What is the visitor team of the game with Rudy Gay (18) as the leading scorer? | CREATE TABLE table_name_96 (visitor VARCHAR, leading_scorer VARCHAR) |
SELECT team FROM table_name_39 WHERE year < 1987 AND manufacturer = "chrysler" AND start = "28" | Which team in 1987 had a start of 28 and drove a chrysler? | CREATE TABLE table_name_39 (team VARCHAR, start VARCHAR, year VARCHAR, manufacturer VARCHAR) |
SELECT T1.ContId, T1.Continent, COUNT(*) FROM CONTINENTS AS T1 JOIN COUNTRIES AS T2 ON T1.ContId = T2.Continent GROUP BY T1.ContId | How many countries does each continent have? List the continent id, continent name and the number of countries. | CREATE TABLE COUNTRIES (Continent VARCHAR); CREATE TABLE CONTINENTS (ContId VARCHAR, Continent VARCHAR) |
SELECT MAX(top_10) FROM table_1507423_5 WHERE team_s_ = "#55/#83 Robby Gordon Motorsports" | Where does team #55/#83 robby gordon motorsports rank in the top 10? | CREATE TABLE table_1507423_5 (top_10 INTEGER, team_s_ VARCHAR) |
SELECT record FROM table_name_41 WHERE res = "loss" AND event = "hero's 3" | Which record has a result of loss in the Hero's 3 event? | CREATE TABLE table_name_41 (record VARCHAR, res VARCHAR, event VARCHAR) |
SELECT MIN(drawn) FROM table_name_94 WHERE name = "sv apfeldorf" AND position > 8 | what is the least drawn when the name is sv apfeldorf and the position is more than 8? | CREATE TABLE table_name_94 (drawn INTEGER, name VARCHAR, position VARCHAR) |
SELECT MAX(position) FROM table_23239946_3 | How many positions are there in Canadian Nascar? | CREATE TABLE table_23239946_3 (position INTEGER) |
SELECT cons FROM table_2651755_2 WHERE together_we_can_do_more = "Gloria Mujica ( PH )" | where together we can do more is gloria mujica ( ph ) what are all the cons. | CREATE TABLE table_2651755_2 (cons VARCHAR, together_we_can_do_more VARCHAR) |
SELECT deaths_per_year FROM table_23423_2 WHERE life_expectancy_females = "66.3" | How many deaths per year have 66.3 as the life expectancy females? | CREATE TABLE table_23423_2 (deaths_per_year VARCHAR, life_expectancy_females VARCHAR) |
SELECT COUNT(hometown) FROM table_24192031_2 WHERE height = "m (ft 10 1⁄2 in)" | How many hometowns have a height of m (ft 10 1⁄2 in)? | CREATE TABLE table_24192031_2 (hometown VARCHAR, height VARCHAR) |
SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8 | What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? | CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) |
SELECT opponent FROM table_name_53 WHERE week = 14 | Who were the opponents during week 14? | CREATE TABLE table_name_53 (opponent VARCHAR, week VARCHAR) |
SELECT chassis FROM table_name_70 WHERE engine = "chevrolet" AND year = 1991 | What chassis was used with the Chevrolet engine in 1991? | CREATE TABLE table_name_70 (chassis VARCHAR, engine VARCHAR, year VARCHAR) |
SELECT tracking_method FROM table_name_14 WHERE latest_stable_release = "2.23-05" | Which tracking method has a latest stable release of 2.23-05? | CREATE TABLE table_name_14 (tracking_method VARCHAR, latest_stable_release VARCHAR) |
SELECT sales__x1000_ FROM table_name_49 WHERE no_of_stores = 282 | How much money did the country with 282 stores make in sales? | CREATE TABLE table_name_49 (sales__x1000_ VARCHAR, no_of_stores VARCHAR) |
SELECT SUM(lane) FROM table_name_36 WHERE time > 13.59 AND rank > 8 | How many Lanes have a Time larger than 13.59, and a Rank larger than 8? | CREATE TABLE table_name_36 (lane INTEGER, time VARCHAR, rank VARCHAR) |
SELECT date FROM table_name_40 WHERE tournament = "memorial tournament" AND runner_s__up = "payne stewart" | Which date was the Memorial Tournament held on, when Payne Stewart was runner-up? | CREATE TABLE table_name_40 (date VARCHAR, tournament VARCHAR, runner_s__up VARCHAR) |
SELECT COUNT(*), T2.product_id FROM problems AS T1 JOIN product AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_id | For each product which has problems, what are the number of problems and the product id? | CREATE TABLE problems (product_id VARCHAR); CREATE TABLE product (product_id VARCHAR) |
SELECT period FROM table_name_81 WHERE _number_found = "5" | What's the Period with # found of 5? | CREATE TABLE table_name_81 (period VARCHAR, _number_found VARCHAR) |
SELECT MIN(rank) FROM table_name_4 WHERE title = "american pie 2" | What is the rank of American Pie 2? | CREATE TABLE table_name_4 (rank INTEGER, title VARCHAR) |
SELECT MAX(bush_number) FROM table_name_85 WHERE others_percentage = "1.7%" AND others_number < 75 AND kerry_number > 1 OFFSET 524 | What is the highest Bush#, when Others% is "1.7%", when Others# is less than 75, and when Kerry# is greater than 1,524? | CREATE TABLE table_name_85 (bush_number INTEGER, kerry_number VARCHAR, others_percentage VARCHAR, others_number VARCHAR) |
SELECT result FROM table_name_42 WHERE date = "17 july 2008" | What was the result of the game played on 17 July 2008? | CREATE TABLE table_name_42 (result VARCHAR, date VARCHAR) |
SELECT consistency_ & _participation FROM table_name_83 WHERE pareto_efficiency = "yes" AND condorcet = "no" | what is the consistency & participation when pareto efficiency is yes and condorcet is no? | CREATE TABLE table_name_83 (consistency_ VARCHAR, _participation VARCHAR, pareto_efficiency VARCHAR, condorcet VARCHAR) |
SELECT score FROM table_name_5 WHERE date = "2 july 2012" | What was the score for the final played on 2 July 2012? | CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR) |
SELECT high_rebounds FROM table_17323092_7 WHERE high_assists = "Shawn Marion (6)" | When the high assists were Shawn Marion (6) who had high rebounds? | CREATE TABLE table_17323092_7 (high_rebounds VARCHAR, high_assists VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.