context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_97 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR) | SELECT AVG(bronze) FROM table_name_97 WHERE gold < 16 AND rank = "10" AND nation = "italy" | Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy? | <s>[INST]Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy? Context: CREATE TABLE table_name_97 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_97 WHERE gold < 16 AND rank = "10" AND nation = "italy"</s> |
CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR) | SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%" | Which county had a 3.6% unemployment rate? | <s>[INST]Which county had a 3.6% unemployment rate? Context: CREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR)[/INST]SELECT county FROM table_22815568_2 WHERE unemployment_rate = "3.6%"</s> |
CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR) | SELECT fsb_speed FROM table_name_46 WHERE model_number = "c7-m 765" | Which FSB Speed has a Model Number of c7-m 765? | <s>[INST]Which FSB Speed has a Model Number of c7-m 765? Context: CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR)[/INST]SELECT fsb_speed FROM table_name_46 WHERE model_number = "c7-m 765"</s> |
CREATE TABLE table_17340355_6 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_17340355_6 WHERE date = "December 10" | What is the location of the the game on december 10 | <s>[INST]What is the location of the the game on december 10 Context: CREATE TABLE table_17340355_6 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT location_attendance FROM table_17340355_6 WHERE date = "December 10"</s> |
CREATE TABLE table_19930660_2 (winner VARCHAR, rufus_guest VARCHAR) | SELECT winner FROM table_19930660_2 WHERE rufus_guest = "Sean Lock" | Who won the episode in which Sean Lock was Rufus's guest? | <s>[INST]Who won the episode in which Sean Lock was Rufus's guest? Context: CREATE TABLE table_19930660_2 (winner VARCHAR, rufus_guest VARCHAR)[/INST]SELECT winner FROM table_19930660_2 WHERE rufus_guest = "Sean Lock"</s> |
CREATE TABLE table_name_58 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_58 WHERE week = 11 | Tell me the average attendance for week of 11 | <s>[INST]Tell me the average attendance for week of 11 Context: CREATE TABLE table_name_58 (attendance INTEGER, week VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_58 WHERE week = 11</s> |
CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR) | SELECT result FROM table_name_34 WHERE city = "milwaukee" | What was the result of the game in Milwaukee? | <s>[INST]What was the result of the game in Milwaukee? Context: CREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)[/INST]SELECT result FROM table_name_34 WHERE city = "milwaukee"</s> |
CREATE TABLE table_name_5 (pick INTEGER, team VARCHAR) | SELECT MIN(pick) FROM table_name_5 WHERE team = "boston celtics" | What was the lowest pick number for the Boston Celtics? | <s>[INST]What was the lowest pick number for the Boston Celtics? Context: CREATE TABLE table_name_5 (pick INTEGER, team VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_5 WHERE team = "boston celtics"</s> |
CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR) | SELECT COUNT(rank) FROM table_name_91 WHERE location = "liverpool" AND number_of_platforms > 3 AND annual_interchanges__millions__2011_12 < 0.778 | How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million? | <s>[INST]How many ranks are in liverpool with more than 3 platforms and an annual interchange less than 0.778 million? Context: CREATE TABLE table_name_91 (rank VARCHAR, annual_interchanges__millions__2011_12 VARCHAR, location VARCHAR, number_of_platforms VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_91 WHERE locat... |
CREATE TABLE table_27094070_4 (overall_gms VARCHAR, overall_avg VARCHAR) | SELECT COUNT(overall_gms) FROM table_27094070_4 WHERE overall_avg = 12796 | How many games had an average of 12796? | <s>[INST]How many games had an average of 12796? Context: CREATE TABLE table_27094070_4 (overall_gms VARCHAR, overall_avg VARCHAR)[/INST]SELECT COUNT(overall_gms) FROM table_27094070_4 WHERE overall_avg = 12796</s> |
CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR) | SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm" | What amount of senior high school where junior high school is 114cm? | <s>[INST]What amount of senior high school where junior high school is 114cm? Context: CREATE TABLE table_13555999_1 (senior_high_school__15_18_yrs_ VARCHAR, junior_high_school__12_15_yrs_ VARCHAR)[/INST]SELECT senior_high_school__15_18_yrs_ FROM table_13555999_1 WHERE junior_high_school__12_15_yrs_ = "114cm"</s> |
CREATE TABLE table_name_37 (third INTEGER, club VARCHAR, rank VARCHAR) | SELECT MIN(third) FROM table_name_37 WHERE club = "es sahel" AND rank < 3 | What is the smallest number of third place earned for the Es Sahel at a rank less than 3? | <s>[INST]What is the smallest number of third place earned for the Es Sahel at a rank less than 3? Context: CREATE TABLE table_name_37 (third INTEGER, club VARCHAR, rank VARCHAR)[/INST]SELECT MIN(third) FROM table_name_37 WHERE club = "es sahel" AND rank < 3</s> |
CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR) | SELECT score FROM table_name_39 WHERE loss = "mcdowell (12-7)" | What was the score for the loss of McDowell (12-7)? | <s>[INST]What was the score for the loss of McDowell (12-7)? Context: CREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)[/INST]SELECT score FROM table_name_39 WHERE loss = "mcdowell (12-7)"</s> |
CREATE TABLE table_name_36 (year VARCHAR, points VARCHAR, engine VARCHAR) | SELECT year FROM table_name_36 WHERE points = 12 AND engine = "cosworth v8" | Which year had a Cosworth V8 engine and 12 points? | <s>[INST]Which year had a Cosworth V8 engine and 12 points? Context: CREATE TABLE table_name_36 (year VARCHAR, points VARCHAR, engine VARCHAR)[/INST]SELECT year FROM table_name_36 WHERE points = 12 AND engine = "cosworth v8"</s> |
CREATE TABLE table_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR) | SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.9%" | How many titles had an average rating of 8.9%? | <s>[INST]How many titles had an average rating of 8.9%? Context: CREATE TABLE table_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)[/INST]SELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = "8.9%"</s> |
CREATE TABLE table_name_34 (week__number VARCHAR, original_artist VARCHAR, order__number VARCHAR) | SELECT week__number FROM table_name_34 WHERE original_artist = "the beatles" AND order__number < 10 | On which week was the beatles the original artist and the order # smaller than 10? | <s>[INST]On which week was the beatles the original artist and the order # smaller than 10? Context: CREATE TABLE table_name_34 (week__number VARCHAR, original_artist VARCHAR, order__number VARCHAR)[/INST]SELECT week__number FROM table_name_34 WHERE original_artist = "the beatles" AND order__number < 10</s> |
CREATE TABLE table_name_1 (transfer_window VARCHAR, name VARCHAR) | SELECT transfer_window FROM table_name_1 WHERE name = "steven thompson" | What is the transfer window for Steven Thompson? | <s>[INST]What is the transfer window for Steven Thompson? Context: CREATE TABLE table_name_1 (transfer_window VARCHAR, name VARCHAR)[/INST]SELECT transfer_window FROM table_name_1 WHERE name = "steven thompson"</s> |
CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_33 WHERE location = "faro" | Name the date for faro | <s>[INST]Name the date for faro Context: CREATE TABLE table_name_33 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_33 WHERE location = "faro"</s> |
CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR) | SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters" | What is the ad frequency for the show named Health Matters? | <s>[INST]What is the ad frequency for the show named Health Matters? Context: CREATE TABLE table_name_58 (ad_freq VARCHAR, show_name VARCHAR)[/INST]SELECT ad_freq FROM table_name_58 WHERE show_name = "health matters"</s> |
CREATE TABLE MATCH (winning_pilot VARCHAR); CREATE TABLE pilot (name VARCHAR, age INTEGER, pilot_id VARCHAR) | SELECT t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id = t2.winning_pilot WHERE t1.age < 30 GROUP BY t2.winning_pilot ORDER BY COUNT(*) DESC LIMIT 1 | find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30. | <s>[INST]find the name and age of the pilot who has won the most number of times among the pilots who are younger than 30. Context: CREATE TABLE MATCH (winning_pilot VARCHAR); CREATE TABLE pilot (name VARCHAR, age INTEGER, pilot_id VARCHAR)[/INST]SELECT t1.name, t1.age FROM pilot AS t1 JOIN MATCH AS t2 ON t1.pilot_id =... |
CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR) | SELECT r FROM table WHERE total = 1 AND position = "FW" | What is the R when the total is 1 and the position is fw? | <s>[INST]What is the R when the total is 1 and the position is fw? Context: CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR)[/INST]SELECT r FROM table WHERE total = 1 AND position = "FW"</s> |
CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23 | Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23? | <s>[INST]Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23? Context: CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23</s> |
CREATE TABLE table_name_14 (points VARCHAR, club VARCHAR) | SELECT points FROM table_name_14 WHERE club = "maesteg rfc" | What is Points, when Club is Maesteg RFC? | <s>[INST]What is Points, when Club is Maesteg RFC? Context: CREATE TABLE table_name_14 (points VARCHAR, club VARCHAR)[/INST]SELECT points FROM table_name_14 WHERE club = "maesteg rfc"</s> |
CREATE TABLE table_name_83 (silver INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_83 WHERE bronze < 3 AND total < 2 AND gold > 1 | Bronze smaller than 3, and a Total smaller than 2, and a Gold larger than 1 has how many average silvers? | <s>[INST]Bronze smaller than 3, and a Total smaller than 2, and a Gold larger than 1 has how many average silvers? Context: CREATE TABLE table_name_83 (silver INTEGER, gold VARCHAR, bronze VARCHAR, total VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_83 WHERE bronze < 3 AND total < 2 AND gold > 1</s> |
CREATE TABLE table_29619494_2 (season INTEGER, denim_demons VARCHAR) | SELECT MAX(season) FROM table_29619494_2 WHERE denim_demons = "3rd" | What is the most recent season where the Denim Demons placed 3rd? | <s>[INST]What is the most recent season where the Denim Demons placed 3rd? Context: CREATE TABLE table_29619494_2 (season INTEGER, denim_demons VARCHAR)[/INST]SELECT MAX(season) FROM table_29619494_2 WHERE denim_demons = "3rd"</s> |
CREATE TABLE table_name_84 (tournament VARCHAR) | SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open" | If the US Open tournament had 2r in 2012, what was it in 2010? | <s>[INST]If the US Open tournament had 2r in 2012, what was it in 2010? Context: CREATE TABLE table_name_84 (tournament VARCHAR)[/INST]SELECT 2010 FROM table_name_84 WHERE 2012 = "2r" AND tournament = "us open"</s> |
CREATE TABLE settlements (claim_id VARCHAR, settlement_amount INTEGER); CREATE TABLE claims (Effective_Date VARCHAR, claim_id VARCHAR) | SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.claim_id = t2.claim_id GROUP BY t1.claim_id ORDER BY SUM(t2.settlement_amount) DESC LIMIT 1 | What is the effective date of the claim that has the largest amount of total settlement? | <s>[INST]What is the effective date of the claim that has the largest amount of total settlement? Context: CREATE TABLE settlements (claim_id VARCHAR, settlement_amount INTEGER); CREATE TABLE claims (Effective_Date VARCHAR, claim_id VARCHAR)[/INST]SELECT t1.Effective_Date FROM claims AS t1 JOIN settlements AS t2 ON t1.... |
CREATE TABLE table_name_2 (city VARCHAR, opponent VARCHAR) | SELECT city FROM table_name_2 WHERE opponent = "norway" | What city did Yugoslavia play Norway in? | <s>[INST]What city did Yugoslavia play Norway in? Context: CREATE TABLE table_name_2 (city VARCHAR, opponent VARCHAR)[/INST]SELECT city FROM table_name_2 WHERE opponent = "norway"</s> |
CREATE TABLE table_name_77 (streak VARCHAR, date VARCHAR) | SELECT streak FROM table_name_77 WHERE date = "april 12" | What was the streak on April 12? | <s>[INST]What was the streak on April 12? Context: CREATE TABLE table_name_77 (streak VARCHAR, date VARCHAR)[/INST]SELECT streak FROM table_name_77 WHERE date = "april 12"</s> |
CREATE TABLE table_name_94 (week_3 VARCHAR, week_6 VARCHAR) | SELECT week_3 FROM table_name_94 WHERE week_6 = 31 + 40 = 71 | Name the week 3 with week 6 of 31+40=71 | <s>[INST]Name the week 3 with week 6 of 31+40=71 Context: CREATE TABLE table_name_94 (week_3 VARCHAR, week_6 VARCHAR)[/INST]SELECT week_3 FROM table_name_94 WHERE week_6 = 31 + 40 = 71</s> |
CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_45 WHERE date = "december 9, 1973" AND week < 13 | What is the highest attendance for the game before week 13 on December 9, 1973? | <s>[INST]What is the highest attendance for the game before week 13 on December 9, 1973? Context: CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_45 WHERE date = "december 9, 1973" AND week < 13</s> |
CREATE TABLE table_name_81 (nhl_team VARCHAR, college_junior_club_team VARCHAR, pick__number VARCHAR) | SELECT nhl_team FROM table_name_81 WHERE college_junior_club_team = "toronto marlboros (oha)" AND pick__number = "32" | Which team picked the player from the Toronto Marlboros (OHA) as Pick #32? | <s>[INST]Which team picked the player from the Toronto Marlboros (OHA) as Pick #32? Context: CREATE TABLE table_name_81 (nhl_team VARCHAR, college_junior_club_team VARCHAR, pick__number VARCHAR)[/INST]SELECT nhl_team FROM table_name_81 WHERE college_junior_club_team = "toronto marlboros (oha)" AND pick__number = "32"</... |
CREATE TABLE table_name_45 (events_won__uk_series_ VARCHAR, events_won__us_series_ INTEGER) | SELECT events_won__uk_series_ FROM table_name_45 WHERE events_won__us_series_ < 1 | How many UK events won for the contestant that won under 1 US event? | <s>[INST]How many UK events won for the contestant that won under 1 US event? Context: CREATE TABLE table_name_45 (events_won__uk_series_ VARCHAR, events_won__us_series_ INTEGER)[/INST]SELECT events_won__uk_series_ FROM table_name_45 WHERE events_won__us_series_ < 1</s> |
CREATE TABLE table_21692771_1 (coupon VARCHAR, issuer VARCHAR) | SELECT coupon FROM table_21692771_1 WHERE issuer = "COMMERZBANK AG" | What is the coupon that has an issuer of Commerzbank AG? | <s>[INST]What is the coupon that has an issuer of Commerzbank AG? Context: CREATE TABLE table_21692771_1 (coupon VARCHAR, issuer VARCHAR)[/INST]SELECT coupon FROM table_21692771_1 WHERE issuer = "COMMERZBANK AG"</s> |
CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic" | What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic? | <s>[INST]What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic? Context: CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic"</s> |
CREATE TABLE table_name_39 (player VARCHAR, college_country_team VARCHAR) | SELECT player FROM table_name_39 WHERE college_country_team = "connecticut" | What Player is from Connecticut? | <s>[INST]What Player is from Connecticut? Context: CREATE TABLE table_name_39 (player VARCHAR, college_country_team VARCHAR)[/INST]SELECT player FROM table_name_39 WHERE college_country_team = "connecticut"</s> |
CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_45 WHERE venue = "junction oval" | When the VFL played Junction Oval what was the home team score? | <s>[INST]When the VFL played Junction Oval what was the home team score? Context: CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_45 WHERE venue = "junction oval"</s> |
CREATE TABLE table_name_61 (weight VARCHAR, club VARCHAR, height VARCHAR) | SELECT weight FROM table_name_61 WHERE club = "spandau 04" AND height = "m (ft 5in)" | What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)? | <s>[INST]What is the Weight of the Spandau 04 Player with a Height of m (ft 5in)? Context: CREATE TABLE table_name_61 (weight VARCHAR, club VARCHAR, height VARCHAR)[/INST]SELECT weight FROM table_name_61 WHERE club = "spandau 04" AND height = "m (ft 5in)"</s> |
CREATE TABLE table_name_74 (game VARCHAR, score VARCHAR) | SELECT game FROM table_name_74 WHERE score = "122–125" | Which Game has a Score of 122–125? | <s>[INST]Which Game has a Score of 122–125? Context: CREATE TABLE table_name_74 (game VARCHAR, score VARCHAR)[/INST]SELECT game FROM table_name_74 WHERE score = "122–125"</s> |
CREATE TABLE table_178242_7 (winner VARCHAR, runner_up VARCHAR) | SELECT COUNT(winner) FROM table_178242_7 WHERE runner_up = "Regina" | How many won the prize when Regina was the runner-up? | <s>[INST]How many won the prize when Regina was the runner-up? Context: CREATE TABLE table_178242_7 (winner VARCHAR, runner_up VARCHAR)[/INST]SELECT COUNT(winner) FROM table_178242_7 WHERE runner_up = "Regina"</s> |
CREATE TABLE table_name_29 (region VARCHAR, date VARCHAR) | SELECT region FROM table_name_29 WHERE date = "february 2006" | What shows for region when the date is february 2006? | <s>[INST]What shows for region when the date is february 2006? Context: CREATE TABLE table_name_29 (region VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_29 WHERE date = "february 2006"</s> |
CREATE TABLE table_name_35 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_35 WHERE date = "january 29" | Which record has a date of January 29? | <s>[INST]Which record has a date of January 29? Context: CREATE TABLE table_name_35 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_35 WHERE date = "january 29"</s> |
CREATE TABLE table_name_51 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_51 WHERE date = "january 21, 2002" | What result has January 21, 2002 as the date? | <s>[INST]What result has January 21, 2002 as the date? Context: CREATE TABLE table_name_51 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_51 WHERE date = "january 21, 2002"</s> |
CREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_62 WHERE fastest_lap = "damon hill" AND grand_prix = "japanese grand prix" | Name the pole position at the japanese grand prix when the fastest lap is damon hill | <s>[INST]Name the pole position at the japanese grand prix when the fastest lap is damon hill Context: CREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_62 WHERE fastest_lap = "damon hill" AND grand_prix = "japanese grand prix"</s> |
CREATE TABLE table_name_53 (verb_meaning VARCHAR, part_1 VARCHAR) | SELECT verb_meaning FROM table_name_53 WHERE part_1 = "lopen" | what is the verb meaning when the part 1 is lopen? | <s>[INST]what is the verb meaning when the part 1 is lopen? Context: CREATE TABLE table_name_53 (verb_meaning VARCHAR, part_1 VARCHAR)[/INST]SELECT verb_meaning FROM table_name_53 WHERE part_1 = "lopen"</s> |
CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR) | SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns" | What is the highest lane for heat 6 with a time of dns? | <s>[INST]What is the highest lane for heat 6 with a time of dns? Context: CREATE TABLE table_name_81 (lane INTEGER, heat VARCHAR, time VARCHAR)[/INST]SELECT MAX(lane) FROM table_name_81 WHERE heat = 6 AND time = "dns"</s> |
CREATE TABLE Teachers (address_id VARCHAR, first_name VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR) | SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id WHERE T2.first_name = "Lyla" | What is the zip code of the address where the teacher with first name "Lyla" lives? | <s>[INST]What is the zip code of the address where the teacher with first name "Lyla" lives? Context: CREATE TABLE Teachers (address_id VARCHAR, first_name VARCHAR); CREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR)[/INST]SELECT T1.zip_postcode FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id =... |
CREATE TABLE table_name_49 (venue VARCHAR, team VARCHAR) | SELECT venue FROM table_name_49 WHERE team = "boston red sox" | In what venue did the Boston Red Sox play in? | <s>[INST]In what venue did the Boston Red Sox play in? Context: CREATE TABLE table_name_49 (venue VARCHAR, team VARCHAR)[/INST]SELECT venue FROM table_name_49 WHERE team = "boston red sox"</s> |
CREATE TABLE table_1773908_3 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR) | SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = "yes" | Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes? | <s>[INST]Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes? Context: CREATE TABLE table_1773908_3 (provider VARCHAR, up__up_to_kbit_s_ VARCHAR, resale VARCHAR)[/INST]SELECT provider FROM table_1773908_3 WHERE up__up_to_kbit_s_ = 1024 AND resale = "yes"</s> |
CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR) | SELECT MAX(elected) FROM table_13618584_2 WHERE district = "14th" | What was the last year someone was elected to the 14th district? | <s>[INST]What was the last year someone was elected to the 14th district? Context: CREATE TABLE table_13618584_2 (elected INTEGER, district VARCHAR)[/INST]SELECT MAX(elected) FROM table_13618584_2 WHERE district = "14th"</s> |
CREATE TABLE table_21995420_6 (stunts VARCHAR, total VARCHAR) | SELECT COUNT(stunts) FROM table_21995420_6 WHERE total = "201.5" | How many stunts have a total of 201.5? | <s>[INST]How many stunts have a total of 201.5? Context: CREATE TABLE table_21995420_6 (stunts VARCHAR, total VARCHAR)[/INST]SELECT COUNT(stunts) FROM table_21995420_6 WHERE total = "201.5"</s> |
CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, city___municipality VARCHAR) | SELECT COUNT(population__1991_) FROM table_2562572_2 WHERE city___municipality = "Bečej" | What is the number of 1991 populations named Bečej? | <s>[INST]What is the number of 1991 populations named Bečej? Context: CREATE TABLE table_2562572_2 (population__1991_ VARCHAR, city___municipality VARCHAR)[/INST]SELECT COUNT(population__1991_) FROM table_2562572_2 WHERE city___municipality = "Bečej"</s> |
CREATE TABLE table_name_84 (album VARCHAR, label VARCHAR) | SELECT album FROM table_name_84 WHERE label = "tumbleweed 1014" | Which Album has a Label of tumbleweed 1014? | <s>[INST]Which Album has a Label of tumbleweed 1014? Context: CREATE TABLE table_name_84 (album VARCHAR, label VARCHAR)[/INST]SELECT album FROM table_name_84 WHERE label = "tumbleweed 1014"</s> |
CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_74 WHERE venue = "western oval" | What was the away team's score at Western Oval? | <s>[INST]What was the away team's score at Western Oval? Context: CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_74 WHERE venue = "western oval"</s> |
CREATE TABLE table_name_54 (height VARCHAR, player VARCHAR) | SELECT COUNT(height) FROM table_name_54 WHERE player = "filiberto rivera" | What's filiberto rivera's height? | <s>[INST]What's filiberto rivera's height? Context: CREATE TABLE table_name_54 (height VARCHAR, player VARCHAR)[/INST]SELECT COUNT(height) FROM table_name_54 WHERE player = "filiberto rivera"</s> |
CREATE TABLE table_name_94 (ccm_chart VARCHAR, total_wks VARCHAR) | SELECT ccm_chart FROM table_name_94 WHERE total_wks = 18 | What CCM Chart had 18 total weeks? | <s>[INST]What CCM Chart had 18 total weeks? Context: CREATE TABLE table_name_94 (ccm_chart VARCHAR, total_wks VARCHAR)[/INST]SELECT ccm_chart FROM table_name_94 WHERE total_wks = 18</s> |
CREATE TABLE table_24126606_2 (final_score VARCHAR, week VARCHAR) | SELECT final_score FROM table_24126606_2 WHERE week = 5 | Name the final score for week 5 | <s>[INST]Name the final score for week 5 Context: CREATE TABLE table_24126606_2 (final_score VARCHAR, week VARCHAR)[/INST]SELECT final_score FROM table_24126606_2 WHERE week = 5</s> |
CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR) | SELECT site FROM table_name_28 WHERE superintendent = "john barry" | What is the site when the superintendent was John Barry? | <s>[INST]What is the site when the superintendent was John Barry? Context: CREATE TABLE table_name_28 (site VARCHAR, superintendent VARCHAR)[/INST]SELECT site FROM table_name_28 WHERE superintendent = "john barry"</s> |
CREATE TABLE table_25421463_1 (races INTEGER, points VARCHAR) | SELECT MIN(races) FROM table_25421463_1 WHERE points = "38" | How many races were there when Sigachev had 38 points? | <s>[INST]How many races were there when Sigachev had 38 points? Context: CREATE TABLE table_25421463_1 (races INTEGER, points VARCHAR)[/INST]SELECT MIN(races) FROM table_25421463_1 WHERE points = "38"</s> |
CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, province VARCHAR) | SELECT south_asians_2001 FROM table_1717824_1 WHERE province = "Nova Scotia" | What was the South Asian population in Nova Scotia in 2001? | <s>[INST]What was the South Asian population in Nova Scotia in 2001? Context: CREATE TABLE table_1717824_1 (south_asians_2001 VARCHAR, province VARCHAR)[/INST]SELECT south_asians_2001 FROM table_1717824_1 WHERE province = "Nova Scotia"</s> |
CREATE TABLE table_name_81 (gold INTEGER, participants VARCHAR, silver VARCHAR) | SELECT SUM(gold) FROM table_name_81 WHERE participants = 4 AND silver < 0 | What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0? | <s>[INST]What is the sum of Gold with Participants that are 4 and a Silver that is smaller than 0? Context: CREATE TABLE table_name_81 (gold INTEGER, participants VARCHAR, silver VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_81 WHERE participants = 4 AND silver < 0</s> |
CREATE TABLE poker_player (Money_Rank VARCHAR, Earnings VARCHAR) | SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1 | What is the money rank of the poker player with the highest earnings? | <s>[INST]What is the money rank of the poker player with the highest earnings? Context: CREATE TABLE poker_player (Money_Rank VARCHAR, Earnings VARCHAR)[/INST]SELECT Money_Rank FROM poker_player ORDER BY Earnings DESC LIMIT 1</s> |
CREATE TABLE table_name_48 (name VARCHAR, dates_active VARCHAR) | SELECT name FROM table_name_48 WHERE dates_active = "season aggregates" | What is the name of the storm active during season aggregates? | <s>[INST]What is the name of the storm active during season aggregates? Context: CREATE TABLE table_name_48 (name VARCHAR, dates_active VARCHAR)[/INST]SELECT name FROM table_name_48 WHERE dates_active = "season aggregates"</s> |
CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_49 WHERE date = "may 14" | What is the result of the game on May 14? | <s>[INST]What is the result of the game on May 14? Context: CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_49 WHERE date = "may 14"</s> |
CREATE TABLE table_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR) | SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock" | List all of the NLL Toronto Rock players. | <s>[INST]List all of the NLL Toronto Rock players. Context: CREATE TABLE table_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR)[/INST]SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock"</s> |
CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR) | SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999" | What was the score on February 14, 1999? | <s>[INST]What was the score on February 14, 1999? Context: CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999"</s> |
CREATE TABLE Employee (salary INTEGER) | SELECT AVG(salary), MAX(salary) FROM Employee | What is average and maximum salary of all employees. | <s>[INST]What is average and maximum salary of all employees. Context: CREATE TABLE Employee (salary INTEGER)[/INST]SELECT AVG(salary), MAX(salary) FROM Employee</s> |
CREATE TABLE table_name_76 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR) | SELECT adelaide FROM table_name_76 WHERE auckland = "no" AND melbourne = "no" | Which Adelaide has an Auckland of no and a Melbourne of no? | <s>[INST]Which Adelaide has an Auckland of no and a Melbourne of no? Context: CREATE TABLE table_name_76 (adelaide VARCHAR, auckland VARCHAR, melbourne VARCHAR)[/INST]SELECT adelaide FROM table_name_76 WHERE auckland = "no" AND melbourne = "no"</s> |
CREATE TABLE table_name_41 (nationality VARCHAR, round VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_41 WHERE round > 4 AND position = "right wing" | What is the nationality of the player with a round after 4 and plays right wing? | <s>[INST]What is the nationality of the player with a round after 4 and plays right wing? Context: CREATE TABLE table_name_41 (nationality VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT nationality FROM table_name_41 WHERE round > 4 AND position = "right wing"</s> |
CREATE TABLE table_name_9 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_9 WHERE result = "wi by 8 wkts" | What is the Venue which has a Wi by 8 wkts? | <s>[INST]What is the Venue which has a Wi by 8 wkts? Context: CREATE TABLE table_name_9 (venue VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_9 WHERE result = "wi by 8 wkts"</s> |
CREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = "March 16, 1960" | What is every reason for change for the date of successors installation is March 16, 1960? | <s>[INST]What is every reason for change for the date of successors installation is March 16, 1960? Context: CREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = "March ... |
CREATE TABLE table_name_49 (tournament VARCHAR) | SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters" | what is 2004 when the tournament is paris masters? | <s>[INST]what is 2004 when the tournament is paris masters? Context: CREATE TABLE table_name_49 (tournament VARCHAR)[/INST]SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters"</s> |
CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR) | SELECT COUNT(team) FROM table_11961582_6 WHERE location_attendance = "Philips Arena 19,335" | Name the number of teams at the philips arena 19,335? | <s>[INST]Name the number of teams at the philips arena 19,335? Context: CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR)[/INST]SELECT COUNT(team) FROM table_11961582_6 WHERE location_attendance = "Philips Arena 19,335"</s> |
CREATE TABLE table_name_42 (tag_team VARCHAR, eliminated VARCHAR) | SELECT tag_team FROM table_name_42 WHERE eliminated = "5" | Name Tag Team with a Eliminated of 5? | <s>[INST]Name Tag Team with a Eliminated of 5? Context: CREATE TABLE table_name_42 (tag_team VARCHAR, eliminated VARCHAR)[/INST]SELECT tag_team FROM table_name_42 WHERE eliminated = "5"</s> |
CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR) | SELECT cfl_team FROM table_20170644_1 WHERE player = "Darcy Brown" | What CFL team did Darcy Brown play for? | <s>[INST]What CFL team did Darcy Brown play for? Context: CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR)[/INST]SELECT cfl_team FROM table_20170644_1 WHERE player = "Darcy Brown"</s> |
CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR) | SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401 | What province in Tumbes has less than 11 districts and a UBIGEO of 2401? | <s>[INST]What province in Tumbes has less than 11 districts and a UBIGEO of 2401? Context: CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)[/INST]SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401</s> |
CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_79 WHERE home_team = "melbourne" | Which total number of Crowd has a Home team of melbourne? | <s>[INST]Which total number of Crowd has a Home team of melbourne? Context: CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_79 WHERE home_team = "melbourne"</s> |
CREATE TABLE table_name_61 (gold VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin" | What's the Gold that also has Bronze of Kim Sun-Bin? | <s>[INST]What's the Gold that also has Bronze of Kim Sun-Bin? Context: CREATE TABLE table_name_61 (gold VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_61 WHERE bronze = "kim sun-bin"</s> |
CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR) | SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010" | Name the most peak performance for october 2006 - january 2010 | <s>[INST]Name the most peak performance for october 2006 - january 2010 Context: CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)[/INST]SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"... |
CREATE TABLE table_22705586_1 (height__m_ INTEGER, date_of_birth VARCHAR) | SELECT MIN(height__m_) FROM table_22705586_1 WHERE date_of_birth = "17/08/75" | Name the height for date of birth being 17/08/75 | <s>[INST]Name the height for date of birth being 17/08/75 Context: CREATE TABLE table_22705586_1 (height__m_ INTEGER, date_of_birth VARCHAR)[/INST]SELECT MIN(height__m_) FROM table_22705586_1 WHERE date_of_birth = "17/08/75"</s> |
CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_28 WHERE tournament = "rome" | Which Semifinalists have a Tournament of rome? | <s>[INST]Which Semifinalists have a Tournament of rome? Context: CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR)[/INST]SELECT semifinalists FROM table_name_28 WHERE tournament = "rome"</s> |
CREATE TABLE table_name_80 (format VARCHAR, station VARCHAR) | SELECT format FROM table_name_80 WHERE station = "kcbs" | Which format has a Station of kcbs? | <s>[INST]Which format has a Station of kcbs? Context: CREATE TABLE table_name_80 (format VARCHAR, station VARCHAR)[/INST]SELECT format FROM table_name_80 WHERE station = "kcbs"</s> |
CREATE TABLE table_name_39 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR) | SELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club = "real oviedo" | In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins? | <s>[INST]In the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins? Context: CREATE TABLE table_name_39 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR)[/INST]SELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club... |
CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1341604_22 WHERE incumbent = "Joseph D. Early" | what's the first elected with incumbent being joseph d. early | <s>[INST]what's the first elected with incumbent being joseph d. early Context: CREATE TABLE table_1341604_22 (first_elected VARCHAR, incumbent VARCHAR)[/INST]SELECT first_elected FROM table_1341604_22 WHERE incumbent = "Joseph D. Early"</s> |
CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR) | SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel" | How many people lived in san gabriel in the year 2000? | <s>[INST]How many people lived in san gabriel in the year 2000? Context: CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)[/INST]SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel"</s> |
CREATE TABLE table_name_84 (pick VARCHAR, round VARCHAR) | SELECT COUNT(pick) FROM table_name_84 WHERE round = 6 | How many picks were from round 6? | <s>[INST]How many picks were from round 6? Context: CREATE TABLE table_name_84 (pick VARCHAR, round VARCHAR)[/INST]SELECT COUNT(pick) FROM table_name_84 WHERE round = 6</s> |
CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR) | SELECT MIN(gold) FROM table_name_92 WHERE nation = "greece" | What is the fewest gold medals won by Greece? | <s>[INST]What is the fewest gold medals won by Greece? Context: CREATE TABLE table_name_92 (gold INTEGER, nation VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_92 WHERE nation = "greece"</s> |
CREATE TABLE table_name_82 (total_goals INTEGER, league_cup_goals VARCHAR, fa_cup_goals VARCHAR) | SELECT AVG(total_goals) FROM table_name_82 WHERE league_cup_goals > 0 AND fa_cup_goals > 0 | Which Total Goals have a League Cup Goals larger than 0, and FA Cup Goals larger than 0? | <s>[INST]Which Total Goals have a League Cup Goals larger than 0, and FA Cup Goals larger than 0? Context: CREATE TABLE table_name_82 (total_goals INTEGER, league_cup_goals VARCHAR, fa_cup_goals VARCHAR)[/INST]SELECT AVG(total_goals) FROM table_name_82 WHERE league_cup_goals > 0 AND fa_cup_goals > 0</s> |
CREATE TABLE table_23281862_6 (location_attendance VARCHAR, high_points VARCHAR) | SELECT location_attendance FROM table_23281862_6 WHERE high_points = "Carl Landry (25)" | Where was the game in which Carl Landry (25) did the most high points played? | <s>[INST]Where was the game in which Carl Landry (25) did the most high points played? Context: CREATE TABLE table_23281862_6 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_23281862_6 WHERE high_points = "Carl Landry (25)"</s> |
CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR) | SELECT locality FROM table_name_47 WHERE ofsted < 106478 AND school = "meadowbank primary and nursery school" | Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery School? | <s>[INST]Where is the locality with Ofsted less than 106478 for Meadowbank Primary and Nursery School? Context: CREATE TABLE table_name_47 (locality VARCHAR, ofsted VARCHAR, school VARCHAR)[/INST]SELECT locality FROM table_name_47 WHERE ofsted < 106478 AND school = "meadowbank primary and nursery school"</s> |
CREATE TABLE table_name_84 (year INTEGER, pages VARCHAR) | SELECT SUM(year) FROM table_name_84 WHERE pages = 244 | Tell me the sum of year for 244 pages | <s>[INST]Tell me the sum of year for 244 pages Context: CREATE TABLE table_name_84 (year INTEGER, pages VARCHAR)[/INST]SELECT SUM(year) FROM table_name_84 WHERE pages = 244</s> |
CREATE TABLE table_26173058_2 (ahli VARCHAR, ramtha VARCHAR) | SELECT ahli FROM table_26173058_2 WHERE ramtha = "1-0" | what is the location where the record is 1-0 | <s>[INST]what is the location where the record is 1-0 Context: CREATE TABLE table_26173058_2 (ahli VARCHAR, ramtha VARCHAR)[/INST]SELECT ahli FROM table_26173058_2 WHERE ramtha = "1-0"</s> |
CREATE TABLE table_name_96 (attendance INTEGER, opponent VARCHAR) | SELECT SUM(attendance) FROM table_name_96 WHERE opponent = "virginia" | What was the attendance when the opponent was virginia? | <s>[INST]What was the attendance when the opponent was virginia? Context: CREATE TABLE table_name_96 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_96 WHERE opponent = "virginia"</s> |
CREATE TABLE table_name_83 (career_w_l VARCHAR, tournament VARCHAR) | SELECT career_w_l FROM table_name_83 WHERE tournament = "grand slam tournaments" | What is the value for Career W-L for the Grand Slam Tournaments? | <s>[INST]What is the value for Career W-L for the Grand Slam Tournaments? Context: CREATE TABLE table_name_83 (career_w_l VARCHAR, tournament VARCHAR)[/INST]SELECT career_w_l FROM table_name_83 WHERE tournament = "grand slam tournaments"</s> |
CREATE TABLE table_name_65 (number_of_contestants VARCHAR, winner VARCHAR) | SELECT COUNT(number_of_contestants) FROM table_name_65 WHERE winner = "alejandra espinoza" | How many contestants were there in a season where alejandra espinoza won? | <s>[INST]How many contestants were there in a season where alejandra espinoza won? Context: CREATE TABLE table_name_65 (number_of_contestants VARCHAR, winner VARCHAR)[/INST]SELECT COUNT(number_of_contestants) FROM table_name_65 WHERE winner = "alejandra espinoza"</s> |
CREATE TABLE table_name_72 (rank VARCHAR) | SELECT 2010 FROM table_name_72 WHERE rank > 15 AND 2011 = "maserati" | What is the 2010 with a rank higher than 15 and a 2011 maserati? | <s>[INST]What is the 2010 with a rank higher than 15 and a 2011 maserati? Context: CREATE TABLE table_name_72 (rank VARCHAR)[/INST]SELECT 2010 FROM table_name_72 WHERE rank > 15 AND 2011 = "maserati"</s> |
CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR) | SELECT record FROM table_name_45 WHERE visitor = "montreal canadiens" | What is the record when the visiting team was the montreal canadiens? | <s>[INST]What is the record when the visiting team was the montreal canadiens? Context: CREATE TABLE table_name_45 (record VARCHAR, visitor VARCHAR)[/INST]SELECT record FROM table_name_45 WHERE visitor = "montreal canadiens"</s> |
CREATE TABLE table_name_47 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR) | SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0 | Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973? | <s>[INST]Which class corresponds to more than 2 points, wins greater than 0, and a year earlier than 1973? Context: CREATE TABLE table_name_47 (class VARCHAR, wins VARCHAR, points VARCHAR, year VARCHAR)[/INST]SELECT class FROM table_name_47 WHERE points > 2 AND year < 1973 AND wins > 0</s> |
CREATE TABLE table_24143253_4 (cause_of_death VARCHAR, length_of_marriage VARCHAR) | SELECT cause_of_death FROM table_24143253_4 WHERE length_of_marriage = "28 years" | What was the cause of death in the marriage that lasted 28 years? | <s>[INST]What was the cause of death in the marriage that lasted 28 years? Context: CREATE TABLE table_24143253_4 (cause_of_death VARCHAR, length_of_marriage VARCHAR)[/INST]SELECT cause_of_death FROM table_24143253_4 WHERE length_of_marriage = "28 years"</s> |
CREATE TABLE table_name_33 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_33 WHERE score = "35-14" | Who was the opponent at the game with a score of 35-14? | <s>[INST]Who was the opponent at the game with a score of 35-14? Context: CREATE TABLE table_name_33 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_33 WHERE score = "35-14"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.