question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What series number is the episode with production code bdf101? | CREATE TABLE table_28019988_2 (series__number INTEGER, production_code VARCHAR) | SELECT MAX(series__number) FROM table_28019988_2 WHERE production_code = "BDF101" |
When did the construction of the unit Chinon B1 with net power of 905 MW start? | CREATE TABLE table_12983929_1 (construction_start VARCHAR, net_power VARCHAR, unit VARCHAR) | SELECT construction_start FROM table_12983929_1 WHERE net_power = "905 MW" AND unit = "Chinon B1" |
What was the district who had their first elected in 1966? | CREATE TABLE table_1341843_44 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1341843_44 WHERE first_elected = 1966 |
What is the rating of the show ranked tba, aired on April 21, 2009? | CREATE TABLE table_name_63 (rating VARCHAR, rank___number_ VARCHAR, air_date VARCHAR) | SELECT rating FROM table_name_63 WHERE rank___number_ = "tba" AND air_date = "april 21, 2009" |
Name the det/pre-amp with # of tubes of 8 | CREATE TABLE table_name_74 (det_pre_amp VARCHAR, _number_tubes VARCHAR) | SELECT det_pre_amp FROM table_name_74 WHERE _number_tubes = "8" |
Namethe team for feb 27, 1996 | CREATE TABLE table_1594772_2 (team__a_ VARCHAR, match_date VARCHAR) | SELECT team__a_ FROM table_1594772_2 WHERE match_date = "Feb 27, 1996" |
What is the lowest Laps, when Grid is greater than 7, and when Name is "Fabian Coulthard"? | CREATE TABLE table_name_83 (laps INTEGER, grid VARCHAR, name VARCHAR) | SELECT MIN(laps) FROM table_name_83 WHERE grid > 7 AND name = "fabian coulthard" |
What is the report for the race i sunday mirror trophy? | CREATE TABLE table_1140099_6 (report VARCHAR, race_name VARCHAR) | SELECT report FROM table_1140099_6 WHERE race_name = "I Sunday Mirror Trophy" |
Which lowest year has a Position of rb, and a College of louisiana state? | CREATE TABLE table_name_27 (year INTEGER, position VARCHAR, college VARCHAR) | SELECT MIN(year) FROM table_name_27 WHERE position = "rb" AND college = "louisiana state" |
What's the total number of games that had more than 34 points and exactly 3 losses? | CREATE TABLE table_name_73 (games VARCHAR, points VARCHAR, losses VARCHAR) | SELECT COUNT(games) FROM table_name_73 WHERE points = 34 AND losses = 3 |
What is the population in 2010 for the longitude of -97.578927? | CREATE TABLE table_name_24 (pop__2010_ VARCHAR, longitude VARCHAR) | SELECT COUNT(pop__2010_) FROM table_name_24 WHERE longitude = -97.578927 |
what's the preliminaries where evening gown is 8.988 | CREATE TABLE table_12094609_1 (preliminaries VARCHAR, evening_gown VARCHAR) | SELECT preliminaries FROM table_12094609_1 WHERE evening_gown = "8.988" |
What was the district of the incumbent Mathias Morris? | CREATE TABLE table_2668173_4 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668173_4 WHERE incumbent = "Mathias Morris" |
On what date was Tampa Bay's Week 4 game? | CREATE TABLE table_name_2 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_2 WHERE week = "4" |
Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time? | CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR) | SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi" |
Name the explanation for alben w. barkley | CREATE TABLE table_2026548_1 (explanation VARCHAR, vice_president VARCHAR) | SELECT explanation FROM table_2026548_1 WHERE vice_president = "Alben W. Barkley" |
How many seasons did the canterbury bulldogs (8) win? | CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR) | SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = "Canterbury Bulldogs (8)" |
What is the release Date of Catalog RR 8655-2? | CREATE TABLE table_name_39 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_39 WHERE catalog = "rr 8655-2" |
What is the Year of Kodansha Novels' Tokyo Nightmare? | CREATE TABLE table_name_80 (year VARCHAR, first_publisher VARCHAR, english_title VARCHAR) | SELECT year FROM table_name_80 WHERE first_publisher = "kodansha novels" AND english_title = "tokyo nightmare" |
Name the result for north carolina 7 | CREATE TABLE table_19753079_36 (result VARCHAR, district VARCHAR) | SELECT result FROM table_19753079_36 WHERE district = "North Carolina 7" |
What position is Kentucky State sitting in? | CREATE TABLE table_name_77 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_77 WHERE school = "kentucky state" |
When the crowd was 8642 what was the away team's score? | CREATE TABLE table_16388439_2 (away_team VARCHAR, crowd VARCHAR) | SELECT away_team AS score FROM table_16388439_2 WHERE crowd = 8642 |
What position did the team finish in with a Difference of - 6, 3 losses, and over 4 draws? | CREATE TABLE table_name_83 (position VARCHAR, drawn VARCHAR, difference VARCHAR, lost VARCHAR) | SELECT COUNT(position) FROM table_name_83 WHERE difference = "- 6" AND lost = 3 AND drawn > 4 |
What is the laops of marcis auto racing? | CREATE TABLE table_12001616_4 (laps VARCHAR, entrant VARCHAR) | SELECT laps FROM table_12001616_4 WHERE entrant = "Marcis Auto Racing" |
Which Year To has an Engine of 119.972, and a Chassis smaller than 129.067? | CREATE TABLE table_name_14 (year_to INTEGER, engine VARCHAR, chassis VARCHAR) | SELECT MIN(year_to) FROM table_name_14 WHERE engine = 119.972 AND chassis < 129.067 |
Which date had the final opponent of Iva Majoli? | CREATE TABLE table_name_39 (date VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_39 WHERE opponent_in_the_final = "iva majoli" |
What team played in front of 28,536 at an away stadium? | CREATE TABLE table_name_34 (away_team VARCHAR, crowd INTEGER) | SELECT away_team AS score FROM table_name_34 WHERE crowd > 28 OFFSET 536 |
What is the lowest value for bronze with a total of 3 and a value for silver greater than 1 while the value of gold is smaller than 1? | CREATE TABLE table_name_56 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_56 WHERE total = 3 AND silver > 1 AND gold < 1 |
Alana Boyd of group B with a 4.30 result has what nationality? | CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, group VARCHAR, result VARCHAR) | SELECT nationality FROM table_name_24 WHERE group = "b" AND result = "4.30" AND name = "alana boyd" |
Whate place has 18 points with lost less than 8? | CREATE TABLE table_name_12 (place VARCHAR, points VARCHAR, lost VARCHAR) | SELECT COUNT(place) FROM table_name_12 WHERE points = 18 AND lost < 8 |
What is the Score of the game with a Loss of Kiprusoff (2–2)? | CREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_50 WHERE loss = "kiprusoff (2–2)" |
What is the average weight of all players? | CREATE TABLE Player (weight INTEGER) | SELECT AVG(weight) FROM Player |
How tall is the Mountain of jbel ghat? | CREATE TABLE table_name_11 (height__m_ VARCHAR, mountain VARCHAR) | SELECT COUNT(height__m_) FROM table_name_11 WHERE mountain = "jbel ghat" |
Name the partner for mark woodforde martina navratilova | CREATE TABLE table_1547951_3 (partner VARCHAR, opponents VARCHAR) | SELECT partner FROM table_1547951_3 WHERE opponents = "Mark Woodforde Martina Navratilova" |
What is the highest Presidency that Took Office after 1974 and Left Office in 1998? | CREATE TABLE table_name_8 (presidency INTEGER, left_office VARCHAR, took_office VARCHAR) | SELECT MAX(presidency) FROM table_name_8 WHERE left_office = "1998" AND took_office > 1974 |
Which City has a Date of may 19, 1976? | CREATE TABLE table_name_23 (city VARCHAR, date VARCHAR) | SELECT city FROM table_name_23 WHERE date = "may 19, 1976" |
What county has less than $188 and a score of 74-76-73-75=298? | CREATE TABLE table_name_3 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) | SELECT country FROM table_name_3 WHERE money___$__ < 188 AND score = 74 - 76 - 73 - 75 = 298 |
Who were the partners in games where the score was 7-5, 2-6, [6-10]? | CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR) | SELECT partner FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]" |
Which Conceded has Draws smaller than 5, and a Position larger than 6? | CREATE TABLE table_name_39 (conceded INTEGER, draws VARCHAR, position VARCHAR) | SELECT SUM(conceded) FROM table_name_39 WHERE draws < 5 AND position > 6 |
What was the date of appointment for paco chaparro's replacement? | CREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = "paco chaparro" |
Which driver had a time/retired of fuel system? | CREATE TABLE table_name_2 (driver VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_2 WHERE time_retired = "fuel system" |
What points have pittsburgh as the home, and November 29 as the date? | CREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR) | SELECT points FROM table_name_30 WHERE home = "pittsburgh" AND date = "november 29" |
Name the b winning car for #88 team mitsubishi 88 mitsubishi starion | CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR) | SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" |
If the episode is 6x03, what is the first broadcast total number? | CREATE TABLE table_23575917_7 (first_broadcast VARCHAR, episode VARCHAR) | SELECT COUNT(first_broadcast) FROM table_23575917_7 WHERE episode = "6x03" |
What is the lowest ends for Dani Alves? | CREATE TABLE table_name_49 (ends INTEGER, name VARCHAR) | SELECT MIN(ends) FROM table_name_49 WHERE name = "dani alves" |
Tell me the left office for mirko tremaglia | CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR) | SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" |
What is RJCM's IATA? | CREATE TABLE table_name_76 (iata VARCHAR, icao VARCHAR) | SELECT iata FROM table_name_76 WHERE icao = "rjcm" |
What is the Input/output operations per second for the emlc flash? | CREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR) | SELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = "eMLC Flash" |
What is the lowest Games, when Wins is less than 1, and when Draws is greater than 1? | CREATE TABLE table_name_40 (games INTEGER, wins VARCHAR, draws VARCHAR) | SELECT MIN(games) FROM table_name_40 WHERE wins < 1 AND draws > 1 |
What is the rank for the episode that premiered on September 13, 1978? | CREATE TABLE table_name_21 (rank VARCHAR, premiere VARCHAR) | SELECT rank FROM table_name_21 WHERE premiere = "september 13, 1978" |
What player had 1420 points coming in? | CREATE TABLE table_24431264_16 (player VARCHAR, points VARCHAR) | SELECT player FROM table_24431264_16 WHERE points = 1420 |
What week number was the result bottom 3? | CREATE TABLE table_27614707_1 (week__number VARCHAR, result VARCHAR) | SELECT week__number FROM table_27614707_1 WHERE result = "Bottom 3" |
which tournament was the champion nick saviano florin segărceanu 6–3, 6–4? | CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR) | SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4" |
What loss happened june 8? | CREATE TABLE table_name_43 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_43 WHERE date = "june 8" |
What description does Livery of ews have? | CREATE TABLE table_name_61 (description VARCHAR, livery VARCHAR) | SELECT description FROM table_name_61 WHERE livery = "ews" |
what are all the type where location is st ives, cambridgeshire | CREATE TABLE table_11934032_1 (type VARCHAR, location VARCHAR) | SELECT type FROM table_11934032_1 WHERE location = "St Ives, Cambridgeshire" |
What is the average round for martin havlat? | CREATE TABLE table_name_38 (round INTEGER, player VARCHAR) | SELECT AVG(round) FROM table_name_38 WHERE player = "martin havlat" |
When did Essendon play at home? | CREATE TABLE table_name_15 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_15 WHERE home_team = "essendon" |
What is the losses when the goal difference is larger than 26? | CREATE TABLE table_name_45 (losses INTEGER, goal_difference INTEGER) | SELECT MAX(losses) FROM table_name_45 WHERE goal_difference > 26 |
The person who is on the Democratic ticket for the position of Office of U.S. Senator was who? | CREATE TABLE table_name_68 (democratic_ticket VARCHAR, office VARCHAR) | SELECT democratic_ticket FROM table_name_68 WHERE office = "u.s. senator" |
What was the passing result for the measure with a description of bus and truck operating license bill? | CREATE TABLE table_256286_19 (passed VARCHAR, description VARCHAR) | SELECT passed FROM table_256286_19 WHERE description = "Bus and Truck Operating License Bill" |
What was the largest number of aggravated assaults when there were 3811 robberies? | CREATE TABLE table_25271777_1 (aggravated_assault INTEGER, robbery VARCHAR) | SELECT MAX(aggravated_assault) FROM table_25271777_1 WHERE robbery = 3811 |
What is the name of series episode 11-02's segment c? | CREATE TABLE table_15187735_11 (segment_c VARCHAR, series_ep VARCHAR) | SELECT segment_c FROM table_15187735_11 WHERE series_ep = "11-02" |
Tell me the constructor for grid of 8 | CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_57 WHERE grid = 8 |
Jacques Villeneuve was on what grid? | CREATE TABLE table_name_84 (grid VARCHAR, driver VARCHAR) | SELECT grid FROM table_name_84 WHERE driver = "jacques villeneuve" |
How much Attendance has a Result of 2–4, and a Visitor of brynäs if? | CREATE TABLE table_name_10 (attendance INTEGER, result VARCHAR, visitor VARCHAR) | SELECT SUM(attendance) FROM table_name_10 WHERE result = "2–4" AND visitor = "brynäs if" |
How many rating/share values does the episode aired on Saturday, May 9, 2009? | CREATE TABLE table_17525955_2 (rating VARCHAR, us_air_date VARCHAR) | SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 9, 2009" |
Which Share has a weekly Rank of 8 and is dated 15 June? | CREATE TABLE table_name_12 (share VARCHAR, weekly_rank VARCHAR, date VARCHAR) | SELECT share FROM table_name_12 WHERE weekly_rank = "8" AND date = "15 june" |
What is average enrollment of colleges in the state FL? | CREATE TABLE College (enr INTEGER, state VARCHAR) | SELECT AVG(enr) FROM College WHERE state = 'FL' |
Which Overall has a College of michigan state, a Position of fb, and a Round larger than 8? | CREATE TABLE table_name_46 (overall INTEGER, round VARCHAR, college VARCHAR, position VARCHAR) | SELECT SUM(overall) FROM table_name_46 WHERE college = "michigan state" AND position = "fb" AND round > 8 |
How many points does Sweeley have, with less than 0 Field goals? | CREATE TABLE table_name_45 (points INTEGER, player VARCHAR, field_goals VARCHAR) | SELECT SUM(points) FROM table_name_45 WHERE player = "sweeley" AND field_goals < 0 |
How many League Cup Goals have 0 as the total goals, with delroy facey as the name? | CREATE TABLE table_name_90 (league_cup_goals VARCHAR, total_goals VARCHAR, name VARCHAR) | SELECT COUNT(league_cup_goals) FROM table_name_90 WHERE total_goals = 0 AND name = "delroy facey" |
How many viewers tuned in for season 2? | CREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR) | SELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2 |
What chassis did team lotus use after 1964? | CREATE TABLE table_name_59 (chassis VARCHAR, entrant VARCHAR, year VARCHAR) | SELECT chassis FROM table_name_59 WHERE entrant = "team lotus" AND year > 1964 |
What are the parties listed for Pennsylvania 8? | CREATE TABLE table_2668401_12 (party VARCHAR, district VARCHAR) | SELECT party FROM table_2668401_12 WHERE district = "Pennsylvania 8" |
What is the minimum ITV1 ranking for the episode having viewership of 5.42 million? | CREATE TABLE table_25664518_3 (itv1_weekly_ranking INTEGER, viewers__millions_ VARCHAR) | SELECT MIN(itv1_weekly_ranking) FROM table_25664518_3 WHERE viewers__millions_ = "5.42" |
Show all product names and the total quantity ordered for each product name. | CREATE TABLE Products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE Order_items (product_quantity INTEGER, product_id VARCHAR) | SELECT T2.product_name, SUM(T1.product_quantity) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id GROUP BY T2.product_name |
Who was the Centerfold Model on 5-95? | CREATE TABLE table_name_32 (centerfold_model VARCHAR, date VARCHAR) | SELECT centerfold_model FROM table_name_32 WHERE date = "5-95" |
When santiago del estero is the hometown who is the contestant? | CREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR) | SELECT contestant FROM table_18626383_2 WHERE hometown = "Santiago del Estero" |
Which Goals scored has Points larger than 26 and Wins larger than 11? | CREATE TABLE table_name_79 (goals_scored INTEGER, points VARCHAR, wins VARCHAR) | SELECT SUM(goals_scored) FROM table_name_79 WHERE points > 26 AND wins > 11 |
What is the title of the song that has a translation of Without Me? | CREATE TABLE table_name_38 (title VARCHAR, english_translation VARCHAR) | SELECT title FROM table_name_38 WHERE english_translation = "without me" |
Name the film that Lu directed. | CREATE TABLE table_name_68 (film_title VARCHAR, director VARCHAR) | SELECT film_title FROM table_name_68 WHERE director = "lu" |
Name th most poles for macau grand prix | CREATE TABLE table_24466191_1 (poles INTEGER, series VARCHAR) | SELECT MAX(poles) FROM table_24466191_1 WHERE series = "Macau Grand Prix" |
What is the record at Palasport Olimpico? | CREATE TABLE table_name_78 (record VARCHAR, arena VARCHAR) | SELECT record FROM table_name_78 WHERE arena = "palasport olimpico" |
What are the names of races held between 2009 and 2011? | CREATE TABLE races (name VARCHAR, YEAR INTEGER) | SELECT name FROM races WHERE YEAR BETWEEN 2009 AND 2011 |
What is the sum of Game with a Score that is w 104–90 (ot)? | CREATE TABLE table_name_44 (game INTEGER, score VARCHAR) | SELECT SUM(game) FROM table_name_44 WHERE score = "w 104–90 (ot)" |
What are all role codes? | CREATE TABLE ROLES (role_code VARCHAR) | SELECT role_code FROM ROLES |
What is the station type of DWMC-TV? | CREATE TABLE table_2610582_3 (station_type VARCHAR, callsign VARCHAR) | SELECT station_type FROM table_2610582_3 WHERE callsign = "DWMC-TV" |
Find the number of different products that are produced by companies at different headquarter cities. | CREATE TABLE manufacturers (Headquarter VARCHAR, code VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR) | SELECT COUNT(DISTINCT T1.name), T2.Headquarter FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.Headquarter |
What country is Adam Scott from? | CREATE TABLE table_name_19 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_19 WHERE player = "adam scott" |
Which car won the 1.4litre to 1.8litre award in 2001? | CREATE TABLE table_name_17 (category VARCHAR) | SELECT 2001 FROM table_name_17 WHERE category = "1.4litre to 1.8litre" |
What is the lowest total amount of medals from countries with 0 gold medals, more than 2 bronze medals, and more than 1 silver medal? | CREATE TABLE table_name_57 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_57 WHERE gold = 0 AND bronze > 2 AND silver > 1 |
What was the date of appointment for incoming manager Roy Hodgson and the team is Liverpool? | CREATE TABLE table_24172157_3 (date_of_appointment VARCHAR, team VARCHAR, incoming_manager VARCHAR) | SELECT date_of_appointment FROM table_24172157_3 WHERE team = "Liverpool" AND incoming_manager = "Roy Hodgson" |
Which rank has more than 1 silver and a total nation? | CREATE TABLE table_name_1 (rank VARCHAR, silver VARCHAR, nation VARCHAR) | SELECT rank FROM table_name_1 WHERE silver > 1 AND nation = "total" |
who is the Visitor that has a Series of series tied 2–2? | CREATE TABLE table_name_33 (visitor VARCHAR, series VARCHAR) | SELECT visitor FROM table_name_33 WHERE series = "series tied 2–2" |
Which Year has a Location of dinas on 13 january? | CREATE TABLE table_name_86 (year VARCHAR, location VARCHAR, date VARCHAR) | SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january" |
What is the total tenure rank of the person with an uninterrupted time of 49 years, 349 days? | CREATE TABLE table_name_6 (total_tenure_rank VARCHAR, uninterrupted_time VARCHAR) | SELECT total_tenure_rank FROM table_name_6 WHERE uninterrupted_time = "49 years, 349 days" |
What song placed higher than#4? | CREATE TABLE table_name_41 (song VARCHAR, place INTEGER) | SELECT song FROM table_name_41 WHERE place > 4 |
List all total poll percentages when the for percentage is 59,532 (54). | CREATE TABLE table_1289762_1 (total_poll___percentage_ VARCHAR, for___percentage_ VARCHAR) | SELECT total_poll___percentage_ FROM table_1289762_1 WHERE for___percentage_ = "59,532 (54)" |
which playoffs took place during 2011? | CREATE TABLE table_name_88 (playoffs VARCHAR, year VARCHAR) | SELECT playoffs FROM table_name_88 WHERE year = "2011" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.