context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE climber (Mountain_ID VARCHAR, Points VARCHAR); CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR) | SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER BY T1.Points DESC LIMIT 1 | Show the height of the mountain climbed by the climber with the maximum points. | <s>[INST]Show the height of the mountain climbed by the climber with the maximum points. Context: CREATE TABLE climber (Mountain_ID VARCHAR, Points VARCHAR); CREATE TABLE mountain (Height VARCHAR, Mountain_ID VARCHAR)[/INST]SELECT T2.Height FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID ORDER... |
CREATE TABLE table_name_48 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_48 WHERE to_par = "–1" AND player = "henrik stenson" | With a To par of –1, what is Player Henrik Stenson's Score? | <s>[INST]With a To par of –1, what is Player Henrik Stenson's Score? Context: CREATE TABLE table_name_48 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_48 WHERE to_par = "–1" AND player = "henrik stenson"</s> |
CREATE TABLE table_name_4 (total VARCHAR, nation VARCHAR, gold VARCHAR) | SELECT COUNT(total) FROM table_name_4 WHERE nation = "argentina" AND gold < 0 | What is the total when the nation was Argentina, and a Goldwas smaller than 0? | <s>[INST]What is the total when the nation was Argentina, and a Goldwas smaller than 0? Context: CREATE TABLE table_name_4 (total VARCHAR, nation VARCHAR, gold VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_4 WHERE nation = "argentina" AND gold < 0</s> |
CREATE TABLE table_name_66 (barangay VARCHAR, exit VARCHAR) | SELECT barangay FROM table_name_66 WHERE exit = "sisiman toll barrier" | Which Barangay has an exit of Sisiman toll barrier? | <s>[INST]Which Barangay has an exit of Sisiman toll barrier? Context: CREATE TABLE table_name_66 (barangay VARCHAR, exit VARCHAR)[/INST]SELECT barangay FROM table_name_66 WHERE exit = "sisiman toll barrier"</s> |
CREATE TABLE table_name_81 (tournament_location VARCHAR, margin_of_victory VARCHAR, purse___$__ VARCHAR) | SELECT tournament_location FROM table_name_81 WHERE margin_of_victory = "1 stroke" AND purse___$__ = "1,200,000" | What tournament location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)? | <s>[INST]What tournament location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)? Context: CREATE TABLE table_name_81 (tournament_location VARCHAR, margin_of_victory VARCHAR, purse___$__ VARCHAR)[/INST]SELECT tournament_location FROM table_name_81 WHERE margin_of_victory = "1 stroke" AND purse__... |
CREATE TABLE table_25355501_2 (november_3 VARCHAR, august_21_22 VARCHAR) | SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998" | What is shown for november 3 when august 21-22 is august 22, 1998? | <s>[INST]What is shown for november 3 when august 21-22 is august 22, 1998? Context: CREATE TABLE table_25355501_2 (november_3 VARCHAR, august_21_22 VARCHAR)[/INST]SELECT november_3 FROM table_25355501_2 WHERE august_21_22 = "August 22, 1998"</s> |
CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR) | SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373" | Which higher harmonics have a speed of 0.0821373? | <s>[INST]Which higher harmonics have a speed of 0.0821373? Context: CREATE TABLE table_name_36 (higher_harmonics VARCHAR, speed VARCHAR)[/INST]SELECT higher_harmonics FROM table_name_36 WHERE speed = "0.0821373"</s> |
CREATE TABLE table_name_97 (points VARCHAR, engine VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_97 WHERE engine = "ferrari v6" AND year = 1962 | In 1962, what was the total number of points, when the Engine was Ferrari v6? | <s>[INST]In 1962, what was the total number of points, when the Engine was Ferrari v6? Context: CREATE TABLE table_name_97 (points VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_97 WHERE engine = "ferrari v6" AND year = 1962</s> |
CREATE TABLE table_name_20 (code__iata_ VARCHAR, total_cargo__metric_tonnes_ VARCHAR) | SELECT code__iata_ FROM table_name_20 WHERE total_cargo__metric_tonnes_ = "1,838,894" | What is the IATA code of the airport that has a Total Cargo of 1,838,894 Metric Tonnes? | <s>[INST]What is the IATA code of the airport that has a Total Cargo of 1,838,894 Metric Tonnes? Context: CREATE TABLE table_name_20 (code__iata_ VARCHAR, total_cargo__metric_tonnes_ VARCHAR)[/INST]SELECT code__iata_ FROM table_name_20 WHERE total_cargo__metric_tonnes_ = "1,838,894"</s> |
CREATE TABLE table_name_83 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1 | Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1 | <s>[INST]Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1 Context: CREATE TABLE table_name_83 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)[/INST]SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1</s> |
CREATE TABLE table_name_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR) | SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 0 | What is the sum of votes of the party with a % of 0.53 and more than 0 seats? | <s>[INST]What is the sum of votes of the party with a % of 0.53 and more than 0 seats? Context: CREATE TABLE table_name_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR)[/INST]SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 0</s> |
CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR) | SELECT political_party FROM table_name_72 WHERE name = "mehdi bej frashëri (2nd time)" | Which Political Party has a Name of mehdi bej frashëri (2nd time)? | <s>[INST]Which Political Party has a Name of mehdi bej frashëri (2nd time)? Context: CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR)[/INST]SELECT political_party FROM table_name_72 WHERE name = "mehdi bej frashëri (2nd time)"</s> |
CREATE TABLE table_name_11 (name VARCHAR, avg_g VARCHAR) | SELECT name FROM table_name_11 WHERE avg_g = 195.8 | Which quarterback had an Avg/G of 195.8? | <s>[INST]Which quarterback had an Avg/G of 195.8? Context: CREATE TABLE table_name_11 (name VARCHAR, avg_g VARCHAR)[/INST]SELECT name FROM table_name_11 WHERE avg_g = 195.8</s> |
CREATE TABLE table_name_65 (league VARCHAR, year VARCHAR) | SELECT league FROM table_name_65 WHERE year = 2011 | What league played in 2011? | <s>[INST]What league played in 2011? Context: CREATE TABLE table_name_65 (league VARCHAR, year VARCHAR)[/INST]SELECT league FROM table_name_65 WHERE year = 2011</s> |
CREATE TABLE table_name_17 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_17 WHERE goal = 5 | Tell me the date for goal of 5 | <s>[INST]Tell me the date for goal of 5 Context: CREATE TABLE table_name_17 (date VARCHAR, goal VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE goal = 5</s> |
CREATE TABLE table_name_61 (score VARCHAR, home_team VARCHAR) | SELECT score FROM table_name_61 WHERE home_team = "saskatoon accelerators" | Which score has a Home Team of saskatoon accelerators? | <s>[INST]Which score has a Home Team of saskatoon accelerators? Context: CREATE TABLE table_name_61 (score VARCHAR, home_team VARCHAR)[/INST]SELECT score FROM table_name_61 WHERE home_team = "saskatoon accelerators"</s> |
CREATE TABLE table_name_61 (catalog VARCHAR, label VARCHAR) | SELECT catalog FROM table_name_61 WHERE label = "frontiers records" | What was the catalog when the label was frontiers records? | <s>[INST]What was the catalog when the label was frontiers records? Context: CREATE TABLE table_name_61 (catalog VARCHAR, label VARCHAR)[/INST]SELECT catalog FROM table_name_61 WHERE label = "frontiers records"</s> |
CREATE TABLE table_name_15 (bronze VARCHAR, silver INTEGER) | SELECT COUNT(bronze) FROM table_name_15 WHERE silver > 2 | What is the total of bronze that has more silvers than 2? | <s>[INST]What is the total of bronze that has more silvers than 2? Context: CREATE TABLE table_name_15 (bronze VARCHAR, silver INTEGER)[/INST]SELECT COUNT(bronze) FROM table_name_15 WHERE silver > 2</s> |
CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) | SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "CHRISSY" AND T1.lastname = "NABOZNY" | How many teachers does the student named CHRISSY NABOZNY have? | <s>[INST]How many teachers does the student named CHRISSY NABOZNY have? Context: CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "CHRISSY" A... |
CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_76 WHERE date = "6 march 2000" | Name the outcome for 6 march 2000 | <s>[INST]Name the outcome for 6 march 2000 Context: CREATE TABLE table_name_76 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_76 WHERE date = "6 march 2000"</s> |
CREATE TABLE table_name_99 (place INTEGER, goals_scored VARCHAR, draw VARCHAR) | SELECT MAX(place) FROM table_name_99 WHERE goals_scored = 28 AND draw < 6 | What is the highest place that has a draw entry smaller than 6 and goal score of 28? | <s>[INST]What is the highest place that has a draw entry smaller than 6 and goal score of 28? Context: CREATE TABLE table_name_99 (place INTEGER, goals_scored VARCHAR, draw VARCHAR)[/INST]SELECT MAX(place) FROM table_name_99 WHERE goals_scored = 28 AND draw < 6</s> |
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR) | SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "22/13" | What is the total number of January (°C) temperatures when the July (°C) temperatures were 22/13? | <s>[INST]What is the total number of January (°C) temperatures when the July (°C) temperatures were 22/13? Context: CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR)[/INST]SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "22/13"</s> |
CREATE TABLE mountain (name VARCHAR, height VARCHAR, prominence VARCHAR, range VARCHAR) | SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range' | What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'? | <s>[INST]What are the name, height and prominence of mountains which do not belong to the range 'Aberdare Range'? Context: CREATE TABLE mountain (name VARCHAR, height VARCHAR, prominence VARCHAR, range VARCHAR)[/INST]SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range'</s> |
CREATE TABLE table_24798489_1 (challenge_winner VARCHAR, original_airdate VARCHAR) | SELECT challenge_winner FROM table_24798489_1 WHERE original_airdate = "January 28, 2009" | Who was the challenge winner in the episode that originally aired on January 28, 2009? | <s>[INST]Who was the challenge winner in the episode that originally aired on January 28, 2009? Context: CREATE TABLE table_24798489_1 (challenge_winner VARCHAR, original_airdate VARCHAR)[/INST]SELECT challenge_winner FROM table_24798489_1 WHERE original_airdate = "January 28, 2009"</s> |
CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR) | SELECT company_name FROM table_name_13 WHERE accreditation_level = "joyn hot fixes" AND accreditation_status = "approved (awarded 17.05.13)" | What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)? | <s>[INST]What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)? Context: CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR)[/INST]SELECT company_name FROM table_name_13 WHERE ac... |
CREATE TABLE table_name_37 (silver INTEGER, total VARCHAR, rank VARCHAR) | SELECT MIN(silver) FROM table_name_37 WHERE total = 1 AND rank = "12" | Which Silver has a Total of 1, and a Rank of 12? | <s>[INST]Which Silver has a Total of 1, and a Rank of 12? Context: CREATE TABLE table_name_37 (silver INTEGER, total VARCHAR, rank VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_37 WHERE total = 1 AND rank = "12"</s> |
CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR) | SELECT position FROM table_name_56 WHERE appearances > 167 AND nationality = "wales" AND goals > 0 AND leeds_career = "1977–1982" | What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? | <s>[INST]What position does the Wales player who made more than 167 appearances, had more than 0 goals, and had a Leeds career from 1977–1982 play? Context: CREATE TABLE table_name_56 (position VARCHAR, leeds_career VARCHAR, goals VARCHAR, appearances VARCHAR, nationality VARCHAR)[/INST]SELECT position FROM table_name_... |
CREATE TABLE table_name_32 (finish VARCHAR, race VARCHAR) | SELECT finish FROM table_name_32 WHERE race = "kentucky derby" | What was the finish of the Kentucky Derby? | <s>[INST]What was the finish of the Kentucky Derby? Context: CREATE TABLE table_name_32 (finish VARCHAR, race VARCHAR)[/INST]SELECT finish FROM table_name_32 WHERE race = "kentucky derby"</s> |
CREATE TABLE table_name_79 (floors INTEGER, building_type VARCHAR, sr_no VARCHAR) | SELECT MIN(floors) FROM table_name_79 WHERE building_type = "residential" AND sr_no = 8 | what is the least floors when the building type is residential and the sr no is 8? | <s>[INST]what is the least floors when the building type is residential and the sr no is 8? Context: CREATE TABLE table_name_79 (floors INTEGER, building_type VARCHAR, sr_no VARCHAR)[/INST]SELECT MIN(floors) FROM table_name_79 WHERE building_type = "residential" AND sr_no = 8</s> |
CREATE TABLE table_28540428_3 (event_3_deadlift VARCHAR, name VARCHAR) | SELECT event_3_deadlift FROM table_28540428_3 WHERE name = "Hennie Jordan" | Name the event 3 deadlift for hennie jordan | <s>[INST]Name the event 3 deadlift for hennie jordan Context: CREATE TABLE table_28540428_3 (event_3_deadlift VARCHAR, name VARCHAR)[/INST]SELECT event_3_deadlift FROM table_28540428_3 WHERE name = "Hennie Jordan"</s> |
CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR) | SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)" | With a FA Cup of 0 44 0 (0), the other [C] is listed as what? | <s>[INST]With a FA Cup of 0 44 0 (0), the other [C] is listed as what? Context: CREATE TABLE table_name_46 (other_ VARCHAR, c_ VARCHAR, fa_cup VARCHAR)[/INST]SELECT other_[c_] FROM table_name_46 WHERE fa_cup = "0 44 0 (0)"</s> |
CREATE TABLE table_name_35 (result VARCHAR, title VARCHAR, genre VARCHAR, label VARCHAR) | SELECT result FROM table_name_35 WHERE genre = "jazz" AND label = "columbia" AND title = "requiem" | Which result's genre was jazz when its label was columbia and its title was requiem? | <s>[INST]Which result's genre was jazz when its label was columbia and its title was requiem? Context: CREATE TABLE table_name_35 (result VARCHAR, title VARCHAR, genre VARCHAR, label VARCHAR)[/INST]SELECT result FROM table_name_35 WHERE genre = "jazz" AND label = "columbia" AND title = "requiem"</s> |
CREATE TABLE table_name_95 (position INTEGER, drawn VARCHAR, played VARCHAR, points VARCHAR) | SELECT MIN(position) FROM table_name_95 WHERE played > 9 AND points < 11 AND drawn < 0 | Which Position has a Played larger than 9, and a Points smaller than 11, and a Drawn smaller than 0? | <s>[INST]Which Position has a Played larger than 9, and a Points smaller than 11, and a Drawn smaller than 0? Context: CREATE TABLE table_name_95 (position INTEGER, drawn VARCHAR, played VARCHAR, points VARCHAR)[/INST]SELECT MIN(position) FROM table_name_95 WHERE played > 9 AND points < 11 AND drawn < 0</s> |
CREATE TABLE table_name_49 (outcome VARCHAR, surface VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_49 WHERE surface = "clay" AND date = "2 may 2009" | What was the outcome when the game was played on clay and on 2 May 2009? | <s>[INST]What was the outcome when the game was played on clay and on 2 May 2009? Context: CREATE TABLE table_name_49 (outcome VARCHAR, surface VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_49 WHERE surface = "clay" AND date = "2 may 2009"</s> |
CREATE TABLE table_name_60 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_60 WHERE year_s__won = "1977" | Which Country has a Year(s) won of 1977? | <s>[INST]Which Country has a Year(s) won of 1977? Context: CREATE TABLE table_name_60 (country VARCHAR, year_s__won VARCHAR)[/INST]SELECT country FROM table_name_60 WHERE year_s__won = "1977"</s> |
CREATE TABLE table_name_28 (i_o_bus VARCHAR, sspec_number VARCHAR) | SELECT i_o_bus FROM table_name_28 WHERE sspec_number = "sr0n5(l1)" | what is the i/o bus when the sspec numebr is sr0n5(l1)? | <s>[INST]what is the i/o bus when the sspec numebr is sr0n5(l1)? Context: CREATE TABLE table_name_28 (i_o_bus VARCHAR, sspec_number VARCHAR)[/INST]SELECT i_o_bus FROM table_name_28 WHERE sspec_number = "sr0n5(l1)"</s> |
CREATE TABLE architect (id VARCHAR, name VARCHAR); CREATE TABLE bridge (architect_id VARCHAR) | SELECT T1.id, T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) >= 3 | What are the ids and names of the architects who built at least 3 bridges ? | <s>[INST]What are the ids and names of the architects who built at least 3 bridges ? Context: CREATE TABLE architect (id VARCHAR, name VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)[/INST]SELECT T1.id, T1.name FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) >= 3</s... |
CREATE TABLE table_name_91 (state VARCHAR, name VARCHAR, gnis_feature_id VARCHAR) | SELECT state FROM table_name_91 WHERE name = "diamond lake" AND gnis_feature_id = 1579127 | Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127? | <s>[INST]Which state has a Name of diamond lake, and a GNIS Feature ID of 1579127? Context: CREATE TABLE table_name_91 (state VARCHAR, name VARCHAR, gnis_feature_id VARCHAR)[/INST]SELECT state FROM table_name_91 WHERE name = "diamond lake" AND gnis_feature_id = 1579127</s> |
CREATE TABLE table_name_53 (platform_s_ VARCHAR, year VARCHAR) | SELECT platform_s_ FROM table_name_53 WHERE year = "2006" | What is the platform of the game built in 2006? | <s>[INST]What is the platform of the game built in 2006? Context: CREATE TABLE table_name_53 (platform_s_ VARCHAR, year VARCHAR)[/INST]SELECT platform_s_ FROM table_name_53 WHERE year = "2006"</s> |
CREATE TABLE table_name_98 (Id VARCHAR) | SELECT 2013 FROM table_name_98 WHERE 2010 = "1r" | Which 2013 has a 2010 of 1r? | <s>[INST]Which 2013 has a 2010 of 1r? Context: CREATE TABLE table_name_98 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_98 WHERE 2010 = "1r"</s> |
CREATE TABLE table_name_16 (game INTEGER, opponent VARCHAR, points VARCHAR) | SELECT MAX(game) FROM table_name_16 WHERE opponent = "new york rangers" AND points > 55 | What's the highest game against the New York Rangers with more than 55 points? | <s>[INST]What's the highest game against the New York Rangers with more than 55 points? Context: CREATE TABLE table_name_16 (game INTEGER, opponent VARCHAR, points VARCHAR)[/INST]SELECT MAX(game) FROM table_name_16 WHERE opponent = "new york rangers" AND points > 55</s> |
CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR) | SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express" | What is the Remark of Airline of Dutch Antilles Express? | <s>[INST]What is the Remark of Airline of Dutch Antilles Express? Context: CREATE TABLE table_name_79 (remarks VARCHAR, airline VARCHAR)[/INST]SELECT remarks FROM table_name_79 WHERE airline = "dutch antilles express"</s> |
CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR) | SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv" | Which country is the Nova TV network from? | <s>[INST]Which country is the Nova TV network from? Context: CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR)[/INST]SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv"</s> |
CREATE TABLE table_name_16 (left_office VARCHAR, party VARCHAR, took_office VARCHAR) | SELECT left_office FROM table_name_16 WHERE party = "udc" AND took_office = "11 june 2001" | What is Left Office, when Party is "UDC", and when Took Office is "11 June 2001"? | <s>[INST]What is Left Office, when Party is "UDC", and when Took Office is "11 June 2001"? Context: CREATE TABLE table_name_16 (left_office VARCHAR, party VARCHAR, took_office VARCHAR)[/INST]SELECT left_office FROM table_name_16 WHERE party = "udc" AND took_office = "11 june 2001"</s> |
CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR) | SELECT drawn FROM table_name_12 WHERE points_difference = "-210" | What is the number of draws for the team with a points difference of -210? | <s>[INST]What is the number of draws for the team with a points difference of -210? Context: CREATE TABLE table_name_12 (drawn VARCHAR, points_difference VARCHAR)[/INST]SELECT drawn FROM table_name_12 WHERE points_difference = "-210"</s> |
CREATE TABLE table_name_58 (weight VARCHAR, height VARCHAR) | SELECT weight FROM table_name_58 WHERE height = "2.00" | What is the weight of the player with a height of 2.00m? | <s>[INST]What is the weight of the player with a height of 2.00m? Context: CREATE TABLE table_name_58 (weight VARCHAR, height VARCHAR)[/INST]SELECT weight FROM table_name_58 WHERE height = "2.00"</s> |
CREATE TABLE table_name_61 (silver INTEGER, rank VARCHAR, gold VARCHAR) | SELECT AVG(silver) FROM table_name_61 WHERE rank < 2 AND gold > 1 | What is the average silver with a Rank smaller than 2 and more than 1 gold? | <s>[INST]What is the average silver with a Rank smaller than 2 and more than 1 gold? Context: CREATE TABLE table_name_61 (silver INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT AVG(silver) FROM table_name_61 WHERE rank < 2 AND gold > 1</s> |
CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR) | SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley" | What is the capacity of the Pinto Valley mine in Gila county? | <s>[INST]What is the capacity of the Pinto Valley mine in Gila county? Context: CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR)[/INST]SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley"</s> |
CREATE TABLE table_name_90 (venue VARCHAR, winner VARCHAR) | SELECT venue FROM table_name_90 WHERE winner = "marie-laure taya" | where did marie-laure taya win? | <s>[INST]where did marie-laure taya win? Context: CREATE TABLE table_name_90 (venue VARCHAR, winner VARCHAR)[/INST]SELECT venue FROM table_name_90 WHERE winner = "marie-laure taya"</s> |
CREATE TABLE match_season (College VARCHAR) | SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC | Show the name of colleges that have at least two players in descending alphabetical order. | <s>[INST]Show the name of colleges that have at least two players in descending alphabetical order. Context: CREATE TABLE match_season (College VARCHAR)[/INST]SELECT College FROM match_season GROUP BY College HAVING COUNT(*) >= 2 ORDER BY College DESC</s> |
CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR) | SELECT game_site FROM table_name_99 WHERE attendance = "54,436" | Where was the game with the attendance of 54,436? | <s>[INST]Where was the game with the attendance of 54,436? Context: CREATE TABLE table_name_99 (game_site VARCHAR, attendance VARCHAR)[/INST]SELECT game_site FROM table_name_99 WHERE attendance = "54,436"</s> |
CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR) | SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7 | What is the total number of Gold, when Silver is 2, and when Total is less than 7? | <s>[INST]What is the total number of Gold, when Silver is 2, and when Total is less than 7? Context: CREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR)[/INST]SELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7</s> |
CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62" | How many tries against got the club with 62 tries for? | <s>[INST]How many tries against got the club with 62 tries for? Context: CREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR)[/INST]SELECT tries_against FROM table_13564702_4 WHERE tries_for = "62"</s> |
CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR) | SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2" | What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2? | <s>[INST]What tournament took place after 1986 and had a final score of 7–6, 3–6, 6–2? Context: CREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = "7–6, 3–6, 6–2"</s> |
CREATE TABLE table_name_70 (team VARCHAR, home VARCHAR) | SELECT team FROM table_name_70 WHERE home = "stirling" | What is the name of the team from Stirling? | <s>[INST]What is the name of the team from Stirling? Context: CREATE TABLE table_name_70 (team VARCHAR, home VARCHAR)[/INST]SELECT team FROM table_name_70 WHERE home = "stirling"</s> |
CREATE TABLE table_name_13 (home_captain VARCHAR, venue VARCHAR) | SELECT home_captain FROM table_name_13 WHERE venue = "oval" | Who was the Home captain that played at the venue Oval? | <s>[INST]Who was the Home captain that played at the venue Oval? Context: CREATE TABLE table_name_13 (home_captain VARCHAR, venue VARCHAR)[/INST]SELECT home_captain FROM table_name_13 WHERE venue = "oval"</s> |
CREATE TABLE table_name_13 (performer_1 VARCHAR, performer_3 VARCHAR, performer_4 VARCHAR) | SELECT performer_1 FROM table_name_13 WHERE performer_3 = "sandi toksvig" AND performer_4 = "mike mcshane" | What was Performer 1's name who performed with Sandi Toksvig as Performer 3 and Mike McShane as Performer 4? | <s>[INST]What was Performer 1's name who performed with Sandi Toksvig as Performer 3 and Mike McShane as Performer 4? Context: CREATE TABLE table_name_13 (performer_1 VARCHAR, performer_3 VARCHAR, performer_4 VARCHAR)[/INST]SELECT performer_1 FROM table_name_13 WHERE performer_3 = "sandi toksvig" AND performer_4 = "mik... |
CREATE TABLE table_22893781_6 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_22893781_6 WHERE date = "January 15" | Name the high assists for january 15 | <s>[INST]Name the high assists for january 15 Context: CREATE TABLE table_22893781_6 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_22893781_6 WHERE date = "January 15"</s> |
CREATE TABLE table_name_67 (college VARCHAR, round VARCHAR, overall VARCHAR) | SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129 | Round smaller than 7, and an Overall of 129 is what college? | <s>[INST]Round smaller than 7, and an Overall of 129 is what college? Context: CREATE TABLE table_name_67 (college VARCHAR, round VARCHAR, overall VARCHAR)[/INST]SELECT college FROM table_name_67 WHERE round < 7 AND overall = 129</s> |
CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR) | SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "111" | What number episode in the series had a production code of 111? | <s>[INST]What number episode in the series had a production code of 111? Context: CREATE TABLE table_25246990_2 (no_in_series VARCHAR, prod_code VARCHAR)[/INST]SELECT no_in_series FROM table_25246990_2 WHERE prod_code = "111"</s> |
CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR) | SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296" | Which episode had viewership of 0.296 million? | <s>[INST]Which episode had viewership of 0.296 million? Context: CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296"</s> |
CREATE TABLE table_name_90 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR) | SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352 | What status has an area km 2 less than 27.82, with 352 as the population? | <s>[INST]What status has an area km 2 less than 27.82, with 352 as the population? Context: CREATE TABLE table_name_90 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR)[/INST]SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352</s> |
CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR) | SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun" | What is the verb meaning of the word with part 3 "sufun"? | <s>[INST]What is the verb meaning of the word with part 3 "sufun"? Context: CREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR)[/INST]SELECT verb_meaning FROM table_1745843_8 WHERE part_3 = "sufun"</s> |
CREATE TABLE table_name_63 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_63 WHERE record = "54–42" | What was the loss of the game with a record of 54–42? | <s>[INST]What was the loss of the game with a record of 54–42? Context: CREATE TABLE table_name_63 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_63 WHERE record = "54–42"</s> |
CREATE TABLE Highschooler (grade VARCHAR) | SELECT grade FROM Highschooler | Show all the grades of the high schoolers. | <s>[INST]Show all the grades of the high schoolers. Context: CREATE TABLE Highschooler (grade VARCHAR)[/INST]SELECT grade FROM Highschooler</s> |
CREATE TABLE table_name_51 (winning_driver VARCHAR, race_name VARCHAR) | SELECT winning_driver FROM table_name_51 WHERE race_name = "iv grand prix de caen" | Who is the winning drive of iv grand prix de caen? | <s>[INST]Who is the winning drive of iv grand prix de caen? Context: CREATE TABLE table_name_51 (winning_driver VARCHAR, race_name VARCHAR)[/INST]SELECT winning_driver FROM table_name_51 WHERE race_name = "iv grand prix de caen"</s> |
CREATE TABLE table_name_4 (fate VARCHAR, nationality VARCHAR, tonnage VARCHAR) | SELECT fate FROM table_name_4 WHERE nationality = "united kingdom" AND tonnage = "1,809" | Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809? | <s>[INST]Which Fate has a Nationality of united kingdom, and a Tonnage of 1,809? Context: CREATE TABLE table_name_4 (fate VARCHAR, nationality VARCHAR, tonnage VARCHAR)[/INST]SELECT fate FROM table_name_4 WHERE nationality = "united kingdom" AND tonnage = "1,809"</s> |
CREATE TABLE table_name_83 (title VARCHAR, year VARCHAR, genre VARCHAR) | SELECT title FROM table_name_83 WHERE year = 2003 AND genre = "rap" | What was the title of Ashanti's 2003 rap song? | <s>[INST]What was the title of Ashanti's 2003 rap song? Context: CREATE TABLE table_name_83 (title VARCHAR, year VARCHAR, genre VARCHAR)[/INST]SELECT title FROM table_name_83 WHERE year = 2003 AND genre = "rap"</s> |
CREATE TABLE table_name_29 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_name_29 WHERE location_attendance = "td banknorth garden 18,624" | What is Date, when Location Attendance is "TD Banknorth Garden 18,624"? | <s>[INST]What is Date, when Location Attendance is "TD Banknorth Garden 18,624"? Context: CREATE TABLE table_name_29 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_name_29 WHERE location_attendance = "td banknorth garden 18,624"</s> |
CREATE TABLE table_name_45 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_45 WHERE grid < 11 AND driver = "jo siffert" | What is the time/retired for jo siffert with a grid under 11? | <s>[INST]What is the time/retired for jo siffert with a grid under 11? Context: CREATE TABLE table_name_45 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_45 WHERE grid < 11 AND driver = "jo siffert"</s> |
CREATE TABLE table_27537518_6 (decision VARCHAR, first_star VARCHAR) | SELECT decision FROM table_27537518_6 WHERE first_star = "V. Lecavalier" | Who made the decisions in the game whose first star was V. Lecavalier? | <s>[INST]Who made the decisions in the game whose first star was V. Lecavalier? Context: CREATE TABLE table_27537518_6 (decision VARCHAR, first_star VARCHAR)[/INST]SELECT decision FROM table_27537518_6 WHERE first_star = "V. Lecavalier"</s> |
CREATE TABLE table_name_15 (name VARCHAR, country VARCHAR) | SELECT name FROM table_name_15 WHERE country = "china" | What is the name of the buildings for China? | <s>[INST]What is the name of the buildings for China? Context: CREATE TABLE table_name_15 (name VARCHAR, country VARCHAR)[/INST]SELECT name FROM table_name_15 WHERE country = "china"</s> |
CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR) | SELECT bowler FROM table_22962745_35 WHERE batsmen = "Dwaraka Ravi Teja RP Singh Pragyan Ojha" | Who was the bowler when the batsmen was dwaraka ravi teja rp singh pragyan ojha? | <s>[INST]Who was the bowler when the batsmen was dwaraka ravi teja rp singh pragyan ojha? Context: CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR)[/INST]SELECT bowler FROM table_22962745_35 WHERE batsmen = "Dwaraka Ravi Teja RP Singh Pragyan Ojha"</s> |
CREATE TABLE table_13789248_2 (points VARCHAR, artist VARCHAR) | SELECT points FROM table_13789248_2 WHERE artist = "Dave Appell" | what's the points with artbeingt being dave appell | <s>[INST]what's the points with artbeingt being dave appell Context: CREATE TABLE table_13789248_2 (points VARCHAR, artist VARCHAR)[/INST]SELECT points FROM table_13789248_2 WHERE artist = "Dave Appell"</s> |
CREATE TABLE table_name_37 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR) | SELECT location FROM table_name_37 WHERE years_in_gfl = "1979-" AND nickname = "saints" | What is the location of the Saints having 1979- as Years in GFL? | <s>[INST]What is the location of the Saints having 1979- as Years in GFL? Context: CREATE TABLE table_name_37 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_name_37 WHERE years_in_gfl = "1979-" AND nickname = "saints"</s> |
CREATE TABLE table_name_83 (episode_title VARCHAR, doctor_who_episode VARCHAR) | SELECT episode_title FROM table_name_83 WHERE doctor_who_episode = "episodes 1–12" | Which Episode title has a Doctor Who episode of episodes 1–12? | <s>[INST]Which Episode title has a Doctor Who episode of episodes 1–12? Context: CREATE TABLE table_name_83 (episode_title VARCHAR, doctor_who_episode VARCHAR)[/INST]SELECT episode_title FROM table_name_83 WHERE doctor_who_episode = "episodes 1–12"</s> |
CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, gold VARCHAR) | SELECT rank FROM table_name_2 WHERE bronze = 1 AND gold = 0 | What is the rank of the team with 1 bronze and 0 gold medals? | <s>[INST]What is the rank of the team with 1 bronze and 0 gold medals? Context: CREATE TABLE table_name_2 (rank VARCHAR, bronze VARCHAR, gold VARCHAR)[/INST]SELECT rank FROM table_name_2 WHERE bronze = 1 AND gold = 0</s> |
CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR) | SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911 | What's the most area of Bochum Part 2 with a population less than 15,911? | <s>[INST]What's the most area of Bochum Part 2 with a population less than 15,911? Context: CREATE TABLE table_name_72 (area__km_2__ INTEGER, place VARCHAR, population VARCHAR)[/INST]SELECT MAX(area__km_2__) FROM table_name_72 WHERE place = "bochum part 2" AND population < 15 OFFSET 911</s> |
CREATE TABLE table_name_89 (player VARCHAR, county VARCHAR) | SELECT player FROM table_name_89 WHERE county = "dublin" | Which player is from County Dublin? | <s>[INST]Which player is from County Dublin? Context: CREATE TABLE table_name_89 (player VARCHAR, county VARCHAR)[/INST]SELECT player FROM table_name_89 WHERE county = "dublin"</s> |
CREATE TABLE table_name_23 (opponents_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponents_in_the_final FROM table_name_23 WHERE surface = "hard" AND score = "6-4, 7-6(2)" | Who were the opponents on a hard surface with a score of 6-4, 7-6(2)? | <s>[INST]Who were the opponents on a hard surface with a score of 6-4, 7-6(2)? Context: CREATE TABLE table_name_23 (opponents_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_23 WHERE surface = "hard" AND score = "6-4, 7-6(2)"</s> |
CREATE TABLE table_name_33 (fa_cup_goals INTEGER, league_goals VARCHAR, other_goals VARCHAR, fl_cup_goals VARCHAR) | SELECT AVG(fa_cup_goals) FROM table_name_33 WHERE other_goals = 0 AND fl_cup_goals = 0 AND league_goals < 39 | What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals? | <s>[INST]What is the average FA Cup Goal value for players that have 0 Other goals, 0 FL Cup goals, and fewer than 39 League goals? Context: CREATE TABLE table_name_33 (fa_cup_goals INTEGER, league_goals VARCHAR, other_goals VARCHAR, fl_cup_goals VARCHAR)[/INST]SELECT AVG(fa_cup_goals) FROM table_name_33 WHERE other_go... |
CREATE TABLE table_name_64 (rank INTEGER, nation VARCHAR, silver VARCHAR) | SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 8 | What was the average rank for south africa when they had more than 8 silver medals? | <s>[INST]What was the average rank for south africa when they had more than 8 silver medals? Context: CREATE TABLE table_name_64 (rank INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_64 WHERE nation = "south africa" AND silver > 8</s> |
CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR) | SELECT british FROM table_name_55 WHERE letter = "o /oʊ/" | What is the British letter with o /oʊ/? | <s>[INST]What is the British letter with o /oʊ/? Context: CREATE TABLE table_name_55 (british VARCHAR, letter VARCHAR)[/INST]SELECT british FROM table_name_55 WHERE letter = "o /oʊ/"</s> |
CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR) | SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager" | How many times was Scott Oelslager a representative? | <s>[INST]How many times was Scott Oelslager a representative? Context: CREATE TABLE table_26131768_4 (residence VARCHAR, representative VARCHAR)[/INST]SELECT COUNT(residence) FROM table_26131768_4 WHERE representative = "Scott Oelslager"</s> |
CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR) | SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy memorial stadium" | What was the final score in Robert F. Kennedy Memorial Stadium? | <s>[INST]What was the final score in Robert F. Kennedy Memorial Stadium? Context: CREATE TABLE table_name_26 (final_score VARCHAR, stadium VARCHAR)[/INST]SELECT final_score FROM table_name_26 WHERE stadium = "robert f. kennedy memorial stadium"</s> |
CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR) | SELECT visiting_team FROM table_name_12 WHERE date = "november 12" | What was the visiting team on November 12? | <s>[INST]What was the visiting team on November 12? Context: CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR)[/INST]SELECT visiting_team FROM table_name_12 WHERE date = "november 12"</s> |
CREATE TABLE table_name_41 (result VARCHAR, nfl_recap VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_41 WHERE nfl_recap = "recap" AND game_site = "bank of america stadium" | What is the Result with an NFL Recap, played at bank of america stadium? | <s>[INST]What is the Result with an NFL Recap, played at bank of america stadium? Context: CREATE TABLE table_name_41 (result VARCHAR, nfl_recap VARCHAR, game_site VARCHAR)[/INST]SELECT result FROM table_name_41 WHERE nfl_recap = "recap" AND game_site = "bank of america stadium"</s> |
CREATE TABLE table_19722233_5 (assists VARCHAR, points VARCHAR) | SELECT assists FROM table_19722233_5 WHERE points = 251 | how many assists did the player who scored 251 points make | <s>[INST]how many assists did the player who scored 251 points make Context: CREATE TABLE table_19722233_5 (assists VARCHAR, points VARCHAR)[/INST]SELECT assists FROM table_19722233_5 WHERE points = 251</s> |
CREATE TABLE table_name_38 (eric_johnson VARCHAR, karen_handel VARCHAR) | SELECT eric_johnson FROM table_name_38 WHERE karen_handel = "12%" | What is Eric Johnson at in the poll where Karen Handel is at 12%? | <s>[INST]What is Eric Johnson at in the poll where Karen Handel is at 12%? Context: CREATE TABLE table_name_38 (eric_johnson VARCHAR, karen_handel VARCHAR)[/INST]SELECT eric_johnson FROM table_name_38 WHERE karen_handel = "12%"</s> |
CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR) | SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 8 | Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8? | <s>[INST]Which FA Cup has a Malaysia Cup larger than 0, and a Total of 8? Context: CREATE TABLE table_name_44 (fa_cup INTEGER, malaysia_cup VARCHAR, total VARCHAR)[/INST]SELECT SUM(fa_cup) FROM table_name_44 WHERE malaysia_cup > 0 AND total = 8</s> |
CREATE TABLE endowment (donator_name VARCHAR, amount INTEGER) | SELECT donator_name, SUM(amount) FROM endowment GROUP BY donator_name ORDER BY SUM(amount) DESC | List each donator name and the amount of endowment in descending order of the amount of endowment. | <s>[INST]List each donator name and the amount of endowment in descending order of the amount of endowment. Context: CREATE TABLE endowment (donator_name VARCHAR, amount INTEGER)[/INST]SELECT donator_name, SUM(amount) FROM endowment GROUP BY donator_name ORDER BY SUM(amount) DESC</s> |
CREATE TABLE table_261954_1 (type VARCHAR, location VARCHAR) | SELECT type FROM table_261954_1 WHERE location = "Roanoke, Virginia" | What is every type for the location of Roanoke, Virginia? | <s>[INST]What is every type for the location of Roanoke, Virginia? Context: CREATE TABLE table_261954_1 (type VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_261954_1 WHERE location = "Roanoke, Virginia"</s> |
CREATE TABLE table_name_70 (player VARCHAR, score VARCHAR, country VARCHAR) | SELECT player FROM table_name_70 WHERE score < 69 AND country = "united states" | What is Player, when Score is less than 69, and when Country is "United States"? | <s>[INST]What is Player, when Score is less than 69, and when Country is "United States"? Context: CREATE TABLE table_name_70 (player VARCHAR, score VARCHAR, country VARCHAR)[/INST]SELECT player FROM table_name_70 WHERE score < 69 AND country = "united states"</s> |
CREATE TABLE table_name_26 (game INTEGER, date VARCHAR) | SELECT SUM(game) FROM table_name_26 WHERE date = "wed. nov. 14" | What is the sum of Game, when Date is "Wed. Nov. 14"? | <s>[INST]What is the sum of Game, when Date is "Wed. Nov. 14"? Context: CREATE TABLE table_name_26 (game INTEGER, date VARCHAR)[/INST]SELECT SUM(game) FROM table_name_26 WHERE date = "wed. nov. 14"</s> |
CREATE TABLE table_name_66 (capacity INTEGER, team VARCHAR) | SELECT MAX(capacity) FROM table_name_66 WHERE team = "torpedo" | Can you tell me the highest Capacity that has the Team of torpedo? | <s>[INST]Can you tell me the highest Capacity that has the Team of torpedo? Context: CREATE TABLE table_name_66 (capacity INTEGER, team VARCHAR)[/INST]SELECT MAX(capacity) FROM table_name_66 WHERE team = "torpedo"</s> |
CREATE TABLE table_17467147_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.70" | When there are 12.70 million u.s. viewers who is the director? | <s>[INST]When there are 12.70 million u.s. viewers who is the director? Context: CREATE TABLE table_17467147_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.70"</s> |
CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR, place VARCHAR) | SELECT score FROM table_name_88 WHERE country = "united states" AND place = "t5" | What did the United States score in the T5? | <s>[INST]What did the United States score in the T5? Context: CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT score FROM table_name_88 WHERE country = "united states" AND place = "t5"</s> |
CREATE TABLE table_name_58 (club VARCHAR, tries_against VARCHAR) | SELECT club FROM table_name_58 WHERE tries_against = "75" | What club has tries against of 75? | <s>[INST]What club has tries against of 75? Context: CREATE TABLE table_name_58 (club VARCHAR, tries_against VARCHAR)[/INST]SELECT club FROM table_name_58 WHERE tries_against = "75"</s> |
CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_93 WHERE player = "michael stewart" | What is Michael Stewart's school or club team? | <s>[INST]What is Michael Stewart's school or club team? Context: CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR)[/INST]SELECT school_club_team FROM table_name_93 WHERE player = "michael stewart"</s> |
CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR) | SELECT new_adherents_per_year FROM table_28137918_5 WHERE religion = "Buddhism" | Name the new adherents per year for buddhism | <s>[INST]Name the new adherents per year for buddhism Context: CREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)[/INST]SELECT new_adherents_per_year FROM table_28137918_5 WHERE religion = "Buddhism"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.