context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_28 (frequency VARCHAR, multi_1 VARCHAR) | SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×" | What's the frequency of the device that has a Multi 1 of 7.5×? | <s>[INST]What's the frequency of the device that has a Multi 1 of 7.5×? Context: CREATE TABLE table_name_28 (frequency VARCHAR, multi_1 VARCHAR)[/INST]SELECT frequency FROM table_name_28 WHERE multi_1 = "7.5×"</s> |
CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR) | SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million" | What writers are associated with a viewing figure of 7.01 million? | <s>[INST]What writers are associated with a viewing figure of 7.01 million? Context: CREATE TABLE table_15026994_2 (writer VARCHAR, viewing_figure VARCHAR)[/INST]SELECT writer FROM table_15026994_2 WHERE viewing_figure = "7.01 million"</s> |
CREATE TABLE table_name_41 (drawn INTEGER, games INTEGER) | SELECT SUM(drawn) FROM table_name_41 WHERE games < 7 | Which Drawn has Games smaller than 7? | <s>[INST]Which Drawn has Games smaller than 7? Context: CREATE TABLE table_name_41 (drawn INTEGER, games INTEGER)[/INST]SELECT SUM(drawn) FROM table_name_41 WHERE games < 7</s> |
CREATE TABLE table_name_56 (gross_mw VARCHAR, operation_start VARCHAR) | SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015" | Operation start of 2015 has what gross mw? | <s>[INST]Operation start of 2015 has what gross mw? Context: CREATE TABLE table_name_56 (gross_mw VARCHAR, operation_start VARCHAR)[/INST]SELECT gross_mw FROM table_name_56 WHERE operation_start = "2015"</s> |
CREATE TABLE table_name_62 (city_of_license VARCHAR, frequency_mhz INTEGER) | SELECT city_of_license FROM table_name_62 WHERE frequency_mhz > 94.1 | What city has larger than 94.1 as a frequency? | <s>[INST]What city has larger than 94.1 as a frequency? Context: CREATE TABLE table_name_62 (city_of_license VARCHAR, frequency_mhz INTEGER)[/INST]SELECT city_of_license FROM table_name_62 WHERE frequency_mhz > 94.1</s> |
CREATE TABLE table_name_78 (year INTEGER, regular_season VARCHAR, playoffs VARCHAR, open_cup VARCHAR) | SELECT AVG(year) FROM table_name_78 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND regular_season = "7th, southeast" | What was the average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the Regular Season 7th, Southeast? | <s>[INST]What was the average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the Regular Season 7th, Southeast? Context: CREATE TABLE table_name_78 (year INTEGER, regular_season VARCHAR, playoffs VARCHAR, open_cup VARCHAR)[/INST]SELECT AVG(year) FROM table_nam... |
CREATE TABLE table_name_56 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR) | SELECT goal_difference FROM table_name_56 WHERE points_1 = "51" AND goals_against < 66 | When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference? | <s>[INST]When the Points 1 was 51 and the Goals Against was less than 66, what was the Goal Difference? Context: CREATE TABLE table_name_56 (goal_difference VARCHAR, points_1 VARCHAR, goals_against VARCHAR)[/INST]SELECT goal_difference FROM table_name_56 WHERE points_1 = "51" AND goals_against < 66</s> |
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR) | SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" AND brazil_scorers = "baltazar" AND date = "march 14, 1954" | Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954? | <s>[INST]Which Score has a Competition of world cup qualifying, and a Brazil scorers of baltazar, and a Date of march 14, 1954? Context: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR, competition VARCHAR, brazil_scorers VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE competition = "world cup qualifying" ... |
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR) | SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th" | What was the number of athletes for the 7th edition? | <s>[INST]What was the number of athletes for the 7th edition? Context: CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, edition VARCHAR)[/INST]SELECT no_of_athletes FROM table_26669939_1 WHERE edition = "7th"</s> |
CREATE TABLE table_name_80 (total VARCHAR, set_3 VARCHAR) | SELECT total FROM table_name_80 WHERE set_3 = "25–14" | What was the total when the set 3 was 25–14? | <s>[INST]What was the total when the set 3 was 25–14? Context: CREATE TABLE table_name_80 (total VARCHAR, set_3 VARCHAR)[/INST]SELECT total FROM table_name_80 WHERE set_3 = "25–14"</s> |
CREATE TABLE table_name_25 (pick INTEGER, hometown_school VARCHAR) | SELECT MAX(pick) FROM table_name_25 WHERE hometown_school = "stamford, ct" | What is the Pick of the Player from Stamford, CT? | <s>[INST]What is the Pick of the Player from Stamford, CT? Context: CREATE TABLE table_name_25 (pick INTEGER, hometown_school VARCHAR)[/INST]SELECT MAX(pick) FROM table_name_25 WHERE hometown_school = "stamford, ct"</s> |
CREATE TABLE table_name_65 (unit VARCHAR, authors VARCHAR) | SELECT unit FROM table_name_65 WHERE authors = "dalla vecchia, wild, & reitner" | Which Unit has Authors of dalla vecchia, wild, & reitner? | <s>[INST]Which Unit has Authors of dalla vecchia, wild, & reitner? Context: CREATE TABLE table_name_65 (unit VARCHAR, authors VARCHAR)[/INST]SELECT unit FROM table_name_65 WHERE authors = "dalla vecchia, wild, & reitner"</s> |
CREATE TABLE INVESTORS (Id VARCHAR) | SELECT COUNT(*) FROM INVESTORS | Find the number of investors in total. | <s>[INST]Find the number of investors in total. Context: CREATE TABLE INVESTORS (Id VARCHAR)[/INST]SELECT COUNT(*) FROM INVESTORS</s> |
CREATE TABLE table_name_35 (partner VARCHAR, date VARCHAR) | SELECT partner FROM table_name_35 WHERE date = "22 april 2002" | Which Partner is on 22 april 2002? | <s>[INST]Which Partner is on 22 april 2002? Context: CREATE TABLE table_name_35 (partner VARCHAR, date VARCHAR)[/INST]SELECT partner FROM table_name_35 WHERE date = "22 april 2002"</s> |
CREATE TABLE table_name_61 (eliminated_by VARCHAR, elimination VARCHAR) | SELECT eliminated_by FROM table_name_61 WHERE elimination = "1" | Who's the eliminated by when the elimination was 1? | <s>[INST]Who's the eliminated by when the elimination was 1? Context: CREATE TABLE table_name_61 (eliminated_by VARCHAR, elimination VARCHAR)[/INST]SELECT eliminated_by FROM table_name_61 WHERE elimination = "1"</s> |
CREATE TABLE table_name_50 (type VARCHAR, block VARCHAR, year VARCHAR) | SELECT type FROM table_name_50 WHERE block = "105/107e" AND year < 1960 | What type is the 105/107e Block from a year prior to 1960? | <s>[INST]What type is the 105/107e Block from a year prior to 1960? Context: CREATE TABLE table_name_50 (type VARCHAR, block VARCHAR, year VARCHAR)[/INST]SELECT type FROM table_name_50 WHERE block = "105/107e" AND year < 1960</s> |
CREATE TABLE table_name_4 (total_matches INTEGER, points__percentage VARCHAR, points_won VARCHAR, year VARCHAR) | SELECT MAX(total_matches) FROM table_name_4 WHERE points_won > 1.5 AND year = "2002" AND points__percentage < 50 | What is the total matches in 2002 where points won is larger than 1.5 and the points % is smaller than 50? | <s>[INST]What is the total matches in 2002 where points won is larger than 1.5 and the points % is smaller than 50? Context: CREATE TABLE table_name_4 (total_matches INTEGER, points__percentage VARCHAR, points_won VARCHAR, year VARCHAR)[/INST]SELECT MAX(total_matches) FROM table_name_4 WHERE points_won > 1.5 AND year =... |
CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR) | SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55" | When 7.55 is the amount of viewers what is the lowest number? | <s>[INST]When 7.55 is the amount of viewers what is the lowest number? Context: CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR)[/INST]SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55"</s> |
CREATE TABLE table_name_12 (displacement__cc_ INTEGER, model VARCHAR) | SELECT MAX(displacement__cc_) FROM table_name_12 WHERE model = "r fwd auto phase1" | What is the highest displacement value for the R Fwd Auto Phase1? | <s>[INST]What is the highest displacement value for the R Fwd Auto Phase1? Context: CREATE TABLE table_name_12 (displacement__cc_ INTEGER, model VARCHAR)[/INST]SELECT MAX(displacement__cc_) FROM table_name_12 WHERE model = "r fwd auto phase1"</s> |
CREATE TABLE customers (email_address VARCHAR, phone_number VARCHAR) | SELECT email_address, phone_number FROM customers ORDER BY email_address, phone_number | Find the emails and phone numbers of all the customers, ordered by email address and phone number. | <s>[INST]Find the emails and phone numbers of all the customers, ordered by email address and phone number. Context: CREATE TABLE customers (email_address VARCHAR, phone_number VARCHAR)[/INST]SELECT email_address, phone_number FROM customers ORDER BY email_address, phone_number</s> |
CREATE TABLE table_name_89 (weight VARCHAR, distance VARCHAR) | SELECT COUNT(weight) FROM table_name_89 WHERE distance = "5 ½ f" | What is the weight number when the distance was 5 ½ f? | <s>[INST]What is the weight number when the distance was 5 ½ f? Context: CREATE TABLE table_name_89 (weight VARCHAR, distance VARCHAR)[/INST]SELECT COUNT(weight) FROM table_name_89 WHERE distance = "5 ½ f"</s> |
CREATE TABLE table_name_96 (decision VARCHAR, visitor VARCHAR, date VARCHAR) | SELECT decision FROM table_name_96 WHERE visitor = "washington" AND date = "october 13" | What was the decision of the game with Washington as the visitor team on October 13? | <s>[INST]What was the decision of the game with Washington as the visitor team on October 13? Context: CREATE TABLE table_name_96 (decision VARCHAR, visitor VARCHAR, date VARCHAR)[/INST]SELECT decision FROM table_name_96 WHERE visitor = "washington" AND date = "october 13"</s> |
CREATE TABLE table_name_60 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_60 WHERE record = "9-1" | What was the resolution of the fight where andre roberts record was 9-1? | <s>[INST]What was the resolution of the fight where andre roberts record was 9-1? Context: CREATE TABLE table_name_60 (res VARCHAR, record VARCHAR)[/INST]SELECT res FROM table_name_60 WHERE record = "9-1"</s> |
CREATE TABLE table_name_64 (height VARCHAR, school VARCHAR) | SELECT height FROM table_name_64 WHERE school = "oak hill academy" | What's the height of the player who went to oak hill academy? | <s>[INST]What's the height of the player who went to oak hill academy? Context: CREATE TABLE table_name_64 (height VARCHAR, school VARCHAR)[/INST]SELECT height FROM table_name_64 WHERE school = "oak hill academy"</s> |
CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR) | SELECT candidate FROM table_25818630_2 WHERE result____percentage = "0.4%" | Who was the candidate when the result - % was 0.4%? | <s>[INST]Who was the candidate when the result - % was 0.4%? Context: CREATE TABLE table_25818630_2 (candidate VARCHAR, result____percentage VARCHAR)[/INST]SELECT candidate FROM table_25818630_2 WHERE result____percentage = "0.4%"</s> |
CREATE TABLE table_name_41 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport" | Which country contains the Shanghai Pudong International airport? | <s>[INST]Which country contains the Shanghai Pudong International airport? Context: CREATE TABLE table_name_41 (country VARCHAR, airport VARCHAR)[/INST]SELECT country FROM table_name_41 WHERE airport = "shanghai pudong international airport"</s> |
CREATE TABLE table_name_97 (school VARCHAR, position VARCHAR) | SELECT school FROM table_name_97 WHERE position = "center" | What School is the Center from? | <s>[INST]What School is the Center from? Context: CREATE TABLE table_name_97 (school VARCHAR, position VARCHAR)[/INST]SELECT school FROM table_name_97 WHERE position = "center"</s> |
CREATE TABLE table_17941032_2 (drawn VARCHAR) | SELECT drawn FROM table_17941032_2 WHERE "played" = "played" | How many draws were there in played games? | <s>[INST]How many draws were there in played games? Context: CREATE TABLE table_17941032_2 (drawn VARCHAR)[/INST]SELECT drawn FROM table_17941032_2 WHERE "played" = "played"</s> |
CREATE TABLE table_name_41 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_41 WHERE score = 70 - 70 - 68 - 70 = 278 | What is Place, when Score is "70-70-68-70=278"? | <s>[INST]What is Place, when Score is "70-70-68-70=278"? Context: CREATE TABLE table_name_41 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_41 WHERE score = 70 - 70 - 68 - 70 = 278</s> |
CREATE TABLE table_name_34 (opponents VARCHAR, nuggets_points VARCHAR, result VARCHAR, game VARCHAR) | SELECT COUNT(opponents) FROM table_name_34 WHERE result = "loss" AND game < 49 AND nuggets_points = 108 | How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108? | <s>[INST]How many Opponents have a Result of loss, and a Game smaller than 49, and Nuggets points of 108? Context: CREATE TABLE table_name_34 (opponents VARCHAR, nuggets_points VARCHAR, result VARCHAR, game VARCHAR)[/INST]SELECT COUNT(opponents) FROM table_name_34 WHERE result = "loss" AND game < 49 AND nuggets_points ... |
CREATE TABLE table_name_11 (game INTEGER, january VARCHAR, record VARCHAR) | SELECT SUM(game) FROM table_name_11 WHERE january < 19 AND record = "27-6-6" | What is the sum of the games before January 19 with a 27-6-6 record? | <s>[INST]What is the sum of the games before January 19 with a 27-6-6 record? Context: CREATE TABLE table_name_11 (game INTEGER, january VARCHAR, record VARCHAR)[/INST]SELECT SUM(game) FROM table_name_11 WHERE january < 19 AND record = "27-6-6"</s> |
CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 63 | What is the average grid with brm and under 63 laps? | <s>[INST]What is the average grid with brm and under 63 laps? Context: CREATE TABLE table_name_33 (grid INTEGER, constructor VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_33 WHERE constructor = "brm" AND laps < 63</s> |
CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR) | SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley" | What is the lowest number of bids in the Missouri Valley conference? | <s>[INST]What is the lowest number of bids in the Missouri Valley conference? Context: CREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)[/INST]SELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = "missouri valley"</s> |
CREATE TABLE table_28068645_8 (super_league INTEGER, champions_league VARCHAR) | SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 0 | List the lowest super league for a 0 champion league. | <s>[INST]List the lowest super league for a 0 champion league. Context: CREATE TABLE table_28068645_8 (super_league INTEGER, champions_league VARCHAR)[/INST]SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 0</s> |
CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR) | SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = "at Minnesota Vikings" | How many opponents are at Minnesota Vikings? | <s>[INST]How many opponents are at Minnesota Vikings? Context: CREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)[/INST]SELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = "at Minnesota Vikings"</s> |
CREATE TABLE table_17120964_6 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_17120964_6 WHERE date = "19th" | On the 19th, where was the venue? | <s>[INST]On the 19th, where was the venue? Context: CREATE TABLE table_17120964_6 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_17120964_6 WHERE date = "19th"</s> |
CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR) | SELECT transcription FROM table_name_11 WHERE english_name = "march" | What is the transcription for the English word March? | <s>[INST]What is the transcription for the English word March? Context: CREATE TABLE table_name_11 (transcription VARCHAR, english_name VARCHAR)[/INST]SELECT transcription FROM table_name_11 WHERE english_name = "march"</s> |
CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR) | SELECT SUM(attendance) FROM table_name_52 WHERE date = "december 2, 1979" | What is the attendance number for December 2, 1979? | <s>[INST]What is the attendance number for December 2, 1979? Context: CREATE TABLE table_name_52 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_52 WHERE date = "december 2, 1979"</s> |
CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_35 WHERE date = "july 7" | Which opponent has a date of July 7? | <s>[INST]Which opponent has a date of July 7? Context: CREATE TABLE table_name_35 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_35 WHERE date = "july 7"</s> |
CREATE TABLE table_name_16 (Id VARCHAR) | SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games" | What is in 2007 has 2004 olympic games? | <s>[INST]What is in 2007 has 2004 olympic games? Context: CREATE TABLE table_name_16 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games"</s> |
CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR) | SELECT location FROM table_name_19 WHERE record = "4-3" | Which location held the bout that led to a 4-3 record? | <s>[INST]Which location held the bout that led to a 4-3 record? Context: CREATE TABLE table_name_19 (location VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_19 WHERE record = "4-3"</s> |
CREATE TABLE table_name_64 (sport VARCHAR, club VARCHAR) | SELECT sport FROM table_name_64 WHERE club = "rayo vallecano" | What sport is the rayo vallecano club in? | <s>[INST]What sport is the rayo vallecano club in? Context: CREATE TABLE table_name_64 (sport VARCHAR, club VARCHAR)[/INST]SELECT sport FROM table_name_64 WHERE club = "rayo vallecano"</s> |
CREATE TABLE table_name_22 (attendance INTEGER, week VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_22 WHERE week < 6 AND date = "october 14, 2001" | What is the average attendance at week earlier than 6 on October 14, 2001? | <s>[INST]What is the average attendance at week earlier than 6 on October 14, 2001? Context: CREATE TABLE table_name_22 (attendance INTEGER, week VARCHAR, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_22 WHERE week < 6 AND date = "october 14, 2001"</s> |
CREATE TABLE table_name_34 (royal_house VARCHAR, name VARCHAR) | SELECT royal_house FROM table_name_34 WHERE name = "elah" | Which Royal house is named Elah? | <s>[INST]Which Royal house is named Elah? Context: CREATE TABLE table_name_34 (royal_house VARCHAR, name VARCHAR)[/INST]SELECT royal_house FROM table_name_34 WHERE name = "elah"</s> |
CREATE TABLE table_29126507_1 (ground VARCHAR, away_team VARCHAR) | SELECT ground FROM table_29126507_1 WHERE away_team = "Richmond" | When Richmond played as the away team, what was the ground? | <s>[INST]When Richmond played as the away team, what was the ground? Context: CREATE TABLE table_29126507_1 (ground VARCHAR, away_team VARCHAR)[/INST]SELECT ground FROM table_29126507_1 WHERE away_team = "Richmond"</s> |
CREATE TABLE table_name_54 (gdp_per_capita__us$_ VARCHAR, population VARCHAR) | SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = "2,011,473" | What is the GDP per capita (US$) of the country that has a Population of 2,011,473? | <s>[INST]What is the GDP per capita (US$) of the country that has a Population of 2,011,473? Context: CREATE TABLE table_name_54 (gdp_per_capita__us$_ VARCHAR, population VARCHAR)[/INST]SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = "2,011,473"</s> |
CREATE TABLE table_name_51 (year INTEGER, best_finish VARCHAR, scoring_average VARCHAR) | SELECT MAX(year) FROM table_name_51 WHERE best_finish = "2" AND scoring_average < 71.24 | What is the latest year when the best finish is 2 and the scoring average is less than 71.24? | <s>[INST]What is the latest year when the best finish is 2 and the scoring average is less than 71.24? Context: CREATE TABLE table_name_51 (year INTEGER, best_finish VARCHAR, scoring_average VARCHAR)[/INST]SELECT MAX(year) FROM table_name_51 WHERE best_finish = "2" AND scoring_average < 71.24</s> |
CREATE TABLE table_name_88 (iata VARCHAR, airport VARCHAR) | SELECT iata FROM table_name_88 WHERE airport = "san francisco airport" | What is the IATA for San Francisco airport? | <s>[INST]What is the IATA for San Francisco airport? Context: CREATE TABLE table_name_88 (iata VARCHAR, airport VARCHAR)[/INST]SELECT iata FROM table_name_88 WHERE airport = "san francisco airport"</s> |
CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE MATCH (Aircraft VARCHAR, Aircraft_ID VARCHAR, Winning_Aircraft VARCHAR) | SELECT Aircraft FROM aircraft WHERE NOT Aircraft_ID IN (SELECT Winning_Aircraft FROM MATCH) | List the names of aircrafts and that did not win any match. | <s>[INST]List the names of aircrafts and that did not win any match. Context: CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE MATCH (Aircraft VARCHAR, Aircraft_ID VARCHAR, Winning_Aircraft VARCHAR)[/INST]SELECT Aircraft FROM aircraft WHERE NOT Aircraft_ID IN (SELECT... |
CREATE TABLE table_name_44 (games VARCHAR, name VARCHAR, rank VARCHAR) | SELECT COUNT(games) FROM table_name_44 WHERE name = "pablo prigioni" AND rank < 4 | With a Rank of less than 4, what is Pablo Prigioni's total number of Games? | <s>[INST]With a Rank of less than 4, what is Pablo Prigioni's total number of Games? Context: CREATE TABLE table_name_44 (games VARCHAR, name VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(games) FROM table_name_44 WHERE name = "pablo prigioni" AND rank < 4</s> |
CREATE TABLE table_name_72 (status VARCHAR, moving_to VARCHAR) | SELECT status FROM table_name_72 WHERE moving_to = "nantes" | What is the status of the player who is moving to Nantes? | <s>[INST]What is the status of the player who is moving to Nantes? Context: CREATE TABLE table_name_72 (status VARCHAR, moving_to VARCHAR)[/INST]SELECT status FROM table_name_72 WHERE moving_to = "nantes"</s> |
CREATE TABLE table_name_83 (album VARCHAR, record_label VARCHAR) | SELECT album FROM table_name_83 WHERE record_label = "rca" | What album was recorded by the rca label? | <s>[INST]What album was recorded by the rca label? Context: CREATE TABLE table_name_83 (album VARCHAR, record_label VARCHAR)[/INST]SELECT album FROM table_name_83 WHERE record_label = "rca"</s> |
CREATE TABLE table_name_80 (league_goals INTEGER, total_goals VARCHAR, league_cup_goals VARCHAR) | SELECT SUM(league_goals) FROM table_name_80 WHERE total_goals = 8 AND league_cup_goals > 0 | What was the sum of league goals where the toal was 8 and league cup goals were larger than 0? | <s>[INST]What was the sum of league goals where the toal was 8 and league cup goals were larger than 0? Context: CREATE TABLE table_name_80 (league_goals INTEGER, total_goals VARCHAR, league_cup_goals VARCHAR)[/INST]SELECT SUM(league_goals) FROM table_name_80 WHERE total_goals = 8 AND league_cup_goals > 0</s> |
CREATE TABLE table_name_12 (rating VARCHAR, season VARCHAR) | SELECT rating FROM table_name_12 WHERE season = "season 10" | What is the rating of the season 10? | <s>[INST]What is the rating of the season 10? Context: CREATE TABLE table_name_12 (rating VARCHAR, season VARCHAR)[/INST]SELECT rating FROM table_name_12 WHERE season = "season 10"</s> |
CREATE TABLE table_15905399_1 (validation VARCHAR, iin_ranges VARCHAR) | SELECT validation FROM table_15905399_1 WHERE iin_ranges = "5610, 560221-560225" | What is the validation for iin ranges 5610, 560221-560225? | <s>[INST]What is the validation for iin ranges 5610, 560221-560225? Context: CREATE TABLE table_15905399_1 (validation VARCHAR, iin_ranges VARCHAR)[/INST]SELECT validation FROM table_15905399_1 WHERE iin_ranges = "5610, 560221-560225"</s> |
CREATE TABLE table_name_50 (total VARCHAR, to_par VARCHAR) | SELECT COUNT(total) FROM table_name_50 WHERE to_par = 7 | What is the total number of Total, when To Par is "7"? | <s>[INST]What is the total number of Total, when To Par is "7"? Context: CREATE TABLE table_name_50 (total VARCHAR, to_par VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_50 WHERE to_par = 7</s> |
CREATE TABLE table_name_7 (game VARCHAR, year VARCHAR) | SELECT game FROM table_name_7 WHERE year = 2011 | What game was in 2011? | <s>[INST]What game was in 2011? Context: CREATE TABLE table_name_7 (game VARCHAR, year VARCHAR)[/INST]SELECT game FROM table_name_7 WHERE year = 2011</s> |
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_45 WHERE date = "11 february 1996" | Which venue was used 11 february 1996? | <s>[INST]Which venue was used 11 february 1996? Context: CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_45 WHERE date = "11 february 1996"</s> |
CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_85 WHERE time = "3:19.167" | What are the notes for the time at 3:19.167? | <s>[INST]What are the notes for the time at 3:19.167? Context: CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_85 WHERE time = "3:19.167"</s> |
CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_26 WHERE score = 67 - 71 = 138 | What was the To par for the player whose final score was 67-71=138? | <s>[INST]What was the To par for the player whose final score was 67-71=138? Context: CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_26 WHERE score = 67 - 71 = 138</s> |
CREATE TABLE table_name_18 (sales__billion_ INTEGER, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR) | SELECT AVG(sales__billion_) AS $_ FROM table_name_18 WHERE market_value__billion_$_ = 204.9 AND profits__billion_$_ < 20.6 | What is the average sales for the company with market value of 204.9bil and profits under 20.6bil? | <s>[INST]What is the average sales for the company with market value of 204.9bil and profits under 20.6bil? Context: CREATE TABLE table_name_18 (sales__billion_ INTEGER, market_value__billion_$_ VARCHAR, profits__billion_$_ VARCHAR)[/INST]SELECT AVG(sales__billion_) AS $_ FROM table_name_18 WHERE market_value__billion_... |
CREATE TABLE table_1310499_1 (rev VARCHAR, application VARCHAR) | SELECT rev FROM table_1310499_1 WHERE application = "2003-2004 Mustang Cobra" | What is the rev of the 2003-2004 Mustang Cobra? | <s>[INST]What is the rev of the 2003-2004 Mustang Cobra? Context: CREATE TABLE table_1310499_1 (rev VARCHAR, application VARCHAR)[/INST]SELECT rev FROM table_1310499_1 WHERE application = "2003-2004 Mustang Cobra"</s> |
CREATE TABLE table_name_61 (best_3_year_period VARCHAR, best_15_year_period VARCHAR, position VARCHAR) | SELECT best_3_year_period FROM table_name_61 WHERE best_15_year_period = "smyslov; kasparov" AND position = 5 | Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5? | <s>[INST]Which best 3-year period has a best 15-year period of smyslov; kasparov, and a Position of 5? Context: CREATE TABLE table_name_61 (best_3_year_period VARCHAR, best_15_year_period VARCHAR, position VARCHAR)[/INST]SELECT best_3_year_period FROM table_name_61 WHERE best_15_year_period = "smyslov; kasparov" AND po... |
CREATE TABLE table_name_49 (forward_caste VARCHAR, scheduled_caste VARCHAR) | SELECT forward_caste FROM table_name_49 WHERE scheduled_caste = "0.80%" | WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 0.80%? | <s>[INST]WHAT IS THE FORWARD CASTE WITH A SCHEDULED CASTE OF 0.80%? Context: CREATE TABLE table_name_49 (forward_caste VARCHAR, scheduled_caste VARCHAR)[/INST]SELECT forward_caste FROM table_name_49 WHERE scheduled_caste = "0.80%"</s> |
CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR) | SELECT series FROM table_name_78 WHERE title = "boyhood daze" | Which series had a title of Boyhood Daze? | <s>[INST]Which series had a title of Boyhood Daze? Context: CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR)[/INST]SELECT series FROM table_name_78 WHERE title = "boyhood daze"</s> |
CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR) | SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = "Spain" AND T1.year > 2017 | What are the names of races that were held after 2017 and the circuits were in the country of Spain? | <s>[INST]What are the names of races that were held after 2017 and the circuits were in the country of Spain? Context: CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR)[/INST]SELECT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid ... |
CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_22 WHERE date = "march 4" | What was the score on March 4? | <s>[INST]What was the score on March 4? Context: CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_22 WHERE date = "march 4"</s> |
CREATE TABLE table_name_11 (headquarter VARCHAR, type VARCHAR, newspaper_magazine VARCHAR) | SELECT headquarter FROM table_name_11 WHERE type = "government-owned" AND newspaper_magazine = "al-jumhuriya" | What is Headquarter, when Type is Government-Owned, and when Newspaper/Magazine is Al-Jumhuriya? | <s>[INST]What is Headquarter, when Type is Government-Owned, and when Newspaper/Magazine is Al-Jumhuriya? Context: CREATE TABLE table_name_11 (headquarter VARCHAR, type VARCHAR, newspaper_magazine VARCHAR)[/INST]SELECT headquarter FROM table_name_11 WHERE type = "government-owned" AND newspaper_magazine = "al-jumhuriya... |
CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_15 WHERE venue = "windy hill" | What was the away team score at Windy Hill? | <s>[INST]What was the away team score at Windy Hill? Context: CREATE TABLE table_name_15 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_15 WHERE venue = "windy hill"</s> |
CREATE TABLE injury_accident (game_id VARCHAR, player VARCHAR); CREATE TABLE game (season VARCHAR, id VARCHAR) | SELECT T1.season FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id WHERE T2.player = 'Walter Samuel' | What is the season of the game which causes the player 'Walter Samuel' to get injured? | <s>[INST]What is the season of the game which causes the player 'Walter Samuel' to get injured? Context: CREATE TABLE injury_accident (game_id VARCHAR, player VARCHAR); CREATE TABLE game (season VARCHAR, id VARCHAR)[/INST]SELECT T1.season FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id WHERE T2.player ... |
CREATE TABLE table_21995420_6 (school VARCHAR, basic_elements VARCHAR) | SELECT school FROM table_21995420_6 WHERE basic_elements = 52 | What is every school with basic elements of 52? | <s>[INST]What is every school with basic elements of 52? Context: CREATE TABLE table_21995420_6 (school VARCHAR, basic_elements VARCHAR)[/INST]SELECT school FROM table_21995420_6 WHERE basic_elements = 52</s> |
CREATE TABLE table_name_47 (Id VARCHAR) | SELECT 2007 FROM table_name_47 WHERE 2009 = "2r" AND 2008 = "1r" | What was the 2007 result for a 2008 result of 1R and 2009 result of 2R? | <s>[INST]What was the 2007 result for a 2008 result of 1R and 2009 result of 2R? Context: CREATE TABLE table_name_47 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_47 WHERE 2009 = "2r" AND 2008 = "1r"</s> |
CREATE TABLE table_name_27 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_27 WHERE to_par = "–1" | What is the name of the player that has a To par of –1? | <s>[INST]What is the name of the player that has a To par of –1? Context: CREATE TABLE table_name_27 (player VARCHAR, to_par VARCHAR)[/INST]SELECT player FROM table_name_27 WHERE to_par = "–1"</s> |
CREATE TABLE table_name_67 (elite_eight VARCHAR, conference VARCHAR) | SELECT elite_eight FROM table_name_67 WHERE conference = "atlantic 10" | How many elite eight teams came from the Atlantic 10? | <s>[INST]How many elite eight teams came from the Atlantic 10? Context: CREATE TABLE table_name_67 (elite_eight VARCHAR, conference VARCHAR)[/INST]SELECT elite_eight FROM table_name_67 WHERE conference = "atlantic 10"</s> |
CREATE TABLE cartoon (package_option VARCHAR, id VARCHAR, channel VARCHAR, directed_by VARCHAR); CREATE TABLE TV_Channel (package_option VARCHAR, id VARCHAR, channel VARCHAR, directed_by VARCHAR) | SELECT package_option FROM TV_Channel WHERE NOT id IN (SELECT channel FROM cartoon WHERE directed_by = 'Ben Jones') | find the package option of the tv channel that do not have any cartoon directed by Ben Jones. | <s>[INST]find the package option of the tv channel that do not have any cartoon directed by Ben Jones. Context: CREATE TABLE cartoon (package_option VARCHAR, id VARCHAR, channel VARCHAR, directed_by VARCHAR); CREATE TABLE TV_Channel (package_option VARCHAR, id VARCHAR, channel VARCHAR, directed_by VARCHAR)[/INST]SELECT... |
CREATE TABLE table_name_12 (team__number1 VARCHAR, team__number2 VARCHAR) | SELECT team__number1 FROM table_name_12 WHERE team__number2 = "akasvayu girona" | with team #2 as akasvayu girona what is team #1? | <s>[INST]with team #2 as akasvayu girona what is team #1? Context: CREATE TABLE table_name_12 (team__number1 VARCHAR, team__number2 VARCHAR)[/INST]SELECT team__number1 FROM table_name_12 WHERE team__number2 = "akasvayu girona"</s> |
CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR) | SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" AND number > 8 | What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8? | <s>[INST]What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and number over 8? Context: CREATE TABLE table_name_3 (song_title VARCHAR, number VARCHAR, singer_s_ VARCHAR, lyricist VARCHAR)[/INST]SELECT song_title FROM table_name_3 WHERE singer_s_ = "sonu nigam" AND lyricist = "dev kohli/biddu" ... |
CREATE TABLE table_name_33 (points INTEGER, extra_points VARCHAR, field_goals VARCHAR) | SELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0 | Who had a points average with 0 extra points and 0 field goals? | <s>[INST]Who had a points average with 0 extra points and 0 field goals? Context: CREATE TABLE table_name_33 (points INTEGER, extra_points VARCHAR, field_goals VARCHAR)[/INST]SELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0</s> |
CREATE TABLE table_name_36 (crowd INTEGER, home_team VARCHAR) | SELECT AVG(crowd) FROM table_name_36 WHERE home_team = "north melbourne" | What is the average crowd size when the home team is North Melbourne? | <s>[INST]What is the average crowd size when the home team is North Melbourne? Context: CREATE TABLE table_name_36 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT AVG(crowd) FROM table_name_36 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) | SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll" | What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll? | <s>[INST]What was the title of the episode written by Bob Rosenfarb and directed by Richard Correll? Context: CREATE TABLE table_2468961_3 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT title FROM table_2468961_3 WHERE written_by = "Bob Rosenfarb" AND directed_by = "Richard Correll"</s> |
CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_40 WHERE opponent = "evangelista cyborg" | What is the Record when Evangelista Cyborg was the opponent? | <s>[INST]What is the Record when Evangelista Cyborg was the opponent? Context: CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_40 WHERE opponent = "evangelista cyborg"</s> |
CREATE TABLE table_28885977_1 (stadium VARCHAR, location VARCHAR) | SELECT stadium FROM table_28885977_1 WHERE location = "Adelaide, South Australia" | Which stadium is located in Adelaide, South Australia? | <s>[INST]Which stadium is located in Adelaide, South Australia? Context: CREATE TABLE table_28885977_1 (stadium VARCHAR, location VARCHAR)[/INST]SELECT stadium FROM table_28885977_1 WHERE location = "Adelaide, South Australia"</s> |
CREATE TABLE table_name_86 (hits VARCHAR, year INTEGER) | SELECT hits FROM table_name_86 WHERE year < 1883 | Name the hits for years before 1883 | <s>[INST]Name the hits for years before 1883 Context: CREATE TABLE table_name_86 (hits VARCHAR, year INTEGER)[/INST]SELECT hits FROM table_name_86 WHERE year < 1883</s> |
CREATE TABLE table_name_46 (game INTEGER, attendance INTEGER) | SELECT AVG(game) FROM table_name_46 WHERE attendance > 56 OFFSET 040 | What was the average Game, when the attendance was higher than 56,040? | <s>[INST]What was the average Game, when the attendance was higher than 56,040? Context: CREATE TABLE table_name_46 (game INTEGER, attendance INTEGER)[/INST]SELECT AVG(game) FROM table_name_46 WHERE attendance > 56 OFFSET 040</s> |
CREATE TABLE table_name_93 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_93 WHERE home_team = "crystal palace" | What date was the game when home team crystal palace played? | <s>[INST]What date was the game when home team crystal palace played? Context: CREATE TABLE table_name_93 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_93 WHERE home_team = "crystal palace"</s> |
CREATE TABLE city (city VARCHAR, regional_population INTEGER) | SELECT city FROM city WHERE regional_population > 10000000 | Please give me a list of cities whose regional population is over 10000000. | <s>[INST]Please give me a list of cities whose regional population is over 10000000. Context: CREATE TABLE city (city VARCHAR, regional_population INTEGER)[/INST]SELECT city FROM city WHERE regional_population > 10000000</s> |
CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT class FROM table_name_72 WHERE year < 2011 AND chassis = "audi r15 tdi" | Which class has a year prior to 2011 and audi r15 tdi as the chassis? | <s>[INST]Which class has a year prior to 2011 and audi r15 tdi as the chassis? Context: CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT class FROM table_name_72 WHERE year < 2011 AND chassis = "audi r15 tdi"</s> |
CREATE TABLE table_name_96 (against VARCHAR, points VARCHAR, drawn VARCHAR) | SELECT COUNT(against) FROM table_name_96 WHERE points > 31 AND drawn > 6 | How many Againsts have Points larger than 31 and a Drawn larger than 6? | <s>[INST]How many Againsts have Points larger than 31 and a Drawn larger than 6? Context: CREATE TABLE table_name_96 (against VARCHAR, points VARCHAR, drawn VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_96 WHERE points > 31 AND drawn > 6</s> |
CREATE TABLE table_name_21 (attendance VARCHAR, loss VARCHAR) | SELECT attendance FROM table_name_21 WHERE loss = "prokopec (2-7)" | How many were in attendance with a loss of Prokopec (2-7)? | <s>[INST]How many were in attendance with a loss of Prokopec (2-7)? Context: CREATE TABLE table_name_21 (attendance VARCHAR, loss VARCHAR)[/INST]SELECT attendance FROM table_name_21 WHERE loss = "prokopec (2-7)"</s> |
CREATE TABLE table_name_23 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR) | SELECT years_in_orlando FROM table_name_23 WHERE nationality = "united states" AND school_club_team = "illinois" | Which Years in Orlando has a Nationality of united states, and a School/Club Team of illinois? | <s>[INST]Which Years in Orlando has a Nationality of united states, and a School/Club Team of illinois? Context: CREATE TABLE table_name_23 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)[/INST]SELECT years_in_orlando FROM table_name_23 WHERE nationality = "united states" AND school_club_team ... |
CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR) | SELECT years FROM table_name_30 WHERE ties > 1 AND wins < 311 AND losses = 174 | What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses? | <s>[INST]What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses? Context: CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR)[/INST]SELECT years FROM table_name_30 WHERE ties > 1 AND wins < 311 AND losses = 174</s> |
CREATE TABLE table_name_57 (lost VARCHAR, played VARCHAR, tries_against VARCHAR) | SELECT lost FROM table_name_57 WHERE played = "22" AND tries_against = "88" | tries against is 88, played is 22, what is the lost? | <s>[INST]tries against is 88, played is 22, what is the lost? Context: CREATE TABLE table_name_57 (lost VARCHAR, played VARCHAR, tries_against VARCHAR)[/INST]SELECT lost FROM table_name_57 WHERE played = "22" AND tries_against = "88"</s> |
CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR) | SELECT laps FROM table_2226343_1 WHERE race_time = "3:31:24" | How many laps have a race time of 3:31:24? | <s>[INST]How many laps have a race time of 3:31:24? Context: CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR)[/INST]SELECT laps FROM table_2226343_1 WHERE race_time = "3:31:24"</s> |
CREATE TABLE player (name VARCHAR, Club_ID VARCHAR); CREATE TABLE CLub (name VARCHAR, Club_ID VARCHAR) | SELECT name FROM CLub WHERE NOT Club_ID IN (SELECT Club_ID FROM player) | List the names of clubs that do not have any players. | <s>[INST]List the names of clubs that do not have any players. Context: CREATE TABLE player (name VARCHAR, Club_ID VARCHAR); CREATE TABLE CLub (name VARCHAR, Club_ID VARCHAR)[/INST]SELECT name FROM CLub WHERE NOT Club_ID IN (SELECT Club_ID FROM player)</s> |
CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR) | SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange" | How much absorption in nm does the orange dye have? | <s>[INST]How much absorption in nm does the orange dye have? Context: CREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR)[/INST]SELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = "orange"</s> |
CREATE TABLE table_name_2 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169" | Which district had SC reserved and 169 Constituents? | <s>[INST]Which district had SC reserved and 169 Constituents? Context: CREATE TABLE table_name_2 (district VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)[/INST]SELECT district FROM table_name_2 WHERE reserved_for___sc___st__none_ = "sc" AND constituency_number = "169"</s> |
CREATE TABLE table_name_79 (established INTEGER, venue VARCHAR) | SELECT MAX(established) FROM table_name_79 WHERE venue = "kuntz stadium" | What is the highest Established for the kuntz stadium? | <s>[INST]What is the highest Established for the kuntz stadium? Context: CREATE TABLE table_name_79 (established INTEGER, venue VARCHAR)[/INST]SELECT MAX(established) FROM table_name_79 WHERE venue = "kuntz stadium"</s> |
CREATE TABLE table_22754310_1 (constituency VARCHAR, margin VARCHAR) | SELECT constituency FROM table_22754310_1 WHERE margin = 175130 | Name the constituency for 175130 | <s>[INST]Name the constituency for 175130 Context: CREATE TABLE table_22754310_1 (constituency VARCHAR, margin VARCHAR)[/INST]SELECT constituency FROM table_22754310_1 WHERE margin = 175130</s> |
CREATE TABLE table_name_67 (caps INTEGER, player VARCHAR) | SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano" | What is the mean number of caps for Ryota Asano? | <s>[INST]What is the mean number of caps for Ryota Asano? Context: CREATE TABLE table_name_67 (caps INTEGER, player VARCHAR)[/INST]SELECT AVG(caps) FROM table_name_67 WHERE player = "ryota asano"</s> |
CREATE TABLE table_1912713_2 (方位_direction VARCHAR, 性情_personality VARCHAR) | SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle" | What is the total number of gentle personalities? | <s>[INST]What is the total number of gentle personalities? Context: CREATE TABLE table_1912713_2 (方位_direction VARCHAR, 性情_personality VARCHAR)[/INST]SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.