context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) | SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo" | What country did the project, Bonga SW; Aparo with a shell operator take place? | <s>[INST]What country did the project, Bonga SW; Aparo with a shell operator take place? Context: CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR)[/INST]SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo"</s> |
CREATE TABLE table_name_89 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_89 WHERE home_team = "everton" | Which Tie is from everton? | <s>[INST]Which Tie is from everton? Context: CREATE TABLE table_name_89 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_89 WHERE home_team = "everton"</s> |
CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR) | SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-2" | Who were the Brazil scorers for the World Cup Competition with a 1-2 score? | <s>[INST]Who were the Brazil scorers for the World Cup Competition with a 1-2 score? Context: CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR)[/INST]SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-2"</s> |
CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR) | SELECT party FROM table_22753245_1 WHERE constituency = "10. Tindivanam" | What is the party where the constituency is 10. Tindivanam? | <s>[INST]What is the party where the constituency is 10. Tindivanam? Context: CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR)[/INST]SELECT party FROM table_22753245_1 WHERE constituency = "10. Tindivanam"</s> |
CREATE TABLE table_name_61 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_61 WHERE driver = "ivan capelli" | What's the Time/Retired of Ivan Capelli? | <s>[INST]What's the Time/Retired of Ivan Capelli? Context: CREATE TABLE table_name_61 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_61 WHERE driver = "ivan capelli"</s> |
CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR) | SELECT score FROM table_name_9 WHERE venue = "north shore events centre" | What was the score at North Shore Events Centre? | <s>[INST]What was the score at North Shore Events Centre? Context: CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE venue = "north shore events centre"</s> |
CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR) | SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Editor" | Show the names of employees with role name Editor. | <s>[INST]Show the names of employees with role name Editor. Context: CREATE TABLE ROLES (role_code VARCHAR, role_name VARCHAR); CREATE TABLE Employees (employee_name VARCHAR, role_code VARCHAR)[/INST]SELECT T1.employee_name FROM Employees AS T1 JOIN ROLES AS T2 ON T1.role_code = T2.role_code WHERE T2.role_name = "Edito... |
CREATE TABLE table_name_62 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR) | SELECT MAX(podiums) FROM table_name_62 WHERE season < 2008 AND position = "5th" AND f_laps > 0 | What is the highest number of podiums before 2008 with a 5th position and more than 0 f/laps? | <s>[INST]What is the highest number of podiums before 2008 with a 5th position and more than 0 f/laps? Context: CREATE TABLE table_name_62 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR)[/INST]SELECT MAX(podiums) FROM table_name_62 WHERE season < 2008 AND position = "5th" AND f_laps > 0</s> |
CREATE TABLE table_name_77 (sponsor_s_ VARCHAR, date_introduced VARCHAR) | SELECT sponsor_s_ FROM table_name_77 WHERE date_introduced = "june 9, 2011" | Who sponsored the bill introduced on June 9, 2011? | <s>[INST]Who sponsored the bill introduced on June 9, 2011? Context: CREATE TABLE table_name_77 (sponsor_s_ VARCHAR, date_introduced VARCHAR)[/INST]SELECT sponsor_s_ FROM table_name_77 WHERE date_introduced = "june 9, 2011"</s> |
CREATE TABLE table_255885_1 (no_of_s_barangay VARCHAR, municipality VARCHAR) | SELECT no_of_s_barangay FROM table_255885_1 WHERE municipality = "Paracale" | What is the number of S Barangay for Paracale? | <s>[INST]What is the number of S Barangay for Paracale? Context: CREATE TABLE table_255885_1 (no_of_s_barangay VARCHAR, municipality VARCHAR)[/INST]SELECT no_of_s_barangay FROM table_255885_1 WHERE municipality = "Paracale"</s> |
CREATE TABLE table_name_86 (h___a VARCHAR, opponents VARCHAR) | SELECT h___a FROM table_name_86 WHERE opponents = "kashima antlers" | Was the game with Kashima antlers at home or away? | <s>[INST]Was the game with Kashima antlers at home or away? Context: CREATE TABLE table_name_86 (h___a VARCHAR, opponents VARCHAR)[/INST]SELECT h___a FROM table_name_86 WHERE opponents = "kashima antlers"</s> |
CREATE TABLE table_name_47 (position VARCHAR, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR) | SELECT position FROM table_name_47 WHERE team_defense_rank > 3 AND year < 1992 AND team_performance = "lost super bowl xxv" | What was the position of the player whose team lost super bowl xxv before 1992, with a team defense rank larger than 3? | <s>[INST]What was the position of the player whose team lost super bowl xxv before 1992, with a team defense rank larger than 3? Context: CREATE TABLE table_name_47 (position VARCHAR, team_performance VARCHAR, team_defense_rank VARCHAR, year VARCHAR)[/INST]SELECT position FROM table_name_47 WHERE team_defense_rank > 3 ... |
CREATE TABLE table_name_9 (position INTEGER, goal_difference VARCHAR, goals_against VARCHAR, losses VARCHAR) | SELECT MAX(position) FROM table_name_9 WHERE goals_against < 54 AND losses = 7 AND goal_difference > 23 | Which position is the highest to have less than 54 goals, a loss of 7 and a goal difference higher than 23? | <s>[INST]Which position is the highest to have less than 54 goals, a loss of 7 and a goal difference higher than 23? Context: CREATE TABLE table_name_9 (position INTEGER, goal_difference VARCHAR, goals_against VARCHAR, losses VARCHAR)[/INST]SELECT MAX(position) FROM table_name_9 WHERE goals_against < 54 AND losses = 7 ... |
CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR) | SELECT mls_cup_runner_up FROM table_11148572_1 WHERE season = 2000 | Which shield winner has the mls cup runner up and the season is 2000? | <s>[INST]Which shield winner has the mls cup runner up and the season is 2000? Context: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR)[/INST]SELECT mls_cup_runner_up FROM table_11148572_1 WHERE season = 2000</s> |
CREATE TABLE table_name_11 (years VARCHAR, engine_code VARCHAR) | SELECT years FROM table_name_11 WHERE engine_code = "m54b25" | During which years was the model with the Engine code of m54b25 manufactured? | <s>[INST]During which years was the model with the Engine code of m54b25 manufactured? Context: CREATE TABLE table_name_11 (years VARCHAR, engine_code VARCHAR)[/INST]SELECT years FROM table_name_11 WHERE engine_code = "m54b25"</s> |
CREATE TABLE table_name_78 (goals INTEGER, club VARCHAR, rank VARCHAR) | SELECT SUM(goals) FROM table_name_78 WHERE club = "hallelujah fc" AND rank = "7" | Which Goals have a Club of hallelujah fc, and a Rank of 7? | <s>[INST]Which Goals have a Club of hallelujah fc, and a Rank of 7? Context: CREATE TABLE table_name_78 (goals INTEGER, club VARCHAR, rank VARCHAR)[/INST]SELECT SUM(goals) FROM table_name_78 WHERE club = "hallelujah fc" AND rank = "7"</s> |
CREATE TABLE table_name_84 (metal VARCHAR, element VARCHAR) | SELECT metal FROM table_name_84 WHERE element = "heavenly stems" | Which Metal has an Element of heavenly stems? | <s>[INST]Which Metal has an Element of heavenly stems? Context: CREATE TABLE table_name_84 (metal VARCHAR, element VARCHAR)[/INST]SELECT metal FROM table_name_84 WHERE element = "heavenly stems"</s> |
CREATE TABLE representative (Lifespan VARCHAR, State VARCHAR) | SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana" | What are the life spans of representatives from New York state or Indiana state? | <s>[INST]What are the life spans of representatives from New York state or Indiana state? Context: CREATE TABLE representative (Lifespan VARCHAR, State VARCHAR)[/INST]SELECT Lifespan FROM representative WHERE State = "New York" OR State = "Indiana"</s> |
CREATE TABLE table_24039597_26 (dismissals VARCHAR, matches VARCHAR) | SELECT COUNT(dismissals) FROM table_24039597_26 WHERE matches = 44 | How many matches were 44? | <s>[INST]How many matches were 44? Context: CREATE TABLE table_24039597_26 (dismissals VARCHAR, matches VARCHAR)[/INST]SELECT COUNT(dismissals) FROM table_24039597_26 WHERE matches = 44</s> |
CREATE TABLE table_name_7 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_7 WHERE venue = "mcg" | What is the total of crowd at Venue of mcg? | <s>[INST]What is the total of crowd at Venue of mcg? Context: CREATE TABLE table_name_7 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_7 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_30 (round VARCHAR, event VARCHAR) | SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114" | How many total rounds were there at UFC 114? | <s>[INST]How many total rounds were there at UFC 114? Context: CREATE TABLE table_name_30 (round VARCHAR, event VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_30 WHERE event = "ufc 114"</s> |
CREATE TABLE table_name_29 (total INTEGER, nation VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_29 WHERE bronze < 4 AND gold = 1 AND nation = "italy" | What was Italy's highest total when there were less than 4 bronze and 1 gold? | <s>[INST]What was Italy's highest total when there were less than 4 bronze and 1 gold? Context: CREATE TABLE table_name_29 (total INTEGER, nation VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT MAX(total) FROM table_name_29 WHERE bronze < 4 AND gold = 1 AND nation = "italy"</s> |
CREATE TABLE table_name_63 (rank__2012_ VARCHAR) | SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7 | What is the 2012 Employees (Total) when the rank (2012) is 7? | <s>[INST]What is the 2012 Employees (Total) when the rank (2012) is 7? Context: CREATE TABLE table_name_63 (rank__2012_ VARCHAR)[/INST]SELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7</s> |
CREATE TABLE table_name_27 (home VARCHAR, game__number VARCHAR) | SELECT home FROM table_name_27 WHERE game__number = 59 | Which Home has a Game # of 59? | <s>[INST]Which Home has a Game # of 59? Context: CREATE TABLE table_name_27 (home VARCHAR, game__number VARCHAR)[/INST]SELECT home FROM table_name_27 WHERE game__number = 59</s> |
CREATE TABLE table_name_3 (comp INTEGER, player VARCHAR, rating VARCHAR) | SELECT AVG(comp) FROM table_name_3 WHERE player = "gino guidugli" AND rating > 92.2 | What was the Comp average, having Gino Guidugli as a player and a rating of more than 92.2? | <s>[INST]What was the Comp average, having Gino Guidugli as a player and a rating of more than 92.2? Context: CREATE TABLE table_name_3 (comp INTEGER, player VARCHAR, rating VARCHAR)[/INST]SELECT AVG(comp) FROM table_name_3 WHERE player = "gino guidugli" AND rating > 92.2</s> |
CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR) | SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC" | How many headquarters are there listed for HSBC? | <s>[INST]How many headquarters are there listed for HSBC? Context: CREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR)[/INST]SELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = "HSBC"</s> |
CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_83 WHERE home_team = "melbourne tigers" | On what date were the Melbourne Tigers the home team? | <s>[INST]On what date were the Melbourne Tigers the home team? Context: CREATE TABLE table_name_83 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE home_team = "melbourne tigers"</s> |
CREATE TABLE table_298550_1 (area__km²_ VARCHAR, capital VARCHAR) | SELECT area__km²_ FROM table_298550_1 WHERE capital = "Port-au-Prince" | What is every entry for area if capital is Port-au-Prince? | <s>[INST]What is every entry for area if capital is Port-au-Prince? Context: CREATE TABLE table_298550_1 (area__km²_ VARCHAR, capital VARCHAR)[/INST]SELECT area__km²_ FROM table_298550_1 WHERE capital = "Port-au-Prince"</s> |
CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR) | SELECT score FROM table_name_29 WHERE date = "29 november" AND venue = "state sports centre" | What is the score of the game that was played on 29 November at State Sports Centre? | <s>[INST]What is the score of the game that was played on 29 November at State Sports Centre? Context: CREATE TABLE table_name_29 (score VARCHAR, date VARCHAR, venue VARCHAR)[/INST]SELECT score FROM table_name_29 WHERE date = "29 november" AND venue = "state sports centre"</s> |
CREATE TABLE table_24565004_22 (nationality² VARCHAR, name VARCHAR) | SELECT nationality² FROM table_24565004_22 WHERE name = "Richard Vanquelef" | What country is Richard Vanquelef from? | <s>[INST]What country is Richard Vanquelef from? Context: CREATE TABLE table_24565004_22 (nationality² VARCHAR, name VARCHAR)[/INST]SELECT nationality² FROM table_24565004_22 WHERE name = "Richard Vanquelef"</s> |
CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR) | SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39 | What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39? | <s>[INST]What is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39? Context: CREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)[/INST]SELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39</s> |
CREATE TABLE table_name_53 (election VARCHAR) | SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885" | What 2nd Party has an Election of 1885? | <s>[INST]What 2nd Party has an Election of 1885? Context: CREATE TABLE table_name_53 (election VARCHAR)[/INST]SELECT 2 AS nd_party FROM table_name_53 WHERE election = "1885"</s> |
CREATE TABLE table_28498999_5 (to_par VARCHAR, player VARCHAR) | SELECT COUNT(to_par) FROM table_28498999_5 WHERE player = "Phil Mickelson" | How many times is a to par listed when the player is phil mickelson? | <s>[INST]How many times is a to par listed when the player is phil mickelson? Context: CREATE TABLE table_28498999_5 (to_par VARCHAR, player VARCHAR)[/INST]SELECT COUNT(to_par) FROM table_28498999_5 WHERE player = "Phil Mickelson"</s> |
CREATE TABLE table_name_57 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_57 WHERE score = "4–6, 6–4, 6–4" | Score of 4–6, 6–4, 6–4 included which tournament? | <s>[INST]Score of 4–6, 6–4, 6–4 included which tournament? Context: CREATE TABLE table_name_57 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_57 WHERE score = "4–6, 6–4, 6–4"</s> |
CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_23 WHERE venue = "round 3" | When did the venue of round 3 happen? | <s>[INST]When did the venue of round 3 happen? Context: CREATE TABLE table_name_23 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE venue = "round 3"</s> |
CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR) | SELECT MIN(ansi_code) FROM table_name_48 WHERE geo_id > 3809927140 AND water__sqmi_ < 0.492 AND pop__2010_ = 37 AND latitude > 48.245979 | Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979? | <s>[INST]Which ANSI code has a GEO ID larger than 3809927140, and a Water (sqmi) smaller than 0.492, and a Pop (2010) of 37, and a Latitude larger than 48.245979? Context: CREATE TABLE table_name_48 (ansi_code INTEGER, latitude VARCHAR, pop__2010_ VARCHAR, geo_id VARCHAR, water__sqmi_ VARCHAR)[/INST]SELECT MIN(ansi_cod... |
CREATE TABLE table_name_33 (home VARCHAR, visitor VARCHAR, record VARCHAR) | SELECT home FROM table_name_33 WHERE visitor = "new jersey" AND record = "11-35-12" | What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12? | <s>[INST]What is the home team of the game where New Jersey was the visitor team and the record was 11-35-12? Context: CREATE TABLE table_name_33 (home VARCHAR, visitor VARCHAR, record VARCHAR)[/INST]SELECT home FROM table_name_33 WHERE visitor = "new jersey" AND record = "11-35-12"</s> |
CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR) | SELECT AVG(year) FROM table_name_79 WHERE entrant = "sasol jordan yamaha" | How many years has Sasol Jordan Yamaha as an Entrant? | <s>[INST]How many years has Sasol Jordan Yamaha as an Entrant? Context: CREATE TABLE table_name_79 (year INTEGER, entrant VARCHAR)[/INST]SELECT AVG(year) FROM table_name_79 WHERE entrant = "sasol jordan yamaha"</s> |
CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR) | SELECT AVG(draws) FROM table_name_11 WHERE club = "mortlake" AND wins < 0 | What is the average number of draws for Mortlake club when they have less than 0 wins? | <s>[INST]What is the average number of draws for Mortlake club when they have less than 0 wins? Context: CREATE TABLE table_name_11 (draws INTEGER, club VARCHAR, wins VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_11 WHERE club = "mortlake" AND wins < 0</s> |
CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR) | SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens" | What was France's highest score when the venue was Bokskogens? | <s>[INST]What was France's highest score when the venue was Bokskogens? Context: CREATE TABLE table_name_1 (score INTEGER, country VARCHAR, venue VARCHAR)[/INST]SELECT MAX(score) FROM table_name_1 WHERE country = "france" AND venue = "bokskogens"</s> |
CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR, margin_of_defeat VARCHAR) | SELECT podiums FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2" | Which podiums did the Williams team have with a margin of defeat of 2? | <s>[INST]Which podiums did the Williams team have with a margin of defeat of 2? Context: CREATE TABLE table_10753917_1 (podiums VARCHAR, team VARCHAR, margin_of_defeat VARCHAR)[/INST]SELECT podiums FROM table_10753917_1 WHERE team = "Williams" AND margin_of_defeat = "2"</s> |
CREATE TABLE table_name_6 (position INTEGER, points VARCHAR, bike_no VARCHAR, driver___passenger VARCHAR) | SELECT MIN(position) FROM table_name_6 WHERE bike_no > 10 AND driver___passenger = "nicky pulinx / ondrej cermak" AND points > 244 | What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244? | <s>[INST]What is the lowest Postion, when Bike No is greater than 10, when Driver / Passenger is Nicky Pulinx / Ondrej Cermak, and when Points is greater than 244? Context: CREATE TABLE table_name_6 (position INTEGER, points VARCHAR, bike_no VARCHAR, driver___passenger VARCHAR)[/INST]SELECT MIN(position) FROM table_nam... |
CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR) | SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 4 | Name the team ranked 4 | <s>[INST]Name the team ranked 4 Context: CREATE TABLE table_242813_2 (team VARCHAR, overall_rank VARCHAR)[/INST]SELECT COUNT(team) FROM table_242813_2 WHERE overall_rank = 4</s> |
CREATE TABLE table_name_29 (nationality VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) | SELECT nationality FROM table_name_29 WHERE years_of_nba_experience_[a_] = "4" AND pos = "g" | What is the Nationality of the G Player with 4 years NBA Experience? | <s>[INST]What is the Nationality of the G Player with 4 years NBA Experience? Context: CREATE TABLE table_name_29 (nationality VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)[/INST]SELECT nationality FROM table_name_29 WHERE years_of_nba_experience_[a_] = "4" AND pos = "g"</s> |
CREATE TABLE table_1456056_1 (country VARCHAR) | SELECT MIN(2500 AS _3000ft) FROM table_1456056_1 WHERE country = "Scotland" | Name the minimum for 2500-3000 ft for scotland | <s>[INST]Name the minimum for 2500-3000 ft for scotland Context: CREATE TABLE table_1456056_1 (country VARCHAR)[/INST]SELECT MIN(2500 AS _3000ft) FROM table_1456056_1 WHERE country = "Scotland"</s> |
CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Abbreviation VARCHAR, Country VARCHAR, Airline VARCHAR, uid VARCHAR) | SELECT T1.Abbreviation, T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY COUNT(*) LIMIT 1 | Find the abbreviation and country of the airline that has fewest number of flights? | <s>[INST]Find the abbreviation and country of the airline that has fewest number of flights? Context: CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Abbreviation VARCHAR, Country VARCHAR, Airline VARCHAR, uid VARCHAR)[/INST]SELECT T1.Abbreviation, T1.Country FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.... |
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_20 WHERE record = "5-31" | When was the score 5-31? | <s>[INST]When was the score 5-31? Context: CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE record = "5-31"</s> |
CREATE TABLE table_name_25 (drawn INTEGER, games INTEGER) | SELECT MIN(drawn) FROM table_name_25 WHERE games < 7 | What is the fewest ties the team had with fewer than 7 games? | <s>[INST]What is the fewest ties the team had with fewer than 7 games? Context: CREATE TABLE table_name_25 (drawn INTEGER, games INTEGER)[/INST]SELECT MIN(drawn) FROM table_name_25 WHERE games < 7</s> |
CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average__from_april_2009_ VARCHAR) | SELECT evaluation_average__before_april_2009_ FROM table_name_41 WHERE _percentage_of_negative_evaluations = "0.8%" AND evaluation_average__from_april_2009_ = "4.2" | What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2? | <s>[INST]What is the mean Evaluation number (Before April 2009) when the percentage of negative evaluations was 0.8% and the mean Evaluation number of April 2009 was 4.2? Context: CREATE TABLE table_name_41 (evaluation_average__before_april_2009_ VARCHAR, _percentage_of_negative_evaluations VARCHAR, evaluation_average_... |
CREATE TABLE table_25176088_2 (pf VARCHAR, stolen_ends VARCHAR) | SELECT COUNT(pf) FROM table_25176088_2 WHERE stolen_ends = 3 | What are the number of points for associated with exactly 3 stolen ends? | <s>[INST]What are the number of points for associated with exactly 3 stolen ends? Context: CREATE TABLE table_25176088_2 (pf VARCHAR, stolen_ends VARCHAR)[/INST]SELECT COUNT(pf) FROM table_25176088_2 WHERE stolen_ends = 3</s> |
CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR) | SELECT monday_to_friday FROM table_name_34 WHERE mañana_es_para_siempre = "impreuna pentru totdeauna" | What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday? | <s>[INST]What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday? Context: CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR)[/INST]SELECT monday_to_friday FROM table_name_34 WHERE mañana_es_para_siempre = "impreuna pentru totdeauna"</s> |
CREATE TABLE table_name_68 (population INTEGER, simplified VARCHAR, area VARCHAR) | SELECT SUM(population) FROM table_name_68 WHERE simplified = "上杭县" AND area < 2 OFFSET 879 | What's the sum of the population for the place simplified 上杭县 with an area smaller than 2,879? | <s>[INST]What's the sum of the population for the place simplified 上杭县 with an area smaller than 2,879? Context: CREATE TABLE table_name_68 (population INTEGER, simplified VARCHAR, area VARCHAR)[/INST]SELECT SUM(population) FROM table_name_68 WHERE simplified = "上杭县" AND area < 2 OFFSET 879</s> |
CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR) | SELECT hometown FROM table_name_80 WHERE player = "thomas tyner" | What's the hometown of thomas tyner? | <s>[INST]What's the hometown of thomas tyner? Context: CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR)[/INST]SELECT hometown FROM table_name_80 WHERE player = "thomas tyner"</s> |
CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_19 WHERE attendance = "33,531" | What is the score of the game that 33,531 people went too? | <s>[INST]What is the score of the game that 33,531 people went too? Context: CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_19 WHERE attendance = "33,531"</s> |
CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT bike FROM table_name_24 WHERE grid > 17 AND laps < 8 AND rider = "milos cihak" | What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider? | <s>[INST]What bike has a grid greater than 17, laps less than 8, with milos cihak as the rider? Context: CREATE TABLE table_name_24 (bike VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT bike FROM table_name_24 WHERE grid > 17 AND laps < 8 AND rider = "milos cihak"</s> |
CREATE TABLE table_name_1 (gold INTEGER, total VARCHAR, participants VARCHAR, rank VARCHAR) | SELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 1 | What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1? | <s>[INST]What is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1? Context: CREATE TABLE table_name_1 (gold INTEGER, total VARCHAR, participants VARCHAR, rank VARCHAR)[/INST]SELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 1</s> |
CREATE TABLE table_25173505_13 (buena_vista_edition VARCHAR, special_edition VARCHAR) | SELECT buena_vista_edition FROM table_25173505_13 WHERE special_edition = "Koichi Sakaguchi" | who is the buena vista edidtion where special edition is koichi sakaguchi? | <s>[INST]who is the buena vista edidtion where special edition is koichi sakaguchi? Context: CREATE TABLE table_25173505_13 (buena_vista_edition VARCHAR, special_edition VARCHAR)[/INST]SELECT buena_vista_edition FROM table_25173505_13 WHERE special_edition = "Koichi Sakaguchi"</s> |
CREATE TABLE table_name_96 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_96 WHERE date = "june 29" | On June 29, who was the opponent? | <s>[INST]On June 29, who was the opponent? Context: CREATE TABLE table_name_96 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_96 WHERE date = "june 29"</s> |
CREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR) | SELECT joined_acc FROM table_28744929_1 WHERE location = "Chapel Hill, North Carolina" | when did the institution at chapel hill, North carolina join acc? | <s>[INST]when did the institution at chapel hill, North carolina join acc? Context: CREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR)[/INST]SELECT joined_acc FROM table_28744929_1 WHERE location = "Chapel Hill, North Carolina"</s> |
CREATE TABLE table_name_9 (total INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_9 WHERE gold > 0 AND silver > 0 AND bronze > 2 | What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2? | <s>[INST]What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2? Context: CREATE TABLE table_name_9 (total INTEGER, bronze VARCHAR, gold VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_9 WHERE gold > 0 AND silver > 0 AND bronze > 2</s> |
CREATE TABLE table_name_65 (country VARCHAR, premiere VARCHAR) | SELECT country FROM table_name_65 WHERE premiere = "july 24, 2010" | Which country had a premiere on July 24, 2010? | <s>[INST]Which country had a premiere on July 24, 2010? Context: CREATE TABLE table_name_65 (country VARCHAR, premiere VARCHAR)[/INST]SELECT country FROM table_name_65 WHERE premiere = "july 24, 2010"</s> |
CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR) | SELECT MAX(attendance) FROM table_name_95 WHERE opponent = "arsenal" | Whose attendance was the highest when the team played Arsenal? | <s>[INST]Whose attendance was the highest when the team played Arsenal? Context: CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_95 WHERE opponent = "arsenal"</s> |
CREATE TABLE table_name_30 (time INTEGER, rank VARCHAR, name VARCHAR) | SELECT MAX(time) FROM table_name_30 WHERE rank < 5 AND name = "eamon sullivan" | what is the highest time when the rank is less than 5 and the name is eamon sullivan? | <s>[INST]what is the highest time when the rank is less than 5 and the name is eamon sullivan? Context: CREATE TABLE table_name_30 (time INTEGER, rank VARCHAR, name VARCHAR)[/INST]SELECT MAX(time) FROM table_name_30 WHERE rank < 5 AND name = "eamon sullivan"</s> |
CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, installed_capacity__mw_ VARCHAR) | SELECT COUNT(turbine_manufacturer) FROM table_24837750_1 WHERE installed_capacity__mw_ = "189" | How many turbine manufacturers installed a capacity of 189 MW? | <s>[INST]How many turbine manufacturers installed a capacity of 189 MW? Context: CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, installed_capacity__mw_ VARCHAR)[/INST]SELECT COUNT(turbine_manufacturer) FROM table_24837750_1 WHERE installed_capacity__mw_ = "189"</s> |
CREATE TABLE table_24850487_5 (assists INTEGER, rebounds VARCHAR) | SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121 | How many assists did the player who had 121 rebounds have? | <s>[INST]How many assists did the player who had 121 rebounds have? Context: CREATE TABLE table_24850487_5 (assists INTEGER, rebounds VARCHAR)[/INST]SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121</s> |
CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR) | SELECT MIN(position) FROM table_name_29 WHERE points < 7 AND pilot = "didier hauss" | What is the smallest position with less than 7 points piloted by Didier Hauss? | <s>[INST]What is the smallest position with less than 7 points piloted by Didier Hauss? Context: CREATE TABLE table_name_29 (position INTEGER, points VARCHAR, pilot VARCHAR)[/INST]SELECT MIN(position) FROM table_name_29 WHERE points < 7 AND pilot = "didier hauss"</s> |
CREATE TABLE table_name_45 (player VARCHAR, conv VARCHAR) | SELECT player FROM table_name_45 WHERE conv = "14" | which player has a conv of 14? | <s>[INST]which player has a conv of 14? Context: CREATE TABLE table_name_45 (player VARCHAR, conv VARCHAR)[/INST]SELECT player FROM table_name_45 WHERE conv = "14"</s> |
CREATE TABLE table_name_52 (venue VARCHAR, competition VARCHAR, notes VARCHAR) | SELECT venue FROM table_name_52 WHERE competition = "european championships" AND notes = "61.46 m" | Where was European Championships held with notes of 61.46 m? | <s>[INST]Where was European Championships held with notes of 61.46 m? Context: CREATE TABLE table_name_52 (venue VARCHAR, competition VARCHAR, notes VARCHAR)[/INST]SELECT venue FROM table_name_52 WHERE competition = "european championships" AND notes = "61.46 m"</s> |
CREATE TABLE table_18536769_1 (call_sign VARCHAR, format VARCHAR) | SELECT call_sign FROM table_18536769_1 WHERE format = "hot adult contemporary" | When hot adult contemporary is the format what is the call sign? | <s>[INST]When hot adult contemporary is the format what is the call sign? Context: CREATE TABLE table_18536769_1 (call_sign VARCHAR, format VARCHAR)[/INST]SELECT call_sign FROM table_18536769_1 WHERE format = "hot adult contemporary"</s> |
CREATE TABLE table_name_85 (term_end VARCHAR, party VARCHAR) | SELECT term_end FROM table_name_85 WHERE party = "centre party" | On what date or dates did the term with the Centre Party end? | <s>[INST]On what date or dates did the term with the Centre Party end? Context: CREATE TABLE table_name_85 (term_end VARCHAR, party VARCHAR)[/INST]SELECT term_end FROM table_name_85 WHERE party = "centre party"</s> |
CREATE TABLE weather (cloud_cover VARCHAR, zip_code VARCHAR) | SELECT cloud_cover FROM weather WHERE zip_code = 94107 GROUP BY cloud_cover ORDER BY COUNT(*) DESC LIMIT 3 | What is the 3 most common cloud cover rates in the region of zip code 94107? | <s>[INST]What is the 3 most common cloud cover rates in the region of zip code 94107? Context: CREATE TABLE weather (cloud_cover VARCHAR, zip_code VARCHAR)[/INST]SELECT cloud_cover FROM weather WHERE zip_code = 94107 GROUP BY cloud_cover ORDER BY COUNT(*) DESC LIMIT 3</s> |
CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR) | SELECT result FROM table_name_93 WHERE guest = "fc zürich (asl)" | What was the result when the guest was fc zürich (asl)? | <s>[INST]What was the result when the guest was fc zürich (asl)? Context: CREATE TABLE table_name_93 (result VARCHAR, guest VARCHAR)[/INST]SELECT result FROM table_name_93 WHERE guest = "fc zürich (asl)"</s> |
CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_13 WHERE home_team = "south melbourne" | Who was home team South Melbourne's opponent? | <s>[INST]Who was home team South Melbourne's opponent? Context: CREATE TABLE table_name_13 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_13 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_16388047_1 (ground VARCHAR, home_team VARCHAR) | SELECT COUNT(ground) FROM table_16388047_1 WHERE home_team = "Essendon" | Name the total number of grounds for essendon | <s>[INST]Name the total number of grounds for essendon Context: CREATE TABLE table_16388047_1 (ground VARCHAR, home_team VARCHAR)[/INST]SELECT COUNT(ground) FROM table_16388047_1 WHERE home_team = "Essendon"</s> |
CREATE TABLE table_name_27 (rounds VARCHAR, driver VARCHAR) | SELECT rounds FROM table_name_27 WHERE driver = "frédéric vervisch" | How many rounds did frédéric vervisch go? | <s>[INST]How many rounds did frédéric vervisch go? Context: CREATE TABLE table_name_27 (rounds VARCHAR, driver VARCHAR)[/INST]SELECT rounds FROM table_name_27 WHERE driver = "frédéric vervisch"</s> |
CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR) | SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區" | Name the tongyong for chinese of 湖內區 | <s>[INST]Name the tongyong for chinese of 湖內區 Context: CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR)[/INST]SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區"</s> |
CREATE TABLE table_name_2 (league VARCHAR, reg_season VARCHAR) | SELECT league FROM table_name_2 WHERE reg_season = "1st" | Tell me the league with a regular 1st season | <s>[INST]Tell me the league with a regular 1st season Context: CREATE TABLE table_name_2 (league VARCHAR, reg_season VARCHAR)[/INST]SELECT league FROM table_name_2 WHERE reg_season = "1st"</s> |
CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t10" AND score = 68 - 71 = 139 | What is Player, when Country is "United States", when Place is "T10", and when Score is "68-71=139"? | <s>[INST]What is Player, when Country is "United States", when Place is "T10", and when Score is "68-71=139"? Context: CREATE TABLE table_name_51 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_51 WHERE country = "united states" AND place = "t10" AND score = 68 - 71 =... |
CREATE TABLE table_name_76 (position INTEGER, against INTEGER) | SELECT AVG(position) FROM table_name_76 WHERE against < 11 | What is the average position with an against value less than 11? | <s>[INST]What is the average position with an against value less than 11? Context: CREATE TABLE table_name_76 (position INTEGER, against INTEGER)[/INST]SELECT AVG(position) FROM table_name_76 WHERE against < 11</s> |
CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568 | What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance? | <s>[INST]What was the record in the game where the decision was Backstrom and there were more than 18,568 in attendance? Context: CREATE TABLE table_name_42 (record VARCHAR, decision VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_42 WHERE decision = "backstrom" AND attendance > 18 OFFSET 568</s> |
CREATE TABLE table_name_34 (year VARCHAR, score VARCHAR) | SELECT COUNT(year) FROM table_name_34 WHERE score = 269 | What year was the score 269? | <s>[INST]What year was the score 269? Context: CREATE TABLE table_name_34 (year VARCHAR, score VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_34 WHERE score = 269</s> |
CREATE TABLE table_1342218_35 (first_elected INTEGER, incumbent VARCHAR) | SELECT MIN(first_elected) FROM table_1342218_35 WHERE incumbent = "Michael A. Feighan" | What year was incumbent Michael A. Feighan first elected? | <s>[INST]What year was incumbent Michael A. Feighan first elected? Context: CREATE TABLE table_1342218_35 (first_elected INTEGER, incumbent VARCHAR)[/INST]SELECT MIN(first_elected) FROM table_1342218_35 WHERE incumbent = "Michael A. Feighan"</s> |
CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) | SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID | What are the names of gymnasts? | <s>[INST]What are the names of gymnasts? Context: CREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)[/INST]SELECT T2.Name FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID</s> |
CREATE TABLE table_name_18 (muzzle_device VARCHAR, barrel_twist VARCHAR) | SELECT muzzle_device FROM table_name_18 WHERE barrel_twist = "1:10" | Name the muzzel device with barrel twist of 1:10 | <s>[INST]Name the muzzel device with barrel twist of 1:10 Context: CREATE TABLE table_name_18 (muzzle_device VARCHAR, barrel_twist VARCHAR)[/INST]SELECT muzzle_device FROM table_name_18 WHERE barrel_twist = "1:10"</s> |
CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR) | SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.27" | What was the report for the Sunday race where the winner had an average speed of 128.27 mph? | <s>[INST]What was the report for the Sunday race where the winner had an average speed of 128.27 mph? Context: CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.27"</s> |
CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_74 WHERE home = "chicago black hawks" AND date = "april 20" | Name the Visitor that has a Home of chicago black hawks on april 20? | <s>[INST]Name the Visitor that has a Home of chicago black hawks on april 20? Context: CREATE TABLE table_name_74 (visitor VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_74 WHERE home = "chicago black hawks" AND date = "april 20"</s> |
CREATE TABLE table_27294107_11 (semifinals VARCHAR, event VARCHAR) | SELECT semifinals FROM table_27294107_11 WHERE event = "Light flyweight" | What is the semifinals for the light flyweight event? | <s>[INST]What is the semifinals for the light flyweight event? Context: CREATE TABLE table_27294107_11 (semifinals VARCHAR, event VARCHAR)[/INST]SELECT semifinals FROM table_27294107_11 WHERE event = "Light flyweight"</s> |
CREATE TABLE table_name_71 (visitor VARCHAR, record VARCHAR) | SELECT visitor FROM table_name_71 WHERE record = "14-10" | Who is the visitor with a 14-10 record? | <s>[INST]Who is the visitor with a 14-10 record? Context: CREATE TABLE table_name_71 (visitor VARCHAR, record VARCHAR)[/INST]SELECT visitor FROM table_name_71 WHERE record = "14-10"</s> |
CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon" | WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? | <s>[INST]WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? Context: CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon"</s> |
CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) | SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816" | Who wrote the episodes watched by 1.816 million people in Canada? | <s>[INST]Who wrote the episodes watched by 1.816 million people in Canada? Context: CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.816"</s> |
CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR) | SELECT duration FROM table_name_86 WHERE lok_sabha = "fifth" | What is the duration when Lok Sabha shows fifth? | <s>[INST]What is the duration when Lok Sabha shows fifth? Context: CREATE TABLE table_name_86 (duration VARCHAR, lok_sabha VARCHAR)[/INST]SELECT duration FROM table_name_86 WHERE lok_sabha = "fifth"</s> |
CREATE TABLE table_name_29 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_29 WHERE opponent = "aron lofton" | What is the location of the match with Aron Lofton as the opponent? | <s>[INST]What is the location of the match with Aron Lofton as the opponent? Context: CREATE TABLE table_name_29 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_29 WHERE opponent = "aron lofton"</s> |
CREATE TABLE table_25008327_8 (russian VARCHAR, bulgarian VARCHAR) | SELECT russian FROM table_25008327_8 WHERE bulgarian = "пес, куче" | What is every value for Russian when value for Bulgarian is пес, куче? | <s>[INST]What is every value for Russian when value for Bulgarian is пес, куче? Context: CREATE TABLE table_25008327_8 (russian VARCHAR, bulgarian VARCHAR)[/INST]SELECT russian FROM table_25008327_8 WHERE bulgarian = "пес, куче"</s> |
CREATE TABLE table_name_46 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_46 WHERE date = "january 12" | What is the score of the game on January 12? | <s>[INST]What is the score of the game on January 12? Context: CREATE TABLE table_name_46 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_46 WHERE date = "january 12"</s> |
CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR) | SELECT engine FROM table_20866024_3 WHERE model_designation = "97F00" | What type of engine does the model with model designation 97F00 have? | <s>[INST]What type of engine does the model with model designation 97F00 have? Context: CREATE TABLE table_20866024_3 (engine VARCHAR, model_designation VARCHAR)[/INST]SELECT engine FROM table_20866024_3 WHERE model_designation = "97F00"</s> |
CREATE TABLE table_name_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR) | SELECT display FROM table_name_21 WHERE iso_range = "80-800" AND seconds_frame = 0.8 | Which display has an ISO range of 80-800, and 0.8 Seconds/Frame? | <s>[INST]Which display has an ISO range of 80-800, and 0.8 Seconds/Frame? Context: CREATE TABLE table_name_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR)[/INST]SELECT display FROM table_name_21 WHERE iso_range = "80-800" AND seconds_frame = 0.8</s> |
CREATE TABLE table_name_23 (enrollment VARCHAR, nickname VARCHAR, founded VARCHAR) | SELECT COUNT(enrollment) FROM table_name_23 WHERE nickname = "buccaneers" AND founded < 1911 | What is the number of enrollments for teams named the Buccaneers founded before 1911? | <s>[INST]What is the number of enrollments for teams named the Buccaneers founded before 1911? Context: CREATE TABLE table_name_23 (enrollment VARCHAR, nickname VARCHAR, founded VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_name_23 WHERE nickname = "buccaneers" AND founded < 1911</s> |
CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR) | SELECT SUM(total) FROM table_name_45 WHERE nation = "west germany" AND gold > 2 | What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? | <s>[INST]What is the sum of Total, when Nation is West Germany, and when Gold is greater than 2? Context: CREATE TABLE table_name_45 (total INTEGER, nation VARCHAR, gold VARCHAR)[/INST]SELECT SUM(total) FROM table_name_45 WHERE nation = "west germany" AND gold > 2</s> |
CREATE TABLE table_name_35 (runner_up VARCHAR, winner VARCHAR) | SELECT runner_up FROM table_name_35 WHERE winner = "janice yan (閻奕格)" | Name the runner-up for janice yan (閻奕格) | <s>[INST]Name the runner-up for janice yan (閻奕格) Context: CREATE TABLE table_name_35 (runner_up VARCHAR, winner VARCHAR)[/INST]SELECT runner_up FROM table_name_35 WHERE winner = "janice yan (閻奕格)"</s> |
CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR) | SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "hawthorn" | What is the total Crowd number for the Away team of Hawthorn? | <s>[INST]What is the total Crowd number for the Away team of Hawthorn? Context: CREATE TABLE table_name_15 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT COUNT(crowd) FROM table_name_15 WHERE away_team = "hawthorn"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.