context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_24291077_8 (brisbane INTEGER, melbourne VARCHAR) | SELECT MAX(brisbane) FROM table_24291077_8 WHERE melbourne = 276000 | What was the rating in Brisbane the week it was 276000 in Melbourne? | <s>[INST]What was the rating in Brisbane the week it was 276000 in Melbourne? Context: CREATE TABLE table_24291077_8 (brisbane INTEGER, melbourne VARCHAR)[/INST]SELECT MAX(brisbane) FROM table_24291077_8 WHERE melbourne = 276000</s> |
CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR) | SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = "Wegmans LPGA Championship" | What was the winner's share in the wegmans lpga championship? | <s>[INST]What was the winner's share in the wegmans lpga championship? Context: CREATE TABLE table_17335602_1 (winners_share___ INTEGER, tournament VARCHAR)[/INST]SELECT MAX(winners_share___) AS $__ FROM table_17335602_1 WHERE tournament = "Wegmans LPGA Championship"</s> |
CREATE TABLE table_name_33 (category VARCHAR, date VARCHAR, rider_2 VARCHAR) | SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = "bart brentjens" | Which category earlier than 2006 has Bart Brentjens as rider 2? | <s>[INST]Which category earlier than 2006 has Bart Brentjens as rider 2? Context: CREATE TABLE table_name_33 (category VARCHAR, date VARCHAR, rider_2 VARCHAR)[/INST]SELECT category FROM table_name_33 WHERE date < 2006 AND rider_2 = "bart brentjens"</s> |
CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR) | SELECT analog FROM table_name_9 WHERE callsign = "wxmi" | what is the analog type for wxmi? | <s>[INST]what is the analog type for wxmi? Context: CREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR)[/INST]SELECT analog FROM table_name_9 WHERE callsign = "wxmi"</s> |
CREATE TABLE table_name_61 (driver VARCHAR, record VARCHAR, time VARCHAR) | SELECT driver FROM table_name_61 WHERE record = "qualifying" AND time = "24.761" | Which driver set the Qualifying record with a time of 24.761 seconds? | <s>[INST]Which driver set the Qualifying record with a time of 24.761 seconds? Context: CREATE TABLE table_name_61 (driver VARCHAR, record VARCHAR, time VARCHAR)[/INST]SELECT driver FROM table_name_61 WHERE record = "qualifying" AND time = "24.761"</s> |
CREATE TABLE table_name_18 (record VARCHAR, home VARCHAR) | SELECT record FROM table_name_18 WHERE home = "st. louis" | What is the record of the team with a St. Louis home? | <s>[INST]What is the record of the team with a St. Louis home? Context: CREATE TABLE table_name_18 (record VARCHAR, home VARCHAR)[/INST]SELECT record FROM table_name_18 WHERE home = "st. louis"</s> |
CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR) | SELECT AVG(area__km²_) FROM table_name_24 WHERE name = "glenella" AND population__2011_ < 522 | What was the area in Glenella with a population of 522 in 2011? | <s>[INST]What was the area in Glenella with a population of 522 in 2011? Context: CREATE TABLE table_name_24 (area__km²_ INTEGER, name VARCHAR, population__2011_ VARCHAR)[/INST]SELECT AVG(area__km²_) FROM table_name_24 WHERE name = "glenella" AND population__2011_ < 522</s> |
CREATE TABLE table_name_25 (location VARCHAR, game VARCHAR, points VARCHAR) | SELECT location FROM table_name_25 WHERE game < 57 AND points > 50 | Which game has a number lower than 57 and more than 50 points? | <s>[INST]Which game has a number lower than 57 and more than 50 points? Context: CREATE TABLE table_name_25 (location VARCHAR, game VARCHAR, points VARCHAR)[/INST]SELECT location FROM table_name_25 WHERE game < 57 AND points > 50</s> |
CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR) | SELECT round FROM table_name_28 WHERE opponent = "sergiy stakhovsky" | What round was the opponent Sergiy Stakhovsky? | <s>[INST]What round was the opponent Sergiy Stakhovsky? Context: CREATE TABLE table_name_28 (round VARCHAR, opponent VARCHAR)[/INST]SELECT round FROM table_name_28 WHERE opponent = "sergiy stakhovsky"</s> |
CREATE TABLE table_name_21 (season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR) | SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND pts = "58" | What season had 1st position, 33 pld, and 58 points? | <s>[INST]What season had 1st position, 33 pld, and 58 points? Context: CREATE TABLE table_name_21 (season VARCHAR, pts VARCHAR, pos VARCHAR, pld VARCHAR)[/INST]SELECT season FROM table_name_21 WHERE pos = "1st" AND pld = "33" AND pts = "58"</s> |
CREATE TABLE table_name_12 (tournament VARCHAR) | SELECT tournament FROM table_name_12 WHERE 2011 = "1r" | What tournament has 1r as the 2011? | <s>[INST]What tournament has 1r as the 2011? Context: CREATE TABLE table_name_12 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_12 WHERE 2011 = "1r"</s> |
CREATE TABLE table_name_83 (municipio VARCHAR) | SELECT 2010 AS _population_density FROM table_name_83 WHERE municipio = "ponce" | what is the 2010 population density for municipio ponce? | <s>[INST]what is the 2010 population density for municipio ponce? Context: CREATE TABLE table_name_83 (municipio VARCHAR)[/INST]SELECT 2010 AS _population_density FROM table_name_83 WHERE municipio = "ponce"</s> |
CREATE TABLE table_26458137_2 (score VARCHAR, opponents_in_the_final VARCHAR) | SELECT COUNT(score) FROM table_26458137_2 WHERE opponents_in_the_final = "Beti Sekulovski Cindy Watson" | How many times is the opponents in the final is beti sekulovski cindy watson? | <s>[INST]How many times is the opponents in the final is beti sekulovski cindy watson? Context: CREATE TABLE table_26458137_2 (score VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT COUNT(score) FROM table_26458137_2 WHERE opponents_in_the_final = "Beti Sekulovski Cindy Watson"</s> |
CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR) | SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france" | Name the least year for paris, france venue | <s>[INST]Name the least year for paris, france venue Context: CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR)[/INST]SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france"</s> |
CREATE TABLE table_name_55 (bronze INTEGER, gold INTEGER) | SELECT MIN(bronze) FROM table_name_55 WHERE gold < 0 | What's the lowest bronze medal amount that has fewer than 0 gold? | <s>[INST]What's the lowest bronze medal amount that has fewer than 0 gold? Context: CREATE TABLE table_name_55 (bronze INTEGER, gold INTEGER)[/INST]SELECT MIN(bronze) FROM table_name_55 WHERE gold < 0</s> |
CREATE TABLE table_name_62 (position INTEGER, lost VARCHAR, drawn VARCHAR) | SELECT MAX(position) FROM table_name_62 WHERE lost = 24 AND drawn > 9 | What is the highest position of the team with 24 lost and a drawn greater than 9? | <s>[INST]What is the highest position of the team with 24 lost and a drawn greater than 9? Context: CREATE TABLE table_name_62 (position INTEGER, lost VARCHAR, drawn VARCHAR)[/INST]SELECT MAX(position) FROM table_name_62 WHERE lost = 24 AND drawn > 9</s> |
CREATE TABLE employee (Id VARCHAR) | SELECT COUNT(*) FROM employee | Find the total number of employees. | <s>[INST]Find the total number of employees. Context: CREATE TABLE employee (Id VARCHAR)[/INST]SELECT COUNT(*) FROM employee</s> |
CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR) | SELECT affiliation FROM table_name_37 WHERE location = "towson, md" | What is the affiliation for towson, md? | <s>[INST]What is the affiliation for towson, md? Context: CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR)[/INST]SELECT affiliation FROM table_name_37 WHERE location = "towson, md"</s> |
CREATE TABLE table_19900792_1 (birth_date VARCHAR, player VARCHAR) | SELECT birth_date FROM table_19900792_1 WHERE player = "Alexey Kuleshov" | When was Alexey Kuleshov born? | <s>[INST]When was Alexey Kuleshov born? Context: CREATE TABLE table_19900792_1 (birth_date VARCHAR, player VARCHAR)[/INST]SELECT birth_date FROM table_19900792_1 WHERE player = "Alexey Kuleshov"</s> |
CREATE TABLE table_25740548_4 (directed_by VARCHAR, production_code VARCHAR) | SELECT directed_by FROM table_25740548_4 WHERE production_code = "CA303" | Who directed the episode with production code ca303? | <s>[INST]Who directed the episode with production code ca303? Context: CREATE TABLE table_25740548_4 (directed_by VARCHAR, production_code VARCHAR)[/INST]SELECT directed_by FROM table_25740548_4 WHERE production_code = "CA303"</s> |
CREATE TABLE table_name_9 (roman_equivalent VARCHAR) | SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i" | what is the "normalized" transliteration for Roman i | <s>[INST]what is the "normalized" transliteration for Roman i Context: CREATE TABLE table_name_9 (roman_equivalent VARCHAR)[/INST]SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i"</s> |
CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR) | SELECT winner FROM table_14395920_2 WHERE stage = 18 | Who won stage 18? | <s>[INST]Who won stage 18? Context: CREATE TABLE table_14395920_2 (winner VARCHAR, stage VARCHAR)[/INST]SELECT winner FROM table_14395920_2 WHERE stage = 18</s> |
CREATE TABLE table_name_95 (home VARCHAR, decision VARCHAR, date VARCHAR) | SELECT home FROM table_name_95 WHERE decision = "ward" AND date = "october 24" | On October 24, who played at home when there was a decision of Ward? | <s>[INST]On October 24, who played at home when there was a decision of Ward? Context: CREATE TABLE table_name_95 (home VARCHAR, decision VARCHAR, date VARCHAR)[/INST]SELECT home FROM table_name_95 WHERE decision = "ward" AND date = "october 24"</s> |
CREATE TABLE table_10284385_1 (representative VARCHAR, date_of_birth VARCHAR) | SELECT representative FROM table_10284385_1 WHERE date_of_birth = "January 31, 1866" | Which representative has a birthday of January 31, 1866? | <s>[INST]Which representative has a birthday of January 31, 1866? Context: CREATE TABLE table_10284385_1 (representative VARCHAR, date_of_birth VARCHAR)[/INST]SELECT representative FROM table_10284385_1 WHERE date_of_birth = "January 31, 1866"</s> |
CREATE TABLE table_name_42 (entrant VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR) | SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957 | What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957? | <s>[INST]What is the entrant of a chassis maserati 250f, also has 6 points and older than year 1957? Context: CREATE TABLE table_name_42 (entrant VARCHAR, year VARCHAR, chassis VARCHAR, points VARCHAR)[/INST]SELECT entrant FROM table_name_42 WHERE chassis = "maserati 250f" AND points = "6" AND year < 1957</s> |
CREATE TABLE table_23274514_4 (team VARCHAR, record VARCHAR) | SELECT team FROM table_23274514_4 WHERE record = "2-5" | What team did the Wizards play against when their record was 2-5? | <s>[INST]What team did the Wizards play against when their record was 2-5? Context: CREATE TABLE table_23274514_4 (team VARCHAR, record VARCHAR)[/INST]SELECT team FROM table_23274514_4 WHERE record = "2-5"</s> |
CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR) | SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans" | What is the russian title of the ugly swans? | <s>[INST]What is the russian title of the ugly swans? Context: CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR)[/INST]SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans"</s> |
CREATE TABLE table_name_74 (scottish_cup INTEGER, player VARCHAR, league VARCHAR) | SELECT SUM(scottish_cup) FROM table_name_74 WHERE player = "damon gray" AND league > 1 | What is the sum for the Scottish cup that has player Damon Gray, and more than 1 league? | <s>[INST]What is the sum for the Scottish cup that has player Damon Gray, and more than 1 league? Context: CREATE TABLE table_name_74 (scottish_cup INTEGER, player VARCHAR, league VARCHAR)[/INST]SELECT SUM(scottish_cup) FROM table_name_74 WHERE player = "damon gray" AND league > 1</s> |
CREATE TABLE table_name_21 (career_sr VARCHAR) | SELECT 1999 FROM table_name_21 WHERE 2003 = "a" AND career_sr = "0 / 4" | What is 1999, when 2003 is "A", and when Career SR is "0 / 4"? | <s>[INST]What is 1999, when 2003 is "A", and when Career SR is "0 / 4"? Context: CREATE TABLE table_name_21 (career_sr VARCHAR)[/INST]SELECT 1999 FROM table_name_21 WHERE 2003 = "a" AND career_sr = "0 / 4"</s> |
CREATE TABLE table_name_85 (tournament VARCHAR, finalist VARCHAR) | SELECT tournament FROM table_name_85 WHERE finalist = "richard krajicek" | Which tournament had Richard Krajicek as a finalist? | <s>[INST]Which tournament had Richard Krajicek as a finalist? Context: CREATE TABLE table_name_85 (tournament VARCHAR, finalist VARCHAR)[/INST]SELECT tournament FROM table_name_85 WHERE finalist = "richard krajicek"</s> |
CREATE TABLE table_12451376_2 (writer_s_ VARCHAR, production_code VARCHAR) | SELECT writer_s_ FROM table_12451376_2 WHERE production_code = 210 | Provide me with the name of the writer with the production code 210. | <s>[INST]Provide me with the name of the writer with the production code 210. Context: CREATE TABLE table_12451376_2 (writer_s_ VARCHAR, production_code VARCHAR)[/INST]SELECT writer_s_ FROM table_12451376_2 WHERE production_code = 210</s> |
CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR) | SELECT country FROM table_name_81 WHERE rank < 7 AND time = "1:43.189" | Which country had a rank smaller than 7 and a time of 1:43.189? | <s>[INST]Which country had a rank smaller than 7 and a time of 1:43.189? Context: CREATE TABLE table_name_81 (country VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT country FROM table_name_81 WHERE rank < 7 AND time = "1:43.189"</s> |
CREATE TABLE table_name_44 (lines VARCHAR, stations VARCHAR, rider_per_mile VARCHAR) | SELECT COUNT(lines) FROM table_name_44 WHERE stations < 44 AND rider_per_mile < 881 | How many lines have fewer than 44 stations and fewer than 881 riders per mile? | <s>[INST]How many lines have fewer than 44 stations and fewer than 881 riders per mile? Context: CREATE TABLE table_name_44 (lines VARCHAR, stations VARCHAR, rider_per_mile VARCHAR)[/INST]SELECT COUNT(lines) FROM table_name_44 WHERE stations < 44 AND rider_per_mile < 881</s> |
CREATE TABLE table_name_12 (label VARCHAR, catalog VARCHAR, region VARCHAR) | SELECT label FROM table_name_12 WHERE catalog = "none" AND region = "united kingdom" | What is the label for the catalog of none, and is in the United Kingdom? | <s>[INST]What is the label for the catalog of none, and is in the United Kingdom? Context: CREATE TABLE table_name_12 (label VARCHAR, catalog VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_12 WHERE catalog = "none" AND region = "united kingdom"</s> |
CREATE TABLE table_name_53 (name VARCHAR, country VARCHAR) | SELECT name FROM table_name_53 WHERE country = "west indies" | What is the name of the person whose country is West Indies. | <s>[INST]What is the name of the person whose country is West Indies. Context: CREATE TABLE table_name_53 (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_name_53 WHERE country = "west indies"</s> |
CREATE TABLE table_name_87 (status VARCHAR, against VARCHAR, date VARCHAR) | SELECT status FROM table_name_87 WHERE against > 20 AND date = "18/11/1995" | What's the status with an against over 20 on 18/11/1995? | <s>[INST]What's the status with an against over 20 on 18/11/1995? Context: CREATE TABLE table_name_87 (status VARCHAR, against VARCHAR, date VARCHAR)[/INST]SELECT status FROM table_name_87 WHERE against > 20 AND date = "18/11/1995"</s> |
CREATE TABLE table_name_54 (laps INTEGER, driver VARCHAR, points VARCHAR) | SELECT AVG(laps) FROM table_name_54 WHERE driver = "alex tagliani" AND points > 17 | How many average laps for Alex Tagliani with more than 17 points? | <s>[INST]How many average laps for Alex Tagliani with more than 17 points? Context: CREATE TABLE table_name_54 (laps INTEGER, driver VARCHAR, points VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_54 WHERE driver = "alex tagliani" AND points > 17</s> |
CREATE TABLE table_name_42 (artist VARCHAR, points VARCHAR) | SELECT artist FROM table_name_42 WHERE points = 13 | Which artist has 13 points? | <s>[INST]Which artist has 13 points? Context: CREATE TABLE table_name_42 (artist VARCHAR, points VARCHAR)[/INST]SELECT artist FROM table_name_42 WHERE points = 13</s> |
CREATE TABLE table_2523809_1 (branding VARCHAR, callsign VARCHAR) | SELECT branding FROM table_2523809_1 WHERE callsign = "KRCA-TV" | List the branding for krca-tv. | <s>[INST]List the branding for krca-tv. Context: CREATE TABLE table_2523809_1 (branding VARCHAR, callsign VARCHAR)[/INST]SELECT branding FROM table_2523809_1 WHERE callsign = "KRCA-TV"</s> |
CREATE TABLE table_14656147_2 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_14656147_2 WHERE opponent = "Tampa Bay Buccaneers" | type the attendance for playing with tampa bay buccaneers? | <s>[INST]type the attendance for playing with tampa bay buccaneers? Context: CREATE TABLE table_14656147_2 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_14656147_2 WHERE opponent = "Tampa Bay Buccaneers"</s> |
CREATE TABLE table_name_41 (city VARCHAR, results¹ VARCHAR) | SELECT city FROM table_name_41 WHERE results¹ = "4:2" | what city has the results of 4:2? | <s>[INST]what city has the results of 4:2? Context: CREATE TABLE table_name_41 (city VARCHAR, results¹ VARCHAR)[/INST]SELECT city FROM table_name_41 WHERE results¹ = "4:2"</s> |
CREATE TABLE table_name_37 (stereo VARCHAR, call VARCHAR) | SELECT stereo FROM table_name_37 WHERE call = "wpeo" | Is WPEO in stereo? | <s>[INST]Is WPEO in stereo? Context: CREATE TABLE table_name_37 (stereo VARCHAR, call VARCHAR)[/INST]SELECT stereo FROM table_name_37 WHERE call = "wpeo"</s> |
CREATE TABLE table_name_76 (school VARCHAR, enrollment INTEGER) | SELECT school FROM table_name_76 WHERE enrollment < 301 | What School has an Enrollement smaller than 301? | <s>[INST]What School has an Enrollement smaller than 301? Context: CREATE TABLE table_name_76 (school VARCHAR, enrollment INTEGER)[/INST]SELECT school FROM table_name_76 WHERE enrollment < 301</s> |
CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR) | SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004 | Show all artist names who didn't have an exhibition in 2004. | <s>[INST]Show all artist names who didn't have an exhibition in 2004. Context: CREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)[/INST]SELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004</s> |
CREATE TABLE table_name_43 (loss INTEGER, gp_gs VARCHAR, gain VARCHAR) | SELECT SUM(loss) FROM table_name_43 WHERE gp_gs = "8-8" AND gain < 416 | What's the total loss for a GP-GS of 8-8 and a gain less than 416? | <s>[INST]What's the total loss for a GP-GS of 8-8 and a gain less than 416? Context: CREATE TABLE table_name_43 (loss INTEGER, gp_gs VARCHAR, gain VARCHAR)[/INST]SELECT SUM(loss) FROM table_name_43 WHERE gp_gs = "8-8" AND gain < 416</s> |
CREATE TABLE table_name_63 (against VARCHAR, date VARCHAR) | SELECT COUNT(against) FROM table_name_63 WHERE date = "27/02/2005" | What is the total number of Against, when Date is "27/02/2005"? | <s>[INST]What is the total number of Against, when Date is "27/02/2005"? Context: CREATE TABLE table_name_63 (against VARCHAR, date VARCHAR)[/INST]SELECT COUNT(against) FROM table_name_63 WHERE date = "27/02/2005"</s> |
CREATE TABLE table_name_65 (score VARCHAR, round VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_65 WHERE round = "5th" AND away_team = "bahia" | For the 5th round match with away team of Bahia, what was the final score? | <s>[INST]For the 5th round match with away team of Bahia, what was the final score? Context: CREATE TABLE table_name_65 (score VARCHAR, round VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_65 WHERE round = "5th" AND away_team = "bahia"</s> |
CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_18 WHERE home_team = "fitzroy" | What date was the Home team fitzroy? | <s>[INST]What date was the Home team fitzroy? Context: CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_18 WHERE home_team = "fitzroy"</s> |
CREATE TABLE table_18703133_6 (wins VARCHAR, points VARCHAR) | SELECT wins FROM table_18703133_6 WHERE points = 24 | How many wins have 24 points? | <s>[INST]How many wins have 24 points? Context: CREATE TABLE table_18703133_6 (wins VARCHAR, points VARCHAR)[/INST]SELECT wins FROM table_18703133_6 WHERE points = 24</s> |
CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, position VARCHAR, sellout___percentage_ VARCHAR) | SELECT COUNT(dates__mdy_) FROM table_16331025_2 WHERE position = 9 AND sellout___percentage_ = "81%" | Who many dates are in position 9 and the sellout is 81%? | <s>[INST]Who many dates are in position 9 and the sellout is 81%? Context: CREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, position VARCHAR, sellout___percentage_ VARCHAR)[/INST]SELECT COUNT(dates__mdy_) FROM table_16331025_2 WHERE position = 9 AND sellout___percentage_ = "81%"</s> |
CREATE TABLE table_name_25 (december INTEGER, record VARCHAR) | SELECT AVG(december) FROM table_name_25 WHERE record = "8-2-3" | What is the average day in December of the game with a 8-2-3 record? | <s>[INST]What is the average day in December of the game with a 8-2-3 record? Context: CREATE TABLE table_name_25 (december INTEGER, record VARCHAR)[/INST]SELECT AVG(december) FROM table_name_25 WHERE record = "8-2-3"</s> |
CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR) | SELECT fcc_info FROM table_name_35 WHERE state = "indiana" AND city_of_license = "west lafayette" | What is the FCC info for the radio station in West Lafayette, Indiana? | <s>[INST]What is the FCC info for the radio station in West Lafayette, Indiana? Context: CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)[/INST]SELECT fcc_info FROM table_name_35 WHERE state = "indiana" AND city_of_license = "west lafayette"</s> |
CREATE TABLE table_name_56 (city___state VARCHAR, series VARCHAR) | SELECT city___state FROM table_name_56 WHERE series = "atcc round 3" | What is the City / State, when Series is ATCC Round 3? | <s>[INST]What is the City / State, when Series is ATCC Round 3? Context: CREATE TABLE table_name_56 (city___state VARCHAR, series VARCHAR)[/INST]SELECT city___state FROM table_name_56 WHERE series = "atcc round 3"</s> |
CREATE TABLE table_25655781_17 (team_classification VARCHAR, winner VARCHAR, points_classification VARCHAR) | SELECT team_classification FROM table_25655781_17 WHERE winner = "André Greipel" AND points_classification = "André Greipel" | What was the team classification where andré greipel was the winner and had the points classification? | <s>[INST]What was the team classification where andré greipel was the winner and had the points classification? Context: CREATE TABLE table_25655781_17 (team_classification VARCHAR, winner VARCHAR, points_classification VARCHAR)[/INST]SELECT team_classification FROM table_25655781_17 WHERE winner = "André Greipel" AND points_classification = "André Greipel"</s> |
CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR) | SELECT league FROM table_name_5 WHERE europe = "117 0 (8)" | The Europe listing of 117 0 (8) belongs to what league? | <s>[INST]The Europe listing of 117 0 (8) belongs to what league? Context: CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR)[/INST]SELECT league FROM table_name_5 WHERE europe = "117 0 (8)"</s> |
CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(original_air_date) FROM table_18217753_1 WHERE us_viewers__millions_ = "26.06" | How many original air dates totaled 26.06 million viewers? | <s>[INST]How many original air dates totaled 26.06 million viewers? Context: CREATE TABLE table_18217753_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(original_air_date) FROM table_18217753_1 WHERE us_viewers__millions_ = "26.06"</s> |
CREATE TABLE job_history (employee_id VARCHAR, end_date INTEGER) | SELECT employee_id, MAX(end_date) FROM job_history GROUP BY employee_id | display the employee ID for each employee and the date on which he ended his previous job. | <s>[INST]display the employee ID for each employee and the date on which he ended his previous job. Context: CREATE TABLE job_history (employee_id VARCHAR, end_date INTEGER)[/INST]SELECT employee_id, MAX(end_date) FROM job_history GROUP BY employee_id</s> |
CREATE TABLE STUDENT (Major VARCHAR, Sex VARCHAR) | SELECT Major FROM STUDENT WHERE Sex = "M" | What are the majors of male (sex is M) students? | <s>[INST]What are the majors of male (sex is M) students? Context: CREATE TABLE STUDENT (Major VARCHAR, Sex VARCHAR)[/INST]SELECT Major FROM STUDENT WHERE Sex = "M"</s> |
CREATE TABLE table_name_44 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) | SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje" | Which parish has a church named Vangsnes Kyrkje? | <s>[INST]Which parish has a church named Vangsnes Kyrkje? Context: CREATE TABLE table_name_44 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)[/INST]SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje"</s> |
CREATE TABLE table_name_19 (Id VARCHAR) | SELECT 2004 FROM table_name_19 WHERE 2003 = "36,026" | Name the 2004 which has a 2003 of 36,026? | <s>[INST]Name the 2004 which has a 2003 of 36,026? Context: CREATE TABLE table_name_19 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_19 WHERE 2003 = "36,026"</s> |
CREATE TABLE table_name_15 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_15 WHERE home_team = "essendon" | When did Essendon play at home? | <s>[INST]When did Essendon play at home? Context: CREATE TABLE table_name_15 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE home_team = "essendon"</s> |
CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR) | SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s" | Which skipper has a combine elapsed time of 174d 01h 11m 59s? | <s>[INST]Which skipper has a combine elapsed time of 174d 01h 11m 59s? Context: CREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)[/INST]SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = "174d 01h 11m 59s"</s> |
CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR) | SELECT MAX(chimoré_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 7 | What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities? | <s>[INST]What is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities? Context: CREATE TABLE table_name_76 (chimoré_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR)[/INST]SELECT MAX(chimoré_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 7</s> |
CREATE TABLE table_name_64 (points VARCHAR, draw VARCHAR, artist VARCHAR) | SELECT points FROM table_name_64 WHERE draw > 7 AND artist = "sabahudin kurt" | How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7? | <s>[INST]How many Points were awarded to Sabahudin Kurt with a Draw is greater than 7? Context: CREATE TABLE table_name_64 (points VARCHAR, draw VARCHAR, artist VARCHAR)[/INST]SELECT points FROM table_name_64 WHERE draw > 7 AND artist = "sabahudin kurt"</s> |
CREATE TABLE table_name_42 (year INTEGER, owner VARCHAR) | SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram" | What year was owner Michael E. Pegram's last win? | <s>[INST]What year was owner Michael E. Pegram's last win? Context: CREATE TABLE table_name_42 (year INTEGER, owner VARCHAR)[/INST]SELECT MAX(year) FROM table_name_42 WHERE owner = "michael e. pegram"</s> |
CREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR) | SELECT route FROM table_name_31 WHERE stations = 21 | Which route has 21 stations? | <s>[INST]Which route has 21 stations? Context: CREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR)[/INST]SELECT route FROM table_name_31 WHERE stations = 21</s> |
CREATE TABLE table_15430606_1 (no_disc INTEGER, no_in_series VARCHAR) | SELECT MIN(no_disc) FROM table_15430606_1 WHERE no_in_series = "14" | Name the minimum number disc for number in series for 14 | <s>[INST]Name the minimum number disc for number in series for 14 Context: CREATE TABLE table_15430606_1 (no_disc INTEGER, no_in_series VARCHAR)[/INST]SELECT MIN(no_disc) FROM table_15430606_1 WHERE no_in_series = "14"</s> |
CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR) | SELECT nation FROM table_2150068_1 WHERE satellite = "PAGEOS 1" | What nation was Pageos 1 from? | <s>[INST]What nation was Pageos 1 from? Context: CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR)[/INST]SELECT nation FROM table_2150068_1 WHERE satellite = "PAGEOS 1"</s> |
CREATE TABLE table_23192661_3 (cardinal_points INTEGER, record VARCHAR) | SELECT MIN(cardinal_points) FROM table_23192661_3 WHERE record = "19-4" | Name the cardinal points for 19-4 record | <s>[INST]Name the cardinal points for 19-4 record Context: CREATE TABLE table_23192661_3 (cardinal_points INTEGER, record VARCHAR)[/INST]SELECT MIN(cardinal_points) FROM table_23192661_3 WHERE record = "19-4"</s> |
CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, total VARCHAR) | SELECT SUM(gold) FROM table_name_39 WHERE nation = "japan" AND total > 1 | How many Gold medals did Japan receive who had a Total of more than 1 medals? | <s>[INST]How many Gold medals did Japan receive who had a Total of more than 1 medals? Context: CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT SUM(gold) FROM table_name_39 WHERE nation = "japan" AND total > 1</s> |
CREATE TABLE table_name_4 (governor VARCHAR, name VARCHAR) | SELECT governor FROM table_name_4 WHERE name = "hugh thomas miller" | What is the party of the governor under Hugh Thomas Miller. | <s>[INST]What is the party of the governor under Hugh Thomas Miller. Context: CREATE TABLE table_name_4 (governor VARCHAR, name VARCHAR)[/INST]SELECT governor FROM table_name_4 WHERE name = "hugh thomas miller"</s> |
CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0 | What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? | <s>[INST]What is the lowest Wins, when Season is 2011, when Podiums is 1, and when Poles is less than 0? Context: CREATE TABLE table_name_37 (wins INTEGER, poles VARCHAR, season VARCHAR, podiums VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_37 WHERE season = "2011" AND podiums = 1 AND poles < 0</s> |
CREATE TABLE table_name_5 (bronze INTEGER, rank VARCHAR, silver VARCHAR) | SELECT MIN(bronze) FROM table_name_5 WHERE rank = 12 AND silver < 2 | What is the smallest bronze with a Rank of 12, and a Silver smaller than 2? | <s>[INST]What is the smallest bronze with a Rank of 12, and a Silver smaller than 2? Context: CREATE TABLE table_name_5 (bronze INTEGER, rank VARCHAR, silver VARCHAR)[/INST]SELECT MIN(bronze) FROM table_name_5 WHERE rank = 12 AND silver < 2</s> |
CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR) | SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = "none" AND name = "badnawar" | When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number? | <s>[INST]When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number? Context: CREATE TABLE table_name_86 (constituency_number VARCHAR, reserved_for___sc___st__none_ VARCHAR, name VARCHAR)[/INST]SELECT constituency_number FROM table_name_86 WHERE reserved_for___sc___st__none_ = "none" AND name = "badnawar"</s> |
CREATE TABLE table_name_86 (published VARCHAR, in_order_of_publication VARCHAR) | SELECT COUNT(published) FROM table_name_86 WHERE in_order_of_publication = "first" | How many total publications were the first of the series? | <s>[INST]How many total publications were the first of the series? Context: CREATE TABLE table_name_86 (published VARCHAR, in_order_of_publication VARCHAR)[/INST]SELECT COUNT(published) FROM table_name_86 WHERE in_order_of_publication = "first"</s> |
CREATE TABLE table_name_96 (school VARCHAR, player VARCHAR) | SELECT school FROM table_name_96 WHERE player = "bo jackson" | What school did bo jackson attend? | <s>[INST]What school did bo jackson attend? Context: CREATE TABLE table_name_96 (school VARCHAR, player VARCHAR)[/INST]SELECT school FROM table_name_96 WHERE player = "bo jackson"</s> |
CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR) | SELECT frequency FROM table_name_53 WHERE callsign = "dybt" | What is the frequency for the station with DYBT as its callsign? | <s>[INST]What is the frequency for the station with DYBT as its callsign? Context: CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)[/INST]SELECT frequency FROM table_name_53 WHERE callsign = "dybt"</s> |
CREATE TABLE table_name_41 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_41 WHERE week < 7 AND date = "september 12, 1988" | Which Opponent that has a Week smaller than 7 on september 12, 1988? | <s>[INST]Which Opponent that has a Week smaller than 7 on september 12, 1988? Context: CREATE TABLE table_name_41 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_41 WHERE week < 7 AND date = "september 12, 1988"</s> |
CREATE TABLE table_name_75 (drawn INTEGER, lost INTEGER) | SELECT MAX(drawn) FROM table_name_75 WHERE lost > 4 | Lost larger than 4 is what highest drawn? | <s>[INST]Lost larger than 4 is what highest drawn? Context: CREATE TABLE table_name_75 (drawn INTEGER, lost INTEGER)[/INST]SELECT MAX(drawn) FROM table_name_75 WHERE lost > 4</s> |
CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_34 WHERE attendance = "60,594" | Which Opponent has Attendances of 60,594? | <s>[INST]Which Opponent has Attendances of 60,594? Context: CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_34 WHERE attendance = "60,594"</s> |
CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER) | SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance < 100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 500 | Show the theme for exhibitions with both records of an attendance below 100 and above 500. | <s>[INST]Show the theme for exhibitions with both records of an attendance below 100 and above 500. Context: CREATE TABLE exhibition (theme VARCHAR, exhibition_id VARCHAR); CREATE TABLE exhibition_record (exhibition_id VARCHAR, attendance INTEGER)[/INST]SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance < 100 INTERSECT SELECT T2.theme FROM exhibition_record AS T1 JOIN exhibition AS T2 ON T1.exhibition_id = T2.exhibition_id WHERE T1.attendance > 500</s> |
CREATE TABLE table_name_14 (lost INTEGER, pct__percentage VARCHAR, games VARCHAR, points VARCHAR) | SELECT AVG(lost) FROM table_name_14 WHERE games < 82 AND points < 95 AND pct__percentage < 0.506 | What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506? | <s>[INST]What is the average Lost, when Games is less than 82, when Points is less than 95, and when Pct % is less than 0.506? Context: CREATE TABLE table_name_14 (lost INTEGER, pct__percentage VARCHAR, games VARCHAR, points VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_14 WHERE games < 82 AND points < 95 AND pct__percentage < 0.506</s> |
CREATE TABLE table_27561505_2 (rnd INTEGER, circuit VARCHAR) | SELECT MIN(rnd) FROM table_27561505_2 WHERE circuit = "Laguna Seca" | What is the minimum rnd at Laguna Seca? | <s>[INST]What is the minimum rnd at Laguna Seca? Context: CREATE TABLE table_27561505_2 (rnd INTEGER, circuit VARCHAR)[/INST]SELECT MIN(rnd) FROM table_27561505_2 WHERE circuit = "Laguna Seca"</s> |
CREATE TABLE table_17271495_1 (team VARCHAR, driver VARCHAR) | SELECT team FROM table_17271495_1 WHERE driver = "Scott Dixon" | Name the team for scott dixon | <s>[INST]Name the team for scott dixon Context: CREATE TABLE table_17271495_1 (team VARCHAR, driver VARCHAR)[/INST]SELECT team FROM table_17271495_1 WHERE driver = "Scott Dixon"</s> |
CREATE TABLE table_name_11 (nationality VARCHAR, elector VARCHAR) | SELECT nationality FROM table_name_11 WHERE elector = "anchero pantaleone" | When Anchero Pantaleone was the elector what is under nationality? | <s>[INST]When Anchero Pantaleone was the elector what is under nationality? Context: CREATE TABLE table_name_11 (nationality VARCHAR, elector VARCHAR)[/INST]SELECT nationality FROM table_name_11 WHERE elector = "anchero pantaleone"</s> |
CREATE TABLE table_name_83 (college VARCHAR, school VARCHAR) | SELECT college FROM table_name_83 WHERE school = "crete-monee high school" | What college did the player with a school of crete-monee high school go to? | <s>[INST]What college did the player with a school of crete-monee high school go to? Context: CREATE TABLE table_name_83 (college VARCHAR, school VARCHAR)[/INST]SELECT college FROM table_name_83 WHERE school = "crete-monee high school"</s> |
CREATE TABLE table_name_86 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_86 WHERE country = "south africa" | What was the score of the player from South Africa? | <s>[INST]What was the score of the player from South Africa? Context: CREATE TABLE table_name_86 (score VARCHAR, country VARCHAR)[/INST]SELECT score FROM table_name_86 WHERE country = "south africa"</s> |
CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR) | SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W221AW" | what's the fcc info with call sign being w221aw | <s>[INST]what's the fcc info with call sign being w221aw Context: CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)[/INST]SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W221AW"</s> |
CREATE TABLE table_name_83 (Id VARCHAR) | SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r" | What was the value in 2012 when 2002 was Q1 and 2010 was 1R? | <s>[INST]What was the value in 2012 when 2002 was Q1 and 2010 was 1R? Context: CREATE TABLE table_name_83 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_83 WHERE 2002 = "q1" AND 2010 = "1r"</s> |
CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) | SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio" | How many assists were made in the game against San Antonio? | <s>[INST]How many assists were made in the game against San Antonio? Context: CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR)[/INST]SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio"</s> |
CREATE TABLE table_name_76 (points INTEGER, against VARCHAR, played VARCHAR) | SELECT MIN(points) FROM table_name_76 WHERE against = 23 AND played < 8 | When the played number is less than 8 and against is 23, what is the least amount of points? | <s>[INST]When the played number is less than 8 and against is 23, what is the least amount of points? Context: CREATE TABLE table_name_76 (points INTEGER, against VARCHAR, played VARCHAR)[/INST]SELECT MIN(points) FROM table_name_76 WHERE against = 23 AND played < 8</s> |
CREATE TABLE table_name_88 (week VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT week FROM table_name_88 WHERE surface = "hard" AND tournament = "indian wells" | what was the week for the match on a hard surface at Indian Wells tournament? | <s>[INST]what was the week for the match on a hard surface at Indian Wells tournament? Context: CREATE TABLE table_name_88 (week VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT week FROM table_name_88 WHERE surface = "hard" AND tournament = "indian wells"</s> |
CREATE TABLE table_24990183_5 (Id VARCHAR) | SELECT MIN(09 AS _10_i_o_best) FROM table_24990183_5 | What is the lowest 09-10 i/o best? | <s>[INST]What is the lowest 09-10 i/o best? Context: CREATE TABLE table_24990183_5 (Id VARCHAR)[/INST]SELECT MIN(09 AS _10_i_o_best) FROM table_24990183_5</s> |
CREATE TABLE TV_series (SHARE INTEGER) | SELECT MAX(SHARE), MIN(SHARE) FROM TV_series | What is minimum and maximum share of TV series? | <s>[INST]What is minimum and maximum share of TV series? Context: CREATE TABLE TV_series (SHARE INTEGER)[/INST]SELECT MAX(SHARE), MIN(SHARE) FROM TV_series</s> |
CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR) | SELECT country FROM table_name_10 WHERE driver = "john nielsen" | what country is john nielsen from | <s>[INST]what country is john nielsen from Context: CREATE TABLE table_name_10 (country VARCHAR, driver VARCHAR)[/INST]SELECT country FROM table_name_10 WHERE driver = "john nielsen"</s> |
CREATE TABLE table_18335117_3 (original_air_date VARCHAR, no_overall VARCHAR) | SELECT original_air_date FROM table_18335117_3 WHERE no_overall = 15 | When 15 is the number overall what is the original air date? | <s>[INST]When 15 is the number overall what is the original air date? Context: CREATE TABLE table_18335117_3 (original_air_date VARCHAR, no_overall VARCHAR)[/INST]SELECT original_air_date FROM table_18335117_3 WHERE no_overall = 15</s> |
CREATE TABLE table_name_62 (runner_up VARCHAR, margin_of_victory VARCHAR, to_par VARCHAR) | SELECT runner_up FROM table_name_62 WHERE margin_of_victory = "2 strokes" AND to_par = "−16" | Who was the runner-up in the tournament that has a margin of victory of 2 strokes, and a To par of −16? | <s>[INST]Who was the runner-up in the tournament that has a margin of victory of 2 strokes, and a To par of −16? Context: CREATE TABLE table_name_62 (runner_up VARCHAR, margin_of_victory VARCHAR, to_par VARCHAR)[/INST]SELECT runner_up FROM table_name_62 WHERE margin_of_victory = "2 strokes" AND to_par = "−16"</s> |
CREATE TABLE table_17058116_7 (score VARCHAR, game VARCHAR) | SELECT score FROM table_17058116_7 WHERE game = 46 | What is the score of game 46 | <s>[INST]What is the score of game 46 Context: CREATE TABLE table_17058116_7 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_17058116_7 WHERE game = 46</s> |
CREATE TABLE table_15929156_3 (county VARCHAR, obama_votes VARCHAR) | SELECT COUNT(county) FROM table_15929156_3 WHERE obama_votes = 49558 | Name the number of counties for obama votes for 49558 | <s>[INST]Name the number of counties for obama votes for 49558 Context: CREATE TABLE table_15929156_3 (county VARCHAR, obama_votes VARCHAR)[/INST]SELECT COUNT(county) FROM table_15929156_3 WHERE obama_votes = 49558</s> |
CREATE TABLE table_name_50 (race_name VARCHAR, circuit VARCHAR) | SELECT race_name FROM table_name_50 WHERE circuit = "pergusa" | What is the name of the race that has the pergusa Circuit? | <s>[INST]What is the name of the race that has the pergusa Circuit? Context: CREATE TABLE table_name_50 (race_name VARCHAR, circuit VARCHAR)[/INST]SELECT race_name FROM table_name_50 WHERE circuit = "pergusa"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.