output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1 | CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR), Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1? |
SELECT Leading AS scorer FROM table_name_59 WHERE opponent = "@ seattle" AND record = "14-16" | CREATE TABLE table_name_59 (Leading VARCHAR, opponent VARCHAR, record VARCHAR), Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16? |
SELECT score FROM table_name_46 WHERE opponent = "@ houston" AND record = "2-0" | CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR, record VARCHAR), Which Score has an Opponent of @ houston, and a Record of 2-0? |
SELECT MIN(attendance) FROM table_name_84 WHERE date = "september 7" | CREATE TABLE table_name_84 (attendance INTEGER, date VARCHAR), Which Attendance has a Date of september 7? |
SELECT venue FROM table_name_88 WHERE game = 3 | CREATE TABLE table_name_88 (venue VARCHAR, game VARCHAR), What is the venue of game 3? |
SELECT MIN(game) FROM table_name_33 WHERE date = "20 july 2008" | CREATE TABLE table_name_33 (game INTEGER, date VARCHAR), What is the lowest game number on 20 July 2008? |
SELECT result FROM table_name_52 WHERE date = "20 july 2008" | CREATE TABLE table_name_52 (result VARCHAR, date VARCHAR), What is the result on 20 July 2008? |
SELECT COUNT(game) FROM table_name_95 WHERE opponent = "athlone town" | CREATE TABLE table_name_95 (game VARCHAR, opponent VARCHAR), What is the total game number with athlone town as the opponent? |
SELECT result FROM table_name_7 WHERE venue = "away" AND game > 6 | CREATE TABLE table_name_7 (result VARCHAR, venue VARCHAR, game VARCHAR), What is the result of the game with a game number greater than 6 and an away venue? |
SELECT end_date FROM table_name_11 WHERE minister = "alex bodry" | CREATE TABLE table_name_11 (end_date VARCHAR, minister VARCHAR), What was the end date when Alex Bodry was the minister? |
SELECT minister FROM table_name_43 WHERE party = "csv" AND end_date = "present day" | CREATE TABLE table_name_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR), Who was the minister for the CSV party with a present day end date? |
SELECT SUM(points) FROM table_name_26 WHERE visitor = "philadelphia" AND attendance > 7 OFFSET 284 | CREATE TABLE table_name_26 (points INTEGER, visitor VARCHAR, attendance VARCHAR), What is the sum of the points of the game with philadelphia as the visitor and an attendance greater than 7,284? |
SELECT MIN(points) FROM table_name_99 WHERE home = "toronto" | CREATE TABLE table_name_99 (points INTEGER, home VARCHAR), What is the lowest amount of points of the game with toronto as the home team? |
SELECT SUM(laps) FROM table_name_52 WHERE rider = "pere riba" | CREATE TABLE table_name_52 (laps INTEGER, rider VARCHAR), How many laps did pere riba ride? |
SELECT laps FROM table_name_97 WHERE grid = 4 | CREATE TABLE table_name_97 (laps VARCHAR, grid VARCHAR), How many laps were in grid 4? |
SELECT manufacturer FROM table_name_91 WHERE grid = 11 | CREATE TABLE table_name_91 (manufacturer VARCHAR, grid VARCHAR), Who manufactured grid 11? |
SELECT MIN(grid) FROM table_name_16 WHERE laps > 26 AND time_retired = "44:39.467" | CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, time_retired VARCHAR), Which Grid has Laps larger than 26, and a Time/Retired of 44:39.467? |
SELECT horse FROM table_name_54 WHERE finished = "8" | CREATE TABLE table_name_54 (horse VARCHAR, finished VARCHAR), Which Horse finished in 8? |
SELECT jockey FROM table_name_39 WHERE trainer = "nick zito" AND odds = "34-1" | CREATE TABLE table_name_39 (jockey VARCHAR, trainer VARCHAR, odds VARCHAR), Who is the Jockey that has Nick Zito as Trainer and Odds of 34-1? |
SELECT odds FROM table_name_72 WHERE horse = "ready's echo" | CREATE TABLE table_name_72 (odds VARCHAR, horse VARCHAR), What are the Odds for the Horse called Ready's Echo? |
SELECT odds FROM table_name_87 WHERE trainer = "barclay tagg" | CREATE TABLE table_name_87 (odds VARCHAR, trainer VARCHAR), What are the Odds for Trainer Barclay Tagg? |
SELECT finished FROM table_name_3 WHERE trainer = "nick zito" AND horse = "da'tara" | CREATE TABLE table_name_3 (finished VARCHAR, trainer VARCHAR, horse VARCHAR), What is the Finished place for da'tara trained by Nick zito? |
SELECT jockey FROM table_name_52 WHERE horse = "guadalcanal" | CREATE TABLE table_name_52 (jockey VARCHAR, horse VARCHAR), Who is the Jockey for guadalcanal? |
SELECT manufacturer FROM table_name_61 WHERE time = "accident" AND grid > 15 | CREATE TABLE table_name_61 (manufacturer VARCHAR, time VARCHAR, grid VARCHAR), Which Manufacturer has a Time of accident and a Grid greater than 15? |
SELECT 3 AS __f_ FROM table_name_1 WHERE verb = "khola" | CREATE TABLE table_name_1 (verb VARCHAR), What is the verb for Khola? |
SELECT 2 AS __f_ FROM table_name_34 WHERE verb = "khola" | CREATE TABLE table_name_34 (verb VARCHAR), What is the 2nd verb for Khola? |
SELECT 2 AS __f_ FROM table_name_7 WHERE verb = "chena" | CREATE TABLE table_name_7 (verb VARCHAR), What is the 2nd verb for chena? |
SELECT lead FROM table_name_21 WHERE third = "randy ferbey (skip)" AND second = "scott pfeifer" AND season = "2009–10" | CREATE TABLE table_name_21 (lead VARCHAR, season VARCHAR, third VARCHAR, second VARCHAR), Which Lead has a Third of randy ferbey (skip), a Second of scott pfeifer, and a Season of 2009–10? |
SELECT season FROM table_name_47 WHERE third = "colin hodgson" | CREATE TABLE table_name_47 (season VARCHAR, third VARCHAR), Which Season has a Third of colin hodgson? |
SELECT second FROM table_name_6 WHERE lead = "ben hebert" | CREATE TABLE table_name_6 (second VARCHAR, lead VARCHAR), Which Second has a Lead of ben hebert? |
SELECT third FROM table_name_29 WHERE second = "scott pfeifer" | CREATE TABLE table_name_29 (third VARCHAR, second VARCHAR), Which Third has a Second of scott pfeifer? |
SELECT second FROM table_name_76 WHERE third = "david nedohin" AND lead = "ben hebert" | CREATE TABLE table_name_76 (second VARCHAR, third VARCHAR, lead VARCHAR), Which Second has a Third of david nedohin, and a Lead of ben hebert? |
SELECT skip FROM table_name_77 WHERE season = "2002–03" | CREATE TABLE table_name_77 (skip VARCHAR, season VARCHAR), Which Skip has a Season of 2002–03? |
SELECT date FROM table_name_29 WHERE republican = "mike huckabee" AND sample_size = 496 | CREATE TABLE table_name_29 (date VARCHAR, republican VARCHAR, sample_size VARCHAR), What was the date of the poll with a sample size of 496 where Republican Mike Huckabee was chosen? |
SELECT AVG(sample_size) FROM table_name_5 WHERE republican = "mike huckabee" AND margin_of_error > 4 AND date = "dec 13-15, 2007" | CREATE TABLE table_name_5 (sample_size INTEGER, date VARCHAR, republican VARCHAR, margin_of_error VARCHAR), What is the sample size of the poll taken on Dec 13-15, 2007 that had a margin of error of more than 4 and resulted with Republican Mike Huckabee? |
SELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = "ron paul" | CREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR), Which Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul? |
SELECT returning FROM table_name_7 WHERE show = "9 to 5" | CREATE TABLE table_name_7 (returning VARCHAR, show VARCHAR), When was the show 9 to 5 returning? |
SELECT MIN(last_aired) FROM table_name_1 WHERE returning = "september 13" | CREATE TABLE table_name_1 (last_aired INTEGER, returning VARCHAR), What was the earliest aired show that's returning on September 13? |
SELECT opponent FROM table_name_82 WHERE score = "74-66" | CREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR), What is the Opponent of the game with a Score of 74-66? |
SELECT score FROM table_name_81 WHERE opponent = "@ san antonio" AND date = "june 20" | CREATE TABLE table_name_81 (score VARCHAR, opponent VARCHAR, date VARCHAR), What is the Score of the game @ San Antonio on June 20? |
SELECT record FROM table_name_49 WHERE date = "september 6" | CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR), What is the Record of the game on September 6? |
SELECT record FROM table_name_38 WHERE score = "65-48" | CREATE TABLE table_name_38 (record VARCHAR, score VARCHAR), What is the Record of the game with a Score of 65-48? |
SELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = "denis law" | CREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR), What is the lowest League Cup Goals, when Scorer is Denis Law? |
SELECT AVG(total) FROM table_name_20 WHERE fa_cup_goals = "1" AND league_goals = "10" AND club = "crystal palace" | CREATE TABLE table_name_20 (total INTEGER, club VARCHAR, fa_cup_goals VARCHAR, league_goals VARCHAR), What is the average Total, when FA Cup Goals is 1, when League Goals is 10, and when Club is Crystal Palace? |
SELECT COUNT(total) FROM table_name_77 WHERE club = "leeds united" AND league_goals = "13" | CREATE TABLE table_name_77 (total VARCHAR, club VARCHAR, league_goals VARCHAR), What is the total number of Total, when Club is Leeds United, and when League Goals is 13? |
SELECT fa_cup_goals FROM table_name_75 WHERE euro_competitions = "1" AND league_goals = "11" | CREATE TABLE table_name_75 (fa_cup_goals VARCHAR, euro_competitions VARCHAR, league_goals VARCHAR), What is FA Cup Goals, when Euro Competitions is 1, and when League Goals is 11? |
SELECT tournament FROM table_name_49 WHERE finalist = "monica seles" | CREATE TABLE table_name_49 (tournament VARCHAR, finalist VARCHAR), What tournament had finalist Monica Seles? |
SELECT week FROM table_name_6 WHERE finalist = "martina hingis" | CREATE TABLE table_name_6 (week VARCHAR, finalist VARCHAR), What week was the finalist Martina Hingis? |
SELECT surface FROM table_name_56 WHERE finalist = "justine henin" | CREATE TABLE table_name_56 (surface VARCHAR, finalist VARCHAR), What was the surface for finalist Justine Henin? |
SELECT winner FROM table_name_67 WHERE tournament = "indian wells" | CREATE TABLE table_name_67 (winner VARCHAR, tournament VARCHAR), Who was the winner in the Indian Wells? |
SELECT race_name FROM table_name_40 WHERE year = 1946 AND winner = "bill holland" | CREATE TABLE table_name_40 (race_name VARCHAR, year VARCHAR, winner VARCHAR), Which race did Bill Holland win in 1946? |
SELECT date FROM table_name_46 WHERE winner = "ted horn" AND race_name = "lakewood race 2" | CREATE TABLE table_name_46 (date VARCHAR, winner VARCHAR, race_name VARCHAR), What date did Ted Horn win Lakewood Race 2? |
SELECT winner FROM table_name_2 WHERE date = "september 6" | CREATE TABLE table_name_2 (winner VARCHAR, date VARCHAR), Who won on September 6? |
SELECT race_name FROM table_name_70 WHERE year > 1956 AND winner = "jud larson" | CREATE TABLE table_name_70 (race_name VARCHAR, year VARCHAR, winner VARCHAR), Jud Larson who which race after 1956? |
SELECT AVG(total) FROM table_name_5 WHERE rank = "33" AND bronze > 1 | CREATE TABLE table_name_5 (total INTEGER, rank VARCHAR, bronze VARCHAR), What is the Total medals for the Nation ranking 33 with more than 1 Bronze? |
SELECT COUNT(game) FROM table_name_52 WHERE attendance = 19 OFFSET 190 | CREATE TABLE table_name_52 (game VARCHAR, attendance VARCHAR), How many games have an Attendance of 19,190? |
SELECT SUM(game) FROM table_name_45 WHERE time = "2:14" | CREATE TABLE table_name_45 (game INTEGER, time VARCHAR), How many games had a Time of 2:14? |
SELECT score FROM table_name_41 WHERE time = "2:28" | CREATE TABLE table_name_41 (score VARCHAR, time VARCHAR), Which Score has a Time of 2:28? |
SELECT result FROM table_name_53 WHERE captain_1 = "louis burger" AND date = "30 october–2 november" | CREATE TABLE table_name_53 (result VARCHAR, captain_1 VARCHAR, date VARCHAR), Which Result has a Captain 1 of louis burger, and a Date of 30 october–2 november? |
SELECT team_2 FROM table_name_87 WHERE captain_1 = "final" | CREATE TABLE table_name_87 (team_2 VARCHAR, captain_1 VARCHAR), Which Team 2 has a Captain 1 of final? |
SELECT captain_2 FROM table_name_87 WHERE result = "ireland by 8 runs" | CREATE TABLE table_name_87 (captain_2 VARCHAR, result VARCHAR), Which Captain 2 has a Result of ireland by 8 runs? |
SELECT result FROM table_name_81 WHERE captain_2 = "louis burger" | CREATE TABLE table_name_81 (result VARCHAR, captain_2 VARCHAR), Which Result has a Captain 2 of louis burger? |
SELECT captain_2 FROM table_name_50 WHERE result = "final" | CREATE TABLE table_name_50 (captain_2 VARCHAR, result VARCHAR), Which Captain 2 has a Result of final? |
SELECT kosal FROM table_name_97 WHERE sitalsasthi_carnival = "balangir town" | CREATE TABLE table_name_97 (kosal VARCHAR, sitalsasthi_carnival VARCHAR), What is the Kosal with a balangir town sitalsasthi carnival? |
SELECT kosal FROM table_name_94 WHERE sambalpuri_cinema = "hatibandha" | CREATE TABLE table_name_94 (kosal VARCHAR, sambalpuri_cinema VARCHAR), What is the kosal with hatibandha as the sambalpuri cinema? |
SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = "samaleswari temple" | CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR), What is the sambalpuri saree with a samaleswari temple as sambalpuri language? |
SELECT sitalsasthi_carnival FROM table_name_97 WHERE kosal = "sonepur" | CREATE TABLE table_name_97 (sitalsasthi_carnival VARCHAR, kosal VARCHAR), What is the sitalsasthi carnival with sonepur as kosal? |
SELECT sitalsasthi_carnival FROM table_name_92 WHERE sambalpuri_saree = "hirakud" | CREATE TABLE table_name_92 (sitalsasthi_carnival VARCHAR, sambalpuri_saree VARCHAR), What is the sitalsasthi carnival with hirakud as sambalpuri saree? |
SELECT SUM(attendance) FROM table_name_5 WHERE record = "0-2-2" | CREATE TABLE table_name_5 (attendance INTEGER, record VARCHAR), What was the attendance when their record stood at 0-2-2? |
SELECT date FROM table_name_5 WHERE venue = "away" AND result = "lost 6-4 (lost 9-7 on agg)" | CREATE TABLE table_name_5 (date VARCHAR, venue VARCHAR, result VARCHAR), On what date was the venue Away and the result was lost 6-4 (lost 9-7 on agg)? |
SELECT result FROM table_name_31 WHERE date = "26th" | CREATE TABLE table_name_31 (result VARCHAR, date VARCHAR), What was the result on the 26th? |
SELECT date FROM table_name_4 WHERE opponent = "sheffield scimitars" AND venue = "home" | CREATE TABLE table_name_4 (date VARCHAR, opponent VARCHAR, venue VARCHAR), What was the date when the opponent was Sheffield Scimitars and the venue was Home? |
SELECT man_of_the_match FROM table_name_19 WHERE opponent = "milton keynes lightning" AND venue = "away" | CREATE TABLE table_name_19 (man_of_the_match VARCHAR, opponent VARCHAR, venue VARCHAR), Who was the Man of the Match when the opponent was Milton Keynes Lightning and the venue was Away? |
SELECT competition FROM table_name_50 WHERE date = "26th" | CREATE TABLE table_name_50 (competition VARCHAR, date VARCHAR), What competition was held on the 26th? |
SELECT date FROM table_name_32 WHERE attendance = "n/a" AND man_of_the_match = "unknown" | CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR, man_of_the_match VARCHAR), What was the date when the attendance was n/a and the Man of the Match was unknown? |
SELECT edition FROM table_name_45 WHERE result = "6-3, 6-0, 6-2" | CREATE TABLE table_name_45 (edition VARCHAR, result VARCHAR), What Edition had a Result of 6-3, 6-0, 6-2? |
SELECT date FROM table_name_50 WHERE discipline = "super g" AND season = 2010 | CREATE TABLE table_name_50 (date VARCHAR, discipline VARCHAR, season VARCHAR), What is the date of Super G in the 2010 season? |
SELECT COUNT(population) FROM table_name_56 WHERE official_name = "balmoral" AND area_km_2 > 43.51 | CREATE TABLE table_name_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR), When the communities name is Balmoral and the area is over 43.51 kilometers squared, what's the total population amount? |
SELECT MIN(area_km_2) FROM table_name_47 WHERE status = "rural community" | CREATE TABLE table_name_47 (area_km_2 INTEGER, status VARCHAR), When the status is rural community what's the lowest area in kilometers squared? |
SELECT SUM(gold) FROM table_name_79 WHERE total < 1 | CREATE TABLE table_name_79 (gold INTEGER, total INTEGER), How many total golds do teams have when the total medals is less than 1? |
SELECT semifinalists FROM table_name_12 WHERE tournament = "key biscane" | CREATE TABLE table_name_12 (semifinalists VARCHAR, tournament VARCHAR), who was the semifinalist for the Key Biscane tournament? |
SELECT score FROM table_name_52 WHERE game < 56 AND february > 18 AND opponent = "chicago black hawks" | CREATE TABLE table_name_52 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR), What is the score of the game before 56 held after February 18 against the Chicago Black Hawks. |
SELECT score FROM table_name_19 WHERE february > 23 AND game = 57 | CREATE TABLE table_name_19 (score VARCHAR, february VARCHAR, game VARCHAR), What was the score of the game 57 after February 23? |
SELECT MIN(laps) FROM table_name_27 WHERE grid < 16 AND time = "+21.689" | CREATE TABLE table_name_27 (laps INTEGER, grid VARCHAR, time VARCHAR), Who had the lowest laps on a grid smaller than 16 with a time of +21.689? |
SELECT laps FROM table_name_39 WHERE manufacturer = "honda" AND time = "+1:38.407" | CREATE TABLE table_name_39 (laps VARCHAR, manufacturer VARCHAR, time VARCHAR), What laps did Honda do with a time of +1:38.407? |
SELECT grid FROM table_name_96 WHERE manufacturer = "ducati" AND laps < 22 | CREATE TABLE table_name_96 (grid VARCHAR, manufacturer VARCHAR, laps VARCHAR), What grid is Ducati with fewer than 22 laps? |
SELECT MAX(grid) FROM table_name_61 WHERE manufacturer = "honda" AND time = "+1:38.407" | CREATE TABLE table_name_61 (grid INTEGER, manufacturer VARCHAR, time VARCHAR), What is Honda's highest grid with a time of +1:38.407? |
SELECT to_par FROM table_name_5 WHERE player = "bunky henry" | CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR), What is the to par of player bunky henry? |
SELECT score FROM table_name_90 WHERE player = "bob rosburg" | CREATE TABLE table_name_90 (score VARCHAR, player VARCHAR), What is the score of player bob rosburg? |
SELECT player FROM table_name_7 WHERE place = "t6" AND score = 72 - 68 - 72 = 212 | CREATE TABLE table_name_7 (player VARCHAR, place VARCHAR, score VARCHAR), Who is the player with a t6 place and a 72-68-72=212 score? |
SELECT score FROM table_name_46 WHERE player = "bob rosburg" | CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR), What is the score of player bob rosburg? |
SELECT place FROM table_name_51 WHERE score = 68 - 69 - 73 = 210 | CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR), What is the place of the 68-69-73=210? |
SELECT record FROM table_name_68 WHERE high_rebounds = "tyson chandler (6)" | CREATE TABLE table_name_68 (record VARCHAR, high_rebounds VARCHAR), What is Record, when High Rebounds is "Tyson Chandler (6)"? |
SELECT date FROM table_name_29 WHERE location_attendance = "td banknorth garden 18,624" | CREATE TABLE table_name_29 (date VARCHAR, location_attendance VARCHAR), What is Date, when Location Attendance is "TD Banknorth Garden 18,624"? |
SELECT AVG(game) FROM table_name_58 WHERE date = "december 23" | CREATE TABLE table_name_58 (game INTEGER, date VARCHAR), What is the average Game, when Date is "December 23"? |
SELECT score FROM table_name_29 WHERE team = "@ memphis" | CREATE TABLE table_name_29 (score VARCHAR, team VARCHAR), What is Score, when Team is "@ Memphis"? |
SELECT AVG(post_position) FROM table_name_74 WHERE lengths_behind = "0" | CREATE TABLE table_name_74 (post_position INTEGER, lengths_behind VARCHAR), What's the post position when the lengths behind is 0? |
SELECT lengths_behind FROM table_name_63 WHERE jockey = "ramon a. dominguez" | CREATE TABLE table_name_63 (lengths_behind VARCHAR, jockey VARCHAR), What's the lengths behind of Jockey Ramon A. Dominguez? |
SELECT jockey FROM table_name_59 WHERE post_time_odds = "34-1" | CREATE TABLE table_name_59 (jockey VARCHAR, post_time_odds VARCHAR), Who was the jockey that had post time odds of 34-1? |
SELECT owner FROM table_name_53 WHERE horse_name = "icabad crane" | CREATE TABLE table_name_53 (owner VARCHAR, horse_name VARCHAR), Who is the owner of Icabad Crane? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.