context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR) | SELECT COUNT(laps) FROM table_name_37 WHERE time = "+2.987" | How many laps had a time of +2.987? | <s>[INST]How many laps had a time of +2.987? Context: CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_37 WHERE time = "+2.987"</s> |
CREATE TABLE table_10707142_2 (report VARCHAR, circuit VARCHAR) | SELECT report FROM table_10707142_2 WHERE circuit = "Nazareth Speedway" | what is the report called where the circuit took place at the nazareth speedway? | <s>[INST]what is the report called where the circuit took place at the nazareth speedway? Context: CREATE TABLE table_10707142_2 (report VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_10707142_2 WHERE circuit = "Nazareth Speedway"</s> |
CREATE TABLE table_name_45 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT city_of_license FROM table_name_45 WHERE frequency_mhz < 100.9 AND erp_w > 100 | Which City of license has a Frequency MHz smaller than 100.9, and a ERP W larger than 100? | <s>[INST]Which City of license has a Frequency MHz smaller than 100.9, and a ERP W larger than 100? Context: CREATE TABLE table_name_45 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT city_of_license FROM table_name_45 WHERE frequency_mhz < 100.9 AND erp_w > 100</s> |
CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR) | SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1" | Name the total number of rank timeslot for 18-49 being 3.1 | <s>[INST]Name the total number of rank timeslot for 18-49 being 3.1 Context: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR)[/INST]SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1"</s> |
CREATE TABLE table_27743641_2 (gt_winning_team VARCHAR, results VARCHAR) | SELECT gt_winning_team FROM table_27743641_2 WHERE results = "Report" | Who were the GT winning team when the results were "report"? | <s>[INST]Who were the GT winning team when the results were "report"? Context: CREATE TABLE table_27743641_2 (gt_winning_team VARCHAR, results VARCHAR)[/INST]SELECT gt_winning_team FROM table_27743641_2 WHERE results = "Report"</s> |
CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR) | SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonus = "5" | For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? | <s>[INST]For the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn? Context: CREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)[/INST]SELECT drawn FROM table_name_94 WHERE played = "22" AND points_against = "453" AND losing_bonu... |
CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–1" | Name the date that had a score of 7–6(4), 6–1 | <s>[INST]Name the date that had a score of 7–6(4), 6–1 Context: CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–1"</s> |
CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR) | SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaļkalns" | Name the country for athlete of ziedonis zaļkalns | <s>[INST]Name the country for athlete of ziedonis zaļkalns Context: CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR)[/INST]SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaļkalns"</s> |
CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR) | SELECT founded FROM table_name_95 WHERE suburb = "beaudesert" | What year was the Beaudesert suburb club founded | <s>[INST]What year was the Beaudesert suburb club founded Context: CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR)[/INST]SELECT founded FROM table_name_95 WHERE suburb = "beaudesert"</s> |
CREATE TABLE table_18461045_1 (kentucky VARCHAR, indiana VARCHAR, wisconsin VARCHAR) | SELECT kentucky FROM table_18461045_1 WHERE indiana = "Brownsburg LL Brownsburg" AND wisconsin = "Merrill LL Merrill" | What was the little league team from Kentucky when the little league team from Indiana and Wisconsin were Brownsburg LL Brownsburg and Merrill LL Merrill? | <s>[INST]What was the little league team from Kentucky when the little league team from Indiana and Wisconsin were Brownsburg LL Brownsburg and Merrill LL Merrill? Context: CREATE TABLE table_18461045_1 (kentucky VARCHAR, indiana VARCHAR, wisconsin VARCHAR)[/INST]SELECT kentucky FROM table_18461045_1 WHERE indiana = "B... |
CREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR) | SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 9 | Which Game has a Record of 4–2–1, and Points larger than 9? | <s>[INST]Which Game has a Record of 4–2–1, and Points larger than 9? Context: CREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR)[/INST]SELECT SUM(game) FROM table_name_19 WHERE record = "4–2–1" AND points > 9</s> |
CREATE TABLE table_17311759_5 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_17311759_5 WHERE date = "December 9" | What was the location and the crowd attendance on December 9? | <s>[INST]What was the location and the crowd attendance on December 9? Context: CREATE TABLE table_17311759_5 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_17311759_5 WHERE date = "December 9"</s> |
CREATE TABLE table_1682026_6 (market_value__billion_$_ VARCHAR, sales__billion_$_ VARCHAR) | SELECT market_value__billion_$_ FROM table_1682026_6 WHERE sales__billion_$_ = "172.7" | What is the market value of a company in billions that has 172.7 billion in sales? | <s>[INST]What is the market value of a company in billions that has 172.7 billion in sales? Context: CREATE TABLE table_1682026_6 (market_value__billion_$_ VARCHAR, sales__billion_$_ VARCHAR)[/INST]SELECT market_value__billion_$_ FROM table_1682026_6 WHERE sales__billion_$_ = "172.7"</s> |
CREATE TABLE table_name_66 (rating VARCHAR, share INTEGER) | SELECT COUNT(rating) FROM table_name_66 WHERE share < 4 | What is the total ratings on share less than 4? | <s>[INST]What is the total ratings on share less than 4? Context: CREATE TABLE table_name_66 (rating VARCHAR, share INTEGER)[/INST]SELECT COUNT(rating) FROM table_name_66 WHERE share < 4</s> |
CREATE TABLE table_20524090_1 (county VARCHAR, mccain_percentage VARCHAR) | SELECT COUNT(county) FROM table_20524090_1 WHERE mccain_percentage = "41.62%" | In how many counties di McCain win 41.62% of the vote? | <s>[INST]In how many counties di McCain win 41.62% of the vote? Context: CREATE TABLE table_20524090_1 (county VARCHAR, mccain_percentage VARCHAR)[/INST]SELECT COUNT(county) FROM table_20524090_1 WHERE mccain_percentage = "41.62%"</s> |
CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR) | SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND runners_up = "tianjin" AND number_of_clubs > 8 | What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs? | <s>[INST]What is the lowest total number of wins in a season before 1989 with tianjin as the runners-up and more than 8 clubs? Context: CREATE TABLE table_name_92 (total_wins INTEGER, number_of_clubs VARCHAR, season VARCHAR, runners_up VARCHAR)[/INST]SELECT MIN(total_wins) FROM table_name_92 WHERE season < 1989 AND run... |
CREATE TABLE table_name_8 (director VARCHAR, language VARCHAR) | SELECT director FROM table_name_8 WHERE language = "dutch" | Who is the Director that speaks dutch? | <s>[INST]Who is the Director that speaks dutch? Context: CREATE TABLE table_name_8 (director VARCHAR, language VARCHAR)[/INST]SELECT director FROM table_name_8 WHERE language = "dutch"</s> |
CREATE TABLE manufacturers (code VARCHAR, name VARCHAR); CREATE TABLE products (name VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR) | SELECT COUNT(DISTINCT name) FROM products WHERE NOT name IN (SELECT T1.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code WHERE T2.name = 'Sony') | Find number of products which Sony does not make. | <s>[INST]Find number of products which Sony does not make. Context: CREATE TABLE manufacturers (code VARCHAR, name VARCHAR); CREATE TABLE products (name VARCHAR); CREATE TABLE products (name VARCHAR, Manufacturer VARCHAR)[/INST]SELECT COUNT(DISTINCT name) FROM products WHERE NOT name IN (SELECT T1.name FROM products AS... |
CREATE TABLE table_name_20 (district VARCHAR, name VARCHAR) | SELECT district FROM table_name_20 WHERE name = "mahidpur" | What district has an assembly segment named mahidpur? | <s>[INST]What district has an assembly segment named mahidpur? Context: CREATE TABLE table_name_20 (district VARCHAR, name VARCHAR)[/INST]SELECT district FROM table_name_20 WHERE name = "mahidpur"</s> |
CREATE TABLE table_1341453_12 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341453_12 WHERE incumbent = "Saxby Chambliss" | Who were the candidates in the election where Saxby Chambliss was the incumbent? | <s>[INST]Who were the candidates in the election where Saxby Chambliss was the incumbent? Context: CREATE TABLE table_1341453_12 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1341453_12 WHERE incumbent = "Saxby Chambliss"</s> |
CREATE TABLE table_1301373_1 (location VARCHAR, team VARCHAR) | SELECT COUNT(location) FROM table_1301373_1 WHERE team = "Newcastle Jets" | How many locations does the team Newcastle Jets come from? | <s>[INST]How many locations does the team Newcastle Jets come from? Context: CREATE TABLE table_1301373_1 (location VARCHAR, team VARCHAR)[/INST]SELECT COUNT(location) FROM table_1301373_1 WHERE team = "Newcastle Jets"</s> |
CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR) | SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND superintendent = "Charlie Wiltse" | How many years was lynn muscarella the high school principal and charlie wiltse the superintendent? | <s>[INST]How many years was lynn muscarella the high school principal and charlie wiltse the superintendent? Context: CREATE TABLE table_25037577_1 (year VARCHAR, high_school_principal VARCHAR, superintendent VARCHAR)[/INST]SELECT COUNT(year) FROM table_25037577_1 WHERE high_school_principal = "Lynn Muscarella" AND sup... |
CREATE TABLE table_name_3 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR) | SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49 | What was the total tenure time with a rank of 49? | <s>[INST]What was the total tenure time with a rank of 49? Context: CREATE TABLE table_name_3 (total_tenure_time VARCHAR, total_tenure_rank VARCHAR)[/INST]SELECT total_tenure_time FROM table_name_3 WHERE total_tenure_rank = 49</s> |
CREATE TABLE table_name_33 (wins INTEGER, tournament VARCHAR, events VARCHAR) | SELECT MIN(wins) FROM table_name_33 WHERE tournament = "pga championship" AND events > 3 | For more than 3 events in the PGA Championship, what is the fewest number of wins? | <s>[INST]For more than 3 events in the PGA Championship, what is the fewest number of wins? Context: CREATE TABLE table_name_33 (wins INTEGER, tournament VARCHAR, events VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_33 WHERE tournament = "pga championship" AND events > 3</s> |
CREATE TABLE table_name_2 (money___ VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT COUNT(money___) AS $__ FROM table_name_2 WHERE to_par = 13 AND player = "julius boros" | What is the total number of Money ( $ ), when To Par is "13", and when Player is "Julius Boros"? | <s>[INST]What is the total number of Money ( $ ), when To Par is "13", and when Player is "Julius Boros"? Context: CREATE TABLE table_name_2 (money___ VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT COUNT(money___) AS $__ FROM table_name_2 WHERE to_par = 13 AND player = "julius boros"</s> |
CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148 | What United States Player has a To par of +4 and a Score of 71-77=148? | <s>[INST]What United States Player has a To par of +4 and a Score of 71-77=148? Context: CREATE TABLE table_name_67 (player VARCHAR, country VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE country = "united states" AND to_par = "+4" AND score = 71 - 77 = 148</s> |
CREATE TABLE table_name_87 (train_no VARCHAR, origin VARCHAR) | SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction" | What is number of the train that originated in Secunderabad Junction? | <s>[INST]What is number of the train that originated in Secunderabad Junction? Context: CREATE TABLE table_name_87 (train_no VARCHAR, origin VARCHAR)[/INST]SELECT train_no FROM table_name_87 WHERE origin = "secunderabad junction"</s> |
CREATE TABLE table_27116696_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_27116696_1 WHERE production_code = "3T7255" | Who wrote the episode with the production code of 3t7255? | <s>[INST]Who wrote the episode with the production code of 3t7255? Context: CREATE TABLE table_27116696_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_27116696_1 WHERE production_code = "3T7255"</s> |
CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR) | SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th" | When 5th is the regular season what is the highest season? | <s>[INST]When 5th is the regular season what is the highest season? Context: CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR)[/INST]SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th"</s> |
CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR) | SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%" | when was the first elected when the candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%? | <s>[INST]when was the first elected when the candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%? Context: CREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR)[/INST]SELECT first_elected FROM table_2668347_14 WHERE candidates = "Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%"</s> |
CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR) | SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04" | Who directed the episode with a production code of 4WAB04? | <s>[INST]Who directed the episode with a production code of 4WAB04? Context: CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR)[/INST]SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB04"</s> |
CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR) | SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli" | What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli? | <s>[INST]What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli? Context: CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)[/INST]SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-pri... |
CREATE TABLE table_16226584_1 (mi_from_kingston VARCHAR, length_feet VARCHAR) | SELECT mi_from_kingston FROM table_16226584_1 WHERE length_feet = 362 | When the railroad length is 362 feet how many miles is it from kingston? | <s>[INST]When the railroad length is 362 feet how many miles is it from kingston? Context: CREATE TABLE table_16226584_1 (mi_from_kingston VARCHAR, length_feet VARCHAR)[/INST]SELECT mi_from_kingston FROM table_16226584_1 WHERE length_feet = 362</s> |
CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR) | SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne" | How many votes were cast in Wayne county? | <s>[INST]How many votes were cast in Wayne county? Context: CREATE TABLE table_13625792_1 (total__number INTEGER, county VARCHAR)[/INST]SELECT MAX(total__number) FROM table_13625792_1 WHERE county = "Wayne"</s> |
CREATE TABLE table_name_62 (ends_lost VARCHAR, skip VARCHAR, stolen_ends VARCHAR) | SELECT COUNT(ends_lost) FROM table_name_62 WHERE skip = "kevin koe" AND stolen_ends > 6 | How many ends lost when skip is Kevin Koe and stolen ends are more than 6? | <s>[INST]How many ends lost when skip is Kevin Koe and stolen ends are more than 6? Context: CREATE TABLE table_name_62 (ends_lost VARCHAR, skip VARCHAR, stolen_ends VARCHAR)[/INST]SELECT COUNT(ends_lost) FROM table_name_62 WHERE skip = "kevin koe" AND stolen_ends > 6</s> |
CREATE TABLE table_22050544_1 (winner VARCHAR, elapsed_time VARCHAR) | SELECT winner FROM table_22050544_1 WHERE elapsed_time = "12 h 42 min" | Who is the winner with an elapsed time of 12 h 42 min? | <s>[INST]Who is the winner with an elapsed time of 12 h 42 min? Context: CREATE TABLE table_22050544_1 (winner VARCHAR, elapsed_time VARCHAR)[/INST]SELECT winner FROM table_22050544_1 WHERE elapsed_time = "12 h 42 min"</s> |
CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR) | SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma" | Which Office has a Party of rep, and a Representative of brian bosma? | <s>[INST]Which Office has a Party of rep, and a Representative of brian bosma? Context: CREATE TABLE table_name_9 (office VARCHAR, party VARCHAR, representative VARCHAR)[/INST]SELECT office FROM table_name_9 WHERE party = "rep" AND representative = "brian bosma"</s> |
CREATE TABLE table_name_66 (goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR, points VARCHAR) | SELECT COUNT(goals_for) FROM table_name_66 WHERE draws < 11 AND points = "54+16" AND goals_against < 39 | How many goals for where there when draws are less than 11, points of is 54+16 and goals against are less than 39? | <s>[INST]How many goals for where there when draws are less than 11, points of is 54+16 and goals against are less than 39? Context: CREATE TABLE table_name_66 (goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR, points VARCHAR)[/INST]SELECT COUNT(goals_for) FROM table_name_66 WHERE draws < 11 AND points = "54+16"... |
CREATE TABLE table_name_54 (starts INTEGER, avg_finish INTEGER) | SELECT SUM(starts) FROM table_name_54 WHERE avg_finish > 43 | How many starts for an average finish greater than 43? | <s>[INST]How many starts for an average finish greater than 43? Context: CREATE TABLE table_name_54 (starts INTEGER, avg_finish INTEGER)[/INST]SELECT SUM(starts) FROM table_name_54 WHERE avg_finish > 43</s> |
CREATE TABLE table_1341453_15 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341453_15 WHERE incumbent = "John Porter" | What district was John Porter elected in? | <s>[INST]What district was John Porter elected in? Context: CREATE TABLE table_1341453_15 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341453_15 WHERE incumbent = "John Porter"</s> |
CREATE TABLE mountain (prominence INTEGER, country VARCHAR) | SELECT AVG(prominence) FROM mountain WHERE country = 'Morocco' | What are the average prominence of the mountains in country 'Morocco'? | <s>[INST]What are the average prominence of the mountains in country 'Morocco'? Context: CREATE TABLE mountain (prominence INTEGER, country VARCHAR)[/INST]SELECT AVG(prominence) FROM mountain WHERE country = 'Morocco'</s> |
CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR) | SELECT home FROM table_name_60 WHERE attendance < 2248 AND score = "2:0" AND date = "21 september 2008" | What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score? | <s>[INST]What is the home team of the match on 21 September 2008 with an attendance less than 2248 and a 2:0 score? Context: CREATE TABLE table_name_60 (home VARCHAR, date VARCHAR, attendance VARCHAR, score VARCHAR)[/INST]SELECT home FROM table_name_60 WHERE attendance < 2248 AND score = "2:0" AND date = "21 september ... |
CREATE TABLE table_name_43 (record VARCHAR, team VARCHAR) | SELECT record FROM table_name_43 WHERE team = "manchester yankees" | Which record has a Team of manchester yankees? | <s>[INST]Which record has a Team of manchester yankees? Context: CREATE TABLE table_name_43 (record VARCHAR, team VARCHAR)[/INST]SELECT record FROM table_name_43 WHERE team = "manchester yankees"</s> |
CREATE TABLE table_name_50 (year VARCHAR, publisher VARCHAR) | SELECT year FROM table_name_50 WHERE publisher = "argonaut games sierra entertainment" | Name the year when the publisher was argonaut games sierra entertainment | <s>[INST]Name the year when the publisher was argonaut games sierra entertainment Context: CREATE TABLE table_name_50 (year VARCHAR, publisher VARCHAR)[/INST]SELECT year FROM table_name_50 WHERE publisher = "argonaut games sierra entertainment"</s> |
CREATE TABLE table_name_38 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_38 WHERE record = "41–32–6" | Which Loss has a Record of 41–32–6? | <s>[INST]Which Loss has a Record of 41–32–6? Context: CREATE TABLE table_name_38 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_38 WHERE record = "41–32–6"</s> |
CREATE TABLE table_name_8 (total INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT AVG(total) FROM table_name_8 WHERE silver < 1 AND gold = 0 AND nation = "switzerland" AND bronze < 2 | What is the average Total, when the value for Silver is less than 1, when the value for Gold is 0, when the Nation is Switzerland, and when the value for Bronze is 2? | <s>[INST]What is the average Total, when the value for Silver is less than 1, when the value for Gold is 0, when the Nation is Switzerland, and when the value for Bronze is 2? Context: CREATE TABLE table_name_8 (total INTEGER, bronze VARCHAR, nation VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT AVG(total) FROM ta... |
CREATE TABLE table_24231638_3 (replaced_by VARCHAR, date_of_appointment VARCHAR) | SELECT replaced_by FROM table_24231638_3 WHERE date_of_appointment = "2 November 2010" | Who replaced on the date of appointment 2 november 2010? | <s>[INST]Who replaced on the date of appointment 2 november 2010? Context: CREATE TABLE table_24231638_3 (replaced_by VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT replaced_by FROM table_24231638_3 WHERE date_of_appointment = "2 November 2010"</s> |
CREATE TABLE table_15796072_1 (theme VARCHAR, original_artist VARCHAR) | SELECT theme FROM table_15796072_1 WHERE original_artist = "The Beatles" | What was the theme when the original artist was The Beatles? | <s>[INST]What was the theme when the original artist was The Beatles? Context: CREATE TABLE table_15796072_1 (theme VARCHAR, original_artist VARCHAR)[/INST]SELECT theme FROM table_15796072_1 WHERE original_artist = "The Beatles"</s> |
CREATE TABLE table_17265535_7 (equation VARCHAR) | SELECT 2 AS nd_throw FROM table_17265535_7 WHERE equation = "1 × 9² + 4 × 9 + 0" | If the equation is 1 × 9² + 4 × 9 + 0, what is the 2nd throw? | <s>[INST]If the equation is 1 × 9² + 4 × 9 + 0, what is the 2nd throw? Context: CREATE TABLE table_17265535_7 (equation VARCHAR)[/INST]SELECT 2 AS nd_throw FROM table_17265535_7 WHERE equation = "1 × 9² + 4 × 9 + 0"</s> |
CREATE TABLE table_name_52 (date VARCHAR, venue VARCHAR, competition VARCHAR, opponents VARCHAR) | SELECT date FROM table_name_52 WHERE competition = "pl group b" AND opponents = "police" AND venue = "selayang municipal council stadium" | Which Date has a Competition of pl group b, and Opponents of police, and a Venue of selayang municipal council stadium? | <s>[INST]Which Date has a Competition of pl group b, and Opponents of police, and a Venue of selayang municipal council stadium? Context: CREATE TABLE table_name_52 (date VARCHAR, venue VARCHAR, competition VARCHAR, opponents VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE competition = "pl group b" AND opponents =... |
CREATE TABLE table_name_80 (driver VARCHAR, race_1 VARCHAR, points VARCHAR, team VARCHAR) | SELECT driver FROM table_name_80 WHERE points < 36 AND team = "bob holden motors" AND race_1 = "7" | Which driver for Bob Holden Motors has fewer than 36 points and placed 7 in race 1? | <s>[INST]Which driver for Bob Holden Motors has fewer than 36 points and placed 7 in race 1? Context: CREATE TABLE table_name_80 (driver VARCHAR, race_1 VARCHAR, points VARCHAR, team VARCHAR)[/INST]SELECT driver FROM table_name_80 WHERE points < 36 AND team = "bob holden motors" AND race_1 = "7"</s> |
CREATE TABLE table_name_42 (events VARCHAR, player VARCHAR, earnings___$__ VARCHAR) | SELECT COUNT(events) FROM table_name_42 WHERE player = "al geiberger" AND earnings___$__ > 527 OFFSET 033 | What is the total number of events that Al Geiberger has played with earnings larger than 527,033? | <s>[INST]What is the total number of events that Al Geiberger has played with earnings larger than 527,033? Context: CREATE TABLE table_name_42 (events VARCHAR, player VARCHAR, earnings___$__ VARCHAR)[/INST]SELECT COUNT(events) FROM table_name_42 WHERE player = "al geiberger" AND earnings___$__ > 527 OFFSET 033</s> |
CREATE TABLE table_19834691_4 (timeslot VARCHAR, viewers__millions_ VARCHAR) | SELECT timeslot FROM table_19834691_4 WHERE viewers__millions_ = "6.51" | Name the timeslot for 6.51 viewers | <s>[INST]Name the timeslot for 6.51 viewers Context: CREATE TABLE table_19834691_4 (timeslot VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT timeslot FROM table_19834691_4 WHERE viewers__millions_ = "6.51"</s> |
CREATE TABLE table_name_3 (mls_team VARCHAR, pick__number VARCHAR) | SELECT mls_team FROM table_name_3 WHERE pick__number = 32 | Which MLS team had a pick number of 32? | <s>[INST]Which MLS team had a pick number of 32? Context: CREATE TABLE table_name_3 (mls_team VARCHAR, pick__number VARCHAR)[/INST]SELECT mls_team FROM table_name_3 WHERE pick__number = 32</s> |
CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR) | SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division" | What is every website with specialization of engineering and division of dhaka division? | <s>[INST]What is every website with specialization of engineering and division of dhaka division? Context: CREATE TABLE table_2112260_1 (website VARCHAR, specialization VARCHAR, division VARCHAR)[/INST]SELECT website FROM table_2112260_1 WHERE specialization = "Engineering" AND division = "Dhaka division"</s> |
CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR) | SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AND player = "pennant" | What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0? | <s>[INST]What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0? Context: CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR)[/INST]SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AN... |
CREATE TABLE table_11404452_1 (episode_title VARCHAR, director VARCHAR) | SELECT episode_title FROM table_11404452_1 WHERE director = "Rodman Flender" | What are the titles of the episodes where Rodman Flender is the director? | <s>[INST]What are the titles of the episodes where Rodman Flender is the director? Context: CREATE TABLE table_11404452_1 (episode_title VARCHAR, director VARCHAR)[/INST]SELECT episode_title FROM table_11404452_1 WHERE director = "Rodman Flender"</s> |
CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR) | SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#16 Trans Ocean Motors" AND circuit = "Castle Rock" | Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock | <s>[INST]Name the gt 2.0 winning team for sports 2.0 winning team for #16 trans ocean motors for castle rock Context: CREATE TABLE table_27561503_2 (gt_20_winning_team VARCHAR, sports_20_winning_team VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(gt_20_winning_team) FROM table_27561503_2 WHERE sports_20_winning_team = "#... |
CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR) | SELECT record FROM table_name_60 WHERE week = "8" | What was the team record by Week 8? | <s>[INST]What was the team record by Week 8? Context: CREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)[/INST]SELECT record FROM table_name_60 WHERE week = "8"</s> |
CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick" | What district does edward everett eslick represent? | <s>[INST]What district does edward everett eslick represent? Context: CREATE TABLE table_1342379_41 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342379_41 WHERE incumbent = "Edward Everett Eslick"</s> |
CREATE TABLE table_name_7 (opponent VARCHAR, game_site VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_7 WHERE game_site = "heinz field" AND record = "3–1" | Which Opponent has a Game site of heinz field, and a Record of 3–1? | <s>[INST]Which Opponent has a Game site of heinz field, and a Record of 3–1? Context: CREATE TABLE table_name_7 (opponent VARCHAR, game_site VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_7 WHERE game_site = "heinz field" AND record = "3–1"</s> |
CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, original_name VARCHAR) | SELECT film_title_used_in_nomination FROM table_name_83 WHERE original_name = "panny z wilka" | What was the film title used in nomination for Panny Z Wilka? | <s>[INST]What was the film title used in nomination for Panny Z Wilka? Context: CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)[/INST]SELECT film_title_used_in_nomination FROM table_name_83 WHERE original_name = "panny z wilka"</s> |
CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR) | SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17" | Name the number of high points for record 5-17 | <s>[INST]Name the number of high points for record 5-17 Context: CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17"</s> |
CREATE TABLE table_178381_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT parish__prestegjeld_ FROM table_178381_1 WHERE church_name = "Askrova bedehuskapell" | In what parish is the Askrova Bedehuskapell church? | <s>[INST]In what parish is the Askrova Bedehuskapell church? Context: CREATE TABLE table_178381_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)[/INST]SELECT parish__prestegjeld_ FROM table_178381_1 WHERE church_name = "Askrova bedehuskapell"</s> |
CREATE TABLE table_name_86 (quantity INTEGER, axle_arrangement VARCHAR) | SELECT AVG(quantity) FROM table_name_86 WHERE axle_arrangement = "2′c h2" | Which Quantity has an Axle arrangement of 2′c h2? | <s>[INST]Which Quantity has an Axle arrangement of 2′c h2? Context: CREATE TABLE table_name_86 (quantity INTEGER, axle_arrangement VARCHAR)[/INST]SELECT AVG(quantity) FROM table_name_86 WHERE axle_arrangement = "2′c h2"</s> |
CREATE TABLE table_name_8 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_8 WHERE attendance = "78,722" | What game did Jets have an attendance of 78,722? | <s>[INST]What game did Jets have an attendance of 78,722? Context: CREATE TABLE table_name_8 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_8 WHERE attendance = "78,722"</s> |
CREATE TABLE table_name_99 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_99 WHERE loss = "finley (8-7)" | Loss of finley (8-7) had what record? | <s>[INST]Loss of finley (8-7) had what record? Context: CREATE TABLE table_name_99 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_99 WHERE loss = "finley (8-7)"</s> |
CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR) | SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze" | What is the mean Founded number when the team is the Baton Rouge Blaze? | <s>[INST]What is the mean Founded number when the team is the Baton Rouge Blaze? Context: CREATE TABLE table_name_96 (founded INTEGER, team VARCHAR)[/INST]SELECT AVG(founded) FROM table_name_96 WHERE team = "baton rouge blaze"</s> |
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "phillies" AND record = "30-33" | Which Attendance has an Opponent of phillies, and a Record of 30-33? | <s>[INST]Which Attendance has an Opponent of phillies, and a Record of 30-33? Context: CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "phillies" AND record = "30-33"</s> |
CREATE TABLE table_name_95 (circuit VARCHAR, winning_driver VARCHAR) | SELECT circuit FROM table_name_95 WHERE winning_driver = "marcel lehoux" | Name the circuit for marcel lehoux | <s>[INST]Name the circuit for marcel lehoux Context: CREATE TABLE table_name_95 (circuit VARCHAR, winning_driver VARCHAR)[/INST]SELECT circuit FROM table_name_95 WHERE winning_driver = "marcel lehoux"</s> |
CREATE TABLE table_name_74 (milepost VARCHAR, name_of_the_tunnel VARCHAR) | SELECT COUNT(milepost) FROM table_name_74 WHERE name_of_the_tunnel = "twin tunnel #1 north" | What is the Milepost of the Twin Tunnel #1 North? | <s>[INST]What is the Milepost of the Twin Tunnel #1 North? Context: CREATE TABLE table_name_74 (milepost VARCHAR, name_of_the_tunnel VARCHAR)[/INST]SELECT COUNT(milepost) FROM table_name_74 WHERE name_of_the_tunnel = "twin tunnel #1 north"</s> |
CREATE TABLE table_16907214_1 (paperback VARCHAR, title VARCHAR) | SELECT paperback FROM table_16907214_1 WHERE title = "Dead as a Doornail" | What is the ISBN of "Dead as a Doornail? | <s>[INST]What is the ISBN of "Dead as a Doornail? Context: CREATE TABLE table_16907214_1 (paperback VARCHAR, title VARCHAR)[/INST]SELECT paperback FROM table_16907214_1 WHERE title = "Dead as a Doornail"</s> |
CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach" | Which Time has a Round smaller than 3, and an Opponent of bao quach? | <s>[INST]Which Time has a Round smaller than 3, and an Opponent of bao quach? Context: CREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_11 WHERE round < 3 AND opponent = "bao quach"</s> |
CREATE TABLE table_name_47 (centerfold_model VARCHAR, pictorials VARCHAR) | SELECT centerfold_model FROM table_name_47 WHERE pictorials = "adrianne curry, girls of tuscany" | Who's the Centerfold model with a Pictorials of adrianne curry, girls of tuscany? | <s>[INST]Who's the Centerfold model with a Pictorials of adrianne curry, girls of tuscany? Context: CREATE TABLE table_name_47 (centerfold_model VARCHAR, pictorials VARCHAR)[/INST]SELECT centerfold_model FROM table_name_47 WHERE pictorials = "adrianne curry, girls of tuscany"</s> |
CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_56 WHERE away_team = "st kilda" | What was St Kilda's home team opponents score? | <s>[INST]What was St Kilda's home team opponents score? Context: CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_56 WHERE away_team = "st kilda"</s> |
CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR) | SELECT opponent FROM table_name_10 WHERE game = 33 | Which Opponent has a Game of 33? | <s>[INST]Which Opponent has a Game of 33? Context: CREATE TABLE table_name_10 (opponent VARCHAR, game VARCHAR)[/INST]SELECT opponent FROM table_name_10 WHERE game = 33</s> |
CREATE TABLE table_24143253_1 (name VARCHAR, deceased_spouse VARCHAR) | SELECT name FROM table_24143253_1 WHERE deceased_spouse = "Louis Malle" | Name the name for deceased spouse being louis malle | <s>[INST]Name the name for deceased spouse being louis malle Context: CREATE TABLE table_24143253_1 (name VARCHAR, deceased_spouse VARCHAR)[/INST]SELECT name FROM table_24143253_1 WHERE deceased_spouse = "Louis Malle"</s> |
CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR) | SELECT speed FROM table_name_59 WHERE rank = 2 | WHich Speed has a Rank of 2? | <s>[INST]WHich Speed has a Rank of 2? Context: CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR)[/INST]SELECT speed FROM table_name_59 WHERE rank = 2</s> |
CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_27734577_8 WHERE game = 45 | What are the high rebounds in the 45 game? | <s>[INST]What are the high rebounds in the 45 game? Context: CREATE TABLE table_27734577_8 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT high_rebounds FROM table_27734577_8 WHERE game = 45</s> |
CREATE TABLE table_name_64 (stations VARCHAR, city VARCHAR) | SELECT stations FROM table_name_64 WHERE city = "vancouver, bc" | Which Stations are in vancouver, bc? | <s>[INST]Which Stations are in vancouver, bc? Context: CREATE TABLE table_name_64 (stations VARCHAR, city VARCHAR)[/INST]SELECT stations FROM table_name_64 WHERE city = "vancouver, bc"</s> |
CREATE TABLE table_28461589_2 (passes INTEGER, starting VARCHAR) | SELECT MAX(passes) FROM table_28461589_2 WHERE starting = 34 | What is the largest number of passes for players starting exactly 34 games? | <s>[INST]What is the largest number of passes for players starting exactly 34 games? Context: CREATE TABLE table_28461589_2 (passes INTEGER, starting VARCHAR)[/INST]SELECT MAX(passes) FROM table_28461589_2 WHERE starting = 34</s> |
CREATE TABLE table_18183850_12 (score VARCHAR, opponent_team VARCHAR) | SELECT score FROM table_18183850_12 WHERE opponent_team = "Belgium" | What was the score when the opposing team was from Belgium? | <s>[INST]What was the score when the opposing team was from Belgium? Context: CREATE TABLE table_18183850_12 (score VARCHAR, opponent_team VARCHAR)[/INST]SELECT score FROM table_18183850_12 WHERE opponent_team = "Belgium"</s> |
CREATE TABLE table_name_76 (weblink VARCHAR, college_or_campus_name VARCHAR) | SELECT weblink FROM table_name_76 WHERE college_or_campus_name = "anna university college of engineering tindivanam" | What Weblink has a College or Campus Name of anna university college of engineering tindivanam? | <s>[INST]What Weblink has a College or Campus Name of anna university college of engineering tindivanam? Context: CREATE TABLE table_name_76 (weblink VARCHAR, college_or_campus_name VARCHAR)[/INST]SELECT weblink FROM table_name_76 WHERE college_or_campus_name = "anna university college of engineering tindivanam"</s> |
CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_10 WHERE away_team = "fitzroy" | What is the date they played against fitzroy? | <s>[INST]What is the date they played against fitzroy? Context: CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_10 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_98 (location VARCHAR, result VARCHAR, date VARCHAR) | SELECT location FROM table_name_98 WHERE result = "loss" AND date = "20 jan" | At what location was there a loss on 20 jan? | <s>[INST]At what location was there a loss on 20 jan? Context: CREATE TABLE table_name_98 (location VARCHAR, result VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_98 WHERE result = "loss" AND date = "20 jan"</s> |
CREATE TABLE table_1717824_3 (indians_admitted VARCHAR, year VARCHAR) | SELECT indians_admitted FROM table_1717824_3 WHERE year = 2001 | How many Indians were admitted in 2001? | <s>[INST]How many Indians were admitted in 2001? Context: CREATE TABLE table_1717824_3 (indians_admitted VARCHAR, year VARCHAR)[/INST]SELECT indians_admitted FROM table_1717824_3 WHERE year = 2001</s> |
CREATE TABLE table_name_28 (staterooms INTEGER, guests INTEGER) | SELECT AVG(staterooms) FROM table_name_28 WHERE guests > 210 | What is the number of staterooms when guests was larger than 210? | <s>[INST]What is the number of staterooms when guests was larger than 210? Context: CREATE TABLE table_name_28 (staterooms INTEGER, guests INTEGER)[/INST]SELECT AVG(staterooms) FROM table_name_28 WHERE guests > 210</s> |
CREATE TABLE table_27948565_1 (moto2_winner VARCHAR, circuit VARCHAR) | SELECT COUNT(moto2_winner) FROM table_27948565_1 WHERE circuit = "Laguna Seca" | Name the total number of moto2 winners for laguna seca | <s>[INST]Name the total number of moto2 winners for laguna seca Context: CREATE TABLE table_27948565_1 (moto2_winner VARCHAR, circuit VARCHAR)[/INST]SELECT COUNT(moto2_winner) FROM table_27948565_1 WHERE circuit = "Laguna Seca"</s> |
CREATE TABLE table_name_51 (total_rebounds VARCHAR, player VARCHAR) | SELECT COUNT(total_rebounds) FROM table_name_51 WHERE player = "herb estes" | How many rebounds have a Player of herb estes? | <s>[INST]How many rebounds have a Player of herb estes? Context: CREATE TABLE table_name_51 (total_rebounds VARCHAR, player VARCHAR)[/INST]SELECT COUNT(total_rebounds) FROM table_name_51 WHERE player = "herb estes"</s> |
CREATE TABLE table_13812785_8 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_13812785_8 WHERE high_rebounds = "Charles Oakley (9)" | Who had the most high points and rebounds than charles oakley (9)? | <s>[INST]Who had the most high points and rebounds than charles oakley (9)? Context: CREATE TABLE table_13812785_8 (high_points VARCHAR, high_rebounds VARCHAR)[/INST]SELECT high_points FROM table_13812785_8 WHERE high_rebounds = "Charles Oakley (9)"</s> |
CREATE TABLE Ref_budget_codes (Id VARCHAR) | SELECT COUNT(*) FROM Ref_budget_codes | How many budget types do we have? | <s>[INST]How many budget types do we have? Context: CREATE TABLE Ref_budget_codes (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Ref_budget_codes</s> |
CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR) | SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete Michels" | how many series had 6.55 u.s. viewers (million) and were directed by pete michels | <s>[INST]how many series had 6.55 u.s. viewers (million) and were directed by pete michels Context: CREATE TABLE table_26259391_1 (no_in_series VARCHAR, us_viewers__million_ VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(no_in_series) FROM table_26259391_1 WHERE us_viewers__million_ = "6.55" AND directed_by = "Pete M... |
CREATE TABLE table_name_67 (country VARCHAR, base VARCHAR) | SELECT country FROM table_name_67 WHERE base = "ljubljana" | what is the country when the base is ljubljana? | <s>[INST]what is the country when the base is ljubljana? Context: CREATE TABLE table_name_67 (country VARCHAR, base VARCHAR)[/INST]SELECT country FROM table_name_67 WHERE base = "ljubljana"</s> |
CREATE TABLE table_name_47 (wins VARCHAR, year VARCHAR, points VARCHAR) | SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188 | How many wins for the year that is later than 1987 and has points less than 188? | <s>[INST]How many wins for the year that is later than 1987 and has points less than 188? Context: CREATE TABLE table_name_47 (wins VARCHAR, year VARCHAR, points VARCHAR)[/INST]SELECT wins FROM table_name_47 WHERE year > 1987 AND points < 188</s> |
CREATE TABLE table_1341568_48 (status VARCHAR, incumbent VARCHAR) | SELECT status FROM table_1341568_48 WHERE incumbent = "Tom Foley" | What was the result of the election in the district whose incumbent is Tom Foley? | <s>[INST]What was the result of the election in the district whose incumbent is Tom Foley? Context: CREATE TABLE table_1341568_48 (status VARCHAR, incumbent VARCHAR)[/INST]SELECT status FROM table_1341568_48 WHERE incumbent = "Tom Foley"</s> |
CREATE TABLE table_name_96 (report VARCHAR, winning_constructor VARCHAR, circuit VARCHAR) | SELECT report FROM table_name_96 WHERE winning_constructor = "bugatti" AND circuit = "brooklands" | Tell me the report for bugatti and brooklands | <s>[INST]Tell me the report for bugatti and brooklands Context: CREATE TABLE table_name_96 (report VARCHAR, winning_constructor VARCHAR, circuit VARCHAR)[/INST]SELECT report FROM table_name_96 WHERE winning_constructor = "bugatti" AND circuit = "brooklands"</s> |
CREATE TABLE table_name_96 (points_difference VARCHAR, points_against VARCHAR) | SELECT points_difference FROM table_name_96 WHERE points_against = "451" | What is Points Difference, when Points Against is 451? | <s>[INST]What is Points Difference, when Points Against is 451? Context: CREATE TABLE table_name_96 (points_difference VARCHAR, points_against VARCHAR)[/INST]SELECT points_difference FROM table_name_96 WHERE points_against = "451"</s> |
CREATE TABLE table_1430913_1 (category VARCHAR, name_of_place VARCHAR) | SELECT category FROM table_1430913_1 WHERE name_of_place = "Hemkunt Sahib" | If the place is hemkunt sahib what is the category? | <s>[INST]If the place is hemkunt sahib what is the category? Context: CREATE TABLE table_1430913_1 (category VARCHAR, name_of_place VARCHAR)[/INST]SELECT category FROM table_1430913_1 WHERE name_of_place = "Hemkunt Sahib"</s> |
CREATE TABLE Student (advisor VARCHAR) | SELECT advisor, COUNT(*) FROM Student GROUP BY advisor | Show all advisors and corresponding number of students. | <s>[INST]Show all advisors and corresponding number of students. Context: CREATE TABLE Student (advisor VARCHAR)[/INST]SELECT advisor, COUNT(*) FROM Student GROUP BY advisor</s> |
CREATE TABLE table_26409328_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) | SELECT production_code FROM table_26409328_1 WHERE us_viewers__millions_ = "5.36" | what is the production code of the episode viewed by 5.36 million u.s. people? | <s>[INST]what is the production code of the episode viewed by 5.36 million u.s. people? Context: CREATE TABLE table_26409328_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT production_code FROM table_26409328_1 WHERE us_viewers__millions_ = "5.36"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.