context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR, id VARCHAR); CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR); CREATE TABLE game (stadium_id VARCHAR, id VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR) | SELECT name, average_attendance, total_attendance FROM stadium EXCEPT SELECT T2.name, T2.average_attendance, T2.total_attendance FROM game AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.id JOIN injury_accident AS T3 ON T1.id = T3.game_id | Show the name, average attendance, total attendance for stadiums where no accidents happened. | <s>[INST]Show the name, average attendance, total attendance for stadiums where no accidents happened. Context: CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR, id VARCHAR); CREATE TABLE stadium (name VARCHAR, average_attendance VARCHAR, total_attendance VARCHAR); CREATE TABLE g... |
CREATE TABLE table_name_8 (round INTEGER, position VARCHAR, pick__number VARCHAR) | SELECT AVG(round) FROM table_name_8 WHERE position = "defensive tackle" AND pick__number > 187 | Which round was the defensive tackle picked after 187? | <s>[INST]Which round was the defensive tackle picked after 187? Context: CREATE TABLE table_name_8 (round INTEGER, position VARCHAR, pick__number VARCHAR)[/INST]SELECT AVG(round) FROM table_name_8 WHERE position = "defensive tackle" AND pick__number > 187</s> |
CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "greg kraft" | What date has a margin of victory of 1 stroke over Greg Kraft? | <s>[INST]What date has a margin of victory of 1 stroke over Greg Kraft? Context: CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "greg kraft"</s> |
CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_8 WHERE date = "march 15" | What was the Score on March 15? | <s>[INST]What was the Score on March 15? Context: CREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE date = "march 15"</s> |
CREATE TABLE table_2668243_17 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie" | Name the candidates for selah r. hobbie | <s>[INST]Name the candidates for selah r. hobbie Context: CREATE TABLE table_2668243_17 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_2668243_17 WHERE incumbent = "Selah R. Hobbie"</s> |
CREATE TABLE table_name_98 (event VARCHAR, method VARCHAR) | SELECT event FROM table_name_98 WHERE method = "dq (eye gouging)" | What event did Mikhail Avetisyan win by method of DQ (eye gouging)? | <s>[INST]What event did Mikhail Avetisyan win by method of DQ (eye gouging)? Context: CREATE TABLE table_name_98 (event VARCHAR, method VARCHAR)[/INST]SELECT event FROM table_name_98 WHERE method = "dq (eye gouging)"</s> |
CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_39 WHERE year = 1952 | Name the entrant for year of 1952 | <s>[INST]Name the entrant for year of 1952 Context: CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_39 WHERE year = 1952</s> |
CREATE TABLE table_name_86 (total__kg_ VARCHAR, snatch VARCHAR) | SELECT total__kg_ FROM table_name_86 WHERE snatch = 132.5 | What's the Total (kg) of a Snatch of 132.5? | <s>[INST]What's the Total (kg) of a Snatch of 132.5? Context: CREATE TABLE table_name_86 (total__kg_ VARCHAR, snatch VARCHAR)[/INST]SELECT total__kg_ FROM table_name_86 WHERE snatch = 132.5</s> |
CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR) | SELECT T2.Year, T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID | Show the years and the official names of the host cities of competitions. | <s>[INST]Show the years and the official names of the host cities of competitions. Context: CREATE TABLE city (Official_Name VARCHAR, City_ID VARCHAR); CREATE TABLE farm_competition (Year VARCHAR, Host_city_ID VARCHAR)[/INST]SELECT T2.Year, T1.Official_Name FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2... |
CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR) | SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND adelaide = "yes" | Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes? | <s>[INST]Which Perth has Gold Coast yes, Sydney yes, Melbourne yes, and Adelaide yes? Context: CREATE TABLE table_name_56 (perth VARCHAR, adelaide VARCHAR, melbourne VARCHAR, gold_coast VARCHAR, sydney VARCHAR)[/INST]SELECT perth FROM table_name_56 WHERE gold_coast = "yes" AND sydney = "yes" AND melbourne = "yes" AND a... |
CREATE TABLE table_name_81 (home_team VARCHAR, crowd INTEGER) | SELECT home_team AS score FROM table_name_81 WHERE crowd > 24 OFFSET 637 | What was the home team's score at the game attended by more than 24,637? | <s>[INST]What was the home team's score at the game attended by more than 24,637? Context: CREATE TABLE table_name_81 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team AS score FROM table_name_81 WHERE crowd > 24 OFFSET 637</s> |
CREATE TABLE table_name_43 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_43 WHERE home_team = "richmond" | Where did Richmond play as the home team? | <s>[INST]Where did Richmond play as the home team? Context: CREATE TABLE table_name_43 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_43 WHERE home_team = "richmond"</s> |
CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR) | SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23" | How many points are there for a Mclaren m23 chassis later than 1972? | <s>[INST]How many points are there for a Mclaren m23 chassis later than 1972? Context: CREATE TABLE table_name_20 (points VARCHAR, year VARCHAR, chassis VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23"</s> |
CREATE TABLE table_name_90 (december VARCHAR, opponent VARCHAR) | SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames" | How many Decembers have calgary flames as the opponent? | <s>[INST]How many Decembers have calgary flames as the opponent? Context: CREATE TABLE table_name_90 (december VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(december) FROM table_name_90 WHERE opponent = "calgary flames"</s> |
CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR) | SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden" | Who in series 5 corresponds to Deborah Meaden in series 3? | <s>[INST]Who in series 5 corresponds to Deborah Meaden in series 3? Context: CREATE TABLE table_name_57 (series_5 VARCHAR, series_3 VARCHAR)[/INST]SELECT series_5 FROM table_name_57 WHERE series_3 = "deborah meaden"</s> |
CREATE TABLE table_name_13 (race_name VARCHAR, winning_driver VARCHAR) | SELECT race_name FROM table_name_13 WHERE winning_driver = "stirling moss" | What is the name of the race where Stirling Moss was the winning driver? | <s>[INST]What is the name of the race where Stirling Moss was the winning driver? Context: CREATE TABLE table_name_13 (race_name VARCHAR, winning_driver VARCHAR)[/INST]SELECT race_name FROM table_name_13 WHERE winning_driver = "stirling moss"</s> |
CREATE TABLE table_name_33 (points INTEGER, season VARCHAR) | SELECT MIN(points) FROM table_name_33 WHERE season = "1994" | What were the lowest amount of points for season 1994? | <s>[INST]What were the lowest amount of points for season 1994? Context: CREATE TABLE table_name_33 (points INTEGER, season VARCHAR)[/INST]SELECT MIN(points) FROM table_name_33 WHERE season = "1994"</s> |
CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_92 WHERE home_team = "collingwood" | How big was the crowd of the Home team of Collingwood? | <s>[INST]How big was the crowd of the Home team of Collingwood? Context: CREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_92 WHERE home_team = "collingwood"</s> |
CREATE TABLE table_18335117_5 (original_air_date VARCHAR, director VARCHAR, writer VARCHAR) | SELECT original_air_date FROM table_18335117_5 WHERE director = "Barnaby Southcomb" AND writer = "Charlie Martin" | Name the original air date for barnaby southcomb for charlie martin | <s>[INST]Name the original air date for barnaby southcomb for charlie martin Context: CREATE TABLE table_18335117_5 (original_air_date VARCHAR, director VARCHAR, writer VARCHAR)[/INST]SELECT original_air_date FROM table_18335117_5 WHERE director = "Barnaby Southcomb" AND writer = "Charlie Martin"</s> |
CREATE TABLE table_name_29 (team VARCHAR, draw VARCHAR) | SELECT team FROM table_name_29 WHERE draw = "0" | What team had a draw of 0? | <s>[INST]What team had a draw of 0? Context: CREATE TABLE table_name_29 (team VARCHAR, draw VARCHAR)[/INST]SELECT team FROM table_name_29 WHERE draw = "0"</s> |
CREATE TABLE table_name_89 (ship VARCHAR, pennant_number VARCHAR) | SELECT ship FROM table_name_89 WHERE pennant_number = "h05" | What ship has a pennant number h05? | <s>[INST]What ship has a pennant number h05? Context: CREATE TABLE table_name_89 (ship VARCHAR, pennant_number VARCHAR)[/INST]SELECT ship FROM table_name_89 WHERE pennant_number = "h05"</s> |
CREATE TABLE table_name_71 (attendance VARCHAR, score VARCHAR) | SELECT COUNT(attendance) FROM table_name_71 WHERE score = "4–0" | Score of 4–0 had what attendance number? | <s>[INST]Score of 4–0 had what attendance number? Context: CREATE TABLE table_name_71 (attendance VARCHAR, score VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_71 WHERE score = "4–0"</s> |
CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR) | SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10 | Who is the lw position player from a round greater than 10? | <s>[INST]Who is the lw position player from a round greater than 10? Context: CREATE TABLE table_name_76 (player VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT player FROM table_name_76 WHERE position = "lw" AND round > 10</s> |
CREATE TABLE table_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) | SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865 | Name the total number for sub parish sokn for 1865 | <s>[INST]Name the total number for sub parish sokn for 1865 Context: CREATE TABLE table_178408_1 (sub_parish__sokn_ VARCHAR, year_built VARCHAR)[/INST]SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865</s> |
CREATE TABLE table_name_27 (home VARCHAR, date VARCHAR) | SELECT home FROM table_name_27 WHERE date = "april 14" | What is the home team of the April 14 game? | <s>[INST]What is the home team of the April 14 game? Context: CREATE TABLE table_name_27 (home VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_27 WHERE date = "april 14"</s> |
CREATE TABLE table_26986076_3 (mon_23_aug VARCHAR, rider VARCHAR) | SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley" | What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley? | <s>[INST]What was the time on Monday August 23rd for Steve Linsdell 499cc royal enfield seeley? Context: CREATE TABLE table_26986076_3 (mon_23_aug VARCHAR, rider VARCHAR)[/INST]SELECT mon_23_aug FROM table_26986076_3 WHERE rider = "Steve Linsdell 499cc Royal Enfield Seeley"</s> |
CREATE TABLE table_name_71 (wins INTEGER, ballarat_fl VARCHAR, byes VARCHAR) | SELECT MIN(wins) FROM table_name_71 WHERE ballarat_fl = "daylesford" AND byes < 1 | Can you tell me the lowest Wins that has the Ballarat FL of daylesford, and the Byes smaller than 1? | <s>[INST]Can you tell me the lowest Wins that has the Ballarat FL of daylesford, and the Byes smaller than 1? Context: CREATE TABLE table_name_71 (wins INTEGER, ballarat_fl VARCHAR, byes VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_71 WHERE ballarat_fl = "daylesford" AND byes < 1</s> |
CREATE TABLE table_name_63 (series_ep VARCHAR, segment_c VARCHAR) | SELECT series_ep FROM table_name_63 WHERE segment_c = "luxury cars (part 1)" | Name the series ep for segment c of luxury cars (part 1) | <s>[INST]Name the series ep for segment c of luxury cars (part 1) Context: CREATE TABLE table_name_63 (series_ep VARCHAR, segment_c VARCHAR)[/INST]SELECT series_ep FROM table_name_63 WHERE segment_c = "luxury cars (part 1)"</s> |
CREATE TABLE table_name_10 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_10 WHERE date = "july 12" | What is the Record on July 12? | <s>[INST]What is the Record on July 12? Context: CREATE TABLE table_name_10 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_10 WHERE date = "july 12"</s> |
CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_14 WHERE opponent = "new jersey nets" | What was the score for the game against the New Jersey Nets? | <s>[INST]What was the score for the game against the New Jersey Nets? Context: CREATE TABLE table_name_14 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_14 WHERE opponent = "new jersey nets"</s> |
CREATE TABLE airports (city VARCHAR, country VARCHAR) | SELECT COUNT(DISTINCT city) FROM airports WHERE country = 'Greenland' | How many different cities do have some airport in the country of Greenland? | <s>[INST]How many different cities do have some airport in the country of Greenland? Context: CREATE TABLE airports (city VARCHAR, country VARCHAR)[/INST]SELECT COUNT(DISTINCT city) FROM airports WHERE country = 'Greenland'</s> |
CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR) | SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687" | What's the smallest grid for Time/Retired of +22.687? | <s>[INST]What's the smallest grid for Time/Retired of +22.687? Context: CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR)[/INST]SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687"</s> |
CREATE TABLE table_name_95 (time VARCHAR, name VARCHAR) | SELECT time FROM table_name_95 WHERE name = "derek graham" | What was Derek Graham's time? | <s>[INST]What was Derek Graham's time? Context: CREATE TABLE table_name_95 (time VARCHAR, name VARCHAR)[/INST]SELECT time FROM table_name_95 WHERE name = "derek graham"</s> |
CREATE TABLE table_name_75 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_75 WHERE away_team = "melbourne" | When Melbourne was the Away team, what was their score? | <s>[INST]When Melbourne was the Away team, what was their score? Context: CREATE TABLE table_name_75 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_75 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_12 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR) | SELECT results¹ FROM table_name_12 WHERE type_of_game = "friendly" AND date = "june 25" | What is the Results¹ that was a friendly game and played on June 25? | <s>[INST]What is the Results¹ that was a friendly game and played on June 25? Context: CREATE TABLE table_name_12 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR)[/INST]SELECT results¹ FROM table_name_12 WHERE type_of_game = "friendly" AND date = "june 25"</s> |
CREATE TABLE people (Birth_Place VARCHAR) | SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1 | What is the most common birth place of people? | <s>[INST]What is the most common birth place of people? Context: CREATE TABLE people (Birth_Place VARCHAR)[/INST]SELECT Birth_Place FROM people GROUP BY Birth_Place ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR) | SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE population_of_england_and_wales_000 = 49634 | What is the muslim percentage of the 49634 population of england and wales 000? | <s>[INST]What is the muslim percentage of the 49634 population of england and wales 000? Context: CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR)[/INST]SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE population_of_en... |
CREATE TABLE table_name_1 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_1 WHERE player = "demetris nichols" | What nationality is Demetris Nichols? | <s>[INST]What nationality is Demetris Nichols? Context: CREATE TABLE table_name_1 (nationality VARCHAR, player VARCHAR)[/INST]SELECT nationality FROM table_name_1 WHERE player = "demetris nichols"</s> |
CREATE TABLE table_name_76 (rank VARCHAR, gatchaman VARCHAR) | SELECT rank FROM table_name_76 WHERE gatchaman = "jinpei" | What is the rank of the gatchaman of Jinpei? | <s>[INST]What is the rank of the gatchaman of Jinpei? Context: CREATE TABLE table_name_76 (rank VARCHAR, gatchaman VARCHAR)[/INST]SELECT rank FROM table_name_76 WHERE gatchaman = "jinpei"</s> |
CREATE TABLE table_name_30 (association VARCHAR, horse_1 VARCHAR) | SELECT association FROM table_name_30 WHERE horse_1 = "estribillo ii" | With which association did estribillo ii run as Horse 1? | <s>[INST]With which association did estribillo ii run as Horse 1? Context: CREATE TABLE table_name_30 (association VARCHAR, horse_1 VARCHAR)[/INST]SELECT association FROM table_name_30 WHERE horse_1 = "estribillo ii"</s> |
CREATE TABLE table_name_59 (bronze VARCHAR, place VARCHAR) | SELECT bronze FROM table_name_59 WHERE place = "melbourne" | Who won the Bronze at Melbourne? | <s>[INST]Who won the Bronze at Melbourne? Context: CREATE TABLE table_name_59 (bronze VARCHAR, place VARCHAR)[/INST]SELECT bronze FROM table_name_59 WHERE place = "melbourne"</s> |
CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_61 WHERE score = "2 – 3" | Score of 2 – 3 has what attendance? | <s>[INST]Score of 2 – 3 has what attendance? Context: CREATE TABLE table_name_61 (attendance VARCHAR, score VARCHAR)[/INST]SELECT attendance FROM table_name_61 WHERE score = "2 – 3"</s> |
CREATE TABLE table_1081459_1 (introduced INTEGER, region VARCHAR) | SELECT MIN(introduced) FROM table_1081459_1 WHERE region = "Departmental" | What is the minimum introduced value for the Departmental region? | <s>[INST]What is the minimum introduced value for the Departmental region? Context: CREATE TABLE table_1081459_1 (introduced INTEGER, region VARCHAR)[/INST]SELECT MIN(introduced) FROM table_1081459_1 WHERE region = "Departmental"</s> |
CREATE TABLE table_14889988_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_14889988_1 WHERE production_code = 176265 | What date was the episode with production code 176265 aired? | <s>[INST]What date was the episode with production code 176265 aired? Context: CREATE TABLE table_14889988_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_14889988_1 WHERE production_code = 176265</s> |
CREATE TABLE table_name_89 (Id VARCHAR) | SELECT 2007 FROM table_name_89 WHERE 2000 = "0 / 4" | What is 2007, when 2000 is "0 / 4"? | <s>[INST]What is 2007, when 2000 is "0 / 4"? Context: CREATE TABLE table_name_89 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_89 WHERE 2000 = "0 / 4"</s> |
CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR) | SELECT original_air_date FROM table_14035132_3 WHERE no_in_series = "29a" | When did the episode with series number 29a originally air? | <s>[INST]When did the episode with series number 29a originally air? Context: CREATE TABLE table_14035132_3 (original_air_date VARCHAR, no_in_series VARCHAR)[/INST]SELECT original_air_date FROM table_14035132_3 WHERE no_in_series = "29a"</s> |
CREATE TABLE table_name_41 (transfer_fee VARCHAR, name VARCHAR, source VARCHAR, country VARCHAR) | SELECT transfer_fee FROM table_name_41 WHERE source = "fcbarcelona.cat" AND country = "fra" AND name = "henry" | What is henry transfer fee at fcbarcelona.cat in fra? | <s>[INST]What is henry transfer fee at fcbarcelona.cat in fra? Context: CREATE TABLE table_name_41 (transfer_fee VARCHAR, name VARCHAR, source VARCHAR, country VARCHAR)[/INST]SELECT transfer_fee FROM table_name_41 WHERE source = "fcbarcelona.cat" AND country = "fra" AND name = "henry"</s> |
CREATE TABLE table_name_51 (undecided VARCHAR, goldberg VARCHAR) | SELECT undecided FROM table_name_51 WHERE goldberg = "6%" | What is the undecided percentage of the poll where Goldberg had 6%? | <s>[INST]What is the undecided percentage of the poll where Goldberg had 6%? Context: CREATE TABLE table_name_51 (undecided VARCHAR, goldberg VARCHAR)[/INST]SELECT undecided FROM table_name_51 WHERE goldberg = "6%"</s> |
CREATE TABLE table_name_99 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_99 WHERE constructor = "lotus - ford" AND laps < 17 | What is the Time/Retired when lotus - ford was constructor and the laps were less than 17? | <s>[INST]What is the Time/Retired when lotus - ford was constructor and the laps were less than 17? Context: CREATE TABLE table_name_99 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)[/INST]SELECT time_retired FROM table_name_99 WHERE constructor = "lotus - ford" AND laps < 17</s> |
CREATE TABLE table_27940569_1 (pts_bns VARCHAR, driver VARCHAR) | SELECT pts_bns FROM table_27940569_1 WHERE driver = "Kurt Busch" | How many points and bonuses did Kurt Busch get? | <s>[INST]How many points and bonuses did Kurt Busch get? Context: CREATE TABLE table_27940569_1 (pts_bns VARCHAR, driver VARCHAR)[/INST]SELECT pts_bns FROM table_27940569_1 WHERE driver = "Kurt Busch"</s> |
CREATE TABLE table_name_67 (pos INTEGER, matches INTEGER) | SELECT SUM(pos) FROM table_name_67 WHERE matches > 5 | Matches larger than 5 is the sum of what position? | <s>[INST]Matches larger than 5 is the sum of what position? Context: CREATE TABLE table_name_67 (pos INTEGER, matches INTEGER)[/INST]SELECT SUM(pos) FROM table_name_67 WHERE matches > 5</s> |
CREATE TABLE table_name_49 (republican_ticket VARCHAR, progressive_ticket VARCHAR) | SELECT republican_ticket FROM table_name_49 WHERE progressive_ticket = "frank h. hiscock" | Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket? | <s>[INST]Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket? Context: CREATE TABLE table_name_49 (republican_ticket VARCHAR, progressive_ticket VARCHAR)[/INST]SELECT republican_ticket FROM table_name_49 WHERE progressive_ticket = "frank h. hiscock"</s> |
CREATE TABLE table_name_28 (club VARCHAR, years VARCHAR) | SELECT club FROM table_name_28 WHERE years = "1995–1996" | What is the Club during the Years 1995–1996? | <s>[INST]What is the Club during the Years 1995–1996? Context: CREATE TABLE table_name_28 (club VARCHAR, years VARCHAR)[/INST]SELECT club FROM table_name_28 WHERE years = "1995–1996"</s> |
CREATE TABLE table_name_95 (rank INTEGER) | SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox" | What is the highest rank of the 2009 xbox? | <s>[INST]What is the highest rank of the 2009 xbox? Context: CREATE TABLE table_name_95 (rank INTEGER)[/INST]SELECT MAX(rank) FROM table_name_95 WHERE 2009 = "xbox"</s> |
CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium" | When was the game happening at Halton Stadium? | <s>[INST]When was the game happening at Halton Stadium? Context: CREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_13328239_4 WHERE venue = "Halton Stadium"</s> |
CREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | SELECT grand_prix FROM table_name_50 WHERE fastest_lap = "gerhard berger" AND pole_position = "michael schumacher" | What is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position? | <s>[INST]What is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position? Context: CREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)[/INST]SELECT grand_prix FROM table_name_50 WHERE fastest_lap = "gerhard berger" AND pole_position = "mi... |
CREATE TABLE table_name_45 (year VARCHAR, position VARCHAR) | SELECT year FROM table_name_45 WHERE position = "9" | Which year had a position of 9? | <s>[INST]Which year had a position of 9? Context: CREATE TABLE table_name_45 (year VARCHAR, position VARCHAR)[/INST]SELECT year FROM table_name_45 WHERE position = "9"</s> |
CREATE TABLE table_2384331_1 (arena VARCHAR, captain VARCHAR) | SELECT arena FROM table_2384331_1 WHERE captain = "Michael Wales" | What arena does the team play at that has Michael Wales as the captain? | <s>[INST]What arena does the team play at that has Michael Wales as the captain? Context: CREATE TABLE table_2384331_1 (arena VARCHAR, captain VARCHAR)[/INST]SELECT arena FROM table_2384331_1 WHERE captain = "Michael Wales"</s> |
CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR) | SELECT regiment FROM table_29458735_5 WHERE county = "Arkansas" | which regimen was in the arkansas county | <s>[INST]which regimen was in the arkansas county Context: CREATE TABLE table_29458735_5 (regiment VARCHAR, county VARCHAR)[/INST]SELECT regiment FROM table_29458735_5 WHERE county = "Arkansas"</s> |
CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_67 WHERE score = "3-17" | Who did they lose to 3-17? | <s>[INST]Who did they lose to 3-17? Context: CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_67 WHERE score = "3-17"</s> |
CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_86 WHERE opponent = "carolina panthers" | What's the result when the Carolina Panthers were the opponent? | <s>[INST]What's the result when the Carolina Panthers were the opponent? Context: CREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_86 WHERE opponent = "carolina panthers"</s> |
CREATE TABLE table_name_75 (game VARCHAR, january VARCHAR) | SELECT COUNT(game) FROM table_name_75 WHERE january = 20 | What was the total number of games on January 20? | <s>[INST]What was the total number of games on January 20? Context: CREATE TABLE table_name_75 (game VARCHAR, january VARCHAR)[/INST]SELECT COUNT(game) FROM table_name_75 WHERE january = 20</s> |
CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR) | SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = "no elections" AND fractievoorzitter = "hans van mierlo" AND chair = "s. van der loo" | What is Cabinet, when Year is before 2001, when Lijsttrekker is "No Elections", when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "S. Van Der Loo"? | <s>[INST]What is Cabinet, when Year is before 2001, when Lijsttrekker is "No Elections", when Fractievoorzitter is "Hans Van Mierlo", and when Chair is "S. Van Der Loo"? Context: CREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR)[/INST]SELECT cabin... |
CREATE TABLE table_22825058_23 (partnering VARCHAR, round VARCHAR) | SELECT partnering FROM table_22825058_23 WHERE round = "SF" | Name the partnering for round sf | <s>[INST]Name the partnering for round sf Context: CREATE TABLE table_22825058_23 (partnering VARCHAR, round VARCHAR)[/INST]SELECT partnering FROM table_22825058_23 WHERE round = "SF"</s> |
CREATE TABLE table_name_78 (year INTEGER, location VARCHAR) | SELECT MIN(year) FROM table_name_78 WHERE location = "brookline, massachusetts" | What was the earliest year that had a location of Brookline, Massachusetts? | <s>[INST]What was the earliest year that had a location of Brookline, Massachusetts? Context: CREATE TABLE table_name_78 (year INTEGER, location VARCHAR)[/INST]SELECT MIN(year) FROM table_name_78 WHERE location = "brookline, massachusetts"</s> |
CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1341865_44 WHERE district = "Tennessee 5" | how many incumbent with district being tennessee 5 | <s>[INST] how many incumbent with district being tennessee 5 Context: CREATE TABLE table_1341865_44 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341865_44 WHERE district = "Tennessee 5"</s> |
CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21" | Who is the director when there is 11.21 million viewers? | <s>[INST]Who is the director when there is 11.21 million viewers? Context: CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21"</s> |
CREATE TABLE table_name_82 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_82 WHERE tie_no = "6" | What home team has 6 as the tie no.? | <s>[INST]What home team has 6 as the tie no.? Context: CREATE TABLE table_name_82 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_82 WHERE tie_no = "6"</s> |
CREATE TABLE table_name_6 (week_12_nov_16 VARCHAR, week_3_sept_14 VARCHAR) | SELECT week_12_nov_16 FROM table_name_6 WHERE week_3_sept_14 = "south florida (3-0)" | What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)? | <s>[INST]What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)? Context: CREATE TABLE table_name_6 (week_12_nov_16 VARCHAR, week_3_sept_14 VARCHAR)[/INST]SELECT week_12_nov_16 FROM table_name_6 WHERE week_3_sept_14 = "south florida (3-0)"</s> |
CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR) | SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female" | Who was the female contestant on the Original season of Fresh Meat? | <s>[INST]Who was the female contestant on the Original season of Fresh Meat? Context: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR)[/INST]SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female"</s> |
CREATE TABLE table_name_59 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_59 WHERE home_team = "st kilda" | What was the score when St Kilda played as the home team? | <s>[INST]What was the score when St Kilda played as the home team? Context: CREATE TABLE table_name_59 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_59 WHERE home_team = "st kilda"</s> |
CREATE TABLE table_name_14 (date VARCHAR, year VARCHAR) | SELECT date FROM table_name_14 WHERE year = 1986 | what is the date in 1986? | <s>[INST]what is the date in 1986? Context: CREATE TABLE table_name_14 (date VARCHAR, year VARCHAR)[/INST]SELECT date FROM table_name_14 WHERE year = 1986</s> |
CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR) | SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15 | Player of mike o'quinn, and a Round smaller than 15 had what lowest pick? | <s>[INST]Player of mike o'quinn, and a Round smaller than 15 had what lowest pick? Context: CREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_30 WHERE player = "mike o'quinn" AND round < 15</s> |
CREATE TABLE table_name_87 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR) | SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus" | What was the average tonnage for Beatus, raided on 18 October 1940? | <s>[INST]What was the average tonnage for Beatus, raided on 18 October 1940? Context: CREATE TABLE table_name_87 (tonnage INTEGER, date VARCHAR, name_of_ship VARCHAR)[/INST]SELECT AVG(tonnage) FROM table_name_87 WHERE date = "18 october 1940" AND name_of_ship = "beatus"</s> |
CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR) | SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = "Darryl Dawkins" | How many schools did darryl dawkins play for | <s>[INST]How many schools did darryl dawkins play for Context: CREATE TABLE table_11545282_4 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT COUNT(school_club_team) FROM table_11545282_4 WHERE player = "Darryl Dawkins"</s> |
CREATE TABLE table_name_85 (season VARCHAR, engine VARCHAR, team VARCHAR) | SELECT COUNT(season) FROM table_name_85 WHERE engine = "cosworth" AND team = "kraco racing" | What is the total number of Seasons, when the Engine is Cosworth, and when the Team is Kraco Racing? | <s>[INST]What is the total number of Seasons, when the Engine is Cosworth, and when the Team is Kraco Racing? Context: CREATE TABLE table_name_85 (season VARCHAR, engine VARCHAR, team VARCHAR)[/INST]SELECT COUNT(season) FROM table_name_85 WHERE engine = "cosworth" AND team = "kraco racing"</s> |
CREATE TABLE table_name_29 (start INTEGER, pens VARCHAR, conv VARCHAR, tries VARCHAR) | SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22 | What is the largest start for a player with 14 conv, 10 tries and more than 22 pens? | <s>[INST]What is the largest start for a player with 14 conv, 10 tries and more than 22 pens? Context: CREATE TABLE table_name_29 (start INTEGER, pens VARCHAR, conv VARCHAR, tries VARCHAR)[/INST]SELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22</s> |
CREATE TABLE Assets (asset_make VARCHAR, asset_model VARCHAR, asset_details VARCHAR, asset_disposed_date VARCHAR) | SELECT asset_make, asset_model, asset_details FROM Assets ORDER BY asset_disposed_date | List the all the assets make, model, details by the disposed date ascendingly. | <s>[INST]List the all the assets make, model, details by the disposed date ascendingly. Context: CREATE TABLE Assets (asset_make VARCHAR, asset_model VARCHAR, asset_details VARCHAR, asset_disposed_date VARCHAR)[/INST]SELECT asset_make, asset_model, asset_details FROM Assets ORDER BY asset_disposed_date</s> |
CREATE TABLE countrylanguage (countrycode VARCHAR, language VARCHAR); CREATE TABLE country (name VARCHAR, code VARCHAR) | SELECT t1.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode WHERE t2.language = "english" AND isofficial = "t" UNION SELECT t1.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode WHERE t2.language = "dutch" AND isofficial = "t" | What are the countries where either English or Dutch is the official language ? | <s>[INST]What are the countries where either English or Dutch is the official language ? Context: CREATE TABLE countrylanguage (countrycode VARCHAR, language VARCHAR); CREATE TABLE country (name VARCHAR, code VARCHAR)[/INST]SELECT t1.name FROM country AS t1 JOIN countrylanguage AS t2 ON t1.code = t2.countrycode WHERE t... |
CREATE TABLE table_18821196_1 (weekly_schedule VARCHAR, country VARCHAR) | SELECT weekly_schedule FROM table_18821196_1 WHERE country = "Norway" | What is every weekly schedule in the country of Norway? | <s>[INST]What is every weekly schedule in the country of Norway? Context: CREATE TABLE table_18821196_1 (weekly_schedule VARCHAR, country VARCHAR)[/INST]SELECT weekly_schedule FROM table_18821196_1 WHERE country = "Norway"</s> |
CREATE TABLE table_name_74 (constructor VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_74 WHERE laps = 79 AND driver = "james hunt" | Who built james hunt's car that went 79 laps? | <s>[INST]Who built james hunt's car that went 79 laps? Context: CREATE TABLE table_name_74 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_74 WHERE laps = 79 AND driver = "james hunt"</s> |
CREATE TABLE table_28059992_2 (college VARCHAR, position VARCHAR) | SELECT college FROM table_28059992_2 WHERE position = "DL" | Name the college for dl | <s>[INST]Name the college for dl Context: CREATE TABLE table_28059992_2 (college VARCHAR, position VARCHAR)[/INST]SELECT college FROM table_28059992_2 WHERE position = "DL"</s> |
CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_37 WHERE game = 67 | What was the record following game 67? | <s>[INST]What was the record following game 67? Context: CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_37 WHERE game = 67</s> |
CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR) | SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%" | How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%? | <s>[INST]How many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%? Context: CREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(result) FROM table_1341672_6 WHERE candidates = "Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%"</s> |
CREATE TABLE table_175980_2 (premiere VARCHAR, finale VARCHAR) | SELECT premiere FROM table_175980_2 WHERE finale = "May 25, 2004" | What premieres had a finale on May 25, 2004? | <s>[INST]What premieres had a finale on May 25, 2004? Context: CREATE TABLE table_175980_2 (premiere VARCHAR, finale VARCHAR)[/INST]SELECT premiere FROM table_175980_2 WHERE finale = "May 25, 2004"</s> |
CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR) | SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division" | What location has a home ground of n/a, and position in 2012-13 of 13th, third division? | <s>[INST]What location has a home ground of n/a, and position in 2012-13 of 13th, third division? Context: CREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR)[/INST]SELECT location FROM table_name_2 WHERE home_ground = "n/a" AND position_in_2012_13 = "13th, third division"</s> |
CREATE TABLE table_25675509_1 (latitude VARCHAR, time__utc_ VARCHAR) | SELECT latitude FROM table_25675509_1 WHERE time__utc_ = "13:10:02" | At what latitude did the shock at time 13:10:02 occur? | <s>[INST]At what latitude did the shock at time 13:10:02 occur? Context: CREATE TABLE table_25675509_1 (latitude VARCHAR, time__utc_ VARCHAR)[/INST]SELECT latitude FROM table_25675509_1 WHERE time__utc_ = "13:10:02"</s> |
CREATE TABLE table_name_6 (played INTEGER, goals_against VARCHAR, losses VARCHAR) | SELECT MAX(played) FROM table_name_6 WHERE goals_against > 60 AND losses < 29 | When goals against is greater than 60 and losses less than 29, what is the highest played? | <s>[INST]When goals against is greater than 60 and losses less than 29, what is the highest played? Context: CREATE TABLE table_name_6 (played INTEGER, goals_against VARCHAR, losses VARCHAR)[/INST]SELECT MAX(played) FROM table_name_6 WHERE goals_against > 60 AND losses < 29</s> |
CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83" | Which team was the opponent that had a location of Madison Square Garden with a score of 87-83? | <s>[INST]Which team was the opponent that had a location of Madison Square Garden with a score of 87-83? Context: CREATE TABLE table_name_10 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_name_10 WHERE location_attendance = "madison square garden" AND score = "87-83"</s> |
CREATE TABLE table_name_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_name_18 WHERE party = "democratic" AND first_elected = 1998 | Which Democratic incumbent was first elected in 1998? | <s>[INST]Which Democratic incumbent was first elected in 1998? Context: CREATE TABLE table_name_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_name_18 WHERE party = "democratic" AND first_elected = 1998</s> |
CREATE TABLE table_name_22 (crowd VARCHAR, venue VARCHAR) | SELECT crowd FROM table_name_22 WHERE venue = "mcg" | In the game with the venue of mcg, what was the attendance? | <s>[INST]In the game with the venue of mcg, what was the attendance? Context: CREATE TABLE table_name_22 (crowd VARCHAR, venue VARCHAR)[/INST]SELECT crowd FROM table_name_22 WHERE venue = "mcg"</s> |
CREATE TABLE table_19839391_3 (pitcher VARCHAR, seasons VARCHAR) | SELECT pitcher FROM table_19839391_3 WHERE seasons = "1970" | List the pitchers for the 1970 season | <s>[INST]List the pitchers for the 1970 season Context: CREATE TABLE table_19839391_3 (pitcher VARCHAR, seasons VARCHAR)[/INST]SELECT pitcher FROM table_19839391_3 WHERE seasons = "1970"</s> |
CREATE TABLE table_25931938_1 (age INTEGER, aggregate VARCHAR) | SELECT MAX(age) FROM table_25931938_1 WHERE aggregate = 402 | What is the age of the celebrity who had a 402 aggregate? | <s>[INST]What is the age of the celebrity who had a 402 aggregate? Context: CREATE TABLE table_25931938_1 (age INTEGER, aggregate VARCHAR)[/INST]SELECT MAX(age) FROM table_25931938_1 WHERE aggregate = 402</s> |
CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns" | What's the first elected year of the district that Ed Towns is an incumbent of? | <s>[INST]What's the first elected year of the district that Ed Towns is an incumbent of? Context: CREATE TABLE table_1341453_34 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1341453_34 WHERE incumbent = "Ed Towns"</s> |
CREATE TABLE table_name_88 (_percentage_of_votes VARCHAR, party VARCHAR) | SELECT _percentage_of_votes FROM table_name_88 WHERE party = "family rights" | What is the percentage of votes received by the party of family rights? | <s>[INST]What is the percentage of votes received by the party of family rights? Context: CREATE TABLE table_name_88 (_percentage_of_votes VARCHAR, party VARCHAR)[/INST]SELECT _percentage_of_votes FROM table_name_88 WHERE party = "family rights"</s> |
CREATE TABLE table_name_52 (name VARCHAR, winning_team VARCHAR) | SELECT name FROM table_name_52 WHERE winning_team = "penske racing" | What is Penske Racing's name? | <s>[INST]What is Penske Racing's name? Context: CREATE TABLE table_name_52 (name VARCHAR, winning_team VARCHAR)[/INST]SELECT name FROM table_name_52 WHERE winning_team = "penske racing"</s> |
CREATE TABLE table_name_55 (bronze INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_55 WHERE nation = "scotland" AND total < 7 | What is the number of bronze that Scotland, which has less than 7 total medals, has? | <s>[INST]What is the number of bronze that Scotland, which has less than 7 total medals, has? Context: CREATE TABLE table_name_55 (bronze INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_55 WHERE nation = "scotland" AND total < 7</s> |
CREATE TABLE table_name_32 (bullet_diameter VARCHAR, neck_diameter VARCHAR) | SELECT bullet_diameter FROM table_name_32 WHERE neck_diameter = "12.17 (.479)" | Which Bullet diameter has a Neck diameter of 12.17 (.479)? | <s>[INST]Which Bullet diameter has a Neck diameter of 12.17 (.479)? Context: CREATE TABLE table_name_32 (bullet_diameter VARCHAR, neck_diameter VARCHAR)[/INST]SELECT bullet_diameter FROM table_name_32 WHERE neck_diameter = "12.17 (.479)"</s> |
CREATE TABLE table_name_51 (episode VARCHAR, run_time VARCHAR) | SELECT episode FROM table_name_51 WHERE run_time = "25:12" | What episode has a run time of 25:12? | <s>[INST]What episode has a run time of 25:12? Context: CREATE TABLE table_name_51 (episode VARCHAR, run_time VARCHAR)[/INST]SELECT episode FROM table_name_51 WHERE run_time = "25:12"</s> |
CREATE TABLE table_1342149_13 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1342149_13 WHERE incumbent = "Fred E. Busbey" | What is the candidates for fred e. busbey? | <s>[INST]What is the candidates for fred e. busbey? Context: CREATE TABLE table_1342149_13 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT candidates FROM table_1342149_13 WHERE incumbent = "Fred E. Busbey"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.