context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_24901152_2 (outcome VARCHAR, partner VARCHAR) | SELECT outcome FROM table_24901152_2 WHERE partner = "Alicia Molik" | When alicia molik is the partner what is the outcome? | <s>[INST]When alicia molik is the partner what is the outcome? Context: CREATE TABLE table_24901152_2 (outcome VARCHAR, partner VARCHAR)[/INST]SELECT outcome FROM table_24901152_2 WHERE partner = "Alicia Molik"</s> |
CREATE TABLE table_25360865_1 (_number INTEGER, name VARCHAR) | SELECT MAX(_number) FROM table_25360865_1 WHERE name = "Charvez Davis" | Name the most number for charvez davis | <s>[INST]Name the most number for charvez davis Context: CREATE TABLE table_25360865_1 (_number INTEGER, name VARCHAR)[/INST]SELECT MAX(_number) FROM table_25360865_1 WHERE name = "Charvez Davis"</s> |
CREATE TABLE table_name_50 (position VARCHAR, name VARCHAR) | SELECT position FROM table_name_50 WHERE name = "allen gamboa" | What is the position of Allen Gamboa? | <s>[INST]What is the position of Allen Gamboa? Context: CREATE TABLE table_name_50 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_50 WHERE name = "allen gamboa"</s> |
CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR) | SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9 | Which skip (club) had 31 PA and 9 blank ends? | <s>[INST]Which skip (club) had 31 PA and 9 blank ends? Context: CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR)[/INST]SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9</s> |
CREATE TABLE table_name_90 (attendance INTEGER, week VARCHAR) | SELECT MIN(attendance) FROM table_name_90 WHERE week = 12 | What was the lowest Attendance during Week 12? | <s>[INST]What was the lowest Attendance during Week 12? Context: CREATE TABLE table_name_90 (attendance INTEGER, week VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_90 WHERE week = 12</s> |
CREATE TABLE table_29436007_1 (written_by VARCHAR, no_in_season VARCHAR) | SELECT written_by FROM table_29436007_1 WHERE no_in_season = 23 | Who wrote episode 23 of the season? | <s>[INST]Who wrote episode 23 of the season? Context: CREATE TABLE table_29436007_1 (written_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT written_by FROM table_29436007_1 WHERE no_in_season = 23</s> |
CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR) | SELECT title FROM table_name_28 WHERE rank = 9 | Which title had rank 9? | <s>[INST]Which title had rank 9? Context: CREATE TABLE table_name_28 (title VARCHAR, rank VARCHAR)[/INST]SELECT title FROM table_name_28 WHERE rank = 9</s> |
CREATE TABLE table_10932739_2 (planet VARCHAR, orbital_period VARCHAR) | SELECT planet FROM table_10932739_2 WHERE orbital_period = "11.86 years" | Which planet has an orbital period of 11.86 years? | <s>[INST]Which planet has an orbital period of 11.86 years? Context: CREATE TABLE table_10932739_2 (planet VARCHAR, orbital_period VARCHAR)[/INST]SELECT planet FROM table_10932739_2 WHERE orbital_period = "11.86 years"</s> |
CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR) | SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio" | Which Frequency has a Website of •, and a Webcast of •in san antonio? | <s>[INST]Which Frequency has a Website of •, and a Webcast of •in san antonio? Context: CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR)[/INST]SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio"</s> |
CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_34 WHERE attendance = 54 OFFSET 015 | Which week's game was attended by 54,015 people? | <s>[INST]Which week's game was attended by 54,015 people? Context: CREATE TABLE table_name_34 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_34 WHERE attendance = 54 OFFSET 015</s> |
CREATE TABLE table_name_75 (to_par VARCHAR, place VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_75 WHERE place = "t8" AND player = "bunky henry" | When Bunky Henry placed t8, what was his To par? | <s>[INST]When Bunky Henry placed t8, what was his To par? Context: CREATE TABLE table_name_75 (to_par VARCHAR, place VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_75 WHERE place = "t8" AND player = "bunky henry"</s> |
CREATE TABLE table_name_30 (events INTEGER, tournament VARCHAR, top_10 VARCHAR) | SELECT MIN(events) FROM table_name_30 WHERE tournament = "the open championship" AND top_10 < 0 | What is the lowest number of events the Open Championship has with a less than 0 top-10? | <s>[INST]What is the lowest number of events the Open Championship has with a less than 0 top-10? Context: CREATE TABLE table_name_30 (events INTEGER, tournament VARCHAR, top_10 VARCHAR)[/INST]SELECT MIN(events) FROM table_name_30 WHERE tournament = "the open championship" AND top_10 < 0</s> |
CREATE TABLE table_1341472_40 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341472_40 WHERE incumbent = "Thomas Foglietta" | What party is thomas foglietta from? | <s>[INST]What party is thomas foglietta from? Context: CREATE TABLE table_1341472_40 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341472_40 WHERE incumbent = "Thomas Foglietta"</s> |
CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT record FROM table_name_57 WHERE opponent = "twins" AND date = "september 25" | What was the home team's record when they played the Twins on September 25? | <s>[INST]What was the home team's record when they played the Twins on September 25? Context: CREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_57 WHERE opponent = "twins" AND date = "september 25"</s> |
CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR) | SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey) FROM table_13223187_1 WHERE drury_hotels_most_aggressive_rider_red_jersey = "Darren Lill" | How many michelob ultra mountains classification for darren lill | <s>[INST]How many michelob ultra mountains classification for darren lill Context: CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR)[/INST]SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey... |
CREATE TABLE table_name_68 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR) | SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" AND byes > 0 | What is the lowest value for Draws, when South West DFL is "Tyrendarra", and when Byes is greater than 0? | <s>[INST]What is the lowest value for Draws, when South West DFL is "Tyrendarra", and when Byes is greater than 0? Context: CREATE TABLE table_name_68 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR)[/INST]SELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = "tyrendarra" AND byes > 0</s> |
CREATE TABLE table_name_61 (outcome VARCHAR, championship VARCHAR, score_in_the_final VARCHAR) | SELECT outcome FROM table_name_61 WHERE championship = "us championships" AND score_in_the_final = "5–7, 6–1, 6–3, 6–3" | Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3? | <s>[INST]Which Outcome has a Championship of us championships, and a Score in the final of 5–7, 6–1, 6–3, 6–3? Context: CREATE TABLE table_name_61 (outcome VARCHAR, championship VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_61 WHERE championship = "us championships" AND score_in_the_final = ... |
CREATE TABLE table_name_95 (length__miles_ VARCHAR, east_or_north_terminus VARCHAR) | SELECT COUNT(length__miles_) FROM table_name_95 WHERE east_or_north_terminus = "ne 2 in lincoln" | what is the length (miles) when the east or north terminus is ne 2 in lincoln? | <s>[INST]what is the length (miles) when the east or north terminus is ne 2 in lincoln? Context: CREATE TABLE table_name_95 (length__miles_ VARCHAR, east_or_north_terminus VARCHAR)[/INST]SELECT COUNT(length__miles_) FROM table_name_95 WHERE east_or_north_terminus = "ne 2 in lincoln"</s> |
CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR) | SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan" | Name the average grade for şımarık tarkan | <s>[INST]Name the average grade for şımarık tarkan Context: CREATE TABLE table_21829580_1 (average_grade VARCHAR, song VARCHAR)[/INST]SELECT average_grade FROM table_21829580_1 WHERE song = "Şımarık Tarkan"</s> |
CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_57 WHERE grid > 4 AND driver = "heinz-harald frentzen" | Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen | <s>[INST]Tell me the constructor for Grid more than 4 and drivers being heinz-harald frentzen Context: CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_57 WHERE grid > 4 AND driver = "heinz-harald frentzen"</s> |
CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR) | SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui primary school" | What is the Authority for Kuranui Primary School that is located in the Area of Tirau? | <s>[INST]What is the Authority for Kuranui Primary School that is located in the Area of Tirau? Context: CREATE TABLE table_name_82 (authority VARCHAR, area VARCHAR, name VARCHAR)[/INST]SELECT authority FROM table_name_82 WHERE area = "tirau" AND name = "kuranui primary school"</s> |
CREATE TABLE table_name_4 (country VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR) | SELECT country FROM table_name_4 WHERE score < 70 AND place = "t3" AND player = "andrés romero" | Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero? | <s>[INST]Which Country has a Score smaller than 70, and a Place of t3, and a Player of andrés romero? Context: CREATE TABLE table_name_4 (country VARCHAR, player VARCHAR, score VARCHAR, place VARCHAR)[/INST]SELECT country FROM table_name_4 WHERE score < 70 AND place = "t3" AND player = "andrés romero"</s> |
CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR) | SELECT home_town FROM table_20785990_2 WHERE name = "David Noel" | What is the home town of David Noel? | <s>[INST]What is the home town of David Noel? Context: CREATE TABLE table_20785990_2 (home_town VARCHAR, name VARCHAR)[/INST]SELECT home_town FROM table_20785990_2 WHERE name = "David Noel"</s> |
CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR) | SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392" | What home team has a rank greater than 6, and 94,392 as the capacity? | <s>[INST]What home team has a rank greater than 6, and 94,392 as the capacity? Context: CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR)[/INST]SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392"</s> |
CREATE TABLE table_name_21 (total INTEGER, snatch VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | SELECT MIN(total) FROM table_name_21 WHERE snatch < 170 AND event = "56 kg" AND clean_ & _jerk < 145 | What is the lowest total that had less than 170 snatches, 56 kg events and less than 145 clean & jerk? | <s>[INST]What is the lowest total that had less than 170 snatches, 56 kg events and less than 145 clean & jerk? Context: CREATE TABLE table_name_21 (total INTEGER, snatch VARCHAR, event VARCHAR, clean_ VARCHAR, _jerk VARCHAR)[/INST]SELECT MIN(total) FROM table_name_21 WHERE snatch < 170 AND event = "56 kg" AND clean_ &... |
CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR) | SELECT location FROM table_name_84 WHERE name = "zhongornis" | Where has a Name of zhongornis? | <s>[INST]Where has a Name of zhongornis? Context: CREATE TABLE table_name_84 (location VARCHAR, name VARCHAR)[/INST]SELECT location FROM table_name_84 WHERE name = "zhongornis"</s> |
CREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR) | SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude = "62.7n" | COunt the sum of Diameter (km) which has a Latitude of 62.7n? | <s>[INST]COunt the sum of Diameter (km) which has a Latitude of 62.7n? Context: CREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR)[/INST]SELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude = "62.7n"</s> |
CREATE TABLE table_name_82 (runs INTEGER, batting_partners VARCHAR) | SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera" | How many runs did mahela jayawardene and thilan samaraweera have? | <s>[INST]How many runs did mahela jayawardene and thilan samaraweera have? Context: CREATE TABLE table_name_82 (runs INTEGER, batting_partners VARCHAR)[/INST]SELECT SUM(runs) FROM table_name_82 WHERE batting_partners = "mahela jayawardene and thilan samaraweera"</s> |
CREATE TABLE table_16864968_8 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers" | How many people attended the Edmonton Oilers game? | <s>[INST]How many people attended the Edmonton Oilers game? Context: CREATE TABLE table_16864968_8 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_16864968_8 WHERE opponent = "Edmonton Oilers"</s> |
CREATE TABLE table_name_80 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_80 WHERE driver = "ludovico scarfiotti" | What is the Time/Retired value for Ludovico Scarfiotti? | <s>[INST]What is the Time/Retired value for Ludovico Scarfiotti? Context: CREATE TABLE table_name_80 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_80 WHERE driver = "ludovico scarfiotti"</s> |
CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_85 WHERE airport = "brisbane airport" | The Brisbane airport is located in which country? | <s>[INST]The Brisbane airport is located in which country? Context: CREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR)[/INST]SELECT country FROM table_name_85 WHERE airport = "brisbane airport"</s> |
CREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR) | SELECT marriage FROM table_name_84 WHERE became_queen = "30 october 1816 husband's accession" | How is the marriage of who became queen on 30 October 1816 husband's accession? | <s>[INST]How is the marriage of who became queen on 30 October 1816 husband's accession? Context: CREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR)[/INST]SELECT marriage FROM table_name_84 WHERE became_queen = "30 october 1816 husband's accession"</s> |
CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR) | SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712" | Which Venue has a Gross Revenue (2012) of $179,712? | <s>[INST]Which Venue has a Gross Revenue (2012) of $179,712? Context: CREATE TABLE table_name_41 (venue VARCHAR, gross_revenue__2012_ VARCHAR)[/INST]SELECT venue FROM table_name_41 WHERE gross_revenue__2012_ = "$179,712"</s> |
CREATE TABLE table_name_73 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR, wins VARCHAR) | SELECT SUM(goals_against) FROM table_name_73 WHERE points < 13 AND wins < 3 AND goals_for < 15 | How many goals against were scored when the points were smaller than 13, the wins were smaller than 3, and the goals for were smaller than 15? | <s>[INST]How many goals against were scored when the points were smaller than 13, the wins were smaller than 3, and the goals for were smaller than 15? Context: CREATE TABLE table_name_73 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR, wins VARCHAR)[/INST]SELECT SUM(goals_against) FROM table_name_73 WHERE po... |
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR) | SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243 | What is the black caribbean population when the other black population is 2243? | <s>[INST]What is the black caribbean population when the other black population is 2243? Context: CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR)[/INST]SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243</s> |
CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR) | SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior high school" | What team was 2 when Tatung was team 1 at National Pei Men Senior High School? | <s>[INST]What team was 2 when Tatung was team 1 at National Pei Men Senior High School? Context: CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)[/INST]SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior high school"</s> |
CREATE TABLE table_28793672_1 (audition_city VARCHAR, venue VARCHAR) | SELECT audition_city FROM table_28793672_1 WHERE venue = "UPI Convention Center" | Where is the audition city when the venue is upi convention center? | <s>[INST]Where is the audition city when the venue is upi convention center? Context: CREATE TABLE table_28793672_1 (audition_city VARCHAR, venue VARCHAR)[/INST]SELECT audition_city FROM table_28793672_1 WHERE venue = "UPI Convention Center"</s> |
CREATE TABLE representative (Name VARCHAR, Party VARCHAR) | SELECT Name, Party FROM representative | What are the names and parties of representatives? | <s>[INST]What are the names and parties of representatives? Context: CREATE TABLE representative (Name VARCHAR, Party VARCHAR)[/INST]SELECT Name, Party FROM representative</s> |
CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140 | In what place did the golfer that scored 66-74=140 finish? | <s>[INST]In what place did the golfer that scored 66-74=140 finish? Context: CREATE TABLE table_name_19 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_19 WHERE score = 66 - 74 = 140</s> |
CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, urban_area VARCHAR) | SELECT change_since_2006 FROM table_1940144_1 WHERE urban_area = "Clane" | How many places has the rank changed since 2006, for Clane? | <s>[INST]How many places has the rank changed since 2006, for Clane? Context: CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, urban_area VARCHAR)[/INST]SELECT change_since_2006 FROM table_1940144_1 WHERE urban_area = "Clane"</s> |
CREATE TABLE table_name_21 (date VARCHAR, remainder VARCHAR) | SELECT date FROM table_name_21 WHERE remainder = "20%" | Which Date has a Remainder of 20%? | <s>[INST]Which Date has a Remainder of 20%? Context: CREATE TABLE table_name_21 (date VARCHAR, remainder VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE remainder = "20%"</s> |
CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR) | SELECT date FROM table_name_92 WHERE potts__i_ = "9%" | On which date did Potts (I) poll at 9%? | <s>[INST]On which date did Potts (I) poll at 9%? Context: CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR)[/INST]SELECT date FROM table_name_92 WHERE potts__i_ = "9%"</s> |
CREATE TABLE table_name_52 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_52 WHERE player = "jeff sluman" | What country does Jeff Sluman play for? | <s>[INST]What country does Jeff Sluman play for? Context: CREATE TABLE table_name_52 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_52 WHERE player = "jeff sluman"</s> |
CREATE TABLE table_name_78 (team VARCHAR, points INTEGER) | SELECT team FROM table_name_78 WHERE points < 35 | Which team scored less than 35 points? | <s>[INST]Which team scored less than 35 points? Context: CREATE TABLE table_name_78 (team VARCHAR, points INTEGER)[/INST]SELECT team FROM table_name_78 WHERE points < 35</s> |
CREATE TABLE table_name_49 (Id VARCHAR) | SELECT 2014 FROM table_name_49 WHERE 2013 = "danielle button" | Who held the same position in 2014 that Danielle Button held in 2013? | <s>[INST]Who held the same position in 2014 that Danielle Button held in 2013? Context: CREATE TABLE table_name_49 (Id VARCHAR)[/INST]SELECT 2014 FROM table_name_49 WHERE 2013 = "danielle button"</s> |
CREATE TABLE table_name_6 (tournament VARCHAR) | SELECT tournament FROM table_name_6 WHERE 1992 = "a" | What's the tournament when 1992 is A? | <s>[INST]What's the tournament when 1992 is A? Context: CREATE TABLE table_name_6 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_6 WHERE 1992 = "a"</s> |
CREATE TABLE table_name_82 (videoconferencing VARCHAR, data_conferencing VARCHAR, web_conferencing VARCHAR) | SELECT videoconferencing FROM table_name_82 WHERE data_conferencing = "no" AND web_conferencing = "no" | What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"? | <s>[INST]What is Videoconferencing, when Data Conferencing is "No", and when Web Conferencing is "No"? Context: CREATE TABLE table_name_82 (videoconferencing VARCHAR, data_conferencing VARCHAR, web_conferencing VARCHAR)[/INST]SELECT videoconferencing FROM table_name_82 WHERE data_conferencing = "no" AND web_conferencin... |
CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_79 WHERE game = 36 | What is Record, when Game is "36"? | <s>[INST]What is Record, when Game is "36"? Context: CREATE TABLE table_name_79 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_79 WHERE game = 36</s> |
CREATE TABLE table_name_70 (Leading VARCHAR, record VARCHAR) | SELECT Leading AS scorer FROM table_name_70 WHERE record = "3-3" | Which Leading Scorer has a Record of 3-3? | <s>[INST]Which Leading Scorer has a Record of 3-3? Context: CREATE TABLE table_name_70 (Leading VARCHAR, record VARCHAR)[/INST]SELECT Leading AS scorer FROM table_name_70 WHERE record = "3-3"</s> |
CREATE TABLE table_16048129_5 (region_of_ussr VARCHAR, _percentage_of_total_deportees VARCHAR) | SELECT region_of_ussr FROM table_16048129_5 WHERE _percentage_of_total_deportees = "10.6" | What regions of the USSR have a percentage of deportees of 10.6? | <s>[INST]What regions of the USSR have a percentage of deportees of 10.6? Context: CREATE TABLE table_16048129_5 (region_of_ussr VARCHAR, _percentage_of_total_deportees VARCHAR)[/INST]SELECT region_of_ussr FROM table_16048129_5 WHERE _percentage_of_total_deportees = "10.6"</s> |
CREATE TABLE table_name_42 (gold INTEGER, silver INTEGER) | SELECT MAX(gold) FROM table_name_42 WHERE silver < 0 | What is the most gold where silver is 0? | <s>[INST]What is the most gold where silver is 0? Context: CREATE TABLE table_name_42 (gold INTEGER, silver INTEGER)[/INST]SELECT MAX(gold) FROM table_name_42 WHERE silver < 0</s> |
CREATE TABLE table_name_33 (beer_name VARCHAR, year VARCHAR, prize VARCHAR, competition VARCHAR) | SELECT beer_name FROM table_name_33 WHERE prize = "silver medal" AND competition = "camra reading branch beer festival" AND year = 2008 | What beer won a silver medal at the camra reading branch beer festival in 2008? | <s>[INST]What beer won a silver medal at the camra reading branch beer festival in 2008? Context: CREATE TABLE table_name_33 (beer_name VARCHAR, year VARCHAR, prize VARCHAR, competition VARCHAR)[/INST]SELECT beer_name FROM table_name_33 WHERE prize = "silver medal" AND competition = "camra reading branch beer festival"... |
CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_27 WHERE date = "november 10, 1968" | What was the record on the date of november 10, 1968? | <s>[INST]What was the record on the date of november 10, 1968? Context: CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_27 WHERE date = "november 10, 1968"</s> |
CREATE TABLE table_name_33 (goals_against INTEGER, lost VARCHAR, points VARCHAR) | SELECT SUM(goals_against) FROM table_name_33 WHERE lost = 45 AND points > 68 | What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68? | <s>[INST]What is the sum of Goals Against, when Lost is 45, and when Points is greater than 68? Context: CREATE TABLE table_name_33 (goals_against INTEGER, lost VARCHAR, points VARCHAR)[/INST]SELECT SUM(goals_against) FROM table_name_33 WHERE lost = 45 AND points > 68</s> |
CREATE TABLE table_name_56 (drawn VARCHAR, club VARCHAR) | SELECT drawn FROM table_name_56 WHERE club = "llanishen rfc" | What was drawn for llanishen rfc? | <s>[INST]What was drawn for llanishen rfc? Context: CREATE TABLE table_name_56 (drawn VARCHAR, club VARCHAR)[/INST]SELECT drawn FROM table_name_56 WHERE club = "llanishen rfc"</s> |
CREATE TABLE table_name_81 (opponent VARCHAR, round VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-7" | Who is the opponent in the fight of 1 round when the record is 18-7? | <s>[INST]Who is the opponent in the fight of 1 round when the record is 18-7? Context: CREATE TABLE table_name_81 (opponent VARCHAR, round VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-7"</s> |
CREATE TABLE table_name_98 (weight VARCHAR, power VARCHAR, name VARCHAR) | SELECT weight FROM table_name_98 WHERE power = "kw (hp) at 1,800rpm" AND name = "9 nc" | Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc? | <s>[INST]Which Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc? Context: CREATE TABLE table_name_98 (weight VARCHAR, power VARCHAR, name VARCHAR)[/INST]SELECT weight FROM table_name_98 WHERE power = "kw (hp) at 1,800rpm" AND name = "9 nc"</s> |
CREATE TABLE table_27871460_2 (network VARCHAR, state_or_territory VARCHAR) | SELECT network FROM table_27871460_2 WHERE state_or_territory = "Illinois" | Which network was located in Illinois? | <s>[INST]Which network was located in Illinois? Context: CREATE TABLE table_27871460_2 (network VARCHAR, state_or_territory VARCHAR)[/INST]SELECT network FROM table_27871460_2 WHERE state_or_territory = "Illinois"</s> |
CREATE TABLE table_name_47 (team VARCHAR, last_match VARCHAR) | SELECT team FROM table_name_47 WHERE last_match = "palmeiras 4-2 portuguesa" | What is the name of team with Palmeiras 4-2 portuguesa as the last match? | <s>[INST]What is the name of team with Palmeiras 4-2 portuguesa as the last match? Context: CREATE TABLE table_name_47 (team VARCHAR, last_match VARCHAR)[/INST]SELECT team FROM table_name_47 WHERE last_match = "palmeiras 4-2 portuguesa"</s> |
CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_11 WHERE attendance = "10,089" | What opponent had an attendance of 10,089? | <s>[INST]What opponent had an attendance of 10,089? Context: CREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_11 WHERE attendance = "10,089"</s> |
CREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "9" | What is the total having a bronze value over 1, silver under 5, and ranked 9? | <s>[INST]What is the total having a bronze value over 1, silver under 5, and ranked 9? Context: CREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)[/INST]SELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = "9"</s> |
CREATE TABLE table_name_18 (season INTEGER, level VARCHAR, position VARCHAR) | SELECT SUM(season) FROM table_name_18 WHERE level = "tier 4" AND position = "11th" | Which Season has a Level of tier 4, and a Position of 11th? | <s>[INST]Which Season has a Level of tier 4, and a Position of 11th? Context: CREATE TABLE table_name_18 (season INTEGER, level VARCHAR, position VARCHAR)[/INST]SELECT SUM(season) FROM table_name_18 WHERE level = "tier 4" AND position = "11th"</s> |
CREATE TABLE table_name_81 (town VARCHAR, population_rank VARCHAR, municipality VARCHAR, population__2001_ VARCHAR) | SELECT town FROM table_name_81 WHERE municipality = "molėtai district municipality" AND population__2001_ < 470 AND population_rank = 187 | What town is from the molėtai district municipality and has a population rank of 187 and a population less than 470 in 2001? | <s>[INST]What town is from the molėtai district municipality and has a population rank of 187 and a population less than 470 in 2001? Context: CREATE TABLE table_name_81 (town VARCHAR, population_rank VARCHAR, municipality VARCHAR, population__2001_ VARCHAR)[/INST]SELECT town FROM table_name_81 WHERE municipality = "mo... |
CREATE TABLE table_name_86 (tally VARCHAR, total VARCHAR, average VARCHAR) | SELECT tally FROM table_name_86 WHERE total < 27 AND average > 3.41 | Name the tally with total less than 27 and average more than 3.41 | <s>[INST]Name the tally with total less than 27 and average more than 3.41 Context: CREATE TABLE table_name_86 (tally VARCHAR, total VARCHAR, average VARCHAR)[/INST]SELECT tally FROM table_name_86 WHERE total < 27 AND average > 3.41</s> |
CREATE TABLE table_name_67 (date VARCHAR, round VARCHAR) | SELECT date FROM table_name_67 WHERE round = "sf" | What is the Date with a Round with sf? | <s>[INST]What is the Date with a Round with sf? Context: CREATE TABLE table_name_67 (date VARCHAR, round VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE round = "sf"</s> |
CREATE TABLE table_22597626_1 (year INTEGER) | SELECT MIN(year) FROM table_22597626_1 | When was John McEnroe's minimum year? | <s>[INST]When was John McEnroe's minimum year? Context: CREATE TABLE table_22597626_1 (year INTEGER)[/INST]SELECT MIN(year) FROM table_22597626_1</s> |
CREATE TABLE table_name_10 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_10 WHERE catalog = "nebt058" | What label has the catalog nebt058? | <s>[INST]What label has the catalog nebt058? Context: CREATE TABLE table_name_10 (label VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_10 WHERE catalog = "nebt058"</s> |
CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR) | SELECT away FROM table_name_84 WHERE home = "2–2" | Which Away has a Home of 2–2? | <s>[INST]Which Away has a Home of 2–2? Context: CREATE TABLE table_name_84 (away VARCHAR, home VARCHAR)[/INST]SELECT away FROM table_name_84 WHERE home = "2–2"</s> |
CREATE TABLE table_24143253_1 (children_together VARCHAR, length_of_marriage VARCHAR) | SELECT children_together FROM table_24143253_1 WHERE length_of_marriage = "9 years" | Name the children together for 9 years of marriage | <s>[INST]Name the children together for 9 years of marriage Context: CREATE TABLE table_24143253_1 (children_together VARCHAR, length_of_marriage VARCHAR)[/INST]SELECT children_together FROM table_24143253_1 WHERE length_of_marriage = "9 years"</s> |
CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR) | SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4" | What is the First elected that has a republican party and california 4? | <s>[INST]What is the First elected that has a republican party and california 4? Context: CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)[/INST]SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"</s> |
CREATE TABLE table_21457754_2 (races INTEGER) | SELECT MAX(races) FROM table_21457754_2 | Name the most races | <s>[INST]Name the most races Context: CREATE TABLE table_21457754_2 (races INTEGER)[/INST]SELECT MAX(races) FROM table_21457754_2</s> |
CREATE TABLE table_name_34 (average VARCHAR) | SELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035 | Which 1990-91 has an average number of 1.035? | <s>[INST]Which 1990-91 has an average number of 1.035? Context: CREATE TABLE table_name_34 (average VARCHAR)[/INST]SELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035</s> |
CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR) | SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id | List singer names and number of concerts for each singer. | <s>[INST]List singer names and number of concerts for each singer. Context: CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)[/INST]SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id</s> |
CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR) | SELECT song_name FROM table_11827596_2 WHERE film_name = "Kaal Bhairav" | what are the song names for the film kaal bhairav? | <s>[INST]what are the song names for the film kaal bhairav? Context: CREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR)[/INST]SELECT song_name FROM table_11827596_2 WHERE film_name = "Kaal Bhairav"</s> |
CREATE TABLE table_name_15 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR) | SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < 6 AND goals_scored < 26 | what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26? | <s>[INST]what is the points when the goals conceded is less than 24, place is less than 6 and goals scored is less than 26? Context: CREATE TABLE table_name_15 (points INTEGER, goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR)[/INST]SELECT SUM(points) FROM table_name_15 WHERE goals_conceded < 24 AND place < ... |
CREATE TABLE table_name_55 (year VARCHAR, game VARCHAR) | SELECT COUNT(year) FROM table_name_55 WHERE game = "call of duty 4: modern warfare" | What is the sum number of year when Call of Duty 4: Modern Warfare was the game? | <s>[INST]What is the sum number of year when Call of Duty 4: Modern Warfare was the game? Context: CREATE TABLE table_name_55 (year VARCHAR, game VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_55 WHERE game = "call of duty 4: modern warfare"</s> |
CREATE TABLE table_name_17 (constellation VARCHAR, object_type VARCHAR, ngc_number VARCHAR) | SELECT constellation FROM table_name_17 WHERE object_type = "globular cluster" AND ngc_number = 5986 | What Constellation has a Object type of globular cluster and a NGC number of 5986? | <s>[INST]What Constellation has a Object type of globular cluster and a NGC number of 5986? Context: CREATE TABLE table_name_17 (constellation VARCHAR, object_type VARCHAR, ngc_number VARCHAR)[/INST]SELECT constellation FROM table_name_17 WHERE object_type = "globular cluster" AND ngc_number = 5986</s> |
CREATE TABLE candidate_assessments (candidate_id VARCHAR, asessment_outcome_code VARCHAR) | SELECT candidate_id FROM candidate_assessments WHERE asessment_outcome_code = "Pass" | Find id of candidates whose assessment code is "Pass"? | <s>[INST]Find id of candidates whose assessment code is "Pass"? Context: CREATE TABLE candidate_assessments (candidate_id VARCHAR, asessment_outcome_code VARCHAR)[/INST]SELECT candidate_id FROM candidate_assessments WHERE asessment_outcome_code = "Pass"</s> |
CREATE TABLE table_name_67 (open_source_movie VARCHAR, planned_release VARCHAR) | SELECT open_source_movie FROM table_name_67 WHERE planned_release = "2013" | What are the open source movies with planned releases in 2013? | <s>[INST]What are the open source movies with planned releases in 2013? Context: CREATE TABLE table_name_67 (open_source_movie VARCHAR, planned_release VARCHAR)[/INST]SELECT open_source_movie FROM table_name_67 WHERE planned_release = "2013"</s> |
CREATE TABLE table_name_54 (pick VARCHAR, position VARCHAR, team VARCHAR) | SELECT pick FROM table_name_54 WHERE position = "defensive end" AND team = "new york jets" | What's the pick for the New York jets with a defensive end? | <s>[INST]What's the pick for the New York jets with a defensive end? Context: CREATE TABLE table_name_54 (pick VARCHAR, position VARCHAR, team VARCHAR)[/INST]SELECT pick FROM table_name_54 WHERE position = "defensive end" AND team = "new york jets"</s> |
CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR) | SELECT frequency FROM table_name_82 WHERE destination = "bangalore" | What is the frequency of the train to Bangalore? | <s>[INST]What is the frequency of the train to Bangalore? Context: CREATE TABLE table_name_82 (frequency VARCHAR, destination VARCHAR)[/INST]SELECT frequency FROM table_name_82 WHERE destination = "bangalore"</s> |
CREATE TABLE table_21297652_1 (winnings VARCHAR, driver VARCHAR) | SELECT winnings FROM table_21297652_1 WHERE driver = "Dale Jarrett" | How much did Dale Jarrett win? | <s>[INST]How much did Dale Jarrett win? Context: CREATE TABLE table_21297652_1 (winnings VARCHAR, driver VARCHAR)[/INST]SELECT winnings FROM table_21297652_1 WHERE driver = "Dale Jarrett"</s> |
CREATE TABLE table_name_89 (notes VARCHAR, year VARCHAR) | SELECT notes FROM table_name_89 WHERE year = 2011 | What were the notes in 2011? | <s>[INST]What were the notes in 2011? Context: CREATE TABLE table_name_89 (notes VARCHAR, year VARCHAR)[/INST]SELECT notes FROM table_name_89 WHERE year = 2011</s> |
CREATE TABLE table_name_54 (branding VARCHAR, location VARCHAR) | SELECT branding FROM table_name_54 WHERE location = "cagayan de oro" | What is the brand where the location is Cagayan De Oro? | <s>[INST]What is the brand where the location is Cagayan De Oro? Context: CREATE TABLE table_name_54 (branding VARCHAR, location VARCHAR)[/INST]SELECT branding FROM table_name_54 WHERE location = "cagayan de oro"</s> |
CREATE TABLE table_name_59 (engine VARCHAR, year VARCHAR) | SELECT engine FROM table_name_59 WHERE year = 1960 | What is the engine for a vehicle in 1960? | <s>[INST]What is the engine for a vehicle in 1960? Context: CREATE TABLE table_name_59 (engine VARCHAR, year VARCHAR)[/INST]SELECT engine FROM table_name_59 WHERE year = 1960</s> |
CREATE TABLE table_name_97 (f_laps VARCHAR, position VARCHAR) | SELECT f_laps FROM table_name_97 WHERE position = "3rd" | What is the F/Laps value associated with a position of 3rd? | <s>[INST]What is the F/Laps value associated with a position of 3rd? Context: CREATE TABLE table_name_97 (f_laps VARCHAR, position VARCHAR)[/INST]SELECT f_laps FROM table_name_97 WHERE position = "3rd"</s> |
CREATE TABLE table_name_52 (pos VARCHAR, date_of_birth VARCHAR) | SELECT pos FROM table_name_52 WHERE date_of_birth = "1976-09-20" | What is the position played by the man born on 1976-09-20? | <s>[INST]What is the position played by the man born on 1976-09-20? Context: CREATE TABLE table_name_52 (pos VARCHAR, date_of_birth VARCHAR)[/INST]SELECT pos FROM table_name_52 WHERE date_of_birth = "1976-09-20"</s> |
CREATE TABLE table_name_94 (valvetrain VARCHAR) | SELECT valvetrain FROM table_name_94 WHERE "engine_model" = "engine_model" | What is the valvetrain with an engine model that is engine model? | <s>[INST]What is the valvetrain with an engine model that is engine model? Context: CREATE TABLE table_name_94 (valvetrain VARCHAR)[/INST]SELECT valvetrain FROM table_name_94 WHERE "engine_model" = "engine_model"</s> |
CREATE TABLE table_name_60 (Group VARCHAR, name VARCHAR) | SELECT Group AS song FROM table_name_60 WHERE name = "shine 王幸儿" | What Group Song of Shine 王幸儿? | <s>[INST]What Group Song of Shine 王幸儿? Context: CREATE TABLE table_name_60 (Group VARCHAR, name VARCHAR)[/INST]SELECT Group AS song FROM table_name_60 WHERE name = "shine 王幸儿"</s> |
CREATE TABLE table_name_66 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_66 WHERE game = 6 | What was the date for game 6? | <s>[INST]What was the date for game 6? Context: CREATE TABLE table_name_66 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE game = 6</s> |
CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR) | SELECT series FROM table_name_32 WHERE high_points = "prince (23)" | What series had a high points of Prince (23)? | <s>[INST]What series had a high points of Prince (23)? Context: CREATE TABLE table_name_32 (series VARCHAR, high_points VARCHAR)[/INST]SELECT series FROM table_name_32 WHERE high_points = "prince (23)"</s> |
CREATE TABLE table_name_53 (total INTEGER, fa_cup INTEGER) | SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 4 | What is the highest total number of appearances when there were less than 4 at the FA cup? | <s>[INST]What is the highest total number of appearances when there were less than 4 at the FA cup? Context: CREATE TABLE table_name_53 (total INTEGER, fa_cup INTEGER)[/INST]SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 4</s> |
CREATE TABLE table_name_63 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR) | SELECT ncbi_accession_number__mrna_protein_ FROM table_name_63 WHERE species = "homo sapiens" | What is the NCBI Accession Number (mRNA/Protein) for the homo sapiens Species? | <s>[INST]What is the NCBI Accession Number (mRNA/Protein) for the homo sapiens Species? Context: CREATE TABLE table_name_63 (ncbi_accession_number__mrna_protein_ VARCHAR, species VARCHAR)[/INST]SELECT ncbi_accession_number__mrna_protein_ FROM table_name_63 WHERE species = "homo sapiens"</s> |
CREATE TABLE table_name_13 (Id VARCHAR) | SELECT 2000 FROM table_name_13 WHERE 2001 = "ferrari f133 5.5l v12 456 / 550" | Which car won the same award in 2000 that the ferrari f133 5.5l v12 456 / 550 won in 2001? | <s>[INST]Which car won the same award in 2000 that the ferrari f133 5.5l v12 456 / 550 won in 2001? Context: CREATE TABLE table_name_13 (Id VARCHAR)[/INST]SELECT 2000 FROM table_name_13 WHERE 2001 = "ferrari f133 5.5l v12 456 / 550"</s> |
CREATE TABLE table_name_86 (label VARCHAR, region VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_86 WHERE region = "united kingdom" AND catalog = "chem036" | What label is associated with the United Kingdom and the chem036 catalog? | <s>[INST]What label is associated with the United Kingdom and the chem036 catalog? Context: CREATE TABLE table_name_86 (label VARCHAR, region VARCHAR, catalog VARCHAR)[/INST]SELECT label FROM table_name_86 WHERE region = "united kingdom" AND catalog = "chem036"</s> |
CREATE TABLE INVOICES (Product_ID VARCHAR) | SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1 | What is the product ID of the most frequently ordered item on invoices? | <s>[INST]What is the product ID of the most frequently ordered item on invoices? Context: CREATE TABLE INVOICES (Product_ID VARCHAR)[/INST]SELECT Product_ID FROM INVOICES GROUP BY Product_ID ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_name_27 (no_1 VARCHAR, region__year_ VARCHAR) | SELECT no_1 FROM table_name_27 WHERE region__year_ = "maryland (2008)" | What is the No 1 from the Maryland (2008) Region (year)? | <s>[INST]What is the No 1 from the Maryland (2008) Region (year)? Context: CREATE TABLE table_name_27 (no_1 VARCHAR, region__year_ VARCHAR)[/INST]SELECT no_1 FROM table_name_27 WHERE region__year_ = "maryland (2008)"</s> |
CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) | SELECT district FROM table_name_2 WHERE first_elected = 1858 AND result = "retired republican gain" AND incumbent = "william millward" | Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? | <s>[INST]Which District has a First elected of 1858, and a Result of retired republican gain, and an Incumbent of william millward? Context: CREATE TABLE table_name_2 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, result VARCHAR)[/INST]SELECT district FROM table_name_2 WHERE first_elected = 1858 AND resul... |
CREATE TABLE table_11690135_1 (interview VARCHAR, country VARCHAR) | SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia" | How many interviews were there for Miss Virginia? | <s>[INST]How many interviews were there for Miss Virginia? Context: CREATE TABLE table_11690135_1 (interview VARCHAR, country VARCHAR)[/INST]SELECT COUNT(interview) FROM table_11690135_1 WHERE country = "Virginia"</s> |
CREATE TABLE loan (cust_id VARCHAR, loan_type VARCHAR); CREATE TABLE customer (cust_name VARCHAR); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR) | SELECT cust_name FROM customer EXCEPT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE T2.loan_type = 'Mortgages' | Find the name of customers who do not have a loan with a type of Mortgages. | <s>[INST]Find the name of customers who do not have a loan with a type of Mortgages. Context: CREATE TABLE loan (cust_id VARCHAR, loan_type VARCHAR); CREATE TABLE customer (cust_name VARCHAR); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)[/INST]SELECT cust_name FROM customer EXCEPT SELECT T1.cust_name FROM... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.