output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT date FROM table_name_98 WHERE loss = "gott (2-7)" | CREATE TABLE table_name_98 (date VARCHAR, loss VARCHAR), What was the date of the game that had a loss of Gott (2-7)? |
SELECT opponent FROM table_name_13 WHERE record = "54-58" | CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR), Who was the opponent at the game when the record was 54-58? |
SELECT score FROM table_name_77 WHERE record = "59-65" | CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR), What was the score of the game when the record was 59-65? |
SELECT opponent FROM table_name_35 WHERE loss = "caldwell (10-11)" | CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR), Who was the opponent at the game that had a loss of Caldwell (10-11)? |
SELECT opponent FROM table_name_1 WHERE time = "1:26" | CREATE TABLE table_name_1 (opponent VARCHAR, time VARCHAR), Which opponent had a time of 1:26? |
SELECT date FROM table_name_77 WHERE opponent = "royals" AND record = "18-12" | CREATE TABLE table_name_77 (date VARCHAR, opponent VARCHAR, record VARCHAR), What was the date of the game with the Kansas City Royals when the Blue Jays record was 18-12? |
SELECT catalogue FROM table_name_33 WHERE region = "uk" AND format = "vinyl" AND date = "1986" | CREATE TABLE table_name_33 (catalogue VARCHAR, date VARCHAR, region VARCHAR, format VARCHAR), Which catalogue is from the UK region, and is on vinyl, and was dated in 1986? |
SELECT region FROM table_name_82 WHERE label = "bronze" AND catalogue = "202 876-270" | CREATE TABLE table_name_82 (region VARCHAR, label VARCHAR, catalogue VARCHAR), What region has a bronze label and a catalogue of 202 876-270? |
SELECT label FROM table_name_52 WHERE region = "germany" | CREATE TABLE table_name_52 (label VARCHAR, region VARCHAR), Which label is from the Germany region? |
SELECT label FROM table_name_31 WHERE catalogue = "brol 34531" | CREATE TABLE table_name_31 (label VARCHAR, catalogue VARCHAR), What label has brol 34531 as it's catalogue? |
SELECT label FROM table_name_61 WHERE region = "uk" AND date = "1986" AND format = "cd" | CREATE TABLE table_name_61 (label VARCHAR, format VARCHAR, region VARCHAR, date VARCHAR), Which label has UK for its region, is on a CD, and is dated from 1986? |
SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music" | CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR), Which catalogue has essential, castle music as it's label? |
SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock" | CREATE TABLE table_name_83 (period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR), What's the period of a rock album released in 1973? |
SELECT pick__number FROM table_name_15 WHERE name = "bill atessis" | CREATE TABLE table_name_15 (pick__number VARCHAR, name VARCHAR), Name the pick number for bill atessis |
SELECT COUNT(overall) FROM table_name_6 WHERE position = "defensive tackle" | CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR), Name the total number of overall for defensive tackle |
SELECT engine FROM table_name_7 WHERE entrant = "daimler benz ag" | CREATE TABLE table_name_7 (engine VARCHAR, entrant VARCHAR), Which engine has daimler benz ag as an entrant? |
SELECT year_s__won FROM table_name_86 WHERE to_par = "+6" | CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR), In which years was the to par +6? |
SELECT MIN(total) FROM table_name_31 WHERE year_s__won = "1991" | CREATE TABLE table_name_31 (total INTEGER, year_s__won VARCHAR), In 1991, what was the lowest total? |
SELECT SUM(lane) FROM table_name_11 WHERE rank > 22 | CREATE TABLE table_name_11 (lane INTEGER, rank INTEGER), What are the total lanes that have a rank larger than 22? |
SELECT name FROM table_name_55 WHERE rank > 2 AND lane = 1 AND nationality = "hong kong" | CREATE TABLE table_name_55 (name VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR), Which one has a rank bigger than 2, lane of 1, and is from Hong Kong? |
SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 3 | CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR), What rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? |
SELECT SUM(losses) FROM table_name_9 WHERE manager = "jim hoff" AND wins < 12 | CREATE TABLE table_name_9 (losses INTEGER, manager VARCHAR, wins VARCHAR), What was Jim Hoff's sum of losses and a wins smaller than 12? |
SELECT AVG(wins) FROM table_name_42 WHERE years = "1978" AND games < 141 | CREATE TABLE table_name_42 (wins INTEGER, years VARCHAR, games VARCHAR), What was the average of games that were one in 1978 that were smaller than 141? |
SELECT SUM(games) FROM table_name_80 WHERE manager = "richie hebner" AND wins < 34 | CREATE TABLE table_name_80 (games INTEGER, manager VARCHAR, wins VARCHAR), What was the sum of Richie Hebner winning games that were smaller 34? |
SELECT AVG(wins) FROM table_name_91 WHERE games < 3 AND manager = "george scherger" AND losses < 1 | CREATE TABLE table_name_91 (wins INTEGER, losses VARCHAR, games VARCHAR, manager VARCHAR), What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1? |
SELECT date FROM table_name_53 WHERE race = "golden slipper" | CREATE TABLE table_name_53 (date VARCHAR, race VARCHAR), When was the golden slipper race? |
SELECT race FROM table_name_78 WHERE weight__kg_ < 55.5 | CREATE TABLE table_name_78 (race VARCHAR, weight__kg_ INTEGER), In which races did the jockey weigh less than 55.5 kg? |
SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes" | CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR), What was the result of the Todman stakes race at rosehill? |
SELECT country FROM table_name_80 WHERE player = "ky laffoon" | CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR), What Country has Player Ky Laffoon? |
SELECT player FROM table_name_24 WHERE country = "united states" AND money___$__ = 356 | CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, money___$__ VARCHAR), What Player is from the Country United States and Money ($) of 356? |
SELECT player FROM table_name_10 WHERE to_par = "+1" AND score = 75 - 70 - 71 - 73 = 289 | CREATE TABLE table_name_10 (player VARCHAR, to_par VARCHAR, score VARCHAR), What Player has a To par of +1 and the Score 75-70-71-73=289? |
SELECT outcome FROM table_name_73 WHERE tournament = "rome 2, italy" | CREATE TABLE table_name_73 (outcome VARCHAR, tournament VARCHAR), What was the outcome for the Rome 2, Italy tournament? |
SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb" | CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR), What was the outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? |
SELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 3 | CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR), How many golds have a Total of 11, and a Bronze smaller than 3? |
SELECT SUM(gold) FROM table_name_34 WHERE bronze = 0 AND total > 1 AND nation = "chad" AND silver > 0 | CREATE TABLE table_name_34 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR), How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0? |
SELECT MIN(silver) FROM table_name_7 WHERE gold = 1 AND nation = "lithuania" | CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, nation VARCHAR), What is the smallest silver with a Gold of 1, and a Nation of lithuania? |
SELECT COUNT(bronze) FROM table_name_62 WHERE gold > 1 AND rank = 2 AND silver < 12 | CREATE TABLE table_name_62 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR), What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? |
SELECT visiting_team FROM table_name_59 WHERE date = "december 23" | CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR), Which Visiting Team is on december 23? |
SELECT host_team FROM table_name_86 WHERE final_score = "42-23" | CREATE TABLE table_name_86 (host_team VARCHAR, final_score VARCHAR), Which Host Team has Final Score of 42-23? |
SELECT date FROM table_name_64 WHERE final_score = "31-7" | CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR), When did Final Score of 31-7 happen? |
SELECT 2010 FROM table_name_74 WHERE 2011 = "grand slam tournaments" | CREATE TABLE table_name_74 (Id VARCHAR), Which Tournament in 2010 also has Grand Slam tournaments in 2011 |
SELECT AVG(attendance) FROM table_name_81 WHERE opponent = "new york mets" AND record = "51-33" | CREATE TABLE table_name_81 (attendance INTEGER, opponent VARCHAR, record VARCHAR), What was the average attendance when the New York Mets were opponents with a record of 51-33? |
SELECT visiting_team FROM table_name_36 WHERE date = "october 18" | CREATE TABLE table_name_36 (visiting_team VARCHAR, date VARCHAR), What visiting team played on October 18? |
SELECT visiting_team FROM table_name_49 WHERE stadium = "3com park" AND date = "october 7" | CREATE TABLE table_name_49 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR), What visiting team played at 3com park on October 7? |
SELECT host_team FROM table_name_55 WHERE final_score = "13-10" | CREATE TABLE table_name_55 (host_team VARCHAR, final_score VARCHAR), Which host team won on a final scoreline of 13-10? |
SELECT stadium FROM table_name_30 WHERE final_score = "27-34" | CREATE TABLE table_name_30 (stadium VARCHAR, final_score VARCHAR), In what stadium did a game result in a final scoreline reading 27-34? |
SELECT visiting_team FROM table_name_92 WHERE host_team = "jacksonville jaguars" | CREATE TABLE table_name_92 (visiting_team VARCHAR, host_team VARCHAR), In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team? |
SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40" | CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR), Which visiting team wound up with a final score of 18-40? |
SELECT SUM(attendance) FROM table_name_30 WHERE week = 16 | CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR), Name the sum of attendacne for 16 weeks |
SELECT result FROM table_name_25 WHERE week < 7 AND game_site = "los angeles memorial coliseum" | CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, game_site VARCHAR), Name the result for week less than 7 and game sites of los angeles memorial coliseum |
SELECT result FROM table_name_14 WHERE week = 7 | CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR), Name the result for week 7 |
SELECT COUNT(loss) FROM table_name_97 WHERE avg_g = "3.6" AND gain > 51 | CREATE TABLE table_name_97 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR), How many yards lost by the player with more gained than 51 and average/g of 3.6? |
SELECT SUM(gain) FROM table_name_43 WHERE avg_g = "26.8" AND loss < 13 | CREATE TABLE table_name_43 (gain INTEGER, avg_g VARCHAR, loss VARCHAR), What are the gains for the player with average of 26.8 and lost yard fewer than 13? |
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla" | CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR), When did Mathieu play against Flavio Cipolla? |
SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–2" | CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR), Which tournament had a final score of 6–3, 6–2? |
SELECT surface FROM table_name_84 WHERE opponent_in_the_final = "antonio veić" | CREATE TABLE table_name_84 (surface VARCHAR, opponent_in_the_final VARCHAR), On which surface did Mathieu play against Antonio Veić? |
SELECT date FROM table_name_60 WHERE opponent_in_the_final = "antonio veić" | CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR), When did Mathieu play against Antonio Veić? |
SELECT date FROM table_name_7 WHERE opponent_in_the_final = "andrey golubev" | CREATE TABLE table_name_7 (date VARCHAR, opponent_in_the_final VARCHAR), When did Mathieu play against Andrey Golubev? |
SELECT park FROM table_name_48 WHERE opened = "1999" | CREATE TABLE table_name_48 (park VARCHAR, opened VARCHAR), What park opened in 1999? |
SELECT record FROM table_name_39 WHERE home = "detroit" AND decision = "denis" | CREATE TABLE table_name_39 (record VARCHAR, home VARCHAR, decision VARCHAR), Name the record for detroit and decision of denis |
SELECT AVG(attendance) FROM table_name_78 WHERE visitor = "dallas" | CREATE TABLE table_name_78 (attendance INTEGER, visitor VARCHAR), Name the average attendance with dallas visitor |
SELECT to_par FROM table_name_29 WHERE player = "tom kite" | CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR), How close to par was Tom Kite when he played? |
SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143 | CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR), Which of the countries showed a score of 71-72=143? |
SELECT country FROM table_name_44 WHERE place = "t9" AND score = 72 - 72 = 144 AND player = "tom watson" | CREATE TABLE table_name_44 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR), Which country watch Tom Watson at t9 score 72-72=144? |
SELECT score FROM table_name_97 WHERE to_par = "e" | CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR), What was the final score when the player was an e to par? |
SELECT team FROM table_name_7 WHERE attempts = "307" | CREATE TABLE table_name_7 (team VARCHAR, attempts VARCHAR), What is the name of the team that has 307 attempts? |
SELECT team FROM table_name_8 WHERE attempts = "1,317" | CREATE TABLE table_name_8 (team VARCHAR, attempts VARCHAR), What is the name of the team that has 1,317 attempts? |
SELECT year FROM table_name_68 WHERE yards = "2,242" | CREATE TABLE table_name_68 (year VARCHAR, yards VARCHAR), What year was 2,242 yards achieved? |
SELECT team FROM table_name_16 WHERE completion__percentage = "59.8%" | CREATE TABLE table_name_16 (team VARCHAR, completion__percentage VARCHAR), Which team has a 59.8% completion rate? |
SELECT COUNT(year) FROM table_name_31 WHERE engine = "maserati straight-6" | CREATE TABLE table_name_31 (year VARCHAR, engine VARCHAR), Which year has has a Engine of maserati straight-6? |
SELECT points FROM table_name_91 WHERE chassis = "lancia d50" AND year = 1954 | CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR), What is the Point of Chassis of Lancia d50 in 1954 |
SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412 | CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR), What is the match total for a score over 299 and under 412 innings? |
SELECT MAX(runs) FROM table_name_96 WHERE high_score = "385" AND innings < 407 | CREATE TABLE table_name_96 (runs INTEGER, high_score VARCHAR, innings VARCHAR), What is the high run total associated with a high score of 385 and under 407 innings? |
SELECT team_1 FROM table_name_46 WHERE team_2 = "union douala" | CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR), What Team 1 has union douala as Team 2? |
SELECT score FROM table_name_91 WHERE loss = "cerutti (0-1)" | CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR), What was the score of the game that had a loss of Cerutti (0-1)? |
SELECT opponent FROM table_name_73 WHERE record = "93-54" | CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR), Who was the opponent at the game that had a record of 93-54? |
SELECT COUNT(to_par) FROM table_name_37 WHERE total > 156 | CREATE TABLE table_name_37 (to_par VARCHAR, total INTEGER), What was the score to par for 156 strokes? |
SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer" | CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR), How many strokes for arnold palmer with a to par of greater than 9? |
SELECT to_par FROM table_name_74 WHERE year_s__won = "1960" | CREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR), What was the score to par in 1960? |
SELECT MIN(first_game) FROM table_name_78 WHERE lost = 7 AND drawn < 0 | CREATE TABLE table_name_78 (first_game INTEGER, lost VARCHAR, drawn VARCHAR), What is the earliest first game for a rugby team that has 7 lost games and 0 draws? |
SELECT SUM(played) FROM table_name_55 WHERE percentage = "0.00%" AND drawn < 0 | CREATE TABLE table_name_55 (played INTEGER, percentage VARCHAR, drawn VARCHAR), How many games were played by a team that won 0.00% of their games and 0 draws? |
SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears" | CREATE TABLE table_name_61 (team VARCHAR), Name the 1st match for brisbane bears |
SELECT lost FROM table_name_66 WHERE matches = "1 928" | CREATE TABLE table_name_66 (lost VARCHAR, matches VARCHAR), Name the lost for matches of 1 928 |
SELECT lost FROM table_name_64 WHERE _percentage_won = "55.37" | CREATE TABLE table_name_64 (lost VARCHAR, _percentage_won VARCHAR), Name the lost for % won of 55.37 |
SELECT matches FROM table_name_11 WHERE team = "gold coast" | CREATE TABLE table_name_11 (matches VARCHAR, team VARCHAR), Name the matches for gold coast |
SELECT lost FROM table_name_46 WHERE _percentage_won = "55.37" | CREATE TABLE table_name_46 (lost VARCHAR, _percentage_won VARCHAR), Name the lost for % won of 55.37 |
SELECT year FROM table_name_99 WHERE cable = "4.6%" | CREATE TABLE table_name_99 (year VARCHAR, cable VARCHAR), What is the year when cable was 4.6%? |
SELECT other FROM table_name_54 WHERE year = "2012" | CREATE TABLE table_name_54 (other VARCHAR, year VARCHAR), What is the other for 2012? |
SELECT xdsl FROM table_name_1 WHERE other = "0.6%" AND fttx = "35.4%" | CREATE TABLE table_name_1 (xdsl VARCHAR, other VARCHAR, fttx VARCHAR), What is the xDSL for the other of 0.6% and FTTx of 35.4%? |
SELECT other FROM table_name_15 WHERE xdsl = "78.2%" | CREATE TABLE table_name_15 (other VARCHAR, xdsl VARCHAR), What is the other for a 78.2% xDSL? |
SELECT xdsl FROM table_name_55 WHERE other = "0.6%" AND year = "2010" | CREATE TABLE table_name_55 (xdsl VARCHAR, other VARCHAR, year VARCHAR), What is the xDSL in 2010 when the other was 0.6%? |
SELECT date FROM table_name_23 WHERE result = "won" AND score = "1-0" | CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR, score VARCHAR), Which date has a Result of won, and a Score of 1-0? |
SELECT result FROM table_name_86 WHERE date = "november 2, 2007" | CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR), Which result has a Date of november 2, 2007? |
SELECT competition FROM table_name_7 WHERE score = "2-0" | CREATE TABLE table_name_7 (competition VARCHAR, score VARCHAR), Which Competition has a Score of 2-0? |
SELECT venue FROM table_name_51 WHERE date = "january 9, 2011" | CREATE TABLE table_name_51 (venue VARCHAR, date VARCHAR), Which Venue has a Date of january 9, 2011? |
SELECT termination_of_mission FROM table_name_58 WHERE presentation_of_credentials = "july 4, 1898" | CREATE TABLE table_name_58 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR), What is the termination of mission date of the representative with a presentation of credentials date on July 4, 1898? |
SELECT presentation_of_credentials FROM table_name_7 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "raúl h. castro" | CREATE TABLE table_name_7 (presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR), What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary? |
SELECT representative FROM table_name_32 WHERE presentation_of_credentials = "february 23, 1854" | CREATE TABLE table_name_32 (representative VARCHAR, presentation_of_credentials VARCHAR), Who is the representative with a presentation of credentials date on February 23, 1854? |
SELECT title FROM table_name_52 WHERE appointed_by = "james k. polk" | CREATE TABLE table_name_52 (title VARCHAR, appointed_by VARCHAR), What is the title of the representative appointed by James K. Polk? |
SELECT termination_of_mission FROM table_name_37 WHERE appointed_by = "franklin pierce" AND title = "chargé d'affaires" | CREATE TABLE table_name_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR), What is the termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.