output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT award FROM table_name_17 WHERE year > 2005 AND result = "nominated" | CREATE TABLE table_name_17 (award VARCHAR, year VARCHAR, result VARCHAR), What is the name of the award in a year more than 2005, and the Result of nominated? |
SELECT award FROM table_name_31 WHERE organisation = "star awards" AND year < 2005 AND result = "won" | CREATE TABLE table_name_31 (award VARCHAR, result VARCHAR, organisation VARCHAR, year VARCHAR), What is the award for the Star Awards earlier than 2005 and the result is won? |
SELECT organisation FROM table_name_8 WHERE year = 2011 AND result = "nominated" AND award = "best info-ed programme host" | CREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR), What is the organisation in 2011 that was nominated and the award of best info-ed programme host? |
SELECT representative_work FROM table_name_20 WHERE year > 2005 AND result = "nominated" AND award = "best variety show host" | CREATE TABLE table_name_20 (representative_work VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR), What is the name of the Representative Work in a year later than 2005 with a Result of nominated, and an Award of best variety show host? |
SELECT award FROM table_name_78 WHERE year = 1998 AND representative_work = "city beat" | CREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR), What is the award for 1998 with Representative Work of city beat? |
SELECT record FROM table_name_66 WHERE score = "2–1" | CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR), Score of 2–1 has what record? |
SELECT score FROM table_name_64 WHERE home = "kings" | CREATE TABLE table_name_64 (score VARCHAR, home VARCHAR), Home of kings had what score? |
SELECT COUNT(points) FROM table_name_2 WHERE record = "21–29–10" | CREATE TABLE table_name_2 (points VARCHAR, record VARCHAR), Record of 21–29–10 had what total number of points? |
SELECT SUM(wins) FROM table_name_13 WHERE year = 1989 AND points > 110 | CREATE TABLE table_name_13 (wins INTEGER, year VARCHAR, points VARCHAR), How many wins did the team, which had more than 110 points, have in 1989? |
SELECT MAX(points) FROM table_name_11 WHERE wins = 0 AND year < 1992 | CREATE TABLE table_name_11 (points INTEGER, wins VARCHAR, year VARCHAR), What is the highest number of points the team with 0 wins had before 1992? |
SELECT round FROM table_name_53 WHERE pick__number = 12 | CREATE TABLE table_name_53 (round VARCHAR, pick__number VARCHAR), In what Round was Pick #12 drafted? |
SELECT player FROM table_name_40 WHERE position = "wide receiver" | CREATE TABLE table_name_40 (player VARCHAR, position VARCHAR), What Player is a Wide Receiver? |
SELECT round FROM table_name_1 WHERE college = "connecticut" | CREATE TABLE table_name_1 (round VARCHAR, college VARCHAR), In what Round was a player from College of Connecticut drafted? |
SELECT position FROM table_name_97 WHERE pick__number = 321 | CREATE TABLE table_name_97 (position VARCHAR, pick__number VARCHAR), What is the Position of Pick #321? |
SELECT college FROM table_name_45 WHERE player = "mark cannon" | CREATE TABLE table_name_45 (college VARCHAR, player VARCHAR), What is Mark Cannon's College? |
SELECT length_duration FROM table_name_85 WHERE date = "april 19" | CREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR), What is the length and duration of the race on April 19? |
SELECT circuit FROM table_name_46 WHERE date = "september 20" | CREATE TABLE table_name_46 (circuit VARCHAR, date VARCHAR), What was the circuit had a race on September 20. |
SELECT date FROM table_name_54 WHERE length_duration = "6 hours" | CREATE TABLE table_name_54 (date VARCHAR, length_duration VARCHAR), What was the date of the race that lasted 6 hours? |
SELECT class_es_ FROM table_name_70 WHERE circuit = "mazda raceway laguna seca" | CREATE TABLE table_name_70 (class_es_ VARCHAR, circuit VARCHAR), What are the classes for the circuit that has the Mazda Raceway Laguna Seca race. |
SELECT opponent FROM table_name_21 WHERE points < 18 AND november > 11 | CREATE TABLE table_name_21 (opponent VARCHAR, points VARCHAR, november VARCHAR), Which opponent has points less than 18, and a november greater than 11? |
SELECT MAX(november) FROM table_name_57 WHERE game < 12 AND opponent = "@ detroit red wings" | CREATE TABLE table_name_57 (november INTEGER, game VARCHAR, opponent VARCHAR), What is the highest November that has a game less than 12, and @ detroit red wings as the opponent? |
SELECT record FROM table_name_62 WHERE november > 11 AND opponent = "st. louis blues" | CREATE TABLE table_name_62 (record VARCHAR, november VARCHAR, opponent VARCHAR), What record has a november greater than 11, and st. louis blues as the opponent? |
SELECT score FROM table_name_32 WHERE record = "5-4-2" | CREATE TABLE table_name_32 (score VARCHAR, record VARCHAR), What is the score when the record was 5-4-2? |
SELECT score FROM table_name_81 WHERE record = "2-1" | CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR), What is the score for the team with a record of 2-1? |
SELECT home FROM table_name_49 WHERE record = "3-2" | CREATE TABLE table_name_49 (home VARCHAR, record VARCHAR), Which home team has a record of 3-2? |
SELECT AVG(wins) FROM table_name_84 WHERE class = "250cc" AND team = "bultaco" AND year > 1966 AND points = 8 | CREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR), What is the average wins in 250cc class for Bultaco with 8 points later than 1966? |
SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0 | CREATE TABLE table_name_47 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR), Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973? |
SELECT SUM(points) FROM table_name_33 WHERE year = 1975 AND wins < 0 | CREATE TABLE table_name_33 (points INTEGER, year VARCHAR, wins VARCHAR), What is the sum of all points in 1975 with 0 wins? |
SELECT country FROM table_name_43 WHERE score = 70 - 68 - 70 - 68 = 276 | CREATE TABLE table_name_43 (country VARCHAR, score VARCHAR), Which Country has a Score of 70-68-70-68=276? |
SELECT fastest_lap FROM table_name_72 WHERE circuit = "le mans bugatti" | CREATE TABLE table_name_72 (fastest_lap VARCHAR, circuit VARCHAR), What is the fastest lap in the Le Mans Bugatti circuit? |
SELECT fastest_lap FROM table_name_76 WHERE winning_team = "audi sport team abt" AND circuit = "oschersleben" | CREATE TABLE table_name_76 (fastest_lap VARCHAR, winning_team VARCHAR, circuit VARCHAR), What is the fastest lap of the Oschersleben circuit with Audi Sport Team ABT as the winning team? |
SELECT winning_driver FROM table_name_36 WHERE pole_position = "timo scheider" AND circuit = "oschersleben" | CREATE TABLE table_name_36 (winning_driver VARCHAR, pole_position VARCHAR, circuit VARCHAR), Who is the winning driver of the Oschersleben circuit with Timo Scheider as the pole position? |
SELECT winning_team FROM table_name_15 WHERE winning_manufacturer = "audi" AND winning_driver = "timo scheider" AND date = "31 august" | CREATE TABLE table_name_15 (winning_team VARCHAR, date VARCHAR, winning_manufacturer VARCHAR, winning_driver VARCHAR), What is the winning team of the race on 31 August with Audi as the winning manufacturer and Timo Scheider as the winning driver? |
SELECT winning_driver FROM table_name_66 WHERE winning_manufacturer = "no race" | CREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR), Who is the winning driver of the race with no race as the winning manufacturer? |
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND score = "3–6, 6–3, 7–6" | CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, score VARCHAR), In what Tournament was the Score of 3–6, 6–3, 7–6 in a match played on a hard Surface? |
SELECT partner FROM table_name_74 WHERE surface = "hard" AND score = "6–4, 6–2" | CREATE TABLE table_name_74 (partner VARCHAR, surface VARCHAR, score VARCHAR), Who was the Partner in a game with the Score of 6–4, 6–2 on a hard surface? |
SELECT date FROM table_name_59 WHERE score = "6–4, 6–2" | CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR), On what Date was the Score 6–4, 6–2? |
SELECT year FROM table_name_64 WHERE avg_attendance = "5,445" | CREATE TABLE table_name_64 (year VARCHAR, avg_attendance VARCHAR), When was the year that had an average attendance of 5,445? |
SELECT league FROM table_name_18 WHERE year = "2010-11" | CREATE TABLE table_name_18 (league VARCHAR, year VARCHAR), In 2010-11, what was the League name? |
SELECT lost FROM table_name_66 WHERE "played" = "played" | CREATE TABLE table_name_66 (lost VARCHAR), If the Played was played, what is the lost? |
SELECT tries_for FROM table_name_76 WHERE losing_bonus = "6" | CREATE TABLE table_name_76 (tries_for VARCHAR, losing_bonus VARCHAR), If the losing bonus was 6, what is the tries for? |
SELECT drawn FROM table_name_51 WHERE points_against = "371" | CREATE TABLE table_name_51 (drawn VARCHAR, points_against VARCHAR), If points against was 371, what is the drawn? |
SELECT points_for FROM table_name_30 WHERE played = "22" AND tries_against = "43" | CREATE TABLE table_name_30 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR), If played is 22 and the tries against are 43, what are the points? |
SELECT losing_bonus FROM table_name_21 WHERE club = "crumlin rfc" | CREATE TABLE table_name_21 (losing_bonus VARCHAR, club VARCHAR), What's the losing bonus of Crumlin RFC? |
SELECT opponent FROM table_name_9 WHERE week > 16 | CREATE TABLE table_name_9 (opponent VARCHAR, week INTEGER), What's the Opponent with a Week that's larger than 16? |
SELECT game_site FROM table_name_97 WHERE opponent = "san diego chargers" | CREATE TABLE table_name_97 (game_site VARCHAR, opponent VARCHAR), What's the Game SIte with an Opponent of San Diego Chargers? |
SELECT MIN(silver) FROM table_name_70 WHERE gold > 0 AND rank = "total" AND bronze < 32 | CREATE TABLE table_name_70 (silver INTEGER, bronze VARCHAR, gold VARCHAR, rank VARCHAR), Which Silver is the lowest one that has a Gold larger than 0, and a Rank of total, and a Bronze smaller than 32? |
SELECT MIN(bronze) FROM table_name_7 WHERE rank = "3" AND silver < 2 | CREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, silver VARCHAR), Which Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2? |
SELECT SUM(silver) FROM table_name_2 WHERE nation = "china" AND bronze < 7 | CREATE TABLE table_name_2 (silver INTEGER, nation VARCHAR, bronze VARCHAR), Which Silver has a Nation of china, and a Bronze smaller than 7? |
SELECT nation FROM table_name_91 WHERE gold = 0 AND bronze < "6" AND rank = "6" | CREATE TABLE table_name_91 (nation VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR), Which Nation has a Gold of 0, and a Bronze smaller than 6, and a Rank of 6? |
SELECT score FROM table_name_78 WHERE home = "detroit" AND date = "december 9" | CREATE TABLE table_name_78 (score VARCHAR, home VARCHAR, date VARCHAR), What score has detroit as the home, and December 9 as the date? |
SELECT score FROM table_name_91 WHERE visitor = "mtl. maroons" | CREATE TABLE table_name_91 (score VARCHAR, visitor VARCHAR), What score has mtl. maroons as the visitor? |
SELECT record FROM table_name_99 WHERE home = "detroit" AND visitor = "mtl. maroons" | CREATE TABLE table_name_99 (record VARCHAR, home VARCHAR, visitor VARCHAR), What record has detroit as the home and mtl. maroons as the visitor? |
SELECT visitor FROM table_name_55 WHERE date = "december 14" | CREATE TABLE table_name_55 (visitor VARCHAR, date VARCHAR), What visitor has December 14 as the date? |
SELECT MAX(fcwc) FROM table_name_38 WHERE years = "1958–1965" AND icfc < 11 | CREATE TABLE table_name_38 (fcwc INTEGER, years VARCHAR, icfc VARCHAR), What is the highest number of FCWC in the Years of 1958–1965, and an ICFC smaller than 11? |
SELECT MIN(ranking) FROM table_name_51 WHERE total = 23 | CREATE TABLE table_name_51 (ranking INTEGER, total VARCHAR), What is the lowest ranking associated with a total of 23? |
SELECT outcome FROM table_name_44 WHERE date = "13 november 2006" | CREATE TABLE table_name_44 (outcome VARCHAR, date VARCHAR), Which is the Outcome on 13 november 2006? |
SELECT score FROM table_name_58 WHERE opponent = "melanie south" | CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR), Which Score has an Opponent of melanie south? |
SELECT outcome FROM table_name_83 WHERE opponent = "lindsay lee-waters" | CREATE TABLE table_name_83 (outcome VARCHAR, opponent VARCHAR), Which Outcome has a Opponent of lindsay lee-waters? |
SELECT opponent FROM table_name_64 WHERE date = "17 november 2002" | CREATE TABLE table_name_64 (opponent VARCHAR, date VARCHAR), Which Opponent is on 17 november 2002? |
SELECT tournament FROM table_name_25 WHERE outcome = "winner" AND date = "19 october 2008" | CREATE TABLE table_name_25 (tournament VARCHAR, outcome VARCHAR, date VARCHAR), Which Tournament has an Outcome of winner on 19 october 2008? |
SELECT date FROM table_name_72 WHERE opponent = "evie dominikovic" | CREATE TABLE table_name_72 (date VARCHAR, opponent VARCHAR), When is an Opponent of evie dominikovic? |
SELECT opponent_number FROM table_name_73 WHERE attendance = "45,000" | CREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR), Who was the opponent at the game attended by 45,000? |
SELECT bleeding_time FROM table_name_31 WHERE condition = "factor x deficiency as seen in amyloid purpura" | CREATE TABLE table_name_31 (bleeding_time VARCHAR, condition VARCHAR), Which Bleeding time has a Condition of factor x deficiency as seen in amyloid purpura? |
SELECT platelet_count FROM table_name_34 WHERE condition = "bernard-soulier syndrome" | CREATE TABLE table_name_34 (platelet_count VARCHAR, condition VARCHAR), Which Platelet count has a Condition of bernard-soulier syndrome? |
SELECT prothrombin_time FROM table_name_28 WHERE platelet_count = "unaffected" AND bleeding_time = "unaffected" AND partial_thromboplastin_time = "normal or mildly prolonged" | CREATE TABLE table_name_28 (prothrombin_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR, bleeding_time VARCHAR), Which Prothrombin time has a Platelet count of unaffected, and a Bleeding time of unaffected, and a Partial thromboplastin time of normal or mildly prolonged? |
SELECT platelet_count FROM table_name_39 WHERE condition = "factor v deficiency" | CREATE TABLE table_name_39 (platelet_count VARCHAR, condition VARCHAR), Which Platelet count has a Condition of factor v deficiency? |
SELECT condition FROM table_name_53 WHERE bleeding_time = "unaffected" AND partial_thromboplastin_time = "prolonged" AND prothrombin_time = "unaffected" | CREATE TABLE table_name_53 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR), Which Condition has a Bleeding time of unaffected, and a Partial thromboplastin time of prolonged, and a Prothrombin time of unaffected? |
SELECT bleeding_time FROM table_name_41 WHERE condition = "hemophilia" | CREATE TABLE table_name_41 (bleeding_time VARCHAR, condition VARCHAR), What is hemophilia's bleeding time? |
SELECT bronze FROM table_name_45 WHERE year < 1994 AND silver = "south korea" | CREATE TABLE table_name_45 (bronze VARCHAR, year VARCHAR, silver VARCHAR), Which Bronze has a Year smaller than 1994, and a Silver of south korea? |
SELECT location FROM table_name_10 WHERE silver = "japan" | CREATE TABLE table_name_10 (location VARCHAR, silver VARCHAR), Which Location has a Silver of japan? |
SELECT MAX(year) FROM table_name_27 WHERE bronze = "south korea" AND silver = "philippines" | CREATE TABLE table_name_27 (year INTEGER, bronze VARCHAR, silver VARCHAR), Which Year is the highest one that has a Bronze of south korea, and a Silver of philippines? |
SELECT SUM(year) FROM table_name_4 WHERE silver = "japan" | CREATE TABLE table_name_4 (year INTEGER, silver VARCHAR), How many years has Japan won silver? |
SELECT record FROM table_name_75 WHERE attendance = "19,823" | CREATE TABLE table_name_75 (record VARCHAR, attendance VARCHAR), What was the Indians record during the game that had 19,823 fans attending? |
SELECT date FROM table_name_89 WHERE record = "14-28" | CREATE TABLE table_name_89 (date VARCHAR, record VARCHAR), What date did the Indians have a record of 14-28? |
SELECT AVG(round) FROM table_name_24 WHERE name = "george thomas" | CREATE TABLE table_name_24 (round INTEGER, name VARCHAR), In what Round was George Thomas Picked? |
SELECT MIN(round) FROM table_name_43 WHERE pick__number > 1 AND overall > 140 | CREATE TABLE table_name_43 (round INTEGER, pick__number VARCHAR, overall VARCHAR), What was the first Round with a Pick # greater than 1 and 140 Overall? |
SELECT pick__number FROM table_name_8 WHERE name = "aundray bruce" | CREATE TABLE table_name_8 (pick__number VARCHAR, name VARCHAR), What is Aundray Bruce's Pick #? |
SELECT COUNT(round) FROM table_name_66 WHERE college = "virginia tech" AND overall > 306 | CREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR), In what Round with an Overall greater than 306 was the pick from the College of Virginia Tech? |
SELECT MAX(wins) FROM table_name_9 WHERE team = "kawasaki" AND points = 95 AND year < 1981 | CREATE TABLE table_name_9 (wins INTEGER, year VARCHAR, team VARCHAR, points VARCHAR), Which highest wins number had Kawasaki as a team, 95 points, and a year prior to 1981? |
SELECT COUNT(points) FROM table_name_19 WHERE class = "250cc" AND year < 1978 AND team = "yamaha" AND wins > 0 | CREATE TABLE table_name_19 (points VARCHAR, wins VARCHAR, team VARCHAR, class VARCHAR, year VARCHAR), How many points numbers had a class of 250cc, a year prior to 1978, Yamaha as a team, and where wins was more than 0? |
SELECT AVG(year) FROM table_name_66 WHERE wins > 0 AND class = "250cc" AND points = 95 | CREATE TABLE table_name_66 (year INTEGER, points VARCHAR, wins VARCHAR, class VARCHAR), What is the mean year number where there are more than 0 wins, the class is 250cc, and the points are 95? |
SELECT score FROM table_name_98 WHERE date = "december 10" | CREATE TABLE table_name_98 (score VARCHAR, date VARCHAR), What is the score on december 10? |
SELECT date FROM table_name_82 WHERE home = "detroit" AND visitor = "chicago" | CREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR), What is the date for the home detroit and visitor was chicago? |
SELECT visitor FROM table_name_66 WHERE date = "december 3" | CREATE TABLE table_name_66 (visitor VARCHAR, date VARCHAR), Who is the visitor on december 3? |
SELECT visitor FROM table_name_95 WHERE date = "december 31" | CREATE TABLE table_name_95 (visitor VARCHAR, date VARCHAR), Who is the visitor on the date december 31? |
SELECT location FROM table_name_14 WHERE date = "11 november" | CREATE TABLE table_name_14 (location VARCHAR, date VARCHAR), What is the location of the race on 11 November? |
SELECT winner FROM table_name_60 WHERE location = "burkina faso" | CREATE TABLE table_name_60 (winner VARCHAR, location VARCHAR), Who is the winner of the race in Burkina Faso? |
SELECT release_date FROM table_name_45 WHERE release_title = "martial law: take out" | CREATE TABLE table_name_45 (release_date VARCHAR, release_title VARCHAR), What is the release date of Martial Law: Take Out? |
SELECT publisher FROM table_name_47 WHERE release_title = "martial law: substitutes" | CREATE TABLE table_name_47 (publisher VARCHAR, release_title VARCHAR), Which publisher released Martial Law: Substitutes? |
SELECT country FROM table_name_93 WHERE notes = "1 vcd" AND release_title = "martial law: substitutes" | CREATE TABLE table_name_93 (country VARCHAR, notes VARCHAR, release_title VARCHAR), Which country had a release of 1 VCD titled Martial Law: Substitutes? |
SELECT publisher FROM table_name_56 WHERE release_title = "martial law: dead ringers" | CREATE TABLE table_name_56 (publisher VARCHAR, release_title VARCHAR), Who was the publisher of Martial Law: Dead Ringers? |
SELECT loser FROM table_name_46 WHERE winner = "new england patriots" AND location = "giants stadium" AND result = "30–28" | CREATE TABLE table_name_46 (loser VARCHAR, result VARCHAR, winner VARCHAR, location VARCHAR), What is the name of the Loser when the winner was new england patriots, and a Location of giants stadium, and a Result of 30–28? |
SELECT loser FROM table_name_98 WHERE winner = "new york jets" AND year < 1994 AND result = "37–13" | CREATE TABLE table_name_98 (loser VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR), What team was the lower when the winner was the new york jets, and a Year earlier than 1994, and a Result of 37–13? |
SELECT location FROM table_name_20 WHERE loser = "new york jets" AND year < 1997 AND result = "31–28" | CREATE TABLE table_name_20 (location VARCHAR, result VARCHAR, loser VARCHAR, year VARCHAR), What is the location when the new york jets lost earlier than 1997 and a Result of 31–28? |
SELECT SUM(year) FROM table_name_39 WHERE winner = "new york jets" AND result = "24–17" AND location = "giants stadium" | CREATE TABLE table_name_39 (year INTEGER, location VARCHAR, winner VARCHAR, result VARCHAR), What is the year when the Winner was the new york jets, with a Result of 24–17, played at giants stadium? |
SELECT MIN(year) FROM table_name_67 WHERE type = "lp" AND catalog__number = "ual 24033" | CREATE TABLE table_name_67 (year INTEGER, type VARCHAR, catalog__number VARCHAR), What is the earliest year catalog # ual 24033 had an LP? |
SELECT games FROM table_name_64 WHERE name = "manuel felix diaz" | CREATE TABLE table_name_64 (games VARCHAR, name VARCHAR), Which Games had a Name of manuel felix diaz? |
SELECT medal FROM table_name_48 WHERE games = "2008 beijing" AND sport = "taekwondo" | CREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR), Which Medal had a Games of 2008 beijing, and a Sport of taekwondo? |
SELECT medal FROM table_name_43 WHERE name = "félix sánchez" AND games = "2012 london" | CREATE TABLE table_name_43 (medal VARCHAR, name VARCHAR, games VARCHAR), Which Medal had a Name of félix sánchez, and a Games of 2012 london? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.