context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_19131921_1 (dma VARCHAR, branding VARCHAR, station VARCHAR) | SELECT dma FROM table_19131921_1 WHERE branding = "Big Oldies 107.3" AND station = "WARV-FM" | What is the dma of branding is big oldies 107.3 with the station warv-fm? | <s>[INST]What is the dma of branding is big oldies 107.3 with the station warv-fm? Context: CREATE TABLE table_19131921_1 (dma VARCHAR, branding VARCHAR, station VARCHAR)[/INST]SELECT dma FROM table_19131921_1 WHERE branding = "Big Oldies 107.3" AND station = "WARV-FM"</s> |
CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR) | SELECT death FROM table_name_86 WHERE spouse = "charles ii" | When was the date of death for the person married to Charles II? | <s>[INST]When was the date of death for the person married to Charles II? Context: CREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)[/INST]SELECT death FROM table_name_86 WHERE spouse = "charles ii"</s> |
CREATE TABLE table_name_3 (career_win_loss VARCHAR) | SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series" | What is the career win-loss for the ATP Masters Series? | <s>[INST]What is the career win-loss for the ATP Masters Series? Context: CREATE TABLE table_name_3 (career_win_loss VARCHAR)[/INST]SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series"</s> |
CREATE TABLE table_name_90 (position VARCHAR, laps VARCHAR) | SELECT position FROM table_name_90 WHERE laps = 156 | What is Position, when Laps is 156? | <s>[INST]What is Position, when Laps is 156? Context: CREATE TABLE table_name_90 (position VARCHAR, laps VARCHAR)[/INST]SELECT position FROM table_name_90 WHERE laps = 156</s> |
CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR) | SELECT AVG(debut_year) FROM table_name_76 WHERE goals = 0 AND years_at_club = "1963" AND games > 5 | Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5? | <s>[INST]Which Debut year has Goals of 0, and Years at club of 1963, and Games larger than 5? Context: CREATE TABLE table_name_76 (debut_year INTEGER, games VARCHAR, goals VARCHAR, years_at_club VARCHAR)[/INST]SELECT AVG(debut_year) FROM table_name_76 WHERE goals = 0 AND years_at_club = "1963" AND games > 5</s> |
CREATE TABLE table_name_87 (first_elected VARCHAR, constiuency VARCHAR, name VARCHAR) | SELECT first_elected FROM table_name_87 WHERE constiuency = "territorial at-large" AND name = "myron walwyn" | What is Myron Walwyn with a Territorial at-large Constiuency's First Elected Date | <s>[INST]What is Myron Walwyn with a Territorial at-large Constiuency's First Elected Date Context: CREATE TABLE table_name_87 (first_elected VARCHAR, constiuency VARCHAR, name VARCHAR)[/INST]SELECT first_elected FROM table_name_87 WHERE constiuency = "territorial at-large" AND name = "myron walwyn"</s> |
CREATE TABLE table_name_58 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_58 WHERE grid = "18" | Which driver had a grid of 18? | <s>[INST]Which driver had a grid of 18? Context: CREATE TABLE table_name_58 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_58 WHERE grid = "18"</s> |
CREATE TABLE customer (state VARCHAR, acc_bal INTEGER, credit_score INTEGER) | SELECT SUM(acc_bal), state FROM customer WHERE credit_score > 100 GROUP BY state | For each state, find the total account balance of customers whose credit score is above 100. | <s>[INST]For each state, find the total account balance of customers whose credit score is above 100. Context: CREATE TABLE customer (state VARCHAR, acc_bal INTEGER, credit_score INTEGER)[/INST]SELECT SUM(acc_bal), state FROM customer WHERE credit_score > 100 GROUP BY state</s> |
CREATE TABLE table_name_58 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_58 WHERE date = "november 23" | what is the location on november 23? | <s>[INST]what is the location on november 23? Context: CREATE TABLE table_name_58 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_name_58 WHERE date = "november 23"</s> |
CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR) | SELECT home_team AS score FROM table_name_7 WHERE venue = "victoria park" | What is the home team score when they played at Victoria Park? | <s>[INST]What is the home team score when they played at Victoria Park? Context: CREATE TABLE table_name_7 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_7 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_7 (opponent VARCHAR, location_attendance VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_7 WHERE location_attendance = "delta center" AND record = "27-13" | Who was the opponent when they played at Delta Center with a record of 27-13? | <s>[INST]Who was the opponent when they played at Delta Center with a record of 27-13? Context: CREATE TABLE table_name_7 (opponent VARCHAR, location_attendance VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_7 WHERE location_attendance = "delta center" AND record = "27-13"</s> |
CREATE TABLE table_10797463_1 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR) | SELECT percent_of_slovenes_1991 FROM table_10797463_1 WHERE village__slovenian_ = "Čahorče" | what percent of slovenes did the village called čahorče in slovenian have in 1991? | <s>[INST]what percent of slovenes did the village called čahorče in slovenian have in 1991? Context: CREATE TABLE table_10797463_1 (percent_of_slovenes_1991 VARCHAR, village__slovenian_ VARCHAR)[/INST]SELECT percent_of_slovenes_1991 FROM table_10797463_1 WHERE village__slovenian_ = "Čahorče"</s> |
CREATE TABLE MATCH (Location VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR) | SELECT T2.Location, T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft | Please list the location and the winning aircraft name. | <s>[INST]Please list the location and the winning aircraft name. Context: CREATE TABLE MATCH (Location VARCHAR, Winning_Aircraft VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR)[/INST]SELECT T2.Location, T1.Aircraft FROM aircraft AS T1 JOIN MATCH AS T2 ON T1.Aircraft_ID = T2.Winning_Aircraft</s> |
CREATE TABLE table_name_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_51 WHERE outcome = "winner" AND opponent = "yevgeny kafelnikov" | what is the score when the outcome is winner against yevgeny kafelnikov? | <s>[INST]what is the score when the outcome is winner against yevgeny kafelnikov? Context: CREATE TABLE table_name_51 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_51 WHERE outcome = "winner" AND opponent = "yevgeny kafelnikov"</s> |
CREATE TABLE table_21821014_1 (inactive VARCHAR, institution VARCHAR) | SELECT inactive FROM table_21821014_1 WHERE institution = "University of Texas, El Paso" | What does the inactive state for University of Texas, El Paso? | <s>[INST]What does the inactive state for University of Texas, El Paso? Context: CREATE TABLE table_21821014_1 (inactive VARCHAR, institution VARCHAR)[/INST]SELECT inactive FROM table_21821014_1 WHERE institution = "University of Texas, El Paso"</s> |
CREATE TABLE table_name_59 (average INTEGER, games VARCHAR, w_l_t VARCHAR, season VARCHAR) | SELECT AVG(average) FROM table_name_59 WHERE w_l_t = "5-1" AND season < 2001 AND games < 6 | Which Average that has a W-L-T of 5-1, and a Season smaller than 2001, and Games smaller than 6? | <s>[INST]Which Average that has a W-L-T of 5-1, and a Season smaller than 2001, and Games smaller than 6? Context: CREATE TABLE table_name_59 (average INTEGER, games VARCHAR, w_l_t VARCHAR, season VARCHAR)[/INST]SELECT AVG(average) FROM table_name_59 WHERE w_l_t = "5-1" AND season < 2001 AND games < 6</s> |
CREATE TABLE people (Height VARCHAR, People_ID VARCHAR); CREATE TABLE body_builder (People_ID VARCHAR, Total INTEGER) | SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total < 315 | What are the heights of body builders with total score smaller than 315? | <s>[INST]What are the heights of body builders with total score smaller than 315? Context: CREATE TABLE people (Height VARCHAR, People_ID VARCHAR); CREATE TABLE body_builder (People_ID VARCHAR, Total INTEGER)[/INST]SELECT T2.Height FROM body_builder AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Total ... |
CREATE TABLE table_name_83 (title VARCHAR, track VARCHAR) | SELECT title FROM table_name_83 WHERE track = 7 | What is the title of track 7? | <s>[INST]What is the title of track 7? Context: CREATE TABLE table_name_83 (title VARCHAR, track VARCHAR)[/INST]SELECT title FROM table_name_83 WHERE track = 7</s> |
CREATE TABLE table_name_88 (gold INTEGER, rank VARCHAR, total VARCHAR) | SELECT MIN(gold) FROM table_name_88 WHERE rank > 4 AND total < 1 | What's the lowest Gold if the Rank is over 4 but the Total is less than 1? | <s>[INST]What's the lowest Gold if the Rank is over 4 but the Total is less than 1? Context: CREATE TABLE table_name_88 (gold INTEGER, rank VARCHAR, total VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_88 WHERE rank > 4 AND total < 1</s> |
CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_33 WHERE finish = "25" | What rank has a 25 finish? | <s>[INST]What rank has a 25 finish? Context: CREATE TABLE table_name_33 (rank VARCHAR, finish VARCHAR)[/INST]SELECT rank FROM table_name_33 WHERE finish = "25"</s> |
CREATE TABLE table_10707142_2 (report VARCHAR, date VARCHAR) | SELECT COUNT(report) FROM table_10707142_2 WHERE date = "October 16" | how many reports of races took place on october 16? | <s>[INST]how many reports of races took place on october 16? Context: CREATE TABLE table_10707142_2 (report VARCHAR, date VARCHAR)[/INST]SELECT COUNT(report) FROM table_10707142_2 WHERE date = "October 16"</s> |
CREATE TABLE table_name_8 (Id VARCHAR) | SELECT 2006 FROM table_name_8 WHERE 2007 = "3r" | What is the 2006 value with 3r in 2007? | <s>[INST]What is the 2006 value with 3r in 2007? Context: CREATE TABLE table_name_8 (Id VARCHAR)[/INST]SELECT 2006 FROM table_name_8 WHERE 2007 = "3r"</s> |
CREATE TABLE table_name_36 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_name_36 WHERE results = "re-elected" AND incumbent = "jerry costello" | What is re-elected Incumbent Jerry Costello's First elected date? | <s>[INST]What is re-elected Incumbent Jerry Costello's First elected date? Context: CREATE TABLE table_name_36 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_name_36 WHERE results = "re-elected" AND incumbent = "jerry costello"</s> |
CREATE TABLE table_name_31 (team__b_ VARCHAR, match_date VARCHAR, s_no VARCHAR, margin VARCHAR) | SELECT team__b_ FROM table_name_31 WHERE s_no < 18 AND margin = "8 wickets" AND match_date = "oct 30, 1989" | What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989? | <s>[INST]What is Team (B), when S No is less than 18, when Margin is 8 Wickets, and when Match Date is Oct 30, 1989? Context: CREATE TABLE table_name_31 (team__b_ VARCHAR, match_date VARCHAR, s_no VARCHAR, margin VARCHAR)[/INST]SELECT team__b_ FROM table_name_31 WHERE s_no < 18 AND margin = "8 wickets" AND match_date =... |
CREATE TABLE table_name_48 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) | SELECT opponent_in_the_final FROM table_name_48 WHERE outcome = "runner-up" AND date > 1983 | Who is the Opponent in the final after 1983 with an Outcome of runner-up? | <s>[INST]Who is the Opponent in the final after 1983 with an Outcome of runner-up? Context: CREATE TABLE table_name_48 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_48 WHERE outcome = "runner-up" AND date > 1983</s> |
CREATE TABLE table_name_72 (constituency VARCHAR, winning_party_2003 VARCHAR) | SELECT constituency FROM table_name_72 WHERE winning_party_2003 = "conservative" | Which constituency had the conservative party win in 2003? | <s>[INST]Which constituency had the conservative party win in 2003? Context: CREATE TABLE table_name_72 (constituency VARCHAR, winning_party_2003 VARCHAR)[/INST]SELECT constituency FROM table_name_72 WHERE winning_party_2003 = "conservative"</s> |
CREATE TABLE table_name_2 (record VARCHAR, h_a_n VARCHAR, date VARCHAR) | SELECT record FROM table_name_2 WHERE h_a_n = "a" AND date = "february 1" | What is Record, when H/A/N is "A", and when Date is "February 1"? | <s>[INST]What is Record, when H/A/N is "A", and when Date is "February 1"? Context: CREATE TABLE table_name_2 (record VARCHAR, h_a_n VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_2 WHERE h_a_n = "a" AND date = "february 1"</s> |
CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR) | SELECT current_status FROM table_1353096_2 WHERE station = "KDAF **" | What is the current status of the KDAF ** Station? | <s>[INST]What is the current status of the KDAF ** Station? Context: CREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)[/INST]SELECT current_status FROM table_1353096_2 WHERE station = "KDAF **"</s> |
CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, player VARCHAR) | SELECT position FROM table_name_70 WHERE round = 5 AND player = "a. j. feeley" | What position did a. j. feeley play who was picked in round 5? | <s>[INST]What position did a. j. feeley play who was picked in round 5? Context: CREATE TABLE table_name_70 (position VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_70 WHERE round = 5 AND player = "a. j. feeley"</s> |
CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR) | SELECT event FROM table_name_45 WHERE prize = "€850,000" | What was the Event for the prize of €850,000? | <s>[INST]What was the Event for the prize of €850,000? Context: CREATE TABLE table_name_45 (event VARCHAR, prize VARCHAR)[/INST]SELECT event FROM table_name_45 WHERE prize = "€850,000"</s> |
CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR) | SELECT COUNT(total_appearances) FROM table_29701419_2 WHERE league_appearances = 192 | How many total appearances are there when the league appearances is 192? | <s>[INST]How many total appearances are there when the league appearances is 192? Context: CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR)[/INST]SELECT COUNT(total_appearances) FROM table_29701419_2 WHERE league_appearances = 192</s> |
CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = "Orlando Pirates" AND result = "1–3" | How many dates are shown for the home team of orlando pirates and result of 1–3? | <s>[INST]How many dates are shown for the home team of orlando pirates and result of 1–3? Context: CREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)[/INST]SELECT COUNT(date) FROM table_27274566_2 WHERE home_team = "Orlando Pirates" AND result = "1–3"</s> |
CREATE TABLE table_name_42 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR) | SELECT MIN(rank) FROM table_name_42 WHERE location = "rio de janeiro, brazil" AND current_seating_capacity < 78 OFFSET 838 | What is Lowest Rank, when Location is Rio De Janeiro, Brazil, and when Current Seating Capacity is less than 78,838? | <s>[INST]What is Lowest Rank, when Location is Rio De Janeiro, Brazil, and when Current Seating Capacity is less than 78,838? Context: CREATE TABLE table_name_42 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_42 WHERE location = "rio de janeiro, brazil" AND cur... |
CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR) | SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683 | What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 | <s>[INST]What was the highest number of votes for mir-hossein mousavi when the number of invalid votes is 5683 Context: CREATE TABLE table_23390604_1 (mir_hossein_mousavi INTEGER, spoiled_ballots VARCHAR)[/INST]SELECT MAX(mir_hossein_mousavi) FROM table_23390604_1 WHERE spoiled_ballots = 5683</s> |
CREATE TABLE table_name_92 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_name_92 WHERE replaced_by = "jesús ramírez" | What is Team, when Replaced By is "Jesús Ramírez"? | <s>[INST]What is Team, when Replaced By is "Jesús Ramírez"? Context: CREATE TABLE table_name_92 (team VARCHAR, replaced_by VARCHAR)[/INST]SELECT team FROM table_name_92 WHERE replaced_by = "jesús ramírez"</s> |
CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR) | SELECT controller FROM table_name_67 WHERE nand_type = "25nm mlc-het" AND seq_read_write_mb_s = "270/210" | Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210? | <s>[INST]Which controller is NAND type 25nm mlc-het with sequential read/write MB/s of 270/210? Context: CREATE TABLE table_name_67 (controller VARCHAR, nand_type VARCHAR, seq_read_write_mb_s VARCHAR)[/INST]SELECT controller FROM table_name_67 WHERE nand_type = "25nm mlc-het" AND seq_read_write_mb_s = "270/210"</s> |
CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR) | SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star" | What is the summary for the episode with a coach named Rebecca Star? | <s>[INST]What is the summary for the episode with a coach named Rebecca Star? Context: CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)[/INST]SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"</s> |
CREATE TABLE table_22654073_13 (high_assists VARCHAR, series VARCHAR) | SELECT high_assists FROM table_22654073_13 WHERE series = "2-3" | List all high assists in series 2-3. | <s>[INST]List all high assists in series 2-3. Context: CREATE TABLE table_22654073_13 (high_assists VARCHAR, series VARCHAR)[/INST]SELECT high_assists FROM table_22654073_13 WHERE series = "2-3"</s> |
CREATE TABLE table_name_17 (points INTEGER, entrant VARCHAR) | SELECT AVG(points) FROM table_name_17 WHERE entrant = "equipe ligier gauloises blondes" | What is the average Points when equipe ligier gauloises blondes is the entrant? | <s>[INST]What is the average Points when equipe ligier gauloises blondes is the entrant? Context: CREATE TABLE table_name_17 (points INTEGER, entrant VARCHAR)[/INST]SELECT AVG(points) FROM table_name_17 WHERE entrant = "equipe ligier gauloises blondes"</s> |
CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR) | SELECT AVG(attendance) FROM table_name_45 WHERE date = "october 26, 1947" | What is the avarage Attendance for the Date of october 26, 1947? | <s>[INST]What is the avarage Attendance for the Date of october 26, 1947? Context: CREATE TABLE table_name_45 (attendance INTEGER, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_45 WHERE date = "october 26, 1947"</s> |
CREATE TABLE table_name_67 (proximity VARCHAR, plural VARCHAR) | SELECT proximity FROM table_name_67 WHERE plural = "amader (our)" | What is Proximity, when Plural is amader (our)? | <s>[INST]What is Proximity, when Plural is amader (our)? Context: CREATE TABLE table_name_67 (proximity VARCHAR, plural VARCHAR)[/INST]SELECT proximity FROM table_name_67 WHERE plural = "amader (our)"</s> |
CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_4 WHERE record = "29–47" | Which Date has a Record of 29–47? | <s>[INST]Which Date has a Record of 29–47? Context: CREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE record = "29–47"</s> |
CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) | SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-7" | Which game had a kickoff at 1:00 and a record of 3-7? | <s>[INST]Which game had a kickoff at 1:00 and a record of 3-7? Context: CREATE TABLE table_name_53 (opponent VARCHAR, record VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)[/INST]SELECT opponent FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND record = "3-7"</s> |
CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR, roll VARCHAR) | SELECT name FROM table_name_13 WHERE authority = "state" AND roll = "72" | What is the Name of a state Authority that has a Roll of 72? | <s>[INST]What is the Name of a state Authority that has a Roll of 72? Context: CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_13 WHERE authority = "state" AND roll = "72"</s> |
CREATE TABLE table_name_69 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_69 WHERE driver = "tony brooks" | What company built the car driven by Tony Brooks? | <s>[INST]What company built the car driven by Tony Brooks? Context: CREATE TABLE table_name_69 (constructor VARCHAR, driver VARCHAR)[/INST]SELECT constructor FROM table_name_69 WHERE driver = "tony brooks"</s> |
CREATE TABLE table_name_82 (value VARCHAR, type VARCHAR) | SELECT value FROM table_name_82 WHERE type = "negative infinity" | What value has negative infinity? | <s>[INST]What value has negative infinity? Context: CREATE TABLE table_name_82 (value VARCHAR, type VARCHAR)[/INST]SELECT value FROM table_name_82 WHERE type = "negative infinity"</s> |
CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR) | SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone" | What were the LOA (metres) for the yacht where the skipper was Jez Fanstone? | <s>[INST]What were the LOA (metres) for the yacht where the skipper was Jez Fanstone? Context: CREATE TABLE table_25595107_1 (loa__metres_ VARCHAR, skipper VARCHAR)[/INST]SELECT loa__metres_ FROM table_25595107_1 WHERE skipper = "Jez Fanstone"</s> |
CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR) | SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods" | If the title is The Way Through The Woods, what is the release date? | <s>[INST]If the title is The Way Through The Woods, what is the release date? Context: CREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_20174050_7 WHERE title = "The Way Through the Woods"</s> |
CREATE TABLE table_26611679_3 (average VARCHAR, games_played VARCHAR) | SELECT average FROM table_26611679_3 WHERE games_played = 23 | Name the average for 23 games played | <s>[INST]Name the average for 23 games played Context: CREATE TABLE table_26611679_3 (average VARCHAR, games_played VARCHAR)[/INST]SELECT average FROM table_26611679_3 WHERE games_played = 23</s> |
CREATE TABLE table_28190534_1 (chassis VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_28190534_1 WHERE entrant = "SFACS Ecurie France" | Name the chassis for sfacs ecurie france | <s>[INST]Name the chassis for sfacs ecurie france Context: CREATE TABLE table_28190534_1 (chassis VARCHAR, entrant VARCHAR)[/INST]SELECT chassis FROM table_28190534_1 WHERE entrant = "SFACS Ecurie France"</s> |
CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR) | SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special" | How many votes did Jeannemarie Devolites Davis get in 1995-Special? | <s>[INST]How many votes did Jeannemarie Devolites Davis get in 1995-Special? Context: CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR)[/INST]SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special"</s> |
CREATE TABLE table_name_20 (lane INTEGER, name VARCHAR) | SELECT SUM(lane) FROM table_name_20 WHERE name = "george bovell" | Which lane did George Bovell swim in? | <s>[INST]Which lane did George Bovell swim in? Context: CREATE TABLE table_name_20 (lane INTEGER, name VARCHAR)[/INST]SELECT SUM(lane) FROM table_name_20 WHERE name = "george bovell"</s> |
CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR) | SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew > 2006 | In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS? | <s>[INST]In the Crews beyond 2006 what was the Year 8 1st Quads that exists in the same row that had the year 9 2nd Quads of BGGS? Context: CREATE TABLE table_name_67 (year_8_1st_quad VARCHAR, year_9_2nd_quad VARCHAR, crew VARCHAR)[/INST]SELECT year_8_1st_quad FROM table_name_67 WHERE year_9_2nd_quad = "bggs" AND crew ... |
CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_98 WHERE venue = "mcg" | What date was the match at mcg played? | <s>[INST]What date was the match at mcg played? Context: CREATE TABLE table_name_98 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_98 WHERE venue = "mcg"</s> |
CREATE TABLE table_12146637_1 (series__number INTEGER, us_viewers__millions_ VARCHAR) | SELECT MAX(series__number) FROM table_12146637_1 WHERE us_viewers__millions_ = "10.89" | What is the series number of the episode watched by 10.89 million viewers? | <s>[INST]What is the series number of the episode watched by 10.89 million viewers? Context: CREATE TABLE table_12146637_1 (series__number INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MAX(series__number) FROM table_12146637_1 WHERE us_viewers__millions_ = "10.89"</s> |
CREATE TABLE table_15530244_2 (race VARCHAR, circuit VARCHAR, pole_position VARCHAR) | SELECT race FROM table_15530244_2 WHERE circuit = "Indy F3 Challenge" AND pole_position = "John Martin" | Which race number in the Indy F3 Challenge circuit had John Martin in pole position? | <s>[INST]Which race number in the Indy F3 Challenge circuit had John Martin in pole position? Context: CREATE TABLE table_15530244_2 (race VARCHAR, circuit VARCHAR, pole_position VARCHAR)[/INST]SELECT race FROM table_15530244_2 WHERE circuit = "Indy F3 Challenge" AND pole_position = "John Martin"</s> |
CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR) | SELECT score FROM table_name_8 WHERE to_par = "e" | What is Score, when To Par is "E"? | <s>[INST]What is Score, when To Par is "E"? Context: CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR)[/INST]SELECT score FROM table_name_8 WHERE to_par = "e"</s> |
CREATE TABLE table_26914854_3 (team VARCHAR, incoming_manager VARCHAR) | SELECT team FROM table_26914854_3 WHERE incoming_manager = "Martin Allen" | What is the team when the incoming manager is martin allen? | <s>[INST]What is the team when the incoming manager is martin allen? Context: CREATE TABLE table_26914854_3 (team VARCHAR, incoming_manager VARCHAR)[/INST]SELECT team FROM table_26914854_3 WHERE incoming_manager = "Martin Allen"</s> |
CREATE TABLE table_name_97 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT SUM(laps) FROM table_name_97 WHERE grid < 5 AND time_retired = "retirement" | How many Laps have a Grid smaller than 5, and a Time/Retired of retirement? | <s>[INST]How many Laps have a Grid smaller than 5, and a Time/Retired of retirement? Context: CREATE TABLE table_name_97 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_97 WHERE grid < 5 AND time_retired = "retirement"</s> |
CREATE TABLE table_name_88 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_88 WHERE score = "4-0" | Which competition has 4-0 as the score? | <s>[INST]Which competition has 4-0 as the score? Context: CREATE TABLE table_name_88 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_88 WHERE score = "4-0"</s> |
CREATE TABLE table_name_14 (current_version VARCHAR, rtm_build VARCHAR, name VARCHAR) | SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 8" | What is the current version of windows 8 with an RTM build of 9200? | <s>[INST]What is the current version of windows 8 with an RTM build of 9200? Context: CREATE TABLE table_name_14 (current_version VARCHAR, rtm_build VARCHAR, name VARCHAR)[/INST]SELECT current_version FROM table_name_14 WHERE rtm_build = "9200" AND name = "windows 8"</s> |
CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR) | SELECT COUNT(title) FROM table_2818164_2 WHERE original_air_date = "September 27, 1984" | How many different titles does the episode originally aired on September 27, 1984 have? | <s>[INST]How many different titles does the episode originally aired on September 27, 1984 have? Context: CREATE TABLE table_2818164_2 (title VARCHAR, original_air_date VARCHAR)[/INST]SELECT COUNT(title) FROM table_2818164_2 WHERE original_air_date = "September 27, 1984"</s> |
CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR) | SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2 | What is the number of silver when bronze is 0, and rank is less than 2? | <s>[INST]What is the number of silver when bronze is 0, and rank is less than 2? Context: CREATE TABLE table_name_5 (silver INTEGER, bronze VARCHAR, rank VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_5 WHERE bronze = 0 AND rank < 2</s> |
CREATE TABLE table_name_47 (manufacturer VARCHAR, grid VARCHAR, time VARCHAR) | SELECT manufacturer FROM table_name_47 WHERE grid < 9 AND time = "+22.517" | Which Manufacturer has a Grid smaller than 9, and a Time of +22.517? | <s>[INST]Which Manufacturer has a Grid smaller than 9, and a Time of +22.517? Context: CREATE TABLE table_name_47 (manufacturer VARCHAR, grid VARCHAR, time VARCHAR)[/INST]SELECT manufacturer FROM table_name_47 WHERE grid < 9 AND time = "+22.517"</s> |
CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR) | SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.9%" | What is the earlest election with a 0.9% share of votes? | <s>[INST]What is the earlest election with a 0.9% share of votes? Context: CREATE TABLE table_name_13 (election INTEGER, share_of_votes VARCHAR)[/INST]SELECT MIN(election) FROM table_name_13 WHERE share_of_votes = "0.9%"</s> |
CREATE TABLE table_name_60 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_60 WHERE team_1 = "valletta" | What is the team 2 for team 1 of Valletta? | <s>[INST]What is the team 2 for team 1 of Valletta? Context: CREATE TABLE table_name_60 (team_2 VARCHAR, team_1 VARCHAR)[/INST]SELECT team_2 FROM table_name_60 WHERE team_1 = "valletta"</s> |
CREATE TABLE table_name_53 (h___a VARCHAR, round VARCHAR) | SELECT h___a FROM table_name_53 WHERE round = "semi-final" | Was the semi-final round held at home or away? | <s>[INST]Was the semi-final round held at home or away? Context: CREATE TABLE table_name_53 (h___a VARCHAR, round VARCHAR)[/INST]SELECT h___a FROM table_name_53 WHERE round = "semi-final"</s> |
CREATE TABLE table_name_80 (finals VARCHAR, total VARCHAR, conference_finals VARCHAR, semifinals VARCHAR) | SELECT finals FROM table_name_80 WHERE conference_finals < 12 AND semifinals = 0 AND total = 3 | Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinals of 0, and the Total of 3? | <s>[INST]Can you tell me the Finals that has the Conference Finals smaller than 12, and the Semifinals of 0, and the Total of 3? Context: CREATE TABLE table_name_80 (finals VARCHAR, total VARCHAR, conference_finals VARCHAR, semifinals VARCHAR)[/INST]SELECT finals FROM table_name_80 WHERE conference_finals < 12 AND semi... |
CREATE TABLE table_name_95 (album VARCHAR, length VARCHAR) | SELECT album FROM table_name_95 WHERE length = "4:30" | what album is 4:30 long | <s>[INST]what album is 4:30 long Context: CREATE TABLE table_name_95 (album VARCHAR, length VARCHAR)[/INST]SELECT album FROM table_name_95 WHERE length = "4:30"</s> |
CREATE TABLE table_name_69 (last_5_meetings VARCHAR, current_streak VARCHAR, last_meeting VARCHAR) | SELECT last_5_meetings FROM table_name_69 WHERE current_streak = "w 5" AND last_meeting = "3/18/2010" | What is the last 5 meetings that has w 5 as the current streak, and 3/18/2010 as the last meeting? | <s>[INST]What is the last 5 meetings that has w 5 as the current streak, and 3/18/2010 as the last meeting? Context: CREATE TABLE table_name_69 (last_5_meetings VARCHAR, current_streak VARCHAR, last_meeting VARCHAR)[/INST]SELECT last_5_meetings FROM table_name_69 WHERE current_streak = "w 5" AND last_meeting = "3/18/20... |
CREATE TABLE table_name_39 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_39 WHERE date = "march 31" | What is the High assists with a Date that is march 31? | <s>[INST]What is the High assists with a Date that is march 31? Context: CREATE TABLE table_name_39 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_39 WHERE date = "march 31"</s> |
CREATE TABLE table_name_51 (writer_s_ VARCHAR, episode VARCHAR) | SELECT writer_s_ FROM table_name_51 WHERE episode = "2-15 (56)" | Who wrote Episode 2-15 (56)? | <s>[INST]Who wrote Episode 2-15 (56)? Context: CREATE TABLE table_name_51 (writer_s_ VARCHAR, episode VARCHAR)[/INST]SELECT writer_s_ FROM table_name_51 WHERE episode = "2-15 (56)"</s> |
CREATE TABLE table_name_9 (attendance INTEGER, home_team VARCHAR) | SELECT MAX(attendance) FROM table_name_9 WHERE home_team = "stevenage borough" | What is the highest attendance for games with stevenage borough at home? | <s>[INST]What is the highest attendance for games with stevenage borough at home? Context: CREATE TABLE table_name_9 (attendance INTEGER, home_team VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_9 WHERE home_team = "stevenage borough"</s> |
CREATE TABLE county (County_name VARCHAR, Population VARCHAR) | SELECT County_name, Population FROM county | Show the county name and population of all counties. | <s>[INST]Show the county name and population of all counties. Context: CREATE TABLE county (County_name VARCHAR, Population VARCHAR)[/INST]SELECT County_name, Population FROM county</s> |
CREATE TABLE table_20614109_1 (earnings_before_interest_and_taxes__€m_ VARCHAR, earnings_per_share__€_ VARCHAR) | SELECT earnings_before_interest_and_taxes__€m_ FROM table_20614109_1 WHERE earnings_per_share__€_ = "1.78" | Name the ebit for eps being 1.78 | <s>[INST]Name the ebit for eps being 1.78 Context: CREATE TABLE table_20614109_1 (earnings_before_interest_and_taxes__€m_ VARCHAR, earnings_per_share__€_ VARCHAR)[/INST]SELECT earnings_before_interest_and_taxes__€m_ FROM table_20614109_1 WHERE earnings_per_share__€_ = "1.78"</s> |
CREATE TABLE table_name_57 (points_gained INTEGER, fans_took VARCHAR, miles_ VARCHAR, one_way VARCHAR) | SELECT MAX(points_gained) FROM table_name_57 WHERE fans_took = "907" AND miles_[one_way] > 44.9 | What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way? | <s>[INST]What is the highest points gained of the match where fans took 907 and there were more than 44.9 miles one way? Context: CREATE TABLE table_name_57 (points_gained INTEGER, fans_took VARCHAR, miles_ VARCHAR, one_way VARCHAR)[/INST]SELECT MAX(points_gained) FROM table_name_57 WHERE fans_took = "907" AND miles_[o... |
CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR) | SELECT city FROM table_name_43 WHERE icao = "epwa" | Where has an ICAO of EPWA? | <s>[INST]Where has an ICAO of EPWA? Context: CREATE TABLE table_name_43 (city VARCHAR, icao VARCHAR)[/INST]SELECT city FROM table_name_43 WHERE icao = "epwa"</s> |
CREATE TABLE table_name_20 (country VARCHAR) | SELECT 2013 AS _press_freedom_index FROM table_name_20 WHERE country = "egypt" | What is the 2013 press freedom index of the country Egypt? | <s>[INST]What is the 2013 press freedom index of the country Egypt? Context: CREATE TABLE table_name_20 (country VARCHAR)[/INST]SELECT 2013 AS _press_freedom_index FROM table_name_20 WHERE country = "egypt"</s> |
CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_39 WHERE week < 16 AND date = "bye" | What is the Attendance for a Week earlier than 16, and a Date of bye? | <s>[INST]What is the Attendance for a Week earlier than 16, and a Date of bye? Context: CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_39 WHERE week < 16 AND date = "bye"</s> |
CREATE TABLE table_11647327_2 (married_filing_separately VARCHAR, head_of_household VARCHAR) | SELECT married_filing_separately FROM table_11647327_2 WHERE head_of_household = "$117,451–$190,200" | What is ithe range for married filing separately where head of household is $117,451–$190,200? | <s>[INST]What is ithe range for married filing separately where head of household is $117,451–$190,200? Context: CREATE TABLE table_11647327_2 (married_filing_separately VARCHAR, head_of_household VARCHAR)[/INST]SELECT married_filing_separately FROM table_11647327_2 WHERE head_of_household = "$117,451–$190,200"</s> |
CREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER) | SELECT MIN(silver) FROM table_name_51 WHERE bronze < 1 | What is the smallest number of silver medals for a nation with fewer than 1 bronze? | <s>[INST]What is the smallest number of silver medals for a nation with fewer than 1 bronze? Context: CREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER)[/INST]SELECT MIN(silver) FROM table_name_51 WHERE bronze < 1</s> |
CREATE TABLE performance (Date VARCHAR, LOCATION VARCHAR) | SELECT Date, LOCATION FROM performance | What are the dates and locations of performances? | <s>[INST]What are the dates and locations of performances? Context: CREATE TABLE performance (Date VARCHAR, LOCATION VARCHAR)[/INST]SELECT Date, LOCATION FROM performance</s> |
CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_3 WHERE home_team = "walsall" | Which Away team has a Home team of walsall? | <s>[INST]Which Away team has a Home team of walsall? Context: CREATE TABLE table_name_3 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_3 WHERE home_team = "walsall"</s> |
CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR) | SELECT MAX(points) FROM table_name_71 WHERE class = "500cc" AND year > 1962 AND wins < 0 | What is the highest points value for the 500cc class in years after 1962 with 0 wins? | <s>[INST]What is the highest points value for the 500cc class in years after 1962 with 0 wins? Context: CREATE TABLE table_name_71 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR)[/INST]SELECT MAX(points) FROM table_name_71 WHERE class = "500cc" AND year > 1962 AND wins < 0</s> |
CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR) | SELECT title FROM table_name_40 WHERE release_date = "1936-08-29" | What was released on 1936-08-29? | <s>[INST]What was released on 1936-08-29? Context: CREATE TABLE table_name_40 (title VARCHAR, release_date VARCHAR)[/INST]SELECT title FROM table_name_40 WHERE release_date = "1936-08-29"</s> |
CREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR) | SELECT winner FROM table_name_47 WHERE course = "forlì to carpi" | Who won at course Forlì to Carpi? | <s>[INST]Who won at course Forlì to Carpi? Context: CREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR)[/INST]SELECT winner FROM table_name_47 WHERE course = "forlì to carpi"</s> |
CREATE TABLE table_name_27 (result VARCHAR, score VARCHAR) | SELECT result FROM table_name_27 WHERE score = "22-21" | What resulted in a score of 22-21? | <s>[INST]What resulted in a score of 22-21? Context: CREATE TABLE table_name_27 (result VARCHAR, score VARCHAR)[/INST]SELECT result FROM table_name_27 WHERE score = "22-21"</s> |
CREATE TABLE table_name_43 (rider VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT rider FROM table_name_43 WHERE laps = 18 AND grid = 25 | Who was teh rider with 18 laps and a grid of 25? | <s>[INST]Who was teh rider with 18 laps and a grid of 25? Context: CREATE TABLE table_name_43 (rider VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT rider FROM table_name_43 WHERE laps = 18 AND grid = 25</s> |
CREATE TABLE table_name_90 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_90 WHERE title = "rebel rabbit" | Who was the director of the episode Rebel Rabbit? | <s>[INST]Who was the director of the episode Rebel Rabbit? Context: CREATE TABLE table_name_90 (director VARCHAR, title VARCHAR)[/INST]SELECT director FROM table_name_90 WHERE title = "rebel rabbit"</s> |
CREATE TABLE table_name_10 (player VARCHAR, country VARCHAR, place VARCHAR) | SELECT player FROM table_name_10 WHERE country = "united states" AND place = "t2" | Who is the player from the United States and a place of t2? | <s>[INST]Who is the player from the United States and a place of t2? Context: CREATE TABLE table_name_10 (player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_10 WHERE country = "united states" AND place = "t2"</s> |
CREATE TABLE table_name_59 (purpose VARCHAR, freq_currently VARCHAR) | SELECT purpose FROM table_name_59 WHERE freq_currently = "4gld" | What is the Purpose of the Callsign with a Freq currently of 4gld? | <s>[INST]What is the Purpose of the Callsign with a Freq currently of 4gld? Context: CREATE TABLE table_name_59 (purpose VARCHAR, freq_currently VARCHAR)[/INST]SELECT purpose FROM table_name_59 WHERE freq_currently = "4gld"</s> |
CREATE TABLE table_name_97 (gold VARCHAR, bronze VARCHAR) | SELECT gold FROM table_name_97 WHERE bronze = "kim hyang-mi" | Who won the gold when Kim Hyang-Mi won the bronze? | <s>[INST]Who won the gold when Kim Hyang-Mi won the bronze? Context: CREATE TABLE table_name_97 (gold VARCHAR, bronze VARCHAR)[/INST]SELECT gold FROM table_name_97 WHERE bronze = "kim hyang-mi"</s> |
CREATE TABLE table_name_82 (attendance__away_ INTEGER, result VARCHAR, date VARCHAR) | SELECT AVG(attendance__away_) FROM table_name_82 WHERE result = "won 2-0" AND date = "2 november 2007" | Name the average attendance with result of won 2-0 on 2 november 2007 | <s>[INST]Name the average attendance with result of won 2-0 on 2 november 2007 Context: CREATE TABLE table_name_82 (attendance__away_ INTEGER, result VARCHAR, date VARCHAR)[/INST]SELECT AVG(attendance__away_) FROM table_name_82 WHERE result = "won 2-0" AND date = "2 november 2007"</s> |
CREATE TABLE table_name_61 (record VARCHAR, week VARCHAR, date VARCHAR) | SELECT record FROM table_name_61 WHERE week < 13 AND date = "october 8, 2000" | What's the record for October 8, 2000 before week 13? | <s>[INST]What's the record for October 8, 2000 before week 13? Context: CREATE TABLE table_name_61 (record VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_61 WHERE week < 13 AND date = "october 8, 2000"</s> |
CREATE TABLE table_name_98 (result VARCHAR, year VARCHAR, award VARCHAR) | SELECT result FROM table_name_98 WHERE year = 2010 AND award = "bgm cyworld" | Name the result in 2010 for bgm cyworld | <s>[INST]Name the result in 2010 for bgm cyworld Context: CREATE TABLE table_name_98 (result VARCHAR, year VARCHAR, award VARCHAR)[/INST]SELECT result FROM table_name_98 WHERE year = 2010 AND award = "bgm cyworld"</s> |
CREATE TABLE table_name_37 (rank INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR) | SELECT MIN(rank) FROM table_name_37 WHERE total = 8 AND nation = "hungary" AND silver > 2 | What is the lowest rank of Hungary where there was a total of 8 medals, including 2 silver? | <s>[INST]What is the lowest rank of Hungary where there was a total of 8 medals, including 2 silver? Context: CREATE TABLE table_name_37 (rank INTEGER, silver VARCHAR, total VARCHAR, nation VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_37 WHERE total = 8 AND nation = "hungary" AND silver > 2</s> |
CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR) | SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh" | What's the center of the Artsakh province? | <s>[INST]What's the center of the Artsakh province? Context: CREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)[/INST]SELECT center FROM table_23887174_1 WHERE province__ashkharh_ = "Artsakh"</s> |
CREATE TABLE table_name_67 (season VARCHAR, original_airdate VARCHAR, year VARCHAR) | SELECT COUNT(season) FROM table_name_67 WHERE original_airdate = "january 24, 1999" AND year < 1999 | What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999? | <s>[INST]What is the total number of Season(s), when Original Airdate is January 24, 1999, and when Year is less than 1999? Context: CREATE TABLE table_name_67 (season VARCHAR, original_airdate VARCHAR, year VARCHAR)[/INST]SELECT COUNT(season) FROM table_name_67 WHERE original_airdate = "january 24, 1999" AND year < 19... |
CREATE TABLE table_name_41 (silver INTEGER, bronze VARCHAR) | SELECT SUM(silver) FROM table_name_41 WHERE bronze = 8 | What is the silver medal count of the team that finished with 8 bronze medals? | <s>[INST]What is the silver medal count of the team that finished with 8 bronze medals? Context: CREATE TABLE table_name_41 (silver INTEGER, bronze VARCHAR)[/INST]SELECT SUM(silver) FROM table_name_41 WHERE bronze = 8</s> |
CREATE TABLE table_name_37 (station_code VARCHAR, departure VARCHAR) | SELECT station_code FROM table_name_37 WHERE departure = "destination station" | What is the Station Code of the Destination Station Departure? | <s>[INST]What is the Station Code of the Destination Station Departure? Context: CREATE TABLE table_name_37 (station_code VARCHAR, departure VARCHAR)[/INST]SELECT station_code FROM table_name_37 WHERE departure = "destination station"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.