context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_99 (tournament VARCHAR) | SELECT 2011 FROM table_name_99 WHERE 2012 = "a" AND tournament = "french open" | What is 2011, when 2012 is "A", and when Tournament is "French Open"? | <s>[INST]What is 2011, when 2012 is "A", and when Tournament is "French Open"? Context: CREATE TABLE table_name_99 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_99 WHERE 2012 = "a" AND tournament = "french open"</s> |
CREATE TABLE Owners (first_name VARCHAR, name VARCHAR); CREATE TABLE Dogs (first_name VARCHAR, name VARCHAR); CREATE TABLE Professionals (first_name VARCHAR, name VARCHAR) | SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs | Which first names are used for professionals or owners but are not used as dog names? | <s>[INST]Which first names are used for professionals or owners but are not used as dog names? Context: CREATE TABLE Owners (first_name VARCHAR, name VARCHAR); CREATE TABLE Dogs (first_name VARCHAR, name VARCHAR); CREATE TABLE Professionals (first_name VARCHAR, name VARCHAR)[/INST]SELECT first_name FROM Professionals UNION SELECT first_name FROM Owners EXCEPT SELECT name FROM Dogs</s> |
CREATE TABLE table_name_23 (losses INTEGER, wins INTEGER) | SELECT AVG(losses) FROM table_name_23 WHERE wins < 0 | What is the average number of losses for teams with fewer than 0 wins? | <s>[INST]What is the average number of losses for teams with fewer than 0 wins? Context: CREATE TABLE table_name_23 (losses INTEGER, wins INTEGER)[/INST]SELECT AVG(losses) FROM table_name_23 WHERE wins < 0</s> |
CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_51 WHERE record = "64-78" | Who was the opponent when the record recorded was 64-78? | <s>[INST]Who was the opponent when the record recorded was 64-78? Context: CREATE TABLE table_name_51 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_51 WHERE record = "64-78"</s> |
CREATE TABLE table_name_15 (total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT total FROM table_name_15 WHERE gold > 1 AND silver > 2 AND rank < 2 | What is the total medal count when there are more than 1 gold and more than 2 silver medals won and the rank is less than 1? | <s>[INST]What is the total medal count when there are more than 1 gold and more than 2 silver medals won and the rank is less than 1? Context: CREATE TABLE table_name_15 (total VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT total FROM table_name_15 WHERE gold > 1 AND silver > 2 AND rank < 2</s> |
CREATE TABLE table_14345690_5 (finished VARCHAR, exited VARCHAR) | SELECT finished FROM table_14345690_5 WHERE exited = "Day 11" | What is the finished place where exited is day 11? | <s>[INST]What is the finished place where exited is day 11? Context: CREATE TABLE table_14345690_5 (finished VARCHAR, exited VARCHAR)[/INST]SELECT finished FROM table_14345690_5 WHERE exited = "Day 11"</s> |
CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR) | SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8 | What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8? | <s>[INST]What is the total of Goals Conceded that has Points smaller than 21 and a Lost thats smaller than 8? Context: CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, lost VARCHAR)[/INST]SELECT SUM(goals_conceded) FROM table_name_10 WHERE points < 21 AND lost < 8</s> |
CREATE TABLE table_name_14 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_14 WHERE date = "august 17, 2008" | what is the tournament on august 17, 2008? | <s>[INST]what is the tournament on august 17, 2008? Context: CREATE TABLE table_name_14 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_14 WHERE date = "august 17, 2008"</s> |
CREATE TABLE table_name_63 (rank VARCHAR, passengers VARCHAR) | SELECT COUNT(rank) FROM table_name_63 WHERE passengers = 79 OFFSET 290 | What is the total rank of the airport that has 79,290 passengers? | <s>[INST]What is the total rank of the airport that has 79,290 passengers? Context: CREATE TABLE table_name_63 (rank VARCHAR, passengers VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_63 WHERE passengers = 79 OFFSET 290</s> |
CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_40 WHERE date = "october 31" | How many people attended the game on October 31? | <s>[INST]How many people attended the game on October 31? Context: CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_40 WHERE date = "october 31"</s> |
CREATE TABLE table_name_25 (location VARCHAR, goal VARCHAR) | SELECT location FROM table_name_25 WHERE goal = "2" | Which location has a Goal of 2? | <s>[INST]Which location has a Goal of 2? Context: CREATE TABLE table_name_25 (location VARCHAR, goal VARCHAR)[/INST]SELECT location FROM table_name_25 WHERE goal = "2"</s> |
CREATE TABLE table_name_25 (date VARCHAR, game_site VARCHAR) | SELECT date FROM table_name_25 WHERE game_site = "candlestick park" | When did they play at Candlestick Park? | <s>[INST]When did they play at Candlestick Park? Context: CREATE TABLE table_name_25 (date VARCHAR, game_site VARCHAR)[/INST]SELECT date FROM table_name_25 WHERE game_site = "candlestick park"</s> |
CREATE TABLE table_name_77 (status VARCHAR, against VARCHAR) | SELECT status FROM table_name_77 WHERE against = 12 | What Status has Against of 12? | <s>[INST]What Status has Against of 12? Context: CREATE TABLE table_name_77 (status VARCHAR, against VARCHAR)[/INST]SELECT status FROM table_name_77 WHERE against = 12</s> |
CREATE TABLE table_name_65 (stadium VARCHAR, date VARCHAR) | SELECT stadium FROM table_name_65 WHERE date = "november 20" | What stadium was the game played in on november 20? | <s>[INST]What stadium was the game played in on november 20? Context: CREATE TABLE table_name_65 (stadium VARCHAR, date VARCHAR)[/INST]SELECT stadium FROM table_name_65 WHERE date = "november 20"</s> |
CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR) | SELECT digital_terrestrial_channel FROM table_182410_10 WHERE channel = "ITV3" | What is the digital terrestria channel number for itv3? | <s>[INST]What is the digital terrestria channel number for itv3? Context: CREATE TABLE table_182410_10 (digital_terrestrial_channel VARCHAR, channel VARCHAR)[/INST]SELECT digital_terrestrial_channel FROM table_182410_10 WHERE channel = "ITV3"</s> |
CREATE TABLE company (company VARCHAR, main_industry VARCHAR, headquarters VARCHAR) | SELECT company, main_industry FROM company WHERE headquarters <> 'USA' | Show the company name and the main industry for all companies whose headquarters are not from USA. | <s>[INST]Show the company name and the main industry for all companies whose headquarters are not from USA. Context: CREATE TABLE company (company VARCHAR, main_industry VARCHAR, headquarters VARCHAR)[/INST]SELECT company, main_industry FROM company WHERE headquarters <> 'USA'</s> |
CREATE TABLE table_name_24 (latitude INTEGER, township VARCHAR, geo_id VARCHAR) | SELECT MAX(latitude) FROM table_name_24 WHERE township = "kingsley" AND geo_id > 3803942820 | what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820? | <s>[INST]what is the highest latitude when the township is kingsley and the geo id is higher than 3803942820? Context: CREATE TABLE table_name_24 (latitude INTEGER, township VARCHAR, geo_id VARCHAR)[/INST]SELECT MAX(latitude) FROM table_name_24 WHERE township = "kingsley" AND geo_id > 3803942820</s> |
CREATE TABLE table_name_66 (date VARCHAR, meet VARCHAR, time VARCHAR) | SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78" | On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78? | <s>[INST]On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78? Context: CREATE TABLE table_name_66 (date VARCHAR, meet VARCHAR, time VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78"</s> |
CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR) | SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2" | What is the game number for series 4-2? | <s>[INST]What is the game number for series 4-2? Context: CREATE TABLE table_name_56 (game VARCHAR, series VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_56 WHERE series = "4-2"</s> |
CREATE TABLE Customers (last_name VARCHAR); CREATE TABLE Staff (last_name VARCHAR) | SELECT last_name FROM Customers INTERSECT SELECT last_name FROM Staff | Which last names are both used by customers and by staff? | <s>[INST]Which last names are both used by customers and by staff? Context: CREATE TABLE Customers (last_name VARCHAR); CREATE TABLE Staff (last_name VARCHAR)[/INST]SELECT last_name FROM Customers INTERSECT SELECT last_name FROM Staff</s> |
CREATE TABLE table_name_5 (appearances VARCHAR, goals VARCHAR) | SELECT appearances FROM table_name_5 WHERE goals = 36 | What is the amount of apperances of the person who had 36 goals? | <s>[INST]What is the amount of apperances of the person who had 36 goals? Context: CREATE TABLE table_name_5 (appearances VARCHAR, goals VARCHAR)[/INST]SELECT appearances FROM table_name_5 WHERE goals = 36</s> |
CREATE TABLE table_name_24 (score VARCHAR, tournament VARCHAR) | SELECT score FROM table_name_24 WHERE tournament = "tampere , finland" | What is Score, when Tournament is "Tampere , Finland"? | <s>[INST]What is Score, when Tournament is "Tampere , Finland"? Context: CREATE TABLE table_name_24 (score VARCHAR, tournament VARCHAR)[/INST]SELECT score FROM table_name_24 WHERE tournament = "tampere , finland"</s> |
CREATE TABLE table_name_19 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_19 WHERE team_2 = "hankook verdes" | Which team 1 had a Team 2 of hankook verdes? | <s>[INST]Which team 1 had a Team 2 of hankook verdes? Context: CREATE TABLE table_name_19 (team_1 VARCHAR, team_2 VARCHAR)[/INST]SELECT team_1 FROM table_name_19 WHERE team_2 = "hankook verdes"</s> |
CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR) | SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis" | what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis? | <s>[INST]what is the competing entities when the age group is 18 or younger, held every is one year and the sport is table tennis? Context: CREATE TABLE table_name_37 (competing_entities VARCHAR, sport VARCHAR, age_groups VARCHAR, held_every VARCHAR)[/INST]SELECT competing_entities FROM table_name_37 WHERE age_groups = "18 or younger" AND held_every = "one year" AND sport = "table tennis"</s> |
CREATE TABLE table_name_40 (opponents_in_the_final VARCHAR, date VARCHAR) | SELECT opponents_in_the_final FROM table_name_40 WHERE date = "june 10, 1996" | Who's the Opponents in the final with a Date of june 10, 1996? | <s>[INST]Who's the Opponents in the final with a Date of june 10, 1996? Context: CREATE TABLE table_name_40 (opponents_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_40 WHERE date = "june 10, 1996"</s> |
CREATE TABLE table_name_83 (total INTEGER, finish VARCHAR, player VARCHAR) | SELECT AVG(total) FROM table_name_83 WHERE finish = "t52" AND player = "hale irwin" | What is the average total of player hale irwin, who had a t52 finish? | <s>[INST]What is the average total of player hale irwin, who had a t52 finish? Context: CREATE TABLE table_name_83 (total INTEGER, finish VARCHAR, player VARCHAR)[/INST]SELECT AVG(total) FROM table_name_83 WHERE finish = "t52" AND player = "hale irwin"</s> |
CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_74 WHERE player = "nick faldo" | What Country has a Player of nick faldo? | <s>[INST]What Country has a Player of nick faldo? Context: CREATE TABLE table_name_74 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_74 WHERE player = "nick faldo"</s> |
CREATE TABLE table_name_97 (strike_rate VARCHAR, matches VARCHAR) | SELECT strike_rate FROM table_name_97 WHERE matches = "9" | What strike rate is 9 the matches? | <s>[INST]What strike rate is 9 the matches? Context: CREATE TABLE table_name_97 (strike_rate VARCHAR, matches VARCHAR)[/INST]SELECT strike_rate FROM table_name_97 WHERE matches = "9"</s> |
CREATE TABLE table_name_66 (against INTEGER, venue VARCHAR) | SELECT SUM(against) FROM table_name_66 WHERE venue = "asba park, kimberley" | How many againsts have asba park, kimberley as the venue? | <s>[INST]How many againsts have asba park, kimberley as the venue? Context: CREATE TABLE table_name_66 (against INTEGER, venue VARCHAR)[/INST]SELECT SUM(against) FROM table_name_66 WHERE venue = "asba park, kimberley"</s> |
CREATE TABLE table_name_51 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_51 WHERE record = "2-0" | What event did he have a 2-0 record? | <s>[INST]What event did he have a 2-0 record? Context: CREATE TABLE table_name_51 (event VARCHAR, record VARCHAR)[/INST]SELECT event FROM table_name_51 WHERE record = "2-0"</s> |
CREATE TABLE table_name_61 (country VARCHAR, network VARCHAR) | SELECT country FROM table_name_61 WHERE network = "nelonen" | Which Country has a Network of nelonen? | <s>[INST]Which Country has a Network of nelonen? Context: CREATE TABLE table_name_61 (country VARCHAR, network VARCHAR)[/INST]SELECT country FROM table_name_61 WHERE network = "nelonen"</s> |
CREATE TABLE table_19901_1 (trigger_pack VARCHAR, rear_sight_type VARCHAR, colt_model_no VARCHAR) | SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602" | What is the trigger pack on the Colt 602 with the a1 rear sight type? | <s>[INST]What is the trigger pack on the Colt 602 with the a1 rear sight type? Context: CREATE TABLE table_19901_1 (trigger_pack VARCHAR, rear_sight_type VARCHAR, colt_model_no VARCHAR)[/INST]SELECT trigger_pack FROM table_19901_1 WHERE rear_sight_type = "A1" AND colt_model_no = "602"</s> |
CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR) | SELECT component FROM table_name_21 WHERE integrated = "one" | What component has an integrated of one? | <s>[INST]What component has an integrated of one? Context: CREATE TABLE table_name_21 (component VARCHAR, integrated VARCHAR)[/INST]SELECT component FROM table_name_21 WHERE integrated = "one"</s> |
CREATE TABLE table_name_6 (against VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR) | SELECT COUNT(against) FROM table_name_6 WHERE status = "five nations" AND venue = "twickenham, london" AND opposing_teams = "scotland" | What's the total against for opposing team scotland at twickenham, london venue with a status of five nations? | <s>[INST]What's the total against for opposing team scotland at twickenham, london venue with a status of five nations? Context: CREATE TABLE table_name_6 (against VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_6 WHERE status = "five nations" AND venue = "twickenham, london" AND opposing_teams = "scotland"</s> |
CREATE TABLE table_name_49 (name VARCHAR, works_number VARCHAR) | SELECT name FROM table_name_49 WHERE works_number = "809" | Who is the name with a works number of 809? | <s>[INST]Who is the name with a works number of 809? Context: CREATE TABLE table_name_49 (name VARCHAR, works_number VARCHAR)[/INST]SELECT name FROM table_name_49 WHERE works_number = "809"</s> |
CREATE TABLE table_name_79 (male VARCHAR, year VARCHAR, female VARCHAR) | SELECT male FROM table_name_79 WHERE year < 2004 AND female = "dido" | Which male is paired with dido in 2004? | <s>[INST]Which male is paired with dido in 2004? Context: CREATE TABLE table_name_79 (male VARCHAR, year VARCHAR, female VARCHAR)[/INST]SELECT male FROM table_name_79 WHERE year < 2004 AND female = "dido"</s> |
CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR) | SELECT wins FROM table_name_36 WHERE races_† = "12/12" | How many wins are there for the Races of 12/12? | <s>[INST]How many wins are there for the Races of 12/12? Context: CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR)[/INST]SELECT wins FROM table_name_36 WHERE races_† = "12/12"</s> |
CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210 | What Country had a Player with a Score of 72-66-72=210? | <s>[INST]What Country had a Player with a Score of 72-66-72=210? Context: CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR)[/INST]SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210</s> |
CREATE TABLE table_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR) | SELECT class_3 FROM table_1936678_1 WHERE location = "Silverstone" AND class_1 = "RMIT University" | Name the class 3 for silverstone rmit university | <s>[INST]Name the class 3 for silverstone rmit university Context: CREATE TABLE table_1936678_1 (class_3 VARCHAR, location VARCHAR, class_1 VARCHAR)[/INST]SELECT class_3 FROM table_1936678_1 WHERE location = "Silverstone" AND class_1 = "RMIT University"</s> |
CREATE TABLE table_11274401_3 (timeslot VARCHAR, air_date VARCHAR) | SELECT timeslot FROM table_11274401_3 WHERE air_date = "May 12, 2009" | What was the timeslot for the episode that aired on May 12, 2009? | <s>[INST]What was the timeslot for the episode that aired on May 12, 2009? Context: CREATE TABLE table_11274401_3 (timeslot VARCHAR, air_date VARCHAR)[/INST]SELECT timeslot FROM table_11274401_3 WHERE air_date = "May 12, 2009"</s> |
CREATE TABLE table_2596811_12 (complement VARCHAR, killed VARCHAR) | SELECT complement FROM table_2596811_12 WHERE killed = "3 off 37 men" | What was the complement for the unit that had 3 off 37 men killed? | <s>[INST]What was the complement for the unit that had 3 off 37 men killed? Context: CREATE TABLE table_2596811_12 (complement VARCHAR, killed VARCHAR)[/INST]SELECT complement FROM table_2596811_12 WHERE killed = "3 off 37 men"</s> |
CREATE TABLE table_29077342_19 (points_classification VARCHAR, general_classification VARCHAR) | SELECT points_classification FROM table_29077342_19 WHERE general_classification = "Levi Leipheimer" | Name the points classification for levi leipheimer | <s>[INST]Name the points classification for levi leipheimer Context: CREATE TABLE table_29077342_19 (points_classification VARCHAR, general_classification VARCHAR)[/INST]SELECT points_classification FROM table_29077342_19 WHERE general_classification = "Levi Leipheimer"</s> |
CREATE TABLE table_name_4 (goal_difference VARCHAR, goals_against VARCHAR, played VARCHAR) | SELECT COUNT(goal_difference) FROM table_name_4 WHERE goals_against = 30 AND played < 18 | Tell me the totla number of goal difference for goals against of 30 and played less than 18 | <s>[INST]Tell me the totla number of goal difference for goals against of 30 and played less than 18 Context: CREATE TABLE table_name_4 (goal_difference VARCHAR, goals_against VARCHAR, played VARCHAR)[/INST]SELECT COUNT(goal_difference) FROM table_name_4 WHERE goals_against = 30 AND played < 18</s> |
CREATE TABLE table_name_70 (home VARCHAR, competition VARCHAR, round VARCHAR) | SELECT home FROM table_name_70 WHERE competition = "european cup" AND round = "qf" | Which Home has a Competition of european cup, and a Round of qf? | <s>[INST]Which Home has a Competition of european cup, and a Round of qf? Context: CREATE TABLE table_name_70 (home VARCHAR, competition VARCHAR, round VARCHAR)[/INST]SELECT home FROM table_name_70 WHERE competition = "european cup" AND round = "qf"</s> |
CREATE TABLE table_name_28 (note VARCHAR, year INTEGER) | SELECT note FROM table_name_28 WHERE year > 2003 | What was the note with a year after 2003? | <s>[INST]What was the note with a year after 2003? Context: CREATE TABLE table_name_28 (note VARCHAR, year INTEGER)[/INST]SELECT note FROM table_name_28 WHERE year > 2003</s> |
CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Highschooler (name VARCHAR); CREATE TABLE Friend (student_id VARCHAR) | SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id | Show names of all high school students who do not have any friends. | <s>[INST]Show names of all high school students who do not have any friends. Context: CREATE TABLE Highschooler (name VARCHAR, id VARCHAR); CREATE TABLE Highschooler (name VARCHAR); CREATE TABLE Friend (student_id VARCHAR)[/INST]SELECT name FROM Highschooler EXCEPT SELECT T2.name FROM Friend AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id</s> |
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR) | SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1 | Show the transaction type code that occurs the most frequently. | <s>[INST]Show the transaction type code that occurs the most frequently. Context: CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR)[/INST]SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR) | SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals" | What regular season did the team reach the conference semifinals in the playoffs? | <s>[INST]What regular season did the team reach the conference semifinals in the playoffs? Context: CREATE TABLE table_name_78 (regular_season VARCHAR, playoffs VARCHAR)[/INST]SELECT regular_season FROM table_name_78 WHERE playoffs = "conference semifinals"</s> |
CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman" | What is the party of the election in which Robert Bauman is the incumbent? | <s>[INST]What is the party of the election in which Robert Bauman is the incumbent? Context: CREATE TABLE table_1341690_20 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341690_20 WHERE incumbent = "Robert Bauman"</s> |
CREATE TABLE table_10015132_21 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_10015132_21 WHERE player = "Herb Williams" | Which school did Herb Williams go to? | <s>[INST]Which school did Herb Williams go to? Context: CREATE TABLE table_10015132_21 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_10015132_21 WHERE player = "Herb Williams"</s> |
CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR) | SELECT COUNT(league) AS Cup FROM table_17598822_11 WHERE player = "Mark Roberts" | Name the total number of league cup for mark roberts | <s>[INST]Name the total number of league cup for mark roberts Context: CREATE TABLE table_17598822_11 (league VARCHAR, player VARCHAR)[/INST]SELECT COUNT(league) AS Cup FROM table_17598822_11 WHERE player = "Mark Roberts"</s> |
CREATE TABLE table_name_36 (detroit__dtw_ VARCHAR, year VARCHAR, kalamazoo__azo_ VARCHAR) | SELECT detroit__dtw_ FROM table_name_36 WHERE year < 2010 AND kalamazoo__azo_ = "$517.32" | Before the year 2010, and when Kalamazoo had a passenger fare of $517.32, what was the passenger fare for Detroit? | <s>[INST]Before the year 2010, and when Kalamazoo had a passenger fare of $517.32, what was the passenger fare for Detroit? Context: CREATE TABLE table_name_36 (detroit__dtw_ VARCHAR, year VARCHAR, kalamazoo__azo_ VARCHAR)[/INST]SELECT detroit__dtw_ FROM table_name_36 WHERE year < 2010 AND kalamazoo__azo_ = "$517.32"</s> |
CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, name VARCHAR) | SELECT deceased_spouse FROM table_24143253_1 WHERE name = "Carol DeLuise" | Name the decease spouse for carol deluise | <s>[INST]Name the decease spouse for carol deluise Context: CREATE TABLE table_24143253_1 (deceased_spouse VARCHAR, name VARCHAR)[/INST]SELECT deceased_spouse FROM table_24143253_1 WHERE name = "Carol DeLuise"</s> |
CREATE TABLE table_name_63 (date VARCHAR, distance VARCHAR) | SELECT date FROM table_name_63 WHERE distance = "3,000 m" | Which Date has a Distance of 3,000 m? | <s>[INST]Which Date has a Distance of 3,000 m? Context: CREATE TABLE table_name_63 (date VARCHAR, distance VARCHAR)[/INST]SELECT date FROM table_name_63 WHERE distance = "3,000 m"</s> |
CREATE TABLE table_name_43 (team VARCHAR, driver VARCHAR, laps VARCHAR, points VARCHAR) | SELECT team FROM table_name_43 WHERE laps = 90 AND points < 19 AND driver = "patrick carpentier" | When Patrick Carpentier is driving and has less than 19 points with 90 laps, what team is racing? | <s>[INST]When Patrick Carpentier is driving and has less than 19 points with 90 laps, what team is racing? Context: CREATE TABLE table_name_43 (team VARCHAR, driver VARCHAR, laps VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_name_43 WHERE laps = 90 AND points < 19 AND driver = "patrick carpentier"</s> |
CREATE TABLE table_name_92 (_percentage_of_seats VARCHAR, difference VARCHAR) | SELECT _percentage_of_seats FROM table_name_92 WHERE difference = "0.19" | What is the % of seats where the difference is 0.19? | <s>[INST]What is the % of seats where the difference is 0.19? Context: CREATE TABLE table_name_92 (_percentage_of_seats VARCHAR, difference VARCHAR)[/INST]SELECT _percentage_of_seats FROM table_name_92 WHERE difference = "0.19"</s> |
CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_4 WHERE event = "mars: attack 1" | What was the method of fight completion for the Mars: Attack 1 event? | <s>[INST]What was the method of fight completion for the Mars: Attack 1 event? Context: CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_4 WHERE event = "mars: attack 1"</s> |
CREATE TABLE table_name_92 (model INTEGER, maximum_memory VARCHAR) | SELECT MAX(model) FROM table_name_92 WHERE maximum_memory = "512 mb" | Which model has a maximum memory of 512 mb? | <s>[INST]Which model has a maximum memory of 512 mb? Context: CREATE TABLE table_name_92 (model INTEGER, maximum_memory VARCHAR)[/INST]SELECT MAX(model) FROM table_name_92 WHERE maximum_memory = "512 mb"</s> |
CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR) | SELECT stops FROM table_2385460_1 WHERE stations = 36 | Name the stops for stations 36 | <s>[INST]Name the stops for stations 36 Context: CREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)[/INST]SELECT stops FROM table_2385460_1 WHERE stations = 36</s> |
CREATE TABLE table_name_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR) | SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926 | What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926? | <s>[INST]What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926? Context: CREATE TABLE table_name_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR)[/INST]SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926</s> |
CREATE TABLE table_1417184_1 (canton VARCHAR, commune VARCHAR) | SELECT COUNT(canton) FROM table_1417184_1 WHERE commune = "Waldbillig" | how many canton with commune being waldbillig | <s>[INST] how many canton with commune being waldbillig Context: CREATE TABLE table_1417184_1 (canton VARCHAR, commune VARCHAR)[/INST]SELECT COUNT(canton) FROM table_1417184_1 WHERE commune = "Waldbillig"</s> |
CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR) | SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)" | What's the nationality of the player coming from Edmonton Oil Kings (WCHL)? | <s>[INST]What's the nationality of the player coming from Edmonton Oil Kings (WCHL)? Context: CREATE TABLE table_1965650_4 (nationality VARCHAR, college_junior_club_team VARCHAR)[/INST]SELECT nationality FROM table_1965650_4 WHERE college_junior_club_team = "Edmonton Oil Kings (WCHL)"</s> |
CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, no VARCHAR) | SELECT premiere_air_dates FROM table_1949994_7 WHERE no = 3 | What's season 3's premiere date? | <s>[INST]What's season 3's premiere date? Context: CREATE TABLE table_1949994_7 (premiere_air_dates VARCHAR, no VARCHAR)[/INST]SELECT premiere_air_dates FROM table_1949994_7 WHERE no = 3</s> |
CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy" | What is the height of the player from Benetton Treviso, Italy? | <s>[INST]What is the height of the player from Benetton Treviso, Italy? Context: CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy"</s> |
CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR) | SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye" | What was the original air date of the episode directed by frederick e. o. toye? | <s>[INST]What was the original air date of the episode directed by frederick e. o. toye? Context: CREATE TABLE table_25923164_1 (original_air_date VARCHAR, directed_by VARCHAR)[/INST]SELECT original_air_date FROM table_25923164_1 WHERE directed_by = "Frederick E. O. Toye"</s> |
CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR) | SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154" | What is Player, when Country is "United States", and when Total is "154"? | <s>[INST]What is Player, when Country is "United States", and when Total is "154"? Context: CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154"</s> |
CREATE TABLE table_27487336_1 (points_per_game VARCHAR, passing_yards_per_game VARCHAR) | SELECT points_per_game FROM table_27487336_1 WHERE passing_yards_per_game = "179.6" | What is every value for points per game if passing yards per game is 179.6? | <s>[INST]What is every value for points per game if passing yards per game is 179.6? Context: CREATE TABLE table_27487336_1 (points_per_game VARCHAR, passing_yards_per_game VARCHAR)[/INST]SELECT points_per_game FROM table_27487336_1 WHERE passing_yards_per_game = "179.6"</s> |
CREATE TABLE table_name_39 (coach VARCHAR, big_ten VARCHAR) | SELECT coach FROM table_name_39 WHERE big_ten = "1st (148)" | What is the Coach with a Big Ten that is 1st (148)? | <s>[INST]What is the Coach with a Big Ten that is 1st (148)? Context: CREATE TABLE table_name_39 (coach VARCHAR, big_ten VARCHAR)[/INST]SELECT coach FROM table_name_39 WHERE big_ten = "1st (148)"</s> |
CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE invoices (customer_id VARCHAR) | SELECT T1.first_name, T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id ORDER BY total LIMIT 10 | List the customers first and last name of 10 least expensive invoices. | <s>[INST]List the customers first and last name of 10 least expensive invoices. Context: CREATE TABLE customers (first_name VARCHAR, last_name VARCHAR, id VARCHAR); CREATE TABLE invoices (customer_id VARCHAR)[/INST]SELECT T1.first_name, T1.last_name FROM customers AS T1 JOIN invoices AS T2 ON T2.customer_id = T1.id ORDER BY total LIMIT 10</s> |
CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR, price INTEGER) | SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name HAVING AVG(T1.price) >= 150 | Select the names of manufacturer whose products have an average price higher than or equal to $150. | <s>[INST]Select the names of manufacturer whose products have an average price higher than or equal to $150. Context: CREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR, price INTEGER)[/INST]SELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name HAVING AVG(T1.price) >= 150</s> |
CREATE TABLE table_name_42 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_42 WHERE player = "mark hayes" | What was the pick number when mark hayes was drafted? | <s>[INST]What was the pick number when mark hayes was drafted? Context: CREATE TABLE table_name_42 (pick VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_42 WHERE player = "mark hayes"</s> |
CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR) | SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi" | Which Tuesday has a Saturday of 土曜日 doyōbi? | <s>[INST]Which Tuesday has a Saturday of 土曜日 doyōbi? Context: CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR)[/INST]SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi"</s> |
CREATE TABLE table_name_99 (player VARCHAR, pick VARCHAR, hometown_school VARCHAR) | SELECT player FROM table_name_99 WHERE pick > 15 AND hometown_school = "dayton, oh" | What is the Player from Dayton, Oh with a Pick of 15 or larger? | <s>[INST]What is the Player from Dayton, Oh with a Pick of 15 or larger? Context: CREATE TABLE table_name_99 (player VARCHAR, pick VARCHAR, hometown_school VARCHAR)[/INST]SELECT player FROM table_name_99 WHERE pick > 15 AND hometown_school = "dayton, oh"</s> |
CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0 | What year had the Chassis of march 762 and more than 0 points? | <s>[INST]What year had the Chassis of march 762 and more than 0 points? Context: CREATE TABLE table_name_64 (year VARCHAR, chassis VARCHAR, points VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_64 WHERE chassis = "march 762" AND points > 0</s> |
CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER) | SELECT SUM(grid) FROM table_name_5 WHERE laps < 6 | For Laps smaller than 6, what does the Grid add up to? | <s>[INST]For Laps smaller than 6, what does the Grid add up to? Context: CREATE TABLE table_name_5 (grid INTEGER, laps INTEGER)[/INST]SELECT SUM(grid) FROM table_name_5 WHERE laps < 6</s> |
CREATE TABLE table_name_51 (Chinese VARCHAR, index VARCHAR, status VARCHAR, country VARCHAR) | SELECT Chinese AS name FROM table_name_51 WHERE status = "eliminated" AND country = "singapore" AND index = "f9" | What is the Chinese name of the Eliminated player from Singapore in Index f9? | <s>[INST]What is the Chinese name of the Eliminated player from Singapore in Index f9? Context: CREATE TABLE table_name_51 (Chinese VARCHAR, index VARCHAR, status VARCHAR, country VARCHAR)[/INST]SELECT Chinese AS name FROM table_name_51 WHERE status = "eliminated" AND country = "singapore" AND index = "f9"</s> |
CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR) | SELECT position FROM table_name_47 WHERE club_province = "newcastle" AND caps < 24 AND player = "toby flood" | What position does Toby Flood, who is from Newcastle and has fewer than 24 caps, play? | <s>[INST]What position does Toby Flood, who is from Newcastle and has fewer than 24 caps, play? Context: CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, club_province VARCHAR, caps VARCHAR)[/INST]SELECT position FROM table_name_47 WHERE club_province = "newcastle" AND caps < 24 AND player = "toby flood"</s> |
CREATE TABLE table_name_6 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_6 WHERE date = "jul 14, 2013" | Which Tournament has a Date of jul 14, 2013? | <s>[INST]Which Tournament has a Date of jul 14, 2013? Context: CREATE TABLE table_name_6 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_6 WHERE date = "jul 14, 2013"</s> |
CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR) | SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman" | What's the series of Buddy The Woodsman by director Jack King? | <s>[INST]What's the series of Buddy The Woodsman by director Jack King? Context: CREATE TABLE table_name_33 (series VARCHAR, director VARCHAR, title VARCHAR)[/INST]SELECT series FROM table_name_33 WHERE director = "jack king" AND title = "buddy the woodsman"</s> |
CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER) | SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9 | What's the total when A Score was less than 6.9? | <s>[INST]What's the total when A Score was less than 6.9? Context: CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER)[/INST]SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9</s> |
CREATE TABLE table_name_78 (crowd INTEGER, home_team VARCHAR) | SELECT SUM(crowd) FROM table_name_78 WHERE home_team = "essendon" | How big was the crowd for Essendon? | <s>[INST]How big was the crowd for Essendon? Context: CREATE TABLE table_name_78 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_78 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_86 WHERE date = "23 july 1992" | I want the score for 23 july 1992 | <s>[INST]I want the score for 23 july 1992 Context: CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE date = "23 july 1992"</s> |
CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR, score VARCHAR) | SELECT date FROM table_name_94 WHERE result = "w" AND score = "3-0" | Which Date has a Result of w, and a Score of 3-0? | <s>[INST]Which Date has a Result of w, and a Score of 3-0? Context: CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE result = "w" AND score = "3-0"</s> |
CREATE TABLE table_name_17 (rank VARCHAR, laps VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5" | What rank had more than 165 laps and a finish of 5? | <s>[INST]What rank had more than 165 laps and a finish of 5? Context: CREATE TABLE table_name_17 (rank VARCHAR, laps VARCHAR, finish VARCHAR)[/INST]SELECT rank FROM table_name_17 WHERE laps > 165 AND finish = "5"</s> |
CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR, loss VARCHAR) | SELECT record FROM table_name_61 WHERE opponent = "yankees" AND loss = "mulholland (5-6)" | What is the record of teams that play the yankees, and lose at mulholland (5-6) | <s>[INST]What is the record of teams that play the yankees, and lose at mulholland (5-6) Context: CREATE TABLE table_name_61 (record VARCHAR, opponent VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_61 WHERE opponent = "yankees" AND loss = "mulholland (5-6)"</s> |
CREATE TABLE table_name_62 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT constructor FROM table_name_62 WHERE laps < 68 AND grid > 20 AND driver = "thierry boutsen" | who is the constructor when the laps is less than 68, the grid is more than 20 and the driver is thierry boutsen? | <s>[INST]who is the constructor when the laps is less than 68, the grid is more than 20 and the driver is thierry boutsen? Context: CREATE TABLE table_name_62 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT constructor FROM table_name_62 WHERE laps < 68 AND grid > 20 AND driver = "thierry boutsen"</s> |
CREATE TABLE table_name_23 (games INTEGER, goals VARCHAR, debut_year VARCHAR) | SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935 | How many games had 22 goals before 1935? | <s>[INST]How many games had 22 goals before 1935? Context: CREATE TABLE table_name_23 (games INTEGER, goals VARCHAR, debut_year VARCHAR)[/INST]SELECT SUM(games) FROM table_name_23 WHERE goals = 22 AND debut_year < 1935</s> |
CREATE TABLE table_name_27 (pl_gp INTEGER, rd__number INTEGER) | SELECT MAX(pl_gp) FROM table_name_27 WHERE rd__number > 9 | What is the highest PL GP for a round greater than 9? | <s>[INST]What is the highest PL GP for a round greater than 9? Context: CREATE TABLE table_name_27 (pl_gp INTEGER, rd__number INTEGER)[/INST]SELECT MAX(pl_gp) FROM table_name_27 WHERE rd__number > 9</s> |
CREATE TABLE table_name_25 (rank VARCHAR, s_wicket VARCHAR) | SELECT rank FROM table_name_25 WHERE s_wicket = "65" | What Rank has a 65 s Wicket? | <s>[INST]What Rank has a 65 s Wicket? Context: CREATE TABLE table_name_25 (rank VARCHAR, s_wicket VARCHAR)[/INST]SELECT rank FROM table_name_25 WHERE s_wicket = "65"</s> |
CREATE TABLE table_name_46 (name VARCHAR, street_address VARCHAR) | SELECT name FROM table_name_46 WHERE street_address = "980 n. michigan avenue" | Street Address of 980 n. michigan avenue is what name? | <s>[INST]Street Address of 980 n. michigan avenue is what name? Context: CREATE TABLE table_name_46 (name VARCHAR, street_address VARCHAR)[/INST]SELECT name FROM table_name_46 WHERE street_address = "980 n. michigan avenue"</s> |
CREATE TABLE table_name_52 (date VARCHAR, others VARCHAR, psd___pc VARCHAR) | SELECT date FROM table_name_52 WHERE others = "n/a" AND psd___pc = "30%" | When the other is n/a and the psc-pc is 30% what is the date? | <s>[INST]When the other is n/a and the psc-pc is 30% what is the date? Context: CREATE TABLE table_name_52 (date VARCHAR, others VARCHAR, psd___pc VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE others = "n/a" AND psd___pc = "30%"</s> |
CREATE TABLE table_name_7 (presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR) | SELECT presentation_of_credentials FROM table_name_7 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "raúl h. castro" | What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary? | <s>[INST]What is the presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary? Context: CREATE TABLE table_name_7 (presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR)[/INST]SELECT presentation_of_credentials FROM table_name_7 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "raúl h. castro"</s> |
CREATE TABLE table_name_60 (code__iata_ VARCHAR) | SELECT 2003 AS rank FROM table_name_60 WHERE code__iata_ = "sin" | What 2003 rank does the airport IATA code SIN have? | <s>[INST]What 2003 rank does the airport IATA code SIN have? Context: CREATE TABLE table_name_60 (code__iata_ VARCHAR)[/INST]SELECT 2003 AS rank FROM table_name_60 WHERE code__iata_ = "sin"</s> |
CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR) | SELECT builder FROM table_name_98 WHERE name = "uss cambridge" | Who was the builder for the USS cambridge? | <s>[INST]Who was the builder for the USS cambridge? Context: CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR)[/INST]SELECT builder FROM table_name_98 WHERE name = "uss cambridge"</s> |
CREATE TABLE table_name_92 (date VARCHAR, jurisdiction VARCHAR) | SELECT date FROM table_name_92 WHERE jurisdiction = "oregon" | Name the date for oregon jurisdiction | <s>[INST]Name the date for oregon jurisdiction Context: CREATE TABLE table_name_92 (date VARCHAR, jurisdiction VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE jurisdiction = "oregon"</s> |
CREATE TABLE table_name_17 (year INTEGER, notes VARCHAR) | SELECT MIN(year) FROM table_name_17 WHERE notes = "dnf" | Which Year that has Notes of dnf? | <s>[INST]Which Year that has Notes of dnf? Context: CREATE TABLE table_name_17 (year INTEGER, notes VARCHAR)[/INST]SELECT MIN(year) FROM table_name_17 WHERE notes = "dnf"</s> |
CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR) | SELECT calls FROM table_name_88 WHERE frequency = "1290 khz" | Tell me the calls for frequency of 1290 khz | <s>[INST]Tell me the calls for frequency of 1290 khz Context: CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)[/INST]SELECT calls FROM table_name_88 WHERE frequency = "1290 khz"</s> |
CREATE TABLE table_name_25 (year VARCHAR, category VARCHAR, nominated_work VARCHAR) | SELECT COUNT(year) FROM table_name_25 WHERE category = "outstanding featured actor in a musical" AND nominated_work = "evita" | What year was Evita nominated for outstanding featured actor in a musical? | <s>[INST]What year was Evita nominated for outstanding featured actor in a musical? Context: CREATE TABLE table_name_25 (year VARCHAR, category VARCHAR, nominated_work VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_25 WHERE category = "outstanding featured actor in a musical" AND nominated_work = "evita"</s> |
CREATE TABLE table_25084227_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR) | SELECT written_by FROM table_25084227_1 WHERE us_viewers__in_millions_ = "2.09" | if the 2.09 million US viewers watched this episode, who was it written by | <s>[INST]if the 2.09 million US viewers watched this episode, who was it written by Context: CREATE TABLE table_25084227_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)[/INST]SELECT written_by FROM table_25084227_1 WHERE us_viewers__in_millions_ = "2.09"</s> |
CREATE TABLE table_name_1 (lead VARCHAR, nation VARCHAR) | SELECT lead FROM table_name_1 WHERE nation = "croatia" | Where did Croatia lead? | <s>[INST]Where did Croatia lead? Context: CREATE TABLE table_name_1 (lead VARCHAR, nation VARCHAR)[/INST]SELECT lead FROM table_name_1 WHERE nation = "croatia"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.