output stringlengths 18 557 | instruction stringlengths 22 540 |
|---|---|
SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211 | CREATE TABLE table_name_57 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR), What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211? |
SELECT 2012 FROM table_name_18 WHERE 2007 = "2r" AND 2009 = "1r" | CREATE TABLE table_name_18 (Id VARCHAR), What was the 2012 result associated with a 2007 finish of 2R and a 2009 of 1R? |
SELECT 2009 FROM table_name_2 WHERE 2012 = "1r" AND 2007 = "2r" | CREATE TABLE table_name_2 (Id VARCHAR), What was the 2009 result associated with a 2012 of 1R and a 2007 of 2R? |
SELECT 2008 FROM table_name_36 WHERE 2009 = "a" AND 2011 = "2r" | CREATE TABLE table_name_36 (Id VARCHAR), What was the 2008 result associated with a 2009 of A and a 2011 of 2R? |
SELECT tournament FROM table_name_34 WHERE 2007 = "lq" | CREATE TABLE table_name_34 (tournament VARCHAR), In which tournament did Pauline Parmentier finish LQ in 2007? |
SELECT player_name FROM table_name_23 WHERE matches = "51" | CREATE TABLE table_name_23 (player_name VARCHAR, matches VARCHAR), Name the player name with matches of 51 |
SELECT position FROM table_name_6 WHERE country = "brazil" AND period = "2008" AND goals = "0 1" | CREATE TABLE table_name_6 (position VARCHAR, goals VARCHAR, country VARCHAR, period VARCHAR), Name the position for brazil 2008 with goals of 0 1 |
SELECT goals FROM table_name_38 WHERE matches = "21" | CREATE TABLE table_name_38 (goals VARCHAR, matches VARCHAR), Name the goals with matches of 21 |
SELECT period FROM table_name_56 WHERE matches = "0 0" AND country = "portugal" | CREATE TABLE table_name_56 (period VARCHAR, matches VARCHAR, country VARCHAR), Name the period with matches of 0 0 of portugal |
SELECT opponents FROM table_name_9 WHERE round = "round 5" | CREATE TABLE table_name_9 (opponents VARCHAR, round VARCHAR), Name the opponents for round of round 5 |
SELECT attendance FROM table_name_72 WHERE date = "4 january 2004" | CREATE TABLE table_name_72 (attendance VARCHAR, date VARCHAR), Name the attendance for 4 january 2004 |
SELECT MAX(attendance) FROM table_name_64 WHERE date = "25 january 2004" | CREATE TABLE table_name_64 (attendance INTEGER, date VARCHAR), Name the most attendance for 25 january 2004 |
SELECT AVG(attendance) FROM table_name_54 WHERE round = "final" | CREATE TABLE table_name_54 (attendance INTEGER, round VARCHAR), What is the average Attendance for the final round? |
SELECT MIN(attendance) FROM table_name_67 WHERE h___a = "h" AND opponents = "roma" | CREATE TABLE table_name_67 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR), What is the smallest number of people to attend a game with an H/A of h and the opponent was Roma? |
SELECT game FROM table_name_54 WHERE pov_character = "quentyn martell" | CREATE TABLE table_name_54 (game VARCHAR, pov_character VARCHAR), Which game does the quentyn martell have? |
SELECT storm FROM table_name_58 WHERE dance = "4" AND clash = "3" | CREATE TABLE table_name_58 (storm VARCHAR, dance VARCHAR, clash VARCHAR), Which storm has a clash of 3 and a dance of 4? |
SELECT melbourne FROM table_name_38 WHERE perth = "no" AND adelaide = "no" AND auckland = "no" AND sydney = "yes" | CREATE TABLE table_name_38 (melbourne VARCHAR, sydney VARCHAR, auckland VARCHAR, perth VARCHAR, adelaide VARCHAR), Name the melbourne with perth, adelaide and auckland of no with sydney of yes |
SELECT gold_coast FROM table_name_88 WHERE auckland = "no" AND melbourne = "yes" | CREATE TABLE table_name_88 (gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR), Name the gold coast which has an auckland of no and melbourne of yes |
SELECT sydney FROM table_name_53 WHERE perth = "no" AND adelaide = "no" AND melbourne = "yes" AND gold_coast = "yes" | CREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR), Name the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes |
SELECT adelaide FROM table_name_6 WHERE sydney = "yes" AND perth = "yes" | CREATE TABLE table_name_6 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR), Name the Adelaide for Sydney of yes and Perth of yes |
SELECT melbourne FROM table_name_49 WHERE adelaide = "no" AND auckland = "yes" AND gold_coast = "no" | CREATE TABLE table_name_49 (melbourne VARCHAR, gold_coast VARCHAR, adelaide VARCHAR, auckland VARCHAR), Name the melbourne for adelaide of no with auckland of yes and gold coast of yes |
SELECT Prime AS minister FROM table_name_71 WHERE minister = "antoine wehenkel" | CREATE TABLE table_name_71 (Prime VARCHAR, minister VARCHAR), Who is the Prime Minister of Antoine Wehenkel? |
SELECT MIN(wins) FROM table_name_49 WHERE year < 1964 AND points > 7 | CREATE TABLE table_name_49 (wins INTEGER, year VARCHAR, points VARCHAR), What is the least amount of wins earlier than 1964 with more than 7 points? |
SELECT MIN(points) FROM table_name_57 WHERE class = "125cc" AND wins = 1 AND year < 1961 | CREATE TABLE table_name_57 (points INTEGER, year VARCHAR, class VARCHAR, wins VARCHAR), What is the least points for class 125cc with 1 win earlier than 1961? |
SELECT wins FROM table_name_6 WHERE points = 7 | CREATE TABLE table_name_6 (wins VARCHAR, points VARCHAR), What is the number of wins when there are 7 points? |
SELECT MIN(points) FROM table_name_95 WHERE wins = 1 | CREATE TABLE table_name_95 (points INTEGER, wins VARCHAR), What is the least amount of points when there is 1 win? |
SELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20 | CREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR), What club has more than 35 goals, more than 7 draws, and 20 losses? |
SELECT SUM(goals_for) FROM table_name_5 WHERE draws > 9 AND played > 38 | CREATE TABLE table_name_5 (goals_for INTEGER, draws VARCHAR, played VARCHAR), How many goals have more than 38 played and more than 9 draws? |
SELECT MIN(losses) FROM table_name_32 WHERE goals_against > 59 AND position > 17 | CREATE TABLE table_name_32 (losses INTEGER, goals_against VARCHAR, position VARCHAR), How many losses has more than 59 goals against and more than 17 position? |
SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78" | CREATE TABLE table_name_66 (date VARCHAR, meet VARCHAR, time VARCHAR), On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78? |
SELECT nationality FROM table_name_98 WHERE time = "2:07.64" | CREATE TABLE table_name_98 (nationality VARCHAR, time VARCHAR), What Nationality's time is 2:07.64? |
SELECT event FROM table_name_4 WHERE time = "4:01.00" | CREATE TABLE table_name_4 (event VARCHAR, time VARCHAR), What Event's Time is 4:01.00? |
SELECT location FROM table_name_87 WHERE nationality = "united states" AND time = "2:25.62" | CREATE TABLE table_name_87 (location VARCHAR, nationality VARCHAR, time VARCHAR), In what Location in the United States the Time 2:25.62? |
SELECT playoffs FROM table_name_54 WHERE year > 1975 AND record = "13β11" | CREATE TABLE table_name_54 (playoffs VARCHAR, year VARCHAR, record VARCHAR), Year larger than 1975, and a Record of 13β11 is what playoffs? |
SELECT venue FROM table_name_57 WHERE year < 2005 AND category = "world class" AND result = "bronze" | CREATE TABLE table_name_57 (venue VARCHAR, result VARCHAR, year VARCHAR, category VARCHAR), What are the venues prior to 2005 in the World Class category that resulted in a bronze? |
SELECT competition FROM table_name_10 WHERE year < 2006 AND venue = "svk nitra" | CREATE TABLE table_name_10 (competition VARCHAR, year VARCHAR, venue VARCHAR), What are the competitions that occurred before 2006 in SVK Nitra? |
SELECT category FROM table_name_93 WHERE year > 2007 AND competition = "world championships" | CREATE TABLE table_name_93 (category VARCHAR, year VARCHAR, competition VARCHAR), What are the categories of events that occurred after 2007 that were World Championships? |
SELECT result FROM table_name_22 WHERE year < 2010 AND venue = "nor elverum" | CREATE TABLE table_name_22 (result VARCHAR, year VARCHAR, venue VARCHAR), What was the result of events held at Nor Elverum, prior to 2010? |
SELECT competition FROM table_name_17 WHERE year = 2003 | CREATE TABLE table_name_17 (competition VARCHAR, year VARCHAR), What was the competition held in 2003? |
SELECT chassis FROM table_name_33 WHERE entrant = "scuderia ferrari" AND points > 1 | CREATE TABLE table_name_33 (chassis VARCHAR, entrant VARCHAR, points VARCHAR), What chassis type does a scuderia ferrari with more than 1 point have? |
SELECT chassis FROM table_name_80 WHERE engine = "ferrari flat-12" AND points > 1 | CREATE TABLE table_name_80 (chassis VARCHAR, engine VARCHAR, points VARCHAR), A ferrari flat-12 engine with more than 1 point has what kind of chassis? |
SELECT AVG(year) FROM table_name_91 WHERE chassis = "merzario a2" | CREATE TABLE table_name_91 (year INTEGER, chassis VARCHAR), What is the average year for a merzario a2 chassis? |
SELECT record FROM table_name_87 WHERE visitor = "chicago black hawks" AND date = "november 24" | CREATE TABLE table_name_87 (record VARCHAR, visitor VARCHAR, date VARCHAR), What was the team's record when they played visitor team Chicago Black Hawks on November 24? |
SELECT visitor FROM table_name_77 WHERE home = "chicago black hawks" AND date = "march 20" | CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR, date VARCHAR), What is the name of the visitor team who played home team Chicago Black Hawks on March 20? |
SELECT record FROM table_name_38 WHERE date = "november 12" | CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR), What was the team's record on November 12? |
SELECT champion FROM table_name_33 WHERE year = "1981" | CREATE TABLE table_name_33 (champion VARCHAR, year VARCHAR), What champion has 1981 as the year? |
SELECT date_final FROM table_name_59 WHERE year = "1982" | CREATE TABLE table_name_59 (date_final VARCHAR, year VARCHAR), What date final has 1982 as the year? |
SELECT prize_money FROM table_name_56 WHERE commercial_name = "michelob light challenge of champions" | CREATE TABLE table_name_56 (prize_money VARCHAR, commercial_name VARCHAR), What prize money has michelob light challenge of champions as the commercial name? |
SELECT date_final FROM table_name_90 WHERE year = "1989" | CREATE TABLE table_name_90 (date_final VARCHAR, year VARCHAR), What date final has 1989 as the year? |
SELECT score_in_final FROM table_name_54 WHERE champion = "boris becker" | CREATE TABLE table_name_54 (score_in_final VARCHAR, champion VARCHAR), What score in final has boris becker as the champion? |
SELECT MAX(points) FROM table_name_9 WHERE engine = "alta straight-4" AND entrant = "connaught engineering" AND year < 1957 | CREATE TABLE table_name_9 (points INTEGER, year VARCHAR, engine VARCHAR, entrant VARCHAR), What is the greatest point of an Entrant of connaught engineering alta straight-4 engine before 1957 |
SELECT engine FROM table_name_71 WHERE chassis = "connaught type b" AND year > 1957 | CREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR), What 1957 engine has a Chassis of connaught type b? |
SELECT date FROM table_name_89 WHERE winning_score = β9(72 - 68 - 64 - 67 = 271) | CREATE TABLE table_name_89 (date VARCHAR, winning_score VARCHAR), When was the winning score β9 (72-68-64-67=271)? |
SELECT margin_of_victory FROM table_name_77 WHERE tournament = "mississippi gulf resort classic" | CREATE TABLE table_name_77 (margin_of_victory VARCHAR, tournament VARCHAR), What was the margin of victory for the Mississippi Gulf Resort Classic? |
SELECT margin_of_victory FROM table_name_53 WHERE runner_s__up = "mark calcavecchia" | CREATE TABLE table_name_53 (margin_of_victory VARCHAR, runner_s__up VARCHAR), What was the margin of victory when Mark Calcavecchia was the runner-up? |
SELECT date FROM table_name_24 WHERE margin_of_victory = "1 stroke" AND tournament = "the ace group classic" | CREATE TABLE table_name_24 (date VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR), What was the date of the Ace Group Classic tournament with a 1 stroke margin of victory? |
SELECT margin_of_victory FROM table_name_84 WHERE winning_score = β9(72 - 68 - 64 - 67 = 271) | CREATE TABLE table_name_84 (margin_of_victory VARCHAR, winning_score VARCHAR), What was the margin of victory when the winning score was β9 (72-68-64-67=271)? |
SELECT AVG(round) FROM table_name_65 WHERE position = "te" | CREATE TABLE table_name_65 (round INTEGER, position VARCHAR), What is the average round for te position? |
SELECT AVG(overall) FROM table_name_91 WHERE player = "james davis" | CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR), Name the average overall for james davis |
SELECT MAX(overall) FROM table_name_89 WHERE player = "james davis" AND round > 5 | CREATE TABLE table_name_89 (overall INTEGER, player VARCHAR, round VARCHAR), Name the most overall for james davis and round more than 5 |
SELECT COUNT(overall) FROM table_name_20 WHERE college = "villanova" AND round < 2 | CREATE TABLE table_name_20 (overall VARCHAR, college VARCHAR, round VARCHAR), Name the total number of overall for villanova and round less than 2 |
SELECT state FROM table_name_8 WHERE mountain_peak = "mount chiginagak" | CREATE TABLE table_name_8 (state VARCHAR, mountain_peak VARCHAR), Which state is Mount Chiginagak located in? |
SELECT circumstances FROM table_name_62 WHERE location = "baghlan" | CREATE TABLE table_name_62 (circumstances VARCHAR, location VARCHAR), What were the circumstances for the Baghlan location? |
SELECT casualties FROM table_name_64 WHERE location = "baghlan" | CREATE TABLE table_name_64 (casualties VARCHAR, location VARCHAR), What were the casualties in the Baghlan location? |
SELECT date FROM table_name_12 WHERE circumstances = "natural cause" | CREATE TABLE table_name_12 (date VARCHAR, circumstances VARCHAR), What was the date of natural cause situation? |
SELECT gold_coast FROM table_name_49 WHERE perth = "no" AND sydney = "yes" AND auckland = "yes" | CREATE TABLE table_name_49 (gold_coast VARCHAR, auckland VARCHAR, perth VARCHAR, sydney VARCHAR), Which Gold Coast has a Perth of no, a Sydney of yes, and an Auckland of yes? |
SELECT melbourne FROM table_name_14 WHERE auckland = "no" AND gold_coast = "no" | CREATE TABLE table_name_14 (melbourne VARCHAR, auckland VARCHAR, gold_coast VARCHAR), Which Melbourne has an Auckland of no, and a Gold Coast of no? |
SELECT adelaide FROM table_name_2 WHERE melbourne = "yes" AND auckland = "yes" AND perth = "yes" | CREATE TABLE table_name_2 (adelaide VARCHAR, perth VARCHAR, melbourne VARCHAR, auckland VARCHAR), Which Adelaide has a Melbourne of yes, an Auckland of yes, and a Perth of yes? |
SELECT sydney FROM table_name_27 WHERE perth = "no" AND melbourne = "yes" AND gold_coast = "no" | CREATE TABLE table_name_27 (sydney VARCHAR, gold_coast VARCHAR, perth VARCHAR, melbourne VARCHAR), Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of no? |
SELECT auckland FROM table_name_1 WHERE adelaide = "no" AND melbourne = "yes" AND sydney = "yes" | CREATE TABLE table_name_1 (auckland VARCHAR, sydney VARCHAR, adelaide VARCHAR, melbourne VARCHAR), Which Auckland has an Adelaide of no, a Melbourne of yes, and a Sydney of yes? |
SELECT adelaide FROM table_name_39 WHERE auckland = "yes" AND melbourne = "yes" AND perth = "yes" AND sydney = "cancelled" | CREATE TABLE table_name_39 (adelaide VARCHAR, sydney VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR), Which Adelaide has an Auckland of yes, a Melbourne of yes, a Perth of yes, and a Sydney of cancelled? |
SELECT owner_s_ FROM table_name_75 WHERE team = "rss racing" AND driver_s_ = "ryan sieg" | CREATE TABLE table_name_75 (owner_s_ VARCHAR, team VARCHAR, driver_s_ VARCHAR), Who is the owner of RSS Racing that driver Ryan Sieg belongs to? |
SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = "parts plus" | CREATE TABLE table_name_21 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR), Parts Plus sponsors what driver? |
SELECT owner_s_ FROM table_name_61 WHERE team = "nts motorsports" AND primary_sponsor_s_ = "qore-24" | CREATE TABLE table_name_61 (owner_s_ VARCHAR, team VARCHAR, primary_sponsor_s_ VARCHAR), Who is the owner of NTS Motorsports sponsored by Qore-24? |
SELECT crew_chief FROM table_name_27 WHERE driver_s_ = "matt kurzejewski" | CREATE TABLE table_name_27 (crew_chief VARCHAR, driver_s_ VARCHAR), Who is the crew chief, of driver Matt kurzejewski? |
SELECT driver_s_ FROM table_name_18 WHERE crew_chief = "gary ritter" | CREATE TABLE table_name_18 (driver_s_ VARCHAR, crew_chief VARCHAR), Who is the driver that has a crew chief Gary Ritter? |
SELECT award FROM table_name_24 WHERE year = 2009 AND category = "songwriter of the year" | CREATE TABLE table_name_24 (award VARCHAR, year VARCHAR, category VARCHAR), what is the award for the 2009 songwriter of the year? |
SELECT category FROM table_name_38 WHERE award = "people's choice awards" | CREATE TABLE table_name_38 (category VARCHAR, award VARCHAR), what is the category that has the people's choice awards? |
SELECT COUNT(year) FROM table_name_77 WHERE nominated_work = "general" AND category = "choice breakthrough artist" | CREATE TABLE table_name_77 (year VARCHAR, nominated_work VARCHAR, category VARCHAR), what year has general nominated in the category or choice breakthrough artist? |
SELECT score FROM table_name_35 WHERE date = "6 february 2008" | CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR), What was the score on 6 February 2008? |
SELECT competition FROM table_name_41 WHERE date = "14 november 2012" | CREATE TABLE table_name_41 (competition VARCHAR, date VARCHAR), Which competition was held on 14 November 2012? |
SELECT competition FROM table_name_85 WHERE date = "10 august 2011" | CREATE TABLE table_name_85 (competition VARCHAR, date VARCHAR), What competition took place on 10 August 2011? |
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60" | CREATE TABLE table_name_49 (year INTEGER, chassis VARCHAR), What is the average Year with Chassis equalling cooper t60? |
SELECT chassis FROM table_name_26 WHERE entrant = "cooper car company" AND year = 1963 | CREATE TABLE table_name_26 (chassis VARCHAR, entrant VARCHAR, year VARCHAR), Which Chassis has an Entrant of cooper car company, and a Year of 1963? |
SELECT entrant FROM table_name_44 WHERE engine = "climax straight-4" AND points > 0 | CREATE TABLE table_name_44 (entrant VARCHAR, engine VARCHAR, points VARCHAR), Which Entrant has an Engine of climax straight-4, and Points larger than 0? |
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND date = "apr. 12, 1998" | CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, date VARCHAR), Which tournament has hard as the surface and apr. 12, 1998 as the date? |
SELECT surface FROM table_name_51 WHERE opponent_in_the_final = "wynne prakusya" | CREATE TABLE table_name_51 (surface VARCHAR, opponent_in_the_final VARCHAR), Which surface has wynne prakusya as the opponent in the final? |
SELECT score FROM table_name_15 WHERE opponent_in_the_final = "wynne prakusya" | CREATE TABLE table_name_15 (score VARCHAR, opponent_in_the_final VARCHAR), What score has wynne prakusya as the opponent in the final? |
SELECT tournament FROM table_name_79 WHERE date = "nov. 21, 1999" | CREATE TABLE table_name_79 (tournament VARCHAR, date VARCHAR), What tournament has nov. 21, 1999 as the date? |
SELECT authority FROM table_name_67 WHERE gender = "coed" AND name = "chanel college" | CREATE TABLE table_name_67 (authority VARCHAR, gender VARCHAR, name VARCHAR), Name the authority for coed gender and chanel college |
SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND area = "fernridge" | CREATE TABLE table_name_62 (decile INTEGER, authority VARCHAR, area VARCHAR), Name the average decile for state authority and area of fernridge |
SELECT MIN(week) FROM table_name_48 WHERE date = "october 11, 1998" | CREATE TABLE table_name_48 (week INTEGER, date VARCHAR), What was the week on October 11, 1998? |
SELECT game_site FROM table_name_93 WHERE attendance = "63,336" | CREATE TABLE table_name_93 (game_site VARCHAR, attendance VARCHAR), What is the location of the game with attendance of 63,336? |
SELECT date FROM table_name_96 WHERE week = 13 | CREATE TABLE table_name_96 (date VARCHAR, week VARCHAR), What was the date of the week 13 game? |
SELECT division_record FROM table_name_48 WHERE team = "panthers" | CREATE TABLE table_name_48 (division_record VARCHAR, team VARCHAR), What is the Panthers' Division Record? |
SELECT division_record FROM table_name_39 WHERE team = "senators" | CREATE TABLE table_name_39 (division_record VARCHAR, team VARCHAR), What is the Senators' division record? |
SELECT record FROM table_name_86 WHERE date = "january 18" | CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR), What was the record after the January 18 game? |
SELECT record FROM table_name_44 WHERE date = "january 6" | CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR), What was the record after the January 6 game? |
SELECT Former AS name FROM table_name_79 WHERE rank = 49 | CREATE TABLE table_name_79 (Former VARCHAR, rank VARCHAR), Name the former name for 49 rank |
SELECT nhl_team FROM table_name_66 WHERE position = "left wing" | CREATE TABLE table_name_66 (nhl_team VARCHAR, position VARCHAR), Which NHL team has left wing listed as the position? |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.