answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34" | Which team had goal averages of 1.34? | CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR) |
SELECT record FROM table_name_28 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND score = "3–2" | What is the Record of the Chicago Black Hawks Home game with the New York Rangers and a Score of 3–2? | CREATE TABLE table_name_28 (record VARCHAR, score VARCHAR, home VARCHAR, visitor VARCHAR) |
SELECT british FROM table_name_88 WHERE examples = "exit" | Which British has Examples of exit? | CREATE TABLE table_name_88 (british VARCHAR, examples VARCHAR) |
SELECT COUNT(team) FROM table_27700530_9 WHERE game = 13 | How many games were numbered 13? | CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR) |
SELECT target FROM table_name_96 WHERE brand_name = "mylotarg" | What's the target for the brand mylotarg? | CREATE TABLE table_name_96 (target VARCHAR, brand_name VARCHAR) |
SELECT location FROM table_2112260_1 WHERE specialization = "Textile engineering" | Where is every location with specialization of textile engineering? | CREATE TABLE table_2112260_1 (location VARCHAR, specialization VARCHAR) |
SELECT laps FROM table_name_73 WHERE time_retired = "+1:00.003" | How many laps were there when the Time/Retired was +1:00.003? | CREATE TABLE table_name_73 (laps VARCHAR, time_retired VARCHAR) |
SELECT COUNT(goals) FROM table_name_36 WHERE rank = 6 | How many goals ranked 6? | CREATE TABLE table_name_36 (goals VARCHAR, rank VARCHAR) |
SELECT MAX(silver) FROM table_name_50 WHERE gold = 0 AND nation = "soviet union" | what is the highest amount of silver when gold is 0 for soviet union? | CREATE TABLE table_name_50 (silver INTEGER, gold VARCHAR, nation VARCHAR) |
SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2 | Show id, first and last names for all customers with at least two cards. | CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) |
SELECT third_vice_president FROM table_name_38 WHERE inaugurated = "15 march 1934" | What is Third Vice President, when Inaugurated is "15 March 1934"? | CREATE TABLE table_name_38 (third_vice_president VARCHAR, inaugurated VARCHAR) |
SELECT city FROM table_name_42 WHERE airport = "toamasina airport" | what city is the toamasina airport in? | CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR) |
SELECT attendance FROM table_name_49 WHERE loss = "ayala (6-12)" | What was the attendance at the game that had a loss of Ayala (6-12)? | CREATE TABLE table_name_49 (attendance VARCHAR, loss VARCHAR) |
SELECT the_wørd FROM table_25691838_6 WHERE production_code = 6084 | What was The Word for production code 6084? | CREATE TABLE table_25691838_6 (the_wørd VARCHAR, production_code VARCHAR) |
SELECT COUNT(goals) FROM table_name_48 WHERE result = "0-1" AND date = "march 28, 2007" | How many goals have a result of 0-1 on march 28, 2007? | CREATE TABLE table_name_48 (goals VARCHAR, result VARCHAR, date VARCHAR) |
SELECT method FROM table_name_27 WHERE record = "3-0" | Which method has a record of 3-0? | CREATE TABLE table_name_27 (method VARCHAR, record VARCHAR) |
SELECT COUNT(week) FROM table_name_78 WHERE attendance = "62,123" | What is the Week number with an Attendance of 62,123? | CREATE TABLE table_name_78 (week VARCHAR, attendance VARCHAR) |
SELECT COUNT(*) FROM WINE WHERE Winery = "Robert Biale" | How many wines are produced at Robert Biale winery? | CREATE TABLE WINE (Winery VARCHAR) |
SELECT sport FROM table_name_75 WHERE medal = "gold" AND event = "men's light flyweight" | Name the sport for men's light flyweight with medal of gold | CREATE TABLE table_name_75 (sport VARCHAR, medal VARCHAR, event VARCHAR) |
SELECT COUNT(DISTINCT pPos) FROM tryout | What are the unique types of player positions in the tryout? | CREATE TABLE tryout (pPos VARCHAR) |
SELECT MIN(silver) FROM table_name_8 WHERE bronze > 1 AND nation = "total" AND "total" > 18 | What is the least amount of silver medals won by Total with more than 1 bronze and more than 18 total medals won? | CREATE TABLE table_name_8 (silver INTEGER, bronze VARCHAR, nation VARCHAR) |
SELECT number FROM table_22719663_3 WHERE height = "6-6" | What was the number of the player that was 6-6? | CREATE TABLE table_22719663_3 (number VARCHAR, height VARCHAR) |
SELECT AVG(founded) FROM table_name_6 WHERE location = "claremont" | What is the average year founded for schools in claremont? | CREATE TABLE table_name_6 (founded INTEGER, location VARCHAR) |
SELECT sideline_reporter_s_ FROM table_name_72 WHERE year = 2011 | Who were the sideline reporter(s) in 2011? | CREATE TABLE table_name_72 (sideline_reporter_s_ VARCHAR, year VARCHAR) |
SELECT date FROM table_name_87 WHERE week > 5 AND opponent = "houston oilers" | What was the date of the game after week 5 against the Houston Oilers? | CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT opponent FROM table_name_72 WHERE result = "30-12" | Who was the opponent with a score of 30-12? | CREATE TABLE table_name_72 (opponent VARCHAR, result VARCHAR) |
SELECT home_team FROM table_name_16 WHERE crowd > 41 OFFSET 846 | Who was the home team when attendance was over 41,846? | CREATE TABLE table_name_16 (home_team VARCHAR, crowd INTEGER) |
SELECT frequency FROM table_134987_3 WHERE format = "Classic Country KRKI-FM booster" | What is the frequency of the Classic Country Krki-fm booster station? | CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR) |
SELECT MAX(last_year) FROM table_2472711_31 WHERE lowest = 23578 | What is the last year total for the team with a lowest of 23578? | CREATE TABLE table_2472711_31 (last_year INTEGER, lowest VARCHAR) |
SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-4" | Which Opponent has a February larger than 7 and Record of 37-16-4? | CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR) |
SELECT COUNT(silver) FROM table_name_48 WHERE gold < 2 AND rank = "4" AND nation = "hungary (hun)" AND bronze < 1 | Gold smaller than 2, and a Rank of 4, and a Nation of hungary (hun), and a Bronze smaller than 1 had what total number of silver? | CREATE TABLE table_name_48 (silver VARCHAR, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) |
SELECT COUNT(rank) FROM table_name_8 WHERE rider = "ray pickrell" | How many Ranks have ray pickrell as a Rider? | CREATE TABLE table_name_8 (rank VARCHAR, rider VARCHAR) |
SELECT manufacturer FROM table_name_85 WHERE rider = "simone corsi" | What is the Manufacturer for simone corsi? | CREATE TABLE table_name_85 (manufacturer VARCHAR, rider VARCHAR) |
SELECT pronunciation_b FROM table_name_64 WHERE meaning_b = "border, frontier" | Name the pronunciation for meaning b of border, frontier | CREATE TABLE table_name_64 (pronunciation_b VARCHAR, meaning_b VARCHAR) |
SELECT position FROM table_name_53 WHERE player = "luca sbisa" | What position did Luca Sbisa play for the Philadelphia Flyers? | CREATE TABLE table_name_53 (position VARCHAR, player VARCHAR) |
SELECT SUM(mintage) FROM table_name_61 WHERE artist = "pierre leduc" | What is the sum of all mintage created by Pierre Leduc? | CREATE TABLE table_name_61 (mintage INTEGER, artist VARCHAR) |
SELECT MAX(goals_against) FROM table_1255110_7 | What is the highest value under the column goals against? | CREATE TABLE table_1255110_7 (goals_against INTEGER) |
SELECT date FROM table_name_84 WHERE attendance = "48,041" | What was the date when the attendance was 48,041? | CREATE TABLE table_name_84 (date VARCHAR, attendance VARCHAR) |
SELECT clubs_involved FROM table_name_63 WHERE clubs_remaining = 16 | What are the clubs involved with 16 clubs remaining? | CREATE TABLE table_name_63 (clubs_involved VARCHAR, clubs_remaining VARCHAR) |
SELECT singular FROM table_name_28 WHERE meaning = "night" | What is the singular for the Meaning of night? | CREATE TABLE table_name_28 (singular VARCHAR, meaning VARCHAR) |
SELECT COUNT(series__number) FROM table_19852975_4 WHERE writer_s_ = "Max Ehrlich" | From writer Max Ehrlich, what is the total amount of series numbers? | CREATE TABLE table_19852975_4 (series__number VARCHAR, writer_s_ VARCHAR) |
SELECT high_assists FROM table_name_60 WHERE game < 16 | With the game that was less than 16 what was the high assists? | CREATE TABLE table_name_60 (high_assists VARCHAR, game INTEGER) |
SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5204 T5" | what's the model name with engine code being b5204 t5 | CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR) |
SELECT 2005 FROM table_name_14 WHERE 2006 = "1r" AND 2002 = "1r" | What's the name of the 2005 tournament that has a 1R in both 2006 and 2002? | CREATE TABLE table_name_14 (Id VARCHAR) |
SELECT COUNT(first_elected) FROM table_2668378_5 WHERE district = "Kentucky 3" | Name the number of first elected for kentucky 3 | CREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR) |
SELECT rank FROM table_name_63 WHERE mountain_peak = "isthmus peak" | what is the rank when the mountain peak is isthmus peak? | CREATE TABLE table_name_63 (rank VARCHAR, mountain_peak VARCHAR) |
SELECT COUNT(no_in_season) FROM table_10935205_1 WHERE canadian_airdate = "17 March 2008" | The canadian airdate of 17 march 2008 had how many numbers in the season? | CREATE TABLE table_10935205_1 (no_in_season VARCHAR, canadian_airdate VARCHAR) |
SELECT away_team AS score FROM table_name_49 WHERE home_team = "collingwood" | When the Home team of collingwood played, what was the opposing Away team score? | CREATE TABLE table_name_49 (away_team VARCHAR, home_team VARCHAR) |
SELECT SUM(place) FROM table_name_22 WHERE draw < 16 AND english_translation = "in love with you" AND points < 1 | What is the total ranking when there are less than 16 draws, less than 1 point, and the English translation is in love with you? | CREATE TABLE table_name_22 (place INTEGER, points VARCHAR, draw VARCHAR, english_translation VARCHAR) |
SELECT left_office FROM table_name_49 WHERE first_minister = "henry mcleish" | What left office does the First Minister of henry mcleish belong to? | CREATE TABLE table_name_49 (left_office VARCHAR, first_minister VARCHAR) |
SELECT MIN(cuts_made) FROM table_24747844_2 WHERE player = "Hunter Mahan" | What is the minimum number of cuts made for Hunter Mahan? | CREATE TABLE table_24747844_2 (cuts_made INTEGER, player VARCHAR) |
SELECT date FROM table_name_93 WHERE type = "ds4-4-750" AND works_number = "74409" | What is Date, when Type is DS4-4-750, and when Works Number is 74409? | CREATE TABLE table_name_93 (date VARCHAR, type VARCHAR, works_number VARCHAR) |
SELECT country FROM table_name_46 WHERE player = "lee janzen" | What country is Lee Janzen from? | CREATE TABLE table_name_46 (country VARCHAR, player VARCHAR) |
SELECT points FROM table_name_52 WHERE year > 1986 AND chassis = "ags jh23b" | How many points does the year after 1986 with a AGS JH23B chassis have? | CREATE TABLE table_name_52 (points VARCHAR, year VARCHAR, chassis VARCHAR) |
SELECT stop_no FROM table_name_50 WHERE platform = "[2777] mciver station platforms" | Which Stop # has a Platform of [2777] mciver station platforms? | CREATE TABLE table_name_50 (stop_no VARCHAR, platform VARCHAR) |
SELECT institution FROM table_24195232_1 WHERE location = "Circleville, Ohio" | What is the institution that was located is circleville, ohio? | CREATE TABLE table_24195232_1 (institution VARCHAR, location VARCHAR) |
SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16" | What week number saw a w 31-16 result? | CREATE TABLE table_name_21 (week INTEGER, result VARCHAR) |
SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010" | In the 2010 season what club has 0 goals and more than 0 Apps? | CREATE TABLE table_name_43 (club VARCHAR, season VARCHAR, goals VARCHAR, apps VARCHAR) |
SELECT venue FROM table_name_58 WHERE opponent = "linfield" | Where was the venue that Linfield was the opponent? | CREATE TABLE table_name_58 (venue VARCHAR, opponent VARCHAR) |
SELECT SUM(fighting_spirit) FROM table_name_25 WHERE total = 13 AND technique < 1 | How much Fighting Spirit has a Total of 13, and a Technique smaller than 1? | CREATE TABLE table_name_25 (fighting_spirit INTEGER, total VARCHAR, technique VARCHAR) |
SELECT season_result FROM table_1139835_3 WHERE margin = 51 | who is the season result where margin is 51 | CREATE TABLE table_1139835_3 (season_result VARCHAR, margin VARCHAR) |
SELECT high_points FROM table_17323529_5 WHERE date = "November 24" | Name the high points for the date of november 24 | CREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR) |
SELECT COUNT(wins) FROM table_name_89 WHERE scored < 24 AND conceded > 25 AND draws > 5 AND position < 9 | How many Wins have a Scored smaller than 24, and a Conceded larger than 25, and Draws larger than 5, and a Position smaller than 9? | CREATE TABLE table_name_89 (wins VARCHAR, position VARCHAR, draws VARCHAR, scored VARCHAR, conceded VARCHAR) |
SELECT 2013 FROM table_name_87 WHERE 2001 = "wta premier 5 tournaments" | I want to know the 2013 when 2001 was wta premier 5 tournaments | CREATE TABLE table_name_87 (Id VARCHAR) |
SELECT acc_record FROM table_28744929_2 WHERE team = "Miami" | What is the record in the atlantic coast conference for the Miami team? | CREATE TABLE table_28744929_2 (acc_record VARCHAR, team VARCHAR) |
SELECT T1.name, COUNT(*) FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid | Find the name of each user and number of tweets tweeted by each of them. | CREATE TABLE tweets (uid VARCHAR); CREATE TABLE user_profiles (name VARCHAR, uid VARCHAR) |
SELECT COUNT(*) FROM scientists | Find the total number of scientists. | CREATE TABLE scientists (Id VARCHAR) |
SELECT district FROM table_name_64 WHERE reserved_for___sc___st__none_ = "none" AND name = "paraswada" | What is the district of Paraswada with none reserved? | CREATE TABLE table_name_64 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR) |
SELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = "no" AND eval_function = "no" | What is the s default argument without a pseudorandom number generation and no eval function? | CREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR) |
SELECT COUNT(points) FROM table_25647137_2 WHERE player = "Art Renner" | How many points did art renner have? | CREATE TABLE table_25647137_2 (points VARCHAR, player VARCHAR) |
SELECT charity FROM table_28730873_2 WHERE occupation = "Actor and Singer" | What is the charity for the celebrity with an occupation title of actor and singer? | CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR) |
SELECT AVG(draw) FROM table_name_67 WHERE performer = "jenny newman" AND points < 77 | Which Draw has a Performer of jenny newman, and Points smaller than 77? | CREATE TABLE table_name_67 (draw INTEGER, performer VARCHAR, points VARCHAR) |
SELECT manufacturer FROM table_name_11 WHERE time = "+10.142" | Which manufacturer has a time of +10.142? | CREATE TABLE table_name_11 (manufacturer VARCHAR, time VARCHAR) |
SELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0 | Which chassis has more than 0 points and was before 1966? | CREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR) |
SELECT first FROM table_name_76 WHERE surname = "cook" | Which first's surname is Cook? | CREATE TABLE table_name_76 (first VARCHAR, surname VARCHAR) |
SELECT MAX(goals_against) FROM table_name_4 WHERE position = 15 | What is the highest goals against that has 15 as position? | CREATE TABLE table_name_4 (goals_against INTEGER, position VARCHAR) |
SELECT fleet_number FROM table_name_23 WHERE model = "orion 01.507" | What is the fleet number of Model Orion 01.507? | CREATE TABLE table_name_23 (fleet_number VARCHAR, model VARCHAR) |
SELECT tns_sofres_5_26_09 FROM table_name_82 WHERE ipsos_5_25_09 = "1%" | Which TNS-Sofres 5/26/09 has an Ipsos 5/25/09 of 1%? | CREATE TABLE table_name_82 (tns_sofres_5_26_09 VARCHAR, ipsos_5_25_09 VARCHAR) |
SELECT position FROM table_name_93 WHERE wins = "1" AND season = "2009" | What was his position in 2009 with 1 win? | CREATE TABLE table_name_93 (position VARCHAR, wins VARCHAR, season VARCHAR) |
SELECT team_a FROM table_name_35 WHERE team_c = "wilma hofschneider-david" | Who is Team A when wilma hofschneider-david is team C? | CREATE TABLE table_name_35 (team_a VARCHAR, team_c VARCHAR) |
SELECT 1947 AS _nos FROM table_name_55 WHERE br_nos = "48730-9" | Which 1947 Nos has a BR Nos of 48730-9? | CREATE TABLE table_name_55 (br_nos VARCHAR) |
SELECT location FROM table_23308178_6 WHERE record = "20-6-6" | Where was the game played when the record was 20-6-6? | CREATE TABLE table_23308178_6 (location VARCHAR, record VARCHAR) |
SELECT area__hectare_ FROM table_name_22 WHERE parish = "worth" | What is the area for Worth Parish? | CREATE TABLE table_name_22 (area__hectare_ VARCHAR, parish VARCHAR) |
SELECT first_criticality FROM table_name_3 WHERE electric_power = "1,380 mw" | Name the first citicality for electric power of 1,380 mw | CREATE TABLE table_name_3 (first_criticality VARCHAR, electric_power VARCHAR) |
SELECT MAX(year) FROM table_name_95 WHERE venue = "narbonne , france" | Name the highest Year which has a Venue of narbonne , france? | CREATE TABLE table_name_95 (year INTEGER, venue VARCHAR) |
SELECT MAX(grid) FROM table_name_94 WHERE laps = 38 | I want the highest grid for Laps of 38 | CREATE TABLE table_name_94 (grid INTEGER, laps VARCHAR) |
SELECT frequency FROM table_134987_3 WHERE format = "Christian KAWZ-FM translator" | What is the frequency for the Christian Kawz-fm Translator station? | CREATE TABLE table_134987_3 (frequency VARCHAR, format VARCHAR) |
SELECT SUM(Domestic_Passengers) FROM airport WHERE Airport_Name LIKE "%London%" | What are the total number of Domestic Passengers of airports that contain the word "London". | CREATE TABLE airport (Domestic_Passengers INTEGER, Airport_Name VARCHAR) |
SELECT SUM(game) FROM table_name_40 WHERE attendance = 18 OFFSET 690 | What sum of game has an attendance of 18,690? | CREATE TABLE table_name_40 (game INTEGER, attendance VARCHAR) |
SELECT score FROM table_name_83 WHERE date = "20/6/97" | What was the score on 20/6/97? | CREATE TABLE table_name_83 (score VARCHAR, date VARCHAR) |
SELECT MIN(price__usd_) FROM table_29778616_1 WHERE model = "PQ32MU" | What is the price (usd) for the model pq32mu? | CREATE TABLE table_29778616_1 (price__usd_ INTEGER, model VARCHAR) |
SELECT MAX(markatal) FROM table_name_69 WHERE municipality = "leirvík" AND inhabitants_per_km² > 79 | What is the highest Markatal, when Municipality is Leirvík, and when Inhabitants Per Km² is greater than 79? | CREATE TABLE table_name_69 (markatal INTEGER, municipality VARCHAR, inhabitants_per_km² VARCHAR) |
SELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = "Shanghai" | Give me the temperature of Shanghai in January. | CREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR) |
SELECT senior_us_senator FROM table_21531764_2 WHERE governor = "D. Patrick" | Who was the senior US senator in the state whose governor was D. Patrick? | CREATE TABLE table_21531764_2 (senior_us_senator VARCHAR, governor VARCHAR) |
SELECT type FROM table_1973842_1 WHERE nickname = "Spirits" | What's the type of the school whose students' name is spirits? | CREATE TABLE table_1973842_1 (type VARCHAR, nickname VARCHAR) |
SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "110" | What number episode in the series had a production code of 110? | CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR) |
SELECT game_site FROM table_name_99 WHERE attendance = "54,436" | Where was the game with the attendance of 54,436? | CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR) |
SELECT SUM(attendance) FROM table_name_44 WHERE record = "8-10" | How many people went to the game with the record of 8-10? | CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR) |
SELECT round_winner FROM table_19886463_1 WHERE entrant = "Craven Mild Racing" | Who is the round winner when entrant is craven mild racing? | CREATE TABLE table_19886463_1 (round_winner VARCHAR, entrant VARCHAR) |
SELECT MAX(rank) FROM table_name_44 WHERE player = "christy heffernan" AND matches > 4 | What is the highest rank for championships with christy heffernan with over 4 matches? | CREATE TABLE table_name_44 (rank INTEGER, player VARCHAR, matches VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.