context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_48 (swing_to_gain INTEGER, constituency VARCHAR) | Can you tell me the sum of Swing to gain that has Constituency of caithness, sutherland and easter ross? | SELECT SUM(swing_to_gain) FROM table_name_48 WHERE constituency = "caithness, sutherland and easter ross" |
CREATE TABLE table_name_59 (time_retired VARCHAR, laps VARCHAR) | What's the Time/Retired of Laps of 75? | SELECT time_retired FROM table_name_59 WHERE laps = 75 |
CREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR) | what is the minimum attendance with score 8.16 (64) – 8.12 (60) | SELECT MIN(attendance) FROM table_10566855_1 WHERE score = "8.16 (64) – 8.12 (60)" |
CREATE TABLE table_name_79 (away_team VARCHAR) | What is the score for the away team of north melbourne? | SELECT away_team AS score FROM table_name_79 WHERE away_team = "north melbourne" |
CREATE TABLE table_name_46 (home_team VARCHAR, venue VARCHAR) | Which home team plays at victoria park? | SELECT home_team FROM table_name_46 WHERE venue = "victoria park" |
CREATE TABLE table_name_38 (competition VARCHAR, event VARCHAR, year VARCHAR) | what is the competition for the event team all-round in the year before 1913? | SELECT competition FROM table_name_38 WHERE event = "team all-round" AND year < 1913 |
CREATE TABLE table_10577579_2 (mens_nickname VARCHAR, location VARCHAR) | What is the Mens Nickname for the member location of Jacksonville, florida? | SELECT mens_nickname FROM table_10577579_2 WHERE location = "Jacksonville, Florida" |
CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR, replaced_by VARCHAR) | What is the date of vacancy when the date of appointment is 28 november 2007 and replaced by is alex mcleish? | SELECT date_of_vacancy FROM table_10592536_8 WHERE date_of_appointment = "28 November 2007" AND replaced_by = "Alex McLeish" |
CREATE TABLE table_10592536_8 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) | What is the date of vacancy when the team is manchester city and replaced by is mark hughes? | SELECT date_of_vacancy FROM table_10592536_8 WHERE team = "Manchester City" AND replaced_by = "Mark Hughes" |
CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR) | What is the average attendance when Brewers are the opponent with a score of 6–3? | SELECT AVG(attendance) FROM table_name_68 WHERE opponent = "brewers" AND score = "6–3" |
CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR) | What is the most number of cuts made that had more than 7 events played and more than 2 top-25s? | SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2 |
CREATE TABLE table_106367_2 (general_election VARCHAR, result VARCHAR, _percentage_of_popular_vote VARCHAR) | Which general election had a pq majority and a 44.75% of the popular vote? | SELECT general_election FROM table_106367_2 WHERE result = "PQ majority" AND _percentage_of_popular_vote = "44.75%" |
CREATE TABLE table_name_26 (location VARCHAR, opponent VARCHAR) | What location was fábio maldonado the opponent at? | SELECT location FROM table_name_26 WHERE opponent = "fábio maldonado" |
CREATE TABLE table_10701133_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | Who directed the episode where u.s. viewers (million) is 12.90? | SELECT directed_by FROM table_10701133_1 WHERE us_viewers__million_ = "12.90" |
CREATE TABLE table_name_69 (tournament VARCHAR) | What tournament is listed as A in 1972 and 2R in 1975? | SELECT tournament FROM table_name_69 WHERE 1972 = "a" AND 1975 = "2r" |
CREATE TABLE table_1067134_1 (dvd_name VARCHAR, region_2 VARCHAR) | What DVD season/name for region 2 was released August 22, 2010? | SELECT dvd_name FROM table_1067134_1 WHERE region_2 = "August 22, 2010" |
CREATE TABLE table_name_92 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) | What was the score in the final, that Víctor Pecci was the opponent and winner after 1984? | SELECT score_in_the_final FROM table_name_92 WHERE date > 1984 AND outcome = "winner" AND opponent_in_the_final = "víctor pecci" |
CREATE TABLE table_10716893_3 (pre_race_analyst VARCHAR, lap_by_lap VARCHAR) | How many pre-race analysis occur when Allen Bestwick does the lap-by-lap? | SELECT COUNT(pre_race_analyst) FROM table_10716893_3 WHERE lap_by_lap = "Allen Bestwick" |
CREATE TABLE table_name_80 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) | WHAT WAS THE SCORE IN THE FINAL PLAYED AGAINST JOSE CHECA-CALVO IN THE SANT CUGAT TOURNAMENT ? | SELECT score FROM table_name_80 WHERE tournament = "sant cugat" AND opponent_in_the_final = "jose checa-calvo" |
CREATE TABLE table_10718631_2 (original_air_date VARCHAR, no_in_series VARCHAR) | When did the 113 episode air? | SELECT original_air_date FROM table_10718631_2 WHERE no_in_series = 113 |
CREATE TABLE table_10718984_2 (no_in_season INTEGER, written_by VARCHAR, us_viewers__millions_ VARCHAR) | What is the number in the season that Marlene Meyer wrote and 20.49 million people watched? | SELECT MAX(no_in_season) FROM table_10718984_2 WHERE written_by = "Marlene Meyer" AND us_viewers__millions_ = "20.49" |
CREATE TABLE table_10718984_2 (original_air_date VARCHAR, no_in_season VARCHAR) | When did the no. 23 show originally air? | SELECT original_air_date FROM table_10718984_2 WHERE no_in_season = 23 |
CREATE TABLE table_name_24 (transfer_fee VARCHAR, status VARCHAR, country VARCHAR) | Name the transfer fee for transfer status for fra | SELECT transfer_fee FROM table_name_24 WHERE status = "transfer" AND country = "fra" |
CREATE TABLE table_name_85 (team__league_ VARCHAR, player VARCHAR, reg_gp VARCHAR, pick__number VARCHAR) | Which team has a Reg GP of 0, a pick number under 136 with a player named Regan Darby? | SELECT team__league_ FROM table_name_85 WHERE reg_gp = 0 AND pick__number < 136 AND player = "regan darby" |
CREATE TABLE table_10798928_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) | How many directors were there for the film Course Completed? | SELECT COUNT(director) FROM table_10798928_1 WHERE film_title_used_in_nomination = "Course Completed" |
CREATE TABLE table_10797463_1 (village__german_ VARCHAR, percent_of_slovenes_1991 VARCHAR) | How many villages had 21.7% of slovenes in 1991? | SELECT COUNT(village__german_) FROM table_10797463_1 WHERE percent_of_slovenes_1991 = "21.7%" |
CREATE TABLE table_10812293_4 (high_points VARCHAR, date VARCHAR) | For games on December 20, how many points did the scoring leaders get? | SELECT high_points FROM table_10812293_4 WHERE date = "December 20" |
CREATE TABLE table_name_50 (played INTEGER, points VARCHAR, losses VARCHAR) | What is the number of played games a club with more than 71 points and less than 8 losses has? | SELECT SUM(played) FROM table_name_50 WHERE points > 71 AND losses < 8 |
CREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR) | What is the lowest goal difference a club with 61 goals against and less than 11 draws has? | SELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11 |
CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR) | Which average Crowd has a Home team of essendon? | SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "essendon" |
CREATE TABLE table_name_83 (player VARCHAR, college VARCHAR) | Which player has a College of arizona? | SELECT player FROM table_name_83 WHERE college = "arizona" |
CREATE TABLE table_10842344_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR) | What's the latest episode in a season where the U.S. viewers totaled 14.37 million? | SELECT MAX(no_in_season) FROM table_10842344_1 WHERE us_viewers__millions_ = "14.37" |
CREATE TABLE table_name_12 (long INTEGER, yards VARCHAR, player VARCHAR) | Name the sum of Long for yards less than 197 and players of matt nagy | SELECT SUM(long) FROM table_name_12 WHERE yards < 197 AND player = "matt nagy" |
CREATE TABLE table_name_10 (crowd INTEGER, away_team VARCHAR) | What is the highest crowd with north melbourne as away team? | SELECT MAX(crowd) FROM table_name_10 WHERE away_team = "north melbourne" |
CREATE TABLE table_name_85 (area__km²_ VARCHAR, capital VARCHAR, population__2005_ VARCHAR) | How many regions have a capital of matanzas and a 2005 population under 670427? | SELECT COUNT(area__km²_) FROM table_name_85 WHERE capital = "matanzas" AND population__2005_ < 670427 |
CREATE TABLE table_10935548_1 (production_code VARCHAR, written_by VARCHAR, original_air_date VARCHAR) | What is the production code of the episode written by José Molina that aired on October 12, 2004? | SELECT production_code FROM table_10935548_1 WHERE written_by = "José Molina" AND original_air_date = "October 12, 2004" |
CREATE TABLE table_name_52 (floors INTEGER, street_address VARCHAR) | How many floors does the building on 800 Boylston Street have? | SELECT MAX(floors) FROM table_name_52 WHERE street_address = "800 boylston street" |
CREATE TABLE table_name_1 (number_of_jews__wjc_ INTEGER, rank___wjc__ VARCHAR, rank__arda_ VARCHAR) | What was the highest number of WJC Jews that had a WJC rank of 6 and a ARDA rank of more than 8? | SELECT MAX(number_of_jews__wjc_) FROM table_name_1 WHERE rank___wjc__ = 6 AND rank__arda_ > 8 |
CREATE TABLE table_name_73 (number_of_jews__wjc_ INTEGER, metro_area VARCHAR, rank__arda_ VARCHAR) | How many number of WJC Jews in the Los Angeles Metro Area has a ARDA rank of more than 2? | SELECT SUM(number_of_jews__wjc_) FROM table_name_73 WHERE metro_area = "los angeles" AND rank__arda_ > 2 |
CREATE TABLE table_name_87 (train_no VARCHAR, origin VARCHAR) | What is number of the train that originated in Secunderabad Junction? | SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction" |
CREATE TABLE table_name_54 (transfer_window VARCHAR, transfer_fee VARCHAR, moving_to VARCHAR) | What Transfer window that has a Transfer fee of free, with a Moving to of derby county? | SELECT transfer_window FROM table_name_54 WHERE transfer_fee = "free" AND moving_to = "derby county" |
CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR) | What was the crowd size for the away team footscray? | SELECT crowd FROM table_name_59 WHERE away_team = "footscray" |
CREATE TABLE table_1099080_1 (bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) | What were the bleeding times when both the platelet count was unaffected and the partial thromboplastin time was unaffected | SELECT bleeding_time FROM table_1099080_1 WHERE partial_thromboplastin_time = "Unaffected" AND platelet_count = "Unaffected" |
CREATE TABLE table_name_86 (bronze INTEGER, nation VARCHAR, total VARCHAR) | What is the least amount of bronze Andorra, who has more than 6 total medals, has? | SELECT MIN(bronze) FROM table_name_86 WHERE nation = "andorra" AND total > 6 |
CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, race_name VARCHAR) | Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit? | SELECT fastest_lap FROM table_11056278_3 WHERE race_name = "Tenneco Automotive Grand Prix of Detroit" |
CREATE TABLE table_name_95 (crowd VARCHAR, home_team VARCHAR) | What was the total crowd size for the him team footscray? | SELECT COUNT(crowd) FROM table_name_95 WHERE home_team = "footscray" |
CREATE TABLE table_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR) | Which teams were in the central division and located in livonia? | SELECT team FROM table_11094950_1 WHERE division = "Central" AND location = "Livonia" |
CREATE TABLE table_name_72 (quantity INTEGER, manufacturer VARCHAR, gwr_nos VARCHAR) | What is the lowest quantity for GWR Nos. 696, 779, 93 5 from the manufacturer Peckett and Sons? | SELECT MIN(quantity) FROM table_name_72 WHERE manufacturer = "peckett and sons" AND gwr_nos = "696, 779, 93 5" |
CREATE TABLE table_11111116_7 (title VARCHAR, written_by VARCHAR) | What was the titles of the episodes written by ken lazebnik? | SELECT title FROM table_11111116_7 WHERE written_by = "Ken LaZebnik" |
CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) | What is the Home team score at junction oval? | SELECT home_team FROM table_name_19 WHERE venue = "junction oval" |
CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR) | Which city had the charleston area convention center as its callback location | SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center" |
CREATE TABLE table_11206916_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) | What is the date of appointment for outgoing manager Campbell Money | SELECT date_of_appointment FROM table_11206916_2 WHERE outgoing_manager = "Campbell Money" |
CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR) | who is the champion where semi-finalist #2 is na and location is morrisville, nc | SELECT champion FROM table_11214772_1 WHERE semi_finalist__number2 = "NA" AND location = "Morrisville, NC" |
CREATE TABLE table_name_50 (diff VARCHAR, lost VARCHAR, points VARCHAR) | What is the difference with a loss smaller than 5 and points lower than 32? | SELECT COUNT(diff) FROM table_name_50 WHERE lost < 5 AND points < 32 |
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR) | What is the home team score when they played at Victoria Park? | SELECT home_team AS score FROM table_name_7 WHERE venue = "victoria park" |
CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR) | what's the numer of jamaicans granted british citizenship with naturalisation by residence being 927 | SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = 927 |
CREATE TABLE table_11222744_2 (format VARCHAR, title VARCHAR) | where title is beginning callanetics , what is the total of format ? | SELECT COUNT(format) FROM table_11222744_2 WHERE title = "Beginning Callanetics" |
CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR) | What genre is revolving doors of vengeance 酒店風雲? | SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance 酒店風雲" |
CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR) | What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct? | SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct" |
CREATE TABLE table_name_47 (catalogue VARCHAR, date VARCHAR, format VARCHAR) | What Catalogue is Dated 14 november 2003, with the Format compact disc? | SELECT catalogue FROM table_name_47 WHERE date = "14 november 2003" AND format = "compact disc" |
CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR) | What was the compression ration when the engine was Wasp Jr. T1B2? | SELECT compression_ratio FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2" |
CREATE TABLE table_name_83 (label VARCHAR, catalogue VARCHAR) | What Label was Catalogued tojp 60121-22? | SELECT label FROM table_name_83 WHERE catalogue = "tojp 60121-22" |
CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR) | How many seasons did the canterbury bulldogs (8) win? | SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = "Canterbury Bulldogs (8)" |
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR) | What episode had the last appearances of the late wife of mac taylor? | SELECT last_appearance FROM table_11240028_3 WHERE relationship = "Late wife of Mac Taylor" |
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, character VARCHAR) | What episode was the last appearance of the character, rikki sandoval? | SELECT last_appearance FROM table_11240028_3 WHERE character = "Rikki Sandoval" |
CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR) | What was the duration of Robert Joy's portrayal? | SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy" |
CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) | WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7? | SELECT carbon_dioxide_emissions_per_year__10_6_tons___2006_ FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "1.4" |
CREATE TABLE table_name_66 (candidate_name VARCHAR, votes VARCHAR, religion VARCHAR) | Who has a religion of ☪ and more than 1853 votes? | SELECT candidate_name FROM table_name_66 WHERE votes > 1853 AND religion = "☪" |
CREATE TABLE table_name_64 (track INTEGER, song_title VARCHAR) | Which track has a title : Just a little bit | SELECT MIN(track) FROM table_name_64 WHERE song_title = "just a little bit" |
CREATE TABLE table_name_88 (league INTEGER, fa_cup VARCHAR, name VARCHAR) | What is the smallest value for League Cup when the League number is greater than 1, no FA Cups, and Brian Deane scoring? | SELECT MIN(league) AS Cup FROM table_name_88 WHERE league > 1 AND name = "brian deane" AND fa_cup < 1 |
CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR) | What method resulted in a win and a time of 4:36? | SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36" |
CREATE TABLE table_name_55 (venue VARCHAR, sport VARCHAR, club VARCHAR) | What venue does the soccer team Pennsylvania Stoners play in? | SELECT venue FROM table_name_55 WHERE sport = "soccer" AND club = "pennsylvania stoners" |
CREATE TABLE table_11303072_5 (batting_team VARCHAR, batting_partners VARCHAR) | What is the batting team with the batting partnets of thilina kandamby and rangana herath? | SELECT batting_team FROM table_11303072_5 WHERE batting_partners = "Thilina Kandamby and Rangana Herath" |
CREATE TABLE table_name_64 (attendance INTEGER, opponent VARCHAR) | I want the greatest attendance when the opponent is the chicago bears | SELECT MAX(attendance) FROM table_name_64 WHERE opponent = "chicago bears" |
CREATE TABLE table_name_43 (copies_sold VARCHAR, first_week_sales VARCHAR) | What's the total number of copies sold for the single that sold 206,030 in the first week? | SELECT COUNT(copies_sold) FROM table_name_43 WHERE first_week_sales = 206 OFFSET 030 |
CREATE TABLE table_11318462_5 (crew VARCHAR, open_1st_viii VARCHAR, u15_3rd_iv VARCHAR, u15_1st_iv VARCHAR) | how many crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs | SELECT COUNT(crew) FROM table_11318462_5 WHERE u15_3rd_iv = "BGS" AND u15_1st_iv = "ACGS" AND open_1st_viii = "ACGS" |
CREATE TABLE table_11318462_29 (location VARCHAR, school VARCHAR) | What is the location of the school named Brisbane Girls' Grammar School? | SELECT location FROM table_11318462_29 WHERE school = "Brisbane Girls' Grammar school" |
CREATE TABLE table_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR) | What are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position? | SELECT rd FROM table_1132568_3 WHERE fastest_lap = "Michael Schumacher" AND constructor = "Ferrari" AND pole_position = "Michael Schumacher" |
CREATE TABLE table_name_99 (rank INTEGER, year VARCHAR, studio_s_ VARCHAR) | Name the lowest rank for red chillies entertainment for 2013 | SELECT MIN(rank) FROM table_name_99 WHERE year = 2013 AND studio_s_ = "red chillies entertainment" |
CREATE TABLE table_name_46 (issue_price VARCHAR, mintage VARCHAR, artist VARCHAR, year VARCHAR) | What is the issue price of a Year 2000 coin by artist John Mardon of the Included in Steam Buggy mintage. | SELECT issue_price FROM table_name_46 WHERE artist = "john mardon" AND year = 2000 AND mintage = "included in steam buggy" |
CREATE TABLE table_name_81 (artist VARCHAR, year VARCHAR, mintage VARCHAR) | What artist had a mintage of 41,828 before year 2002? | SELECT artist FROM table_name_81 WHERE year < 2002 AND mintage = "41,828" |
CREATE TABLE table_name_45 (Control VARCHAR, year VARCHAR, builder VARCHAR) | I want the control trailers for 1931 with builder of grcw | SELECT Control AS trailers FROM table_name_45 WHERE year = "1931" AND builder = "grcw" |
CREATE TABLE table_1137142_1 (group_b_winner VARCHAR, group_c_winner VARCHAR) | What is the number of group b winner for francavilla? | SELECT COUNT(group_b_winner) FROM table_1137142_1 WHERE group_c_winner = "Francavilla" |
CREATE TABLE table_name_20 (date VARCHAR, competition VARCHAR) | The 2002 African Cup of Nations was held on what date? | SELECT date FROM table_name_20 WHERE competition = "2002 african cup of nations" |
CREATE TABLE table_1137704_2 (winning_constructor VARCHAR, fastest_lap VARCHAR, location VARCHAR) | who are all the winning constructors where fastest lap is riccardo patrese and location is interlagos | SELECT winning_constructor FROM table_1137704_2 WHERE fastest_lap = "Riccardo Patrese" AND location = "Interlagos" |
CREATE TABLE table_1137704_2 (report VARCHAR, winning_constructor VARCHAR, grand_prix VARCHAR) | what are all the report where winning constructor is williams - renault and grand prix is south african grand prix | SELECT report FROM table_1137704_2 WHERE winning_constructor = "Williams - Renault" AND grand_prix = "South African grand_prix" |
CREATE TABLE table_1137704_2 (date VARCHAR, grand_prix VARCHAR) | what of the total number of date where grand prix is portuguese grand prix | SELECT COUNT(date) FROM table_1137704_2 WHERE grand_prix = "Portuguese grand_prix" |
CREATE TABLE table_1137718_2 (rd INTEGER, date VARCHAR) | Which rd. occurred on 22 October? | SELECT MIN(rd) FROM table_1137718_2 WHERE date = "22 October" |
CREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR) | Which rd. took place at Hockenheimring? | SELECT MIN(rd) FROM table_1137718_2 WHERE location = "Hockenheimring" |
CREATE TABLE table_11390711_4 (japanese_orthography VARCHAR, english_name VARCHAR) | What is the Japanese orthography for the English name National Farmers Academy? | SELECT japanese_orthography FROM table_11390711_4 WHERE english_name = "National Farmers Academy" |
CREATE TABLE table_name_67 (venue VARCHAR, home_team VARCHAR) | what is the venue when the home team is melbourne? | SELECT venue FROM table_name_67 WHERE home_team = "melbourne" |
CREATE TABLE table_1139087_2 (constructor VARCHAR, grand_prix VARCHAR) | What is the make of the car that won the brazilian grand prix? | SELECT constructor FROM table_1139087_2 WHERE grand_prix = "Brazilian grand_prix" |
CREATE TABLE table_1139835_3 (grand_finalist VARCHAR, winners VARCHAR) | what's the grand finalist where winners is collingwood | SELECT grand_finalist FROM table_1139835_3 WHERE winners = "Collingwood" |
CREATE TABLE table_name_44 (winners VARCHAR, runners_up VARCHAR, third VARCHAR) | Who was the winner in the competition in which Lyn took third place and Lillestrøm was the runner-up? | SELECT winners FROM table_name_44 WHERE runners_up = "lillestrøm" AND third = "lyn" |
CREATE TABLE table_name_12 (date VARCHAR, race VARCHAR) | What date was the Italian Grand Prix? | SELECT date FROM table_name_12 WHERE race = "italian grand prix" |
CREATE TABLE table_1140074_2 (pole_position VARCHAR, location VARCHAR) | what's the pole position with location being hockenheimring | SELECT pole_position FROM table_1140074_2 WHERE location = "Hockenheimring" |
CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, pole_position VARCHAR) | What is the fastest lap with pole position of gilles villeneuve? | SELECT fastest_lap FROM table_1140077_2 WHERE pole_position = "Gilles Villeneuve" |
CREATE TABLE table_name_67 (events INTEGER, rank VARCHAR, player VARCHAR) | How many events for orville moody, ranking below 3? | SELECT SUM(events) FROM table_name_67 WHERE rank > 3 AND player = "orville moody" |
CREATE TABLE table_name_74 (home_team VARCHAR) | What is the score of the Home team of geelong? | SELECT home_team AS score FROM table_name_74 WHERE home_team = "geelong" |
CREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR) | What digital reaction has hot 100 reaction of 2 (+1)? | SELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = "2 (+1)" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.