context
stringlengths 0
489
| instruction
stringlengths 16
244
| response
stringlengths 38
557
|
---|---|---|
CREATE TABLE table_name_58 (wkts INTEGER, ovrs VARCHAR, player VARCHAR) | If Adam Voges had less than 28.5 Ovrs, what are his highest Wkts? | SELECT MAX(wkts) FROM table_name_58 WHERE ovrs < 28.5 AND player = "adam voges" |
CREATE TABLE table_name_63 (pass_def INTEGER, sacks VARCHAR, team VARCHAR, solo VARCHAR) | What is the average pass def that has green bay packers as the team, 62 as the solo and sacks less than 2? | SELECT AVG(pass_def) FROM table_name_63 WHERE team = "green bay packers" AND solo = 62 AND sacks < 2 |
CREATE TABLE table_name_1 (programming VARCHAR, operator VARCHAR) | What channel has an operator of ivptc? | SELECT programming FROM table_name_1 WHERE operator = "ivptc" |
CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, silver VARCHAR, bronze VARCHAR) | What is the lowest total metals of a team with more than 6 silver, 6 bronze, and fewer than 16 gold medals? | SELECT MIN(total) FROM table_name_77 WHERE silver > 6 AND bronze = 6 AND gold < 16 |
CREATE TABLE table_name_89 (term_ending INTEGER, name VARCHAR) | Name of xue hanqin has what highest term ending? | SELECT MAX(term_ending) FROM table_name_89 WHERE name = "xue hanqin" |
CREATE TABLE table_name_97 (year_born INTEGER, player VARCHAR, height VARCHAR) | When was radek necas with less than 2.04 height born? | SELECT AVG(year_born) FROM table_name_97 WHERE player = "radek necas" AND height < 2.04 |
CREATE TABLE table_name_84 (away_captain VARCHAR, venue VARCHAR) | Who was the captain of the away team at Adelaide Oval? | SELECT away_captain FROM table_name_84 WHERE venue = "adelaide oval" |
CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR) | what country is john nielsen from | SELECT country FROM table_name_10 WHERE driver = "john nielsen" |
CREATE TABLE table_name_68 (propulsion VARCHAR, order_year VARCHAR, manufacturer VARCHAR) | What is the Propulsion for the model offered in 2003-2004 by neoplan usa? | SELECT propulsion FROM table_name_68 WHERE order_year = "2003-2004" AND manufacturer = "neoplan usa" |
CREATE TABLE table_name_14 (score VARCHAR, city VARCHAR) | What was the final score of the player from Inglewood, California? | SELECT score FROM table_name_14 WHERE city = "inglewood, california" |
CREATE TABLE table_name_98 (previous_champion_s_ VARCHAR, date_won VARCHAR) | Who was the previous champion of the title won on July 7, 2010? | SELECT previous_champion_s_ FROM table_name_98 WHERE date_won = "july 7, 2010" |
CREATE TABLE table_name_68 (founded INTEGER, club VARCHAR, titles VARCHAR) | Which Founded has a Club of tri-city storm and a Titles larger than 1? | SELECT SUM(founded) FROM table_name_68 WHERE club = "tri-city storm" AND titles > 1 |
CREATE TABLE table_name_14 (founded INTEGER, league VARCHAR, club VARCHAR) | Which Founded has a League of women's flat track derby association, and a Club of omaha rollergirls? | SELECT AVG(founded) FROM table_name_14 WHERE league = "women's flat track derby association" AND club = "omaha rollergirls" |
CREATE TABLE table_name_94 (score VARCHAR, competition VARCHAR, date VARCHAR) | What was the score at Bernardo O'Higgins Cup on May 7, 1961? | SELECT score FROM table_name_94 WHERE competition = "bernardo o'higgins cup" AND date = "may 7, 1961" |
CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) | What grid has an average time of +22.505 and laps larger than 23? | SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23 |
CREATE TABLE table_name_12 (dist__f_ INTEGER, jockey VARCHAR, runners VARCHAR) | What is the total dist with Johnny Murtagh and less than 26 runners? | SELECT SUM(dist__f_) FROM table_name_12 WHERE jockey = "johnny murtagh" AND runners < 26 |
CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR) | What was the score when Mark parterned with lorenzo manta? | SELECT score FROM table_name_19 WHERE partner = "lorenzo manta" |
CREATE TABLE table_name_39 (place VARCHAR, country VARCHAR, to_par VARCHAR) | What place in the United States has a To par of e? | SELECT place FROM table_name_39 WHERE country = "united states" AND to_par = "e" |
CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR) | Where did the Bruins play Iowa State? | SELECT location FROM table_name_58 WHERE opponent = "iowa state" |
CREATE TABLE table_name_44 (attendance VARCHAR, date VARCHAR) | How many people attended the game on May 10? | SELECT COUNT(attendance) FROM table_name_44 WHERE date = "may 10" |
CREATE TABLE table_name_13 (goals_against VARCHAR, goals_for VARCHAR, goal_difference VARCHAR, wins VARCHAR) | How many "goals against" were scored at the club that had a "goal difference" of 0, 12 wins, and more than 44 goals? | SELECT COUNT(goals_against) FROM table_name_13 WHERE goal_difference = 0 AND wins = 12 AND goals_for > 44 |
CREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR) | Which Round is the average one that has a Pick # larger than 26, and a Position of defensive back? | SELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = "defensive back" |
CREATE TABLE table_name_29 (sport VARCHAR, nation_represented VARCHAR) | Which sport did the United States win? | SELECT sport FROM table_name_29 WHERE nation_represented = "united states" |
CREATE TABLE table_name_54 (population INTEGER, median_household_income VARCHAR, number_of_households VARCHAR) | Median household income of $40,340, and a Number of households smaller than 64,767 is what average population? | SELECT AVG(population) FROM table_name_54 WHERE median_household_income = "$40,340" AND number_of_households < 64 OFFSET 767 |
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR) | What was the date of the Arden Street Oval game? | SELECT date FROM table_name_59 WHERE venue = "arden street oval" |
CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR) | What was the area in Glenella with a population of 522 in 2011? | SELECT AVG(area__km²_) FROM table_name_24 WHERE name = "glenella" AND population__2011_ < 522 |
CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR) | How many US events did jason bennett win? | SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett" |
CREATE TABLE table_name_10 (points INTEGER, games VARCHAR, tied VARCHAR, goals_for VARCHAR) | What is the highest number of points scored when Acadie-Bathurst had 4 tied games, less than 257 goals, and over 72 games played? | SELECT MAX(points) FROM table_name_10 WHERE tied = "4" AND goals_for < 257 AND games > 72 |
CREATE TABLE table_name_22 (played VARCHAR, lost VARCHAR, first_game VARCHAR, percentage VARCHAR) | What is the total number of games played that correlates with a first game in 1991, a percentage of 22.22%, and less than 7 losses? | SELECT COUNT(played) FROM table_name_22 WHERE first_game = 1991 AND percentage = "22.22%" AND lost > 7 |
CREATE TABLE table_name_86 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, specification VARCHAR, gender VARCHAR) | Which University students and adults have minimum diameter of Sakigawa for female gender? | SELECT university_students_and_adults__18yrs + _ FROM table_name_86 WHERE specification = "minimum diameter of sakigawa" AND gender = "female" |
CREATE TABLE table_name_19 (gender VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) | Which gender is associated with University students and adults of 25mm? | SELECT gender FROM table_name_19 WHERE university_students_and_adults__18yrs + _ = "25mm" |
CREATE TABLE table_name_57 (university_students_and_adults__18yrs VARCHAR, _ VARCHAR, gender VARCHAR, specification VARCHAR) | What value for university students and adult goes with male gender for minimum weight? | SELECT university_students_and_adults__18yrs + _ FROM table_name_57 WHERE gender = "male" AND specification = "minimum weight" |
CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR) | What type of song is larger than 8 and named 實情? | SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情" |
CREATE TABLE table_name_21 (start VARCHAR, finish INTEGER) | Name the total number of start when finish is less than 4 | SELECT COUNT(start) FROM table_name_21 WHERE finish < 4 |
CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR) | What is the name of the minister from the party of minister for community safety and legal affairs? | SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs" |
CREATE TABLE table_name_3 (round INTEGER, name VARCHAR, pick__number VARCHAR) | What is the least round number for Jon Olinger, who was picked before pick # 24? | SELECT MIN(round) FROM table_name_3 WHERE name = "jon olinger" AND pick__number < 24 |
CREATE TABLE table_name_73 (year VARCHAR, league VARCHAR, malaysia_cup VARCHAR) | What year was the League the malaysian super league, and a Malaysia Cup of group stage? | SELECT year FROM table_name_73 WHERE league = "malaysian super league" AND malaysia_cup = "group stage" |
CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR) | What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184? | SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184 |
CREATE TABLE table_name_48 (roll INTEGER, area VARCHAR, authority VARCHAR) | tell me the average roll for the featherston area and integrated authority. | SELECT AVG(roll) FROM table_name_48 WHERE area = "featherston" AND authority = "integrated" |
CREATE TABLE table_name_90 (decile VARCHAR, roll VARCHAR) | tell me the total number of decile with a roll showing 251. | SELECT COUNT(decile) FROM table_name_90 WHERE roll = 251 |
CREATE TABLE table_name_56 (gross_mw VARCHAR, operation_start VARCHAR) | Operation start of 2015 has what gross mw? | SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015" |
CREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR) | What week did the Jets play in the meadowlands with and attendance of 78,161? | SELECT SUM(week) FROM table_name_13 WHERE game_site = "the meadowlands" AND attendance = "78,161" |
CREATE TABLE table_name_82 (county VARCHAR, rank VARCHAR, _percentage__1960_ VARCHAR, _percentage__2040_ VARCHAR, _percentage__2000_ VARCHAR) | Which county has a % (2040) larger than 1.8, a % (2000) smaller than 4.1, a % (1960) smaller than 3.2, and is ranked 13? | SELECT county FROM table_name_82 WHERE _percentage__2040_ > 1.8 AND _percentage__2000_ < 4.1 AND _percentage__1960_ < 3.2 AND rank = "13" |
CREATE TABLE table_name_65 (representative VARCHAR, appointed_by VARCHAR, presentation_of_credentials VARCHAR) | Name the representative appointed by george w. bush with presentation of credentials 9 november 2007 | SELECT representative FROM table_name_65 WHERE appointed_by = "george w. bush" AND presentation_of_credentials = "9 november 2007" |
CREATE TABLE table_name_2 (ends_lost INTEGER, ends_won VARCHAR, stolen_ends VARCHAR, shot_pct VARCHAR, blank_ends VARCHAR) | What's the highest Ends Lost with a shot % greater than 77, 11 blank ends, 7 stolen ends, and more than 44 ends one? | SELECT MAX(ends_lost) FROM table_name_2 WHERE shot_pct > 77 AND blank_ends = 11 AND stolen_ends = 7 AND ends_won > 44 |
CREATE TABLE table_name_67 (whenbuilt VARCHAR, name VARCHAR, builder VARCHAR, withdrawn VARCHAR) | What is the whenbuilt of the Brighton built Blandford Forum with a withdrawn of september 1964? | SELECT whenbuilt FROM table_name_67 WHERE builder = "brighton" AND withdrawn = "september 1964" AND name = "blandford forum" |
CREATE TABLE table_name_54 (year VARCHAR, stages VARCHAR) | What year was stage 8 reached? | SELECT year FROM table_name_54 WHERE stages = "8" |
CREATE TABLE table_name_92 (highest_score INTEGER, lowest_score VARCHAR, worst_dancer_s_ VARCHAR, best_dancer_s_ VARCHAR) | What is the lowest score in the Highest score column when Master P was the Worst dancer(s), Drew Lachey was the Best dancer(s), and the Lowest score was under 8? | SELECT MIN(highest_score) FROM table_name_92 WHERE worst_dancer_s_ = "master p" AND best_dancer_s_ = "drew lachey" AND lowest_score < 8 |
CREATE TABLE table_name_27 (year_of_most_recent_appearance INTEGER, year_of_first_appearance VARCHAR, corps_name VARCHAR) | What is the average year of the most recent appearance of the Boston Crusaders, who had their first appearance after 1976? | SELECT AVG(year_of_most_recent_appearance) FROM table_name_27 WHERE year_of_first_appearance > 1976 AND corps_name = "boston crusaders" |
CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | On what date did the match against Flavio Cipolla, played on a clay surface, occur? | SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla" |
CREATE TABLE table_name_72 (academic_ VARCHAR, _university_affairs VARCHAR, local_affairs VARCHAR) | Who was in Academic & University Affairs when Andrew Langille was in local affairs? | SELECT academic_ & _university_affairs FROM table_name_72 WHERE local_affairs = "andrew langille" |
CREATE TABLE table_name_59 (melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no? | SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes" |
CREATE TABLE table_name_73 (team VARCHAR, rank VARCHAR) | What team has rank 3? | SELECT team FROM table_name_73 WHERE rank = 3 |
CREATE TABLE table_name_47 (sydney VARCHAR, auckland VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) | Which Syndney's Gold coast, Adelaide, Melbourne, and Auckland were all no? | SELECT sydney FROM table_name_47 WHERE gold_coast = "no" AND adelaide = "no" AND melbourne = "no" AND auckland = "no" |
CREATE TABLE table_name_87 (_number_100 INTEGER, season VARCHAR, against VARCHAR) | Which # 100 has a Season of 1991, and an Against of surrey? | SELECT MAX(_number_100) FROM table_name_87 WHERE season = "1991" AND against = "surrey" |
CREATE TABLE table_name_3 (distance VARCHAR, course VARCHAR) | Name the distance for Course of vittorio veneto to marina romea | SELECT distance FROM table_name_3 WHERE course = "vittorio veneto to marina romea" |
CREATE TABLE table_name_33 (_number_100 INTEGER, season VARCHAR, against VARCHAR) | Which sum of # 100 has a Season of 1990, and an Against of warwickshire? | SELECT SUM(_number_100) FROM table_name_33 WHERE season = "1990" AND against = "warwickshire" |
CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR) | What is the score of the away team when the home team is Essendon? | SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon" |
CREATE TABLE table_name_81 (website VARCHAR, webcast VARCHAR, frequency VARCHAR) | What's the website for the Listen Live webcast on the 99.3 frequency? | SELECT website FROM table_name_81 WHERE webcast = "listen live" AND frequency = 99.3 |
CREATE TABLE table_name_14 (date VARCHAR, to_par VARCHAR, tournament VARCHAR, margin_of_victory VARCHAR) | Which Date has a Tournament of at&t pebble beach national pro-am, and a Margin of victory of 1 stroke, and a To par of –11? | SELECT date FROM table_name_14 WHERE tournament = "at&t pebble beach national pro-am" AND margin_of_victory = "1 stroke" AND to_par = "–11" |
CREATE TABLE table_name_7 (debt_as__percentage_of_value INTEGER, _percentage_change_on_year VARCHAR, operating_income__$m_ VARCHAR) | Name the average debt as % of value for operating income more than -16 and % change on year being 62 | SELECT AVG(debt_as__percentage_of_value) FROM table_name_7 WHERE _percentage_change_on_year = "62" AND operating_income__$m_ > -16 |
CREATE TABLE table_name_21 (revenue__ VARCHAR, operating_income__$m_ VARCHAR, country VARCHAR, team VARCHAR) | Name the total number of revenue for italy with team of internazionale with operating income less than 27 | SELECT COUNT(revenue__) AS $m_ FROM table_name_21 WHERE country = "italy" AND team = "internazionale" AND operating_income__$m_ < 27 |
CREATE TABLE table_name_92 (revenue__ INTEGER, debt_as__percentage_of_value VARCHAR, operating_income__$m_ VARCHAR, team VARCHAR) | Name the most revenue for operating income more than 27 for hamburg and debt as % of value less than 0 | SELECT MAX(revenue__) AS $m_ FROM table_name_92 WHERE operating_income__$m_ > 27 AND team = "hamburg" AND debt_as__percentage_of_value < 0 |
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) | What is the home team score when the away team is Essendon? | SELECT home_team AS score FROM table_name_77 WHERE away_team = "essendon" |
CREATE TABLE table_name_30 (to_par VARCHAR, money___£__ VARCHAR, country VARCHAR) | Name the to par with money of 200,000 for australia | SELECT to_par FROM table_name_30 WHERE money___£__ = "200,000" AND country = "australia" |
CREATE TABLE table_name_94 (population__hervey_bay_ VARCHAR, population__woocoo_ VARCHAR, population__maryborough_ VARCHAR) | Name the total number of population hervey bay with population woocoo less than 640 and population of maryborough less than 19,257 | SELECT COUNT(population__hervey_bay_) FROM table_name_94 WHERE population__woocoo_ < 640 AND population__maryborough_ < 19 OFFSET 257 |
CREATE TABLE table_name_36 (january INTEGER, record VARCHAR, game VARCHAR) | What was the sum of January values with a record of 27-12-3 for a game less than 42? | SELECT SUM(january) FROM table_name_36 WHERE record = "27-12-3" AND game < 42 |
CREATE TABLE table_name_30 (january VARCHAR, opponent VARCHAR) | What is the number in January for Philadelphia Flyers as opponents? | SELECT COUNT(january) FROM table_name_30 WHERE opponent = "philadelphia flyers" |
CREATE TABLE table_name_58 (position VARCHAR, appearances VARCHAR, leeds_career VARCHAR) | What position does the player who has made 244 appearances with a Leeds career of 1981–1989 play? | SELECT position FROM table_name_58 WHERE appearances = 244 AND leeds_career = "1981–1989" |
CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR) | What is the first year that Mario Lemieux from Canada won playing center? | SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" |
CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR) | What is the maximum memory of the model that has a standard memory of 16 mb? | SELECT maximum_memory FROM table_name_10 WHERE standard_memory = "16 mb" |
CREATE TABLE table_name_60 (venue VARCHAR, competition VARCHAR, result VARCHAR, score VARCHAR) | What is the venue when the result is 2-0, and the score is 1 goal, and the competition is 1980 afc asian cup? | SELECT venue FROM table_name_60 WHERE result = "2-0" AND score = "1 goal" AND competition = "1980 afc asian cup" |
CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) | What was the smallest crowd size at a home game for Footscray? | SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "footscray" |
CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) | What year had the Chassis of march 762 and more than 0 points? | SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0 |
CREATE TABLE table_name_74 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR) | What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps? | SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = "ktm" AND laps > 20 |
CREATE TABLE table_name_46 (record VARCHAR, game_site VARCHAR) | What is the record when the game was played at raymond james stadium? | SELECT record FROM table_name_46 WHERE game_site = "raymond james stadium" |
CREATE TABLE table_name_30 (kickoff VARCHAR, date VARCHAR) | What is the kickoff for the game on october 22, 2000? | SELECT kickoff FROM table_name_30 WHERE date = "october 22, 2000" |
CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR) | Which language is used by the optimum TV service that shows cricket and is based in the United States? | SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket" |
CREATE TABLE table_name_11 (origin_of_programming VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR, language VARCHAR) | What is the origin of the Malayalam Dish Service that shows general programming on the Asianet Plus network? | SELECT origin_of_programming FROM table_name_11 WHERE service = "dish" AND language = "malayalam" AND genre = "general" AND network = "asianet plus" |
CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) | What is the average grid number with a ferrari and a time or retired time of 1:32:35.101? | SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101" |
CREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR) | Which Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867? | SELECT type FROM table_name_46 WHERE date < 1943 AND builder = "alco schenectady" AND number > 822 AND works_number = 59867 |
CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER) | What is the sum of bronze when silver is greater than 3? | SELECT SUM(bronze) FROM table_name_45 WHERE silver > 3 |
CREATE TABLE table_name_54 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | What is the average total when gold is 0, bronze is 0, and silver is smaller than 1? | SELECT AVG(total) FROM table_name_54 WHERE gold = 0 AND bronze = 0 AND silver < 1 |
CREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR) | In episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ? | SELECT MAX(money_requested__) AS £_ FROM table_name_24 WHERE episode = "episode 7" AND entrepreneur_s_ = "jerry mantalvanos & paul merker" |
CREATE TABLE table_name_59 (money_requested__£_ VARCHAR, company_or_product_name VARCHAR) | How much money did reestore request ? | SELECT money_requested__£_ FROM table_name_59 WHERE company_or_product_name = "reestore" |
CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR) | Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994? | SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "hard" AND date = "april 17, 1994" |
CREATE TABLE table_name_80 (race VARCHAR, date VARCHAR, place VARCHAR, season VARCHAR) | Which race resulted in 2nd place in the 1996 season on 20-Jan-1996? | SELECT race FROM table_name_80 WHERE place = "2nd" AND season = 1996 AND date = "20-jan-1996" |
CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR) | What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29? | SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29" |
CREATE TABLE table_name_32 (pick__number INTEGER, name VARCHAR, round VARCHAR) | Which Pick # is the highest one that has a Name of william middleton, and a Round larger than 5? | SELECT MAX(pick__number) FROM table_name_32 WHERE name = "william middleton" AND round > 5 |
CREATE TABLE table_name_84 (total VARCHAR, tally VARCHAR, matches VARCHAR) | What are the total number of matches smaller than 2 with a tally of 1-19? | SELECT COUNT(total) FROM table_name_84 WHERE tally = "1-19" AND matches < 2 |
CREATE TABLE table_name_86 (pick__number INTEGER, name VARCHAR, round VARCHAR) | Which Pick # is the highest one that has a Name of lawrence sidbury, and a Round smaller than 4? | SELECT MAX(pick__number) FROM table_name_86 WHERE name = "lawrence sidbury" AND round < 4 |
CREATE TABLE table_name_52 (being__qualities_ VARCHAR, having__things_ VARCHAR) | Name the being for having things of language, religions, work, customs, values, norms? | SELECT being__qualities_ FROM table_name_52 WHERE having__things_ = "language, religions, work, customs, values, norms" |
CREATE TABLE table_name_53 (winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR) | Which winning driver of the Roussillon Grand Prix had an Alfa Romeo? | SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix" |
CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR) | Name the interacting settings for co-operate, plan, take care of, help | SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help" |
CREATE TABLE table_name_85 (record VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR) | What was the oilers record for the game on November 27 when the Edmonton oilers were playing at home and the Chicago Blackhawks were the visiting team? | SELECT record FROM table_name_85 WHERE home = "edmonton oilers" AND visitor = "chicago blackhawks" AND date = "november 27" |
CREATE TABLE table_name_95 (lead VARCHAR, institute VARCHAR, social_democratic VARCHAR) | Name the lead for institute of election results and social democratic of 31.7% 8 seats | SELECT lead FROM table_name_95 WHERE institute = "election results" AND social_democratic = "31.7% 8 seats" |
CREATE TABLE table_name_3 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin? | SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin" |
CREATE TABLE table_name_3 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) | What district is James Humphrey from who was first elected in 1858 and was eventually defeated democratic gain? | SELECT district FROM table_name_3 WHERE first_elected = 1858 AND result = "defeated democratic gain" AND incumbent = "james humphrey" |
CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | What date was the surface hard and Eva Hrdinová was the opponent? | SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" |
CREATE TABLE table_name_13 (year_left INTEGER, school VARCHAR, year_joined VARCHAR) | Which Year Left is the lowest one that has a School of calumet, and a Year Joined larger than 1993? | SELECT MIN(year_left) FROM table_name_13 WHERE school = "calumet" AND year_joined > 1993 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.