answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(fastest_lap) FROM table_13512105_3 WHERE rnd = 6 | how many have times of 6 | CREATE TABLE table_13512105_3 (fastest_lap VARCHAR, rnd VARCHAR) |
SELECT score FROM table_name_46 WHERE opponents_in_the_final = "vitalia diatchenko irena pavlovic" | What is the Score of the match where Opponents in the Final was Vitalia Diatchenko Irena Pavlovic? | CREATE TABLE table_name_46 (score VARCHAR, opponents_in_the_final VARCHAR) |
SELECT street_address FROM table_name_17 WHERE name = "prudential tower" | What is the street address for the Prudential Tower building? | CREATE TABLE table_name_17 (street_address VARCHAR, name VARCHAR) |
SELECT COUNT(gold) FROM table_name_96 WHERE total < 23 AND rank > 10 | What's the total number of gold where the total is less than 23 and the rank is over 10? | CREATE TABLE table_name_96 (gold VARCHAR, total VARCHAR, rank VARCHAR) |
SELECT last_performance FROM table_19189856_1 WHERE first_performance = "11/15/1909" | when was the last performance of the first performance on 11/15/1909 | CREATE TABLE table_19189856_1 (last_performance VARCHAR, first_performance VARCHAR) |
SELECT AVG(tries_for) FROM table_name_90 WHERE points_for < 117 AND tries_against < 48 | What is the average tries for less than 117 points and less than 48 tries against? | CREATE TABLE table_name_90 (tries_for INTEGER, points_for VARCHAR, tries_against VARCHAR) |
SELECT entrant FROM table_name_97 WHERE year < 1953 | Who is the entrant when the year is less than 1953? | CREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER) |
SELECT result_f_a FROM table_name_60 WHERE date = "17 december 2002" | What is the result F_A on 17 December 2002? | CREATE TABLE table_name_60 (result_f_a VARCHAR, date VARCHAR) |
SELECT position FROM table_name_16 WHERE pick > 33 AND school = "tottenville hs (staten island, ny)" | what is the position when the pick is higher than 33 and the school is tottenville hs (staten island, ny)? | CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school VARCHAR) |
SELECT team FROM table_name_15 WHERE class = "c1" AND laps > 77 AND driver = "klaus ludwig" | What is the team of driver klaus ludwig, who is class c1 and has more than 77 laps? | CREATE TABLE table_name_15 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR) |
SELECT location FROM table_name_1 WHERE opponent = "billy kidd" | Where was the location where justin robbins fought against billy kidd? | CREATE TABLE table_name_1 (location VARCHAR, opponent VARCHAR) |
SELECT viewers__in_millions_ FROM table_24639086_3 WHERE series__number = 14 | What is the amount of viewers if the series number is 14? | CREATE TABLE table_24639086_3 (viewers__in_millions_ VARCHAR, series__number VARCHAR) |
SELECT MIN(decile) FROM table_name_79 WHERE roll = 651 | For the roll of 651, what was the lowest Decile? | CREATE TABLE table_name_79 (decile INTEGER, roll VARCHAR) |
SELECT COUNT(DISTINCT product_type_code) FROM products_for_hire | How many different product types are there? | CREATE TABLE products_for_hire (product_type_code VARCHAR) |
SELECT title FROM table_27250813_1 WHERE no_in_season = 16 | What is the title of the episode no. 16 by season? | CREATE TABLE table_27250813_1 (title VARCHAR, no_in_season VARCHAR) |
SELECT COUNT(nationality) FROM table_2886617_4 WHERE player = "Marc Savard" | How many countries had players named Marc Savard get picked? | CREATE TABLE table_2886617_4 (nationality VARCHAR, player VARCHAR) |
SELECT AVG(draws) FROM table_name_97 WHERE losses < 2 | What is the average Draws, when Losses is less than 2? | CREATE TABLE table_name_97 (draws INTEGER, losses INTEGER) |
SELECT COUNT(cuts_made) FROM table_name_91 WHERE top_5 = 0 AND wins > 0 | How many total cuts were made in events with more than 0 wins and exactly 0 top-5s? | CREATE TABLE table_name_91 (cuts_made VARCHAR, top_5 VARCHAR, wins VARCHAR) |
SELECT original_air_date FROM table_28859177_3 WHERE directed_by = "Graeme Clifford" AND written_by = "Lindsay Sturman" | What is the original air date for episode graeme clifford directed and lindsay sturman wrote? | CREATE TABLE table_28859177_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) |
SELECT COUNT(birthday) FROM table_26615633_1 WHERE jewel = "Malachite" | how many times is the jewel malachite? | CREATE TABLE table_26615633_1 (birthday VARCHAR, jewel VARCHAR) |
SELECT award FROM table_name_40 WHERE producer_s_ = "andrew ryder" | What award did Andrew Ryder win as producer? | CREATE TABLE table_name_40 (award VARCHAR, producer_s_ VARCHAR) |
SELECT record FROM table_14656147_2 WHERE result = "L 3-6" | Type the record details if any result has L 3-6 in it? | CREATE TABLE table_14656147_2 (record VARCHAR, result VARCHAR) |
SELECT artist FROM table_name_7 WHERE draw = 6 | Which Artist has a Draw of 6? | CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR) |
SELECT letter_name FROM table_name_74 WHERE asomtavruli = "ⴙ" | What is the letter name for the Asomtavruli ⴙ? | CREATE TABLE table_name_74 (letter_name VARCHAR, asomtavruli VARCHAR) |
SELECT location FROM table_name_64 WHERE result = "4-1 w" | Where was the game which ended in a 4-1 w? | CREATE TABLE table_name_64 (location VARCHAR, result VARCHAR) |
SELECT AVG(hydroelectricity) FROM table_name_73 WHERE year > 2011 AND wind_power < 13.333 | In 2011 with a less than 13.333 wind power what is the mean hydroelectricity? | CREATE TABLE table_name_73 (hydroelectricity INTEGER, year VARCHAR, wind_power VARCHAR) |
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 EXCEPT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND YEAR = 2010 | Find courses that ran in Fall 2009 but not in Spring 2010. | CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR) |
SELECT outgoing_manager FROM table_27374004_4 WHERE manner_of_departure = "Sacked" AND position_in_table = "15th" | Who was the outgoing manager of the team in 15th position that was sacked? | CREATE TABLE table_27374004_4 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) |
SELECT player FROM table_name_30 WHERE transfer_fee = "released" AND pos = "df" | Who had a transfer fee of released and played the position of DF? | CREATE TABLE table_name_30 (player VARCHAR, transfer_fee VARCHAR, pos VARCHAR) |
SELECT stock FROM table_12834315_4 WHERE colt_model_no = "MT6601" | Name the stock for colt model mt6601 | CREATE TABLE table_12834315_4 (stock VARCHAR, colt_model_no VARCHAR) |
SELECT AVG(number_of_households) FROM table_name_61 WHERE per_capita_income = "$21,571" AND population < 9 OFFSET 783 | Which Number of households has Per capita income of $21,571, and a Population smaller than 9,783? | CREATE TABLE table_name_61 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR) |
SELECT AVG(route) FROM table_name_12 WHERE elevation = "12,183 feet 3713 m" | Elevation of 12,183 feet 3713 m is what average route? | CREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR) |
SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins" | What is the To par when Lanny Wadkins is the player? | CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR) |
SELECT subdivides_in FROM table_26538461_2 WHERE equivalence_in_varas = "1/5" | Name the subdivides in equivalence for varas 1/5 | CREATE TABLE table_26538461_2 (subdivides_in VARCHAR, equivalence_in_varas VARCHAR) |
SELECT MAX(place) FROM table_name_6 WHERE artist = "henri dès" AND points < 8 | What is the highest place of a song by Henri Dès that has fewer than 8 points? | CREATE TABLE table_name_6 (place INTEGER, artist VARCHAR, points VARCHAR) |
SELECT away_team AS score FROM table_name_80 WHERE venue = "brunswick street oval" | What is the away team's score at brunswick street oval? | CREATE TABLE table_name_80 (away_team VARCHAR, venue VARCHAR) |
SELECT event FROM table_name_26 WHERE championship = "nascar featherlite modified series" | What race even has NASCAR Featherlite Modified Series as the championship? | CREATE TABLE table_name_26 (event VARCHAR, championship VARCHAR) |
SELECT date FROM table_name_94 WHERE result = "w 14-10" | What date has w 14-10 as the result? | CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR) |
SELECT nationality FROM table_name_67 WHERE pick = "140" | Tell me the nationality of pick 140 | CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR) |
SELECT attendance FROM table_name_4 WHERE date = "bye" | What attendance is listed against the date of bye? | CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR) |
SELECT driver FROM table_16493961_1 WHERE race_time = "2:34:21" | Name the driver for race time being 2:34:21 | CREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR) |
SELECT opponent FROM table_name_94 WHERE record = "0-12" | What was the opponent of the game when the reocrd was 0-12? | CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) |
SELECT winner FROM table_name_74 WHERE runner_up = "jing-qian yi" | When the runner-up was Jing-qian Yi, who was the winner? | CREATE TABLE table_name_74 (winner VARCHAR, runner_up VARCHAR) |
SELECT owner FROM table_name_80 WHERE trainer = "steve klesaris" | Who was the owner of the trainer Steve Klesaris? | CREATE TABLE table_name_80 (owner VARCHAR, trainer VARCHAR) |
SELECT crowd FROM table_name_59 WHERE away_team = "footscray" | What was the crowd size for the away team footscray? | CREATE TABLE table_name_59 (crowd VARCHAR, away_team VARCHAR) |
SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard" | What is the university where the soccer stadium is terrain #2 of complexe sportif claude-robillard? | CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR) |
SELECT finish FROM table_name_73 WHERE start < 25 | What finish has a start smaller than 25? | CREATE TABLE table_name_73 (finish VARCHAR, start INTEGER) |
SELECT prefix FROM table_name_75 WHERE formula = "rsor'" | What is the prefix for the formula of Rsor'? | CREATE TABLE table_name_75 (prefix VARCHAR, formula VARCHAR) |
SELECT three_darts_challenge FROM table_26733129_1 WHERE air_date = "10 May 2010" | Who was in the three darts challenge that aired on 10 may 2010? | CREATE TABLE table_26733129_1 (three_darts_challenge VARCHAR, air_date VARCHAR) |
SELECT rank FROM table_name_81 WHERE time = "5:56.73" | Which Rank has a Time of 5:56.73? | CREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR) |
SELECT candidates FROM table_1342331_43 WHERE incumbent = "James P. Buchanan" | What is the name of the candidate where the incumbent is named James P. Buchanan? | CREATE TABLE table_1342331_43 (candidates VARCHAR, incumbent VARCHAR) |
SELECT comment FROM table_1147701_4 WHERE model_name = "2.4 (2001-2007)" | what's the comment with model name being 2.4 (2001-2007) | CREATE TABLE table_1147701_4 (comment VARCHAR, model_name VARCHAR) |
SELECT COUNT(drawn) FROM table_name_57 WHERE percentage = "7.14%" AND lost > 12 | How many matches were drawn associated with a percentage of 7.14% and more than 12 losses? | CREATE TABLE table_name_57 (drawn VARCHAR, percentage VARCHAR, lost VARCHAR) |
SELECT high_rebounds FROM table_name_23 WHERE high_points = "douglas (23)" | Which High rebounds has a High points of douglas (23)? | CREATE TABLE table_name_23 (high_rebounds VARCHAR, high_points VARCHAR) |
SELECT director FROM table_12976038_1 WHERE viewers__in_millions_ = "6.04" | Who directed the episode that had 6.04 million viewers? | CREATE TABLE table_12976038_1 (director VARCHAR, viewers__in_millions_ VARCHAR) |
SELECT date FROM table_name_52 WHERE home_team = "wolverhampton wanderers" | When did the Wolverhampton Wanderers play at home? | CREATE TABLE table_name_52 (date VARCHAR, home_team VARCHAR) |
SELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = "James William Trimble" | Name the number of party with the incubent james william trimble | CREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR) |
SELECT winner FROM table_name_56 WHERE tournament = "graz-seiersberg" | Who was the winner in the Tournament of Graz-Seiersberg? | CREATE TABLE table_name_56 (winner VARCHAR, tournament VARCHAR) |
SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones" | Driver Shaun Jones with a viper as a chassis is in what class? | CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR) |
SELECT result FROM table_name_72 WHERE opponent = "indianapolis colts" | Which result featured the Indianapolis Colts as opponents? | CREATE TABLE table_name_72 (result VARCHAR, opponent VARCHAR) |
SELECT date_of_vacancy FROM table_name_45 WHERE manner_of_departure = "sacked" AND team = "nejapa" | What is the date of vacancy when the manner of departure is sacked and the team is nejapa? | CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, team VARCHAR) |
SELECT english_name FROM table_name_31 WHERE provider_national_government_ = "ministry of defense" AND abbreviation = "nda bōei-dai(防衛大)" | What is the english name of the ministry of defense with an abbreviation of nda bōei-dai(防衛大)? | CREATE TABLE table_name_31 (english_name VARCHAR, provider_national_government_ VARCHAR, abbreviation VARCHAR) |
SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711" | Which Country has a Catalogue number(s) of eredv711? | CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR) |
SELECT MAX(laps) FROM table_name_82 WHERE grid = 7 | What is the highest laps for the grid of 7? | CREATE TABLE table_name_82 (laps INTEGER, grid VARCHAR) |
SELECT date FROM table_name_46 WHERE winning_score = –20(68 - 67 - 65 - 64 = 264) | On what date was the winning score –20 (68-67-65-64=264)? | CREATE TABLE table_name_46 (date VARCHAR, winning_score VARCHAR) |
SELECT team_name FROM table_17289224_1 WHERE season = "2008" AND points = 0 | Who started in 2008 with 0 points? | CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR, points VARCHAR) |
SELECT date FROM table_name_8 WHERE attendance = "6,707" | What was the date of the Mariners game that had an attendance of 6,707? | CREATE TABLE table_name_8 (date VARCHAR, attendance VARCHAR) |
SELECT school_club_team FROM table_10015132_14 WHERE years_in_toronto = "2001-02" | Which school was in Toronto in 2001-02? | CREATE TABLE table_10015132_14 (school_club_team VARCHAR, years_in_toronto VARCHAR) |
SELECT 2009 FROM table_name_72 WHERE 2010 = "wta premier 5 tournaments" | Which 2009's 2010 featured the wta premier 5 tournaments? | CREATE TABLE table_name_72 (Id VARCHAR) |
SELECT COUNT(lost) FROM table_name_1 WHERE played < 8 | How many lost stats have a played number of less than 8? | CREATE TABLE table_name_1 (lost VARCHAR, played INTEGER) |
SELECT human_resources_ & _operations FROM table_name_14 WHERE year = "2003-2004" | Who was the Human Resources & Operations person between 2003-2004? | CREATE TABLE table_name_14 (human_resources_ VARCHAR, _operations VARCHAR, year VARCHAR) |
SELECT MAX(silver) FROM table_name_85 WHERE bronze < 0 | What is the highest number of silver medals of the team with less than 0 bronzes? | CREATE TABLE table_name_85 (silver INTEGER, bronze INTEGER) |
SELECT constructor FROM table_name_89 WHERE year > 1935 AND driver = "hermann lang" | What was the constructor of the car that Hermann Lang drove after 1935? | CREATE TABLE table_name_89 (constructor VARCHAR, year VARCHAR, driver VARCHAR) |
SELECT record FROM table_name_57 WHERE date = "march 5" | What is the record of the game on March 5? | CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) |
SELECT high_assists FROM table_name_84 WHERE team = "lakers" | How many high assists did the Lakers have? | CREATE TABLE table_name_84 (high_assists VARCHAR, team VARCHAR) |
SELECT player FROM table_name_48 WHERE years_for_grizzlies = "2002-2003" | Which Player has Years for Grizzlies of 2002-2003? | CREATE TABLE table_name_48 (player VARCHAR, years_for_grizzlies VARCHAR) |
SELECT Name FROM people WHERE NOT People_ID IN (SELECT People_ID FROM entrepreneur) | List the names of people that are not entrepreneurs. | CREATE TABLE entrepreneur (Name VARCHAR, People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) |
SELECT surface FROM table_2112025_3 WHERE year = 1971 | What was the court surface on year 1971? | CREATE TABLE table_2112025_3 (surface VARCHAR, year VARCHAR) |
SELECT COUNT(crowd) FROM table_name_17 WHERE venue = "victoria park" | How many people came to the game at Victoria Park? | CREATE TABLE table_name_17 (crowd VARCHAR, venue VARCHAR) |
SELECT 1990 FROM table_name_74 WHERE 1997 = "1r" AND tournament = "hamburg" | What is 1990, when 1997 is "1R", and when Tournament is "Hamburg"? | CREATE TABLE table_name_74 (tournament VARCHAR) |
SELECT COUNT(Ends) AS won FROM table_16922657_2 WHERE country = Scotland | When the country was Scotland, how many ends were won? | CREATE TABLE table_16922657_2 (Ends VARCHAR, country VARCHAR, Scotland VARCHAR) |
SELECT listed FROM table_name_83 WHERE county = "antelope" AND location = "royal" AND name = "verdigris creek bridge" | what's the listing date for the verdigris creek bridge in royal of antelope county? | CREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR) |
SELECT player FROM table_name_11 WHERE to_par = "e" AND country = "spain" | Who is from Spain with a to par of e? | CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR, country VARCHAR) |
SELECT roman FROM table_name_79 WHERE sound__allophone_ = "[[[|k]]]" | What is the Roman entry for the allophone of [[[|k]]]? | CREATE TABLE table_name_79 (roman VARCHAR, sound__allophone_ VARCHAR) |
SELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = "jakki doyle" | Who was in external affairs when Jakki Doyle was in Human Resources & Operations? | CREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR) |
SELECT MIN(events) FROM table_name_56 WHERE top_5 > 1 | What is the lowest value for Events, when the value for Top-5 is greater than 1? | CREATE TABLE table_name_56 (events INTEGER, top_5 INTEGER) |
SELECT venue FROM table_name_49 WHERE opponent = "cronulla sharks" | What is the venue of the match with the cronulla sharks as the opponent? | CREATE TABLE table_name_49 (venue VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_35 WHERE opponent = "new orleans saints" | What day did they play the New Orleans Saints? | CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR) |
SELECT product_name, product_id FROM products WHERE product_price BETWEEN 600 AND 700 | Return the names and ids of all products whose price is between 600 and 700. | CREATE TABLE products (product_name VARCHAR, product_id VARCHAR, product_price INTEGER) |
SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009" | Who was on Jason's team for the 12 June 2009 episode? | CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR) |
SELECT player FROM table_23670057_5 WHERE year_born = 1983 AND position = "Forward" | Which players were born in 1983 and play as forward position? | CREATE TABLE table_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR) |
SELECT away_team FROM table_name_24 WHERE venue = "punt road oval" | What is the away team that played at punt road oval? | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) |
SELECT time_retired FROM table_name_68 WHERE laps < 77 AND grid = 16 | Which Time/Retired has less than 77 laps, and a Grid of 16? | CREATE TABLE table_name_68 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT AVG(grid) FROM table_name_69 WHERE time_retired = "engine" AND laps < 18 | What is the average grid number for cars that retired due to engine failure before 18 laps? | CREATE TABLE table_name_69 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) |
SELECT COUNT(year) FROM table_name_3 WHERE award_ceremony = "laurence olivier award" AND result = "won" AND nominee = "imelda staunton" | How many times is the award ceremony laurence olivier award, result is won and the nominee is imelda staunton? | CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR, award_ceremony VARCHAR, result VARCHAR) |
SELECT event FROM table_name_34 WHERE outcome = "other open tournaments" | What Event has an Outcome of other open tournaments? | CREATE TABLE table_name_34 (event VARCHAR, outcome VARCHAR) |
SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly" | What circuit did rick kelly win on? | CREATE TABLE table_20884163_2 (circuit VARCHAR, winner VARCHAR) |
SELECT air_force_cross FROM table_2104176_1 WHERE homeland_security_distinguished_service_medal = "Aerial Achievement Medal" | What is the air force cross when you recieve the Aerial achievement medal? | CREATE TABLE table_2104176_1 (air_force_cross VARCHAR, homeland_security_distinguished_service_medal VARCHAR) |
SELECT draws FROM table_18594107_1 WHERE team = "12 de Octubre" | How many draws does 12 de Octubre have? | CREATE TABLE table_18594107_1 (draws VARCHAR, team VARCHAR) |
SELECT country FROM table_name_17 WHERE player = "tiger woods" | What country does Tiger Woods play for? | CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.