context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) | SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60 | Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60? | <s>[INST]Which Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60? Context: CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR)[/INST]SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60</s> |
CREATE TABLE table_name_39 (bronze INTEGER, silver VARCHAR, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_39 WHERE "total" > 72 AND nation = "total" AND silver < 112 | How many bronzes are there for the total nation with 112 silver and a total of 72? | <s>[INST]How many bronzes are there for the total nation with 112 silver and a total of 72? Context: CREATE TABLE table_name_39 (bronze INTEGER, silver VARCHAR, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_39 WHERE "total" > 72 AND nation = "total" AND silver < 112</s> |
CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR) | SELECT final_standing FROM table_name_58 WHERE years = "1981–82" | What is the final standing in 1981–82? | <s>[INST]What is the final standing in 1981–82? Context: CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR)[/INST]SELECT final_standing FROM table_name_58 WHERE years = "1981–82"</s> |
CREATE TABLE table_name_67 (opponents VARCHAR, venue VARCHAR, score VARCHAR) | SELECT opponents FROM table_name_67 WHERE venue = "away" AND score = "5-4" | Who was the opponent at the away game with a score of 5-4? | <s>[INST]Who was the opponent at the away game with a score of 5-4? Context: CREATE TABLE table_name_67 (opponents VARCHAR, venue VARCHAR, score VARCHAR)[/INST]SELECT opponents FROM table_name_67 WHERE venue = "away" AND score = "5-4"</s> |
CREATE TABLE table_name_7 (date VARCHAR, delta VARCHAR) | SELECT date FROM table_name_7 WHERE delta = "0:40" | On what Date is Delta 0:40? | <s>[INST]On what Date is Delta 0:40? Context: CREATE TABLE table_name_7 (date VARCHAR, delta VARCHAR)[/INST]SELECT date FROM table_name_7 WHERE delta = "0:40"</s> |
CREATE TABLE table_name_67 (muzzle_energy VARCHAR, bullet_weight VARCHAR, max_pressure VARCHAR) | SELECT muzzle_energy FROM table_name_67 WHERE bullet_weight = "grains (g)" AND max_pressure = "35,000 psi" | What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi? | <s>[INST]What is the muzzle energy with grains (g) bullet weight and a max pressure of 35,000 psi? Context: CREATE TABLE table_name_67 (muzzle_energy VARCHAR, bullet_weight VARCHAR, max_pressure VARCHAR)[/INST]SELECT muzzle_energy FROM table_name_67 WHERE bullet_weight = "grains (g)" AND max_pressure = "35,000 psi"</s> |
CREATE TABLE table_name_38 (score VARCHAR, location_attendance VARCHAR) | SELECT score FROM table_name_38 WHERE location_attendance = "chicago stadium" | What was the score of the game at the Chicago Stadium? | <s>[INST]What was the score of the game at the Chicago Stadium? Context: CREATE TABLE table_name_38 (score VARCHAR, location_attendance VARCHAR)[/INST]SELECT score FROM table_name_38 WHERE location_attendance = "chicago stadium"</s> |
CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR) | SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = "1 × 6.4 gt/s qpi" AND part_number_s_ = "bx80601975at80601002274aa" | What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O? | <s>[INST]What's the release price of the processor with the part number bx80601975at80601002274aa, and has 1 × 6.4 gt/s qpi I/O? Context: CREATE TABLE table_name_12 (release_price___usd__ VARCHAR, i_o_bus VARCHAR, part_number_s_ VARCHAR)[/INST]SELECT release_price___usd__ FROM table_name_12 WHERE i_o_bus = "1 × 6.4 gt/... |
CREATE TABLE table_18823880_10 (release_price___usd__ VARCHAR, socket VARCHAR) | SELECT release_price___usd__ FROM table_18823880_10 WHERE socket = "socketG1" | When socketg1 is the socket what is the release price in dollars? | <s>[INST]When socketg1 is the socket what is the release price in dollars? Context: CREATE TABLE table_18823880_10 (release_price___usd__ VARCHAR, socket VARCHAR)[/INST]SELECT release_price___usd__ FROM table_18823880_10 WHERE socket = "socketG1"</s> |
CREATE TABLE table_name_83 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_83 WHERE to_par = "–8" AND score = 67 - 74 - 67 = 208 | What is the Place of the Player with a To par of –8 and a Score of 67-74-67=208? | <s>[INST]What is the Place of the Player with a To par of –8 and a Score of 67-74-67=208? Context: CREATE TABLE table_name_83 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_83 WHERE to_par = "–8" AND score = 67 - 74 - 67 = 208</s> |
CREATE TABLE table_name_14 (route VARCHAR, distance VARCHAR) | SELECT route FROM table_name_14 WHERE distance = "170.8km" | Name the route for 170.8km distance | <s>[INST]Name the route for 170.8km distance Context: CREATE TABLE table_name_14 (route VARCHAR, distance VARCHAR)[/INST]SELECT route FROM table_name_14 WHERE distance = "170.8km"</s> |
CREATE TABLE table_26866205_1 (original_airdate VARCHAR, series__number VARCHAR) | SELECT original_airdate FROM table_26866205_1 WHERE series__number = 26 | What is every original air date for series# of 26? | <s>[INST]What is every original air date for series# of 26? Context: CREATE TABLE table_26866205_1 (original_airdate VARCHAR, series__number VARCHAR)[/INST]SELECT original_airdate FROM table_26866205_1 WHERE series__number = 26</s> |
CREATE TABLE table_28181347_6 (position_in_table VARCHAR, replaced_by VARCHAR) | SELECT position_in_table FROM table_28181347_6 WHERE replaced_by = "Mark Stimson" | When Mark Stimson started his job in 2007-08 what posiiton was the team on the table | <s>[INST]When Mark Stimson started his job in 2007-08 what posiiton was the team on the table Context: CREATE TABLE table_28181347_6 (position_in_table VARCHAR, replaced_by VARCHAR)[/INST]SELECT position_in_table FROM table_28181347_6 WHERE replaced_by = "Mark Stimson"</s> |
CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR) | SELECT SUM(played) FROM table_name_55 WHERE wins = 21 AND position > 3 | what is the played when the wins is 21 and the positions is higher than 3? | <s>[INST]what is the played when the wins is 21 and the positions is higher than 3? Context: CREATE TABLE table_name_55 (played INTEGER, wins VARCHAR, position VARCHAR)[/INST]SELECT SUM(played) FROM table_name_55 WHERE wins = 21 AND position > 3</s> |
CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_west_südwest VARCHAR) | SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_west_südwest = "FC Gütersloh Rot-Weiß Essen" | what's the regionalliga nord with regionalliga west/südwest being fc gütersloh rot-weiß essen | <s>[INST]what's the regionalliga nord with regionalliga west/südwest being fc gütersloh rot-weiß essen Context: CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_west_südwest VARCHAR)[/INST]SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_west_südwest = "FC Gütersloh Rot-Weiß Ess... |
CREATE TABLE table_name_66 (tonnage VARCHAR, date VARCHAR) | SELECT tonnage FROM table_name_66 WHERE date = "25 july 1942" | Which Tonnage is on 25 july 1942? | <s>[INST]Which Tonnage is on 25 july 1942? Context: CREATE TABLE table_name_66 (tonnage VARCHAR, date VARCHAR)[/INST]SELECT tonnage FROM table_name_66 WHERE date = "25 july 1942"</s> |
CREATE TABLE table_name_2 (machine VARCHAR, rider VARCHAR) | SELECT machine FROM table_name_2 WHERE rider = "kenneth e. herbert" | What machine did Kenneth E. Herbert ride? | <s>[INST]What machine did Kenneth E. Herbert ride? Context: CREATE TABLE table_name_2 (machine VARCHAR, rider VARCHAR)[/INST]SELECT machine FROM table_name_2 WHERE rider = "kenneth e. herbert"</s> |
CREATE TABLE table_1012730_1 (top_10 VARCHAR, avg_start VARCHAR) | SELECT COUNT(top_10) FROM table_1012730_1 WHERE avg_start = "29.4" | How many top tens had an average start of 29.4? | <s>[INST]How many top tens had an average start of 29.4? Context: CREATE TABLE table_1012730_1 (top_10 VARCHAR, avg_start VARCHAR)[/INST]SELECT COUNT(top_10) FROM table_1012730_1 WHERE avg_start = "29.4"</s> |
CREATE TABLE Vehicles (vehicle_details VARCHAR, vehicle_id VARCHAR) | SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1 | Show the detail of vehicle with id 1. | <s>[INST]Show the detail of vehicle with id 1. Context: CREATE TABLE Vehicles (vehicle_details VARCHAR, vehicle_id VARCHAR)[/INST]SELECT vehicle_details FROM Vehicles WHERE vehicle_id = 1</s> |
CREATE TABLE table_name_91 (club VARCHAR, city VARCHAR) | SELECT club FROM table_name_91 WHERE city = "rovigo" | What is Rovigo's Club? | <s>[INST]What is Rovigo's Club? Context: CREATE TABLE table_name_91 (club VARCHAR, city VARCHAR)[/INST]SELECT club FROM table_name_91 WHERE city = "rovigo"</s> |
CREATE TABLE table_name_65 (diameter__mi_ VARCHAR, longitude VARCHAR) | SELECT diameter__mi_ FROM table_name_65 WHERE longitude = "79.8° e" | What is the Diameter (mi) when the Longitude is 79.8° e? | <s>[INST]What is the Diameter (mi) when the Longitude is 79.8° e? Context: CREATE TABLE table_name_65 (diameter__mi_ VARCHAR, longitude VARCHAR)[/INST]SELECT diameter__mi_ FROM table_name_65 WHERE longitude = "79.8° e"</s> |
CREATE TABLE table_name_69 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) | SELECT SUM(bronze) FROM table_name_69 WHERE total < 2 AND silver > 0 AND gold < 0 | Which Bronze has a Total smaller than 2, and a Silver larger than 0, and a Gold smaller than 0? | <s>[INST]Which Bronze has a Total smaller than 2, and a Silver larger than 0, and a Gold smaller than 0? Context: CREATE TABLE table_name_69 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT SUM(bronze) FROM table_name_69 WHERE total < 2 AND silver > 0 AND gold < 0</s> |
CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_56 WHERE away_team = "melbourne" | Which home team competed against the away team of Melbourne? | <s>[INST]Which home team competed against the away team of Melbourne? Context: CREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_56 WHERE away_team = "melbourne"</s> |
CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR) | SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010 | Tell me the championship for runner-up outcome of 2010 | <s>[INST]Tell me the championship for runner-up outcome of 2010 Context: CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR)[/INST]SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010</s> |
CREATE TABLE table_17001658_6 (team VARCHAR, game VARCHAR) | SELECT team FROM table_17001658_6 WHERE game = 21 | Against which team was game 21? | <s>[INST]Against which team was game 21? Context: CREATE TABLE table_17001658_6 (team VARCHAR, game VARCHAR)[/INST]SELECT team FROM table_17001658_6 WHERE game = 21</s> |
CREATE TABLE table_name_36 (home VARCHAR, away VARCHAR) | SELECT home FROM table_name_36 WHERE away = "1–1" | Which Home has an Away of 1–1? | <s>[INST]Which Home has an Away of 1–1? Context: CREATE TABLE table_name_36 (home VARCHAR, away VARCHAR)[/INST]SELECT home FROM table_name_36 WHERE away = "1–1"</s> |
CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_23 WHERE home_team = "footscray" | What is the name of the away team who played Footscray? | <s>[INST]What is the name of the away team who played Footscray? Context: CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_23 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_33 (creator VARCHAR, latest_stable_release VARCHAR, name VARCHAR) | SELECT creator FROM table_name_33 WHERE latest_stable_release = "unknown" AND name = "myeclipse" | Which Creator has the Latest stable release of unknown, and a Name of myeclipse? | <s>[INST]Which Creator has the Latest stable release of unknown, and a Name of myeclipse? Context: CREATE TABLE table_name_33 (creator VARCHAR, latest_stable_release VARCHAR, name VARCHAR)[/INST]SELECT creator FROM table_name_33 WHERE latest_stable_release = "unknown" AND name = "myeclipse"</s> |
CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) | SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)" | What city has channel tv (dt) 25 (31)? | <s>[INST]What city has channel tv (dt) 25 (31)? Context: CREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)[/INST]SELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = "25 (31)"</s> |
CREATE TABLE table_name_27 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_27 WHERE opponent = "buffalo sabres" | Where was the game against the buffalo sabres? | <s>[INST]Where was the game against the buffalo sabres? Context: CREATE TABLE table_name_27 (location VARCHAR, opponent VARCHAR)[/INST]SELECT location FROM table_name_27 WHERE opponent = "buffalo sabres"</s> |
CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR) | SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no" | What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? | <s>[INST]What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no? Context: CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR)[/INST]SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" ... |
CREATE TABLE table_15893020_2 (overs VARCHAR, player VARCHAR) | SELECT overs FROM table_15893020_2 WHERE player = "Oliver Hannon-Dalby" | How many overs did Oliver Hannon-Dalby have? | <s>[INST]How many overs did Oliver Hannon-Dalby have? Context: CREATE TABLE table_15893020_2 (overs VARCHAR, player VARCHAR)[/INST]SELECT overs FROM table_15893020_2 WHERE player = "Oliver Hannon-Dalby"</s> |
CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_31 WHERE venue = "western oval" | I want to know the date for western oval venue | <s>[INST]I want to know the date for western oval venue Context: CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE venue = "western oval"</s> |
CREATE TABLE table_26476336_2 (location VARCHAR, team_nickname VARCHAR) | SELECT location FROM table_26476336_2 WHERE team_nickname = "Red Raiders" | Where is the nickname the Red Raiders? | <s>[INST]Where is the nickname the Red Raiders? Context: CREATE TABLE table_26476336_2 (location VARCHAR, team_nickname VARCHAR)[/INST]SELECT location FROM table_26476336_2 WHERE team_nickname = "Red Raiders"</s> |
CREATE TABLE table_21716139_1 (train_name VARCHAR, category VARCHAR, frequency VARCHAR) | SELECT train_name FROM table_21716139_1 WHERE category = "Express" AND frequency = "Weekly" | What trains have a category of express and a weekly frequency? | <s>[INST]What trains have a category of express and a weekly frequency? Context: CREATE TABLE table_21716139_1 (train_name VARCHAR, category VARCHAR, frequency VARCHAR)[/INST]SELECT train_name FROM table_21716139_1 WHERE category = "Express" AND frequency = "Weekly"</s> |
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_78 WHERE record = "58–10" | Which Date has a Record of 58–10? | <s>[INST]Which Date has a Record of 58–10? Context: CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_78 WHERE record = "58–10"</s> |
CREATE TABLE table_30057479_1 (material VARCHAR, output_power VARCHAR) | SELECT COUNT(material) FROM table_30057479_1 WHERE output_power = "~0.1 pW per cycle (calculated)" | How many materials are there for output power of ~0.1 pw per cycle (calculated)? | <s>[INST]How many materials are there for output power of ~0.1 pw per cycle (calculated)? Context: CREATE TABLE table_30057479_1 (material VARCHAR, output_power VARCHAR)[/INST]SELECT COUNT(material) FROM table_30057479_1 WHERE output_power = "~0.1 pW per cycle (calculated)"</s> |
CREATE TABLE table_name_70 (time_retired VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_70 WHERE grid = 19 | What is the time for the racer on grid 19? | <s>[INST]What is the time for the racer on grid 19? Context: CREATE TABLE table_name_70 (time_retired VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_70 WHERE grid = 19</s> |
CREATE TABLE table_name_25 (japanese_voice_actor VARCHAR, eagle_riders VARCHAR) | SELECT japanese_voice_actor FROM table_name_25 WHERE eagle_riders = "ollie keeawani" | Who is the Japanese voice actor of Eagle Rider Ollie Keeawani? | <s>[INST]Who is the Japanese voice actor of Eagle Rider Ollie Keeawani? Context: CREATE TABLE table_name_25 (japanese_voice_actor VARCHAR, eagle_riders VARCHAR)[/INST]SELECT japanese_voice_actor FROM table_name_25 WHERE eagle_riders = "ollie keeawani"</s> |
CREATE TABLE table_name_3 (overall VARCHAR, name VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_3 WHERE name = "calvin o'neal" AND round < 6 | Name of calvin o'neal, and a Round smaller than 6 had what number total overall? | <s>[INST]Name of calvin o'neal, and a Round smaller than 6 had what number total overall? Context: CREATE TABLE table_name_3 (overall VARCHAR, name VARCHAR, round VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_3 WHERE name = "calvin o'neal" AND round < 6</s> |
CREATE TABLE table_16799784_4 (year_named VARCHAR, name VARCHAR) | SELECT COUNT(year_named) FROM table_16799784_4 WHERE name = "Otafuku Tholi" | How many schools are named otafuku tholi? | <s>[INST]How many schools are named otafuku tholi? Context: CREATE TABLE table_16799784_4 (year_named VARCHAR, name VARCHAR)[/INST]SELECT COUNT(year_named) FROM table_16799784_4 WHERE name = "Otafuku Tholi"</s> |
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR) | SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1 | Find the name of the most expensive product. | <s>[INST]Find the name of the most expensive product. Context: CREATE TABLE products (product_name VARCHAR, product_price VARCHAR)[/INST]SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1</s> |
CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR) | SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = "2" AND fa_cup_apps = "2" AND league_cup_goals < 0 | How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get? | <s>[INST]How many total goals did the squad with 2 playoff apps, 2 FA Cup Apps, and 0 League Cup goals get? Context: CREATE TABLE table_name_88 (total_goals INTEGER, league_cup_goals VARCHAR, playoff_apps VARCHAR, fa_cup_apps VARCHAR)[/INST]SELECT SUM(total_goals) FROM table_name_88 WHERE playoff_apps = "2" AND fa_cup_... |
CREATE TABLE table_name_50 (opponents VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006" | Who competed on may 6, 2006? | <s>[INST]Who competed on may 6, 2006? Context: CREATE TABLE table_name_50 (opponents VARCHAR, date VARCHAR)[/INST]SELECT opponents FROM table_name_50 WHERE date = "may 6, 2006"</s> |
CREATE TABLE table_name_60 (total_fertility_rate VARCHAR, deaths INTEGER) | SELECT total_fertility_rate FROM table_name_60 WHERE deaths > 7.8 | What was the total fertility rate that had a death rate larger than 7.8? | <s>[INST]What was the total fertility rate that had a death rate larger than 7.8? Context: CREATE TABLE table_name_60 (total_fertility_rate VARCHAR, deaths INTEGER)[/INST]SELECT total_fertility_rate FROM table_name_60 WHERE deaths > 7.8</s> |
CREATE TABLE table_name_88 (code_name VARCHAR, function__figure_ VARCHAR) | SELECT code_name FROM table_name_88 WHERE function__figure_ = "space pilot" | What is the Code Name for the Space Pilot Function (figure)? | <s>[INST]What is the Code Name for the Space Pilot Function (figure)? Context: CREATE TABLE table_name_88 (code_name VARCHAR, function__figure_ VARCHAR)[/INST]SELECT code_name FROM table_name_88 WHERE function__figure_ = "space pilot"</s> |
CREATE TABLE table_20592988_1 (condition VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR) | SELECT condition FROM table_20592988_1 WHERE platelet_count = "Unaffected" AND prothrombin_time = "Unaffected" | In what conditions are both the platelet count and prothrombin time unaffected? | <s>[INST]In what conditions are both the platelet count and prothrombin time unaffected? Context: CREATE TABLE table_20592988_1 (condition VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR)[/INST]SELECT condition FROM table_20592988_1 WHERE platelet_count = "Unaffected" AND prothrombin_time = "Unaffected"</s> |
CREATE TABLE table_19872699_1 (flag VARCHAR, design_firm VARCHAR) | SELECT COUNT(flag) FROM table_19872699_1 WHERE design_firm = "Farr Yacht Design" | Farr Yacht Design designed boats for how many country/flags? | <s>[INST]Farr Yacht Design designed boats for how many country/flags? Context: CREATE TABLE table_19872699_1 (flag VARCHAR, design_firm VARCHAR)[/INST]SELECT COUNT(flag) FROM table_19872699_1 WHERE design_firm = "Farr Yacht Design"</s> |
CREATE TABLE table_name_32 (result VARCHAR, year VARCHAR, award VARCHAR) | SELECT result FROM table_name_32 WHERE year > 2003 AND award = "best supporting actress" | Which Result has a Year larger than 2003, and an Award of best supporting actress? | <s>[INST]Which Result has a Year larger than 2003, and an Award of best supporting actress? Context: CREATE TABLE table_name_32 (result VARCHAR, year VARCHAR, award VARCHAR)[/INST]SELECT result FROM table_name_32 WHERE year > 2003 AND award = "best supporting actress"</s> |
CREATE TABLE table_name_3 (wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900" | Which wheel arrangement made in year 1900? | <s>[INST]Which wheel arrangement made in year 1900? Context: CREATE TABLE table_name_3 (wheel_arrangement VARCHAR, year_made VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_3 WHERE year_made = "1900"</s> |
CREATE TABLE table_name_77 (name VARCHAR, kanji VARCHAR) | SELECT name FROM table_name_77 WHERE kanji = "朧" | Which name has a Kanji of 朧? | <s>[INST]Which name has a Kanji of 朧? Context: CREATE TABLE table_name_77 (name VARCHAR, kanji VARCHAR)[/INST]SELECT name FROM table_name_77 WHERE kanji = "朧"</s> |
CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR) | SELECT position FROM table_1473672_5 WHERE player = "Dave Johnson" | What position did Dave Johnson play? | <s>[INST]What position did Dave Johnson play? Context: CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_1473672_5 WHERE player = "Dave Johnson"</s> |
CREATE TABLE table_24776075_2 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_24776075_2 WHERE date = "Saturday, May 25" | The game on Saturday, May 25 took place on which week? | <s>[INST]The game on Saturday, May 25 took place on which week? Context: CREATE TABLE table_24776075_2 (week INTEGER, date VARCHAR)[/INST]SELECT MIN(week) FROM table_24776075_2 WHERE date = "Saturday, May 25"</s> |
CREATE TABLE table_name_44 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) | SELECT composer_s_ FROM table_name_44 WHERE arranger_s_ = "banana boat" AND length = "4:25" | Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? | <s>[INST]Who is/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? Context: CREATE TABLE table_name_44 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR)[/INST]SELECT composer_s_ FROM table_name_44 WHERE arranger_s_ = "banana boat" AND length = "4:25"</s> |
CREATE TABLE table_name_54 (postseason VARCHAR, rank VARCHAR, win_percentage VARCHAR, games VARCHAR) | SELECT postseason FROM table_name_54 WHERE win_percentage > 0.40700000000000003 AND games < 108 AND rank = 1 | What postseason has a win% between 0.40700000000000003 and 108 with a rank of 1? | <s>[INST]What postseason has a win% between 0.40700000000000003 and 108 with a rank of 1? Context: CREATE TABLE table_name_54 (postseason VARCHAR, rank VARCHAR, win_percentage VARCHAR, games VARCHAR)[/INST]SELECT postseason FROM table_name_54 WHERE win_percentage > 0.40700000000000003 AND games < 108 AND rank = 1</s> |
CREATE TABLE table_27501971_2 (resultado VARCHAR, country VARCHAR) | SELECT resultado FROM table_27501971_2 WHERE country = "E.E.U.U" | What was the resultado when E.E.U.U was the country? | <s>[INST]What was the resultado when E.E.U.U was the country? Context: CREATE TABLE table_27501971_2 (resultado VARCHAR, country VARCHAR)[/INST]SELECT resultado FROM table_27501971_2 WHERE country = "E.E.U.U"</s> |
CREATE TABLE table_name_23 (cr_no INTEGER, works VARCHAR, lms_no VARCHAR) | SELECT AVG(cr_no) FROM table_name_23 WHERE works = "hawthorn leslie 3100" AND lms_no < 14761 | What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100? | <s>[INST]What's the CR number that has an LMS number less than 14761 and works of Hawthorn Leslie 3100? Context: CREATE TABLE table_name_23 (cr_no INTEGER, works VARCHAR, lms_no VARCHAR)[/INST]SELECT AVG(cr_no) FROM table_name_23 WHERE works = "hawthorn leslie 3100" AND lms_no < 14761</s> |
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR) | SELECT tie_no FROM table_name_12 WHERE home_team = "gillingham" | What is the tie number when the home team was gillingham? | <s>[INST]What is the tie number when the home team was gillingham? Context: CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)[/INST]SELECT tie_no FROM table_name_12 WHERE home_team = "gillingham"</s> |
CREATE TABLE table_name_12 (source VARCHAR, zares VARCHAR) | SELECT source FROM table_name_12 WHERE zares = "8.6%" | What is the source for Zares at 8.6%? | <s>[INST]What is the source for Zares at 8.6%? Context: CREATE TABLE table_name_12 (source VARCHAR, zares VARCHAR)[/INST]SELECT source FROM table_name_12 WHERE zares = "8.6%"</s> |
CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) | SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11 | What are the number in series of the pieces directed by Win Phelps and which number in season is 11? | <s>[INST]What are the number in series of the pieces directed by Win Phelps and which number in season is 11? Context: CREATE TABLE table_25604014_6 (no_in_series VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)[/INST]SELECT no_in_series FROM table_25604014_6 WHERE directed_by = "Win Phelps" AND no_in_season = 11</s... |
CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR) | SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)" | What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)? | <s>[INST]What team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)? Context: CREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)[/INST]SELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = "4:00:30.7537 (retired - fire)"</s> |
CREATE TABLE table_26677836_1 (lost INTEGER) | SELECT MAX(lost) FROM table_26677836_1 | What is the highest lost? | <s>[INST]What is the highest lost? Context: CREATE TABLE table_26677836_1 (lost INTEGER)[/INST]SELECT MAX(lost) FROM table_26677836_1</s> |
CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_14 WHERE date = "september 14, 2003" | Which opponent has September 14, 2003 as the date? | <s>[INST]Which opponent has September 14, 2003 as the date? Context: CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_14 WHERE date = "september 14, 2003"</s> |
CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR) | SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7 | How many games have the New York Islanders as an opponent before February 7? | <s>[INST]How many games have the New York Islanders as an opponent before February 7? Context: CREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)[/INST]SELECT SUM(game) FROM table_name_63 WHERE opponent = "new york islanders" AND february < 7</s> |
CREATE TABLE table_name_81 (score INTEGER, player VARCHAR) | SELECT MIN(score) FROM table_name_81 WHERE player = "wes ellis" | What is the lowest score that wes ellis got? | <s>[INST]What is the lowest score that wes ellis got? Context: CREATE TABLE table_name_81 (score INTEGER, player VARCHAR)[/INST]SELECT MIN(score) FROM table_name_81 WHERE player = "wes ellis"</s> |
CREATE TABLE table_name_53 (role VARCHAR, title VARCHAR) | SELECT role FROM table_name_53 WHERE title = "the chipmunk adventure" | What was the role in the chipmunk adventure? | <s>[INST]What was the role in the chipmunk adventure? Context: CREATE TABLE table_name_53 (role VARCHAR, title VARCHAR)[/INST]SELECT role FROM table_name_53 WHERE title = "the chipmunk adventure"</s> |
CREATE TABLE table_name_96 (total INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MIN(total) FROM table_name_96 WHERE nation = "barbados" AND bronze > 0 | What is the lowest total that has barbados as the nation with a bronze greater than 0? | <s>[INST]What is the lowest total that has barbados as the nation with a bronze greater than 0? Context: CREATE TABLE table_name_96 (total INTEGER, nation VARCHAR, bronze VARCHAR)[/INST]SELECT MIN(total) FROM table_name_96 WHERE nation = "barbados" AND bronze > 0</s> |
CREATE TABLE table_16066063_1 (city_1 VARCHAR) | SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE city_1 = "Seoul" | How many passengers (in millions) flew from Seoul in 2012? | <s>[INST]How many passengers (in millions) flew from Seoul in 2012? Context: CREATE TABLE table_16066063_1 (city_1 VARCHAR)[/INST]SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE city_1 = "Seoul"</s> |
CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965" | What opponent has a week less than 12, with November 25, 1965 as the date? | <s>[INST]What opponent has a week less than 12, with November 25, 1965 as the date? Context: CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965"</s> |
CREATE TABLE table_name_8 (ihsaa_class VARCHAR, county VARCHAR, school VARCHAR) | SELECT ihsaa_class FROM table_name_8 WHERE county = "55 morgan" AND school = "mooresville" | Name the IHSAA Class of 55 morgan and a School of mooresville? | <s>[INST]Name the IHSAA Class of 55 morgan and a School of mooresville? Context: CREATE TABLE table_name_8 (ihsaa_class VARCHAR, county VARCHAR, school VARCHAR)[/INST]SELECT ihsaa_class FROM table_name_8 WHERE county = "55 morgan" AND school = "mooresville"</s> |
CREATE TABLE table_name_27 (races INTEGER, position VARCHAR, podiums VARCHAR) | SELECT MAX(races) FROM table_name_27 WHERE position = "1st" AND podiums < 10 | What's the most races with less than 10 podiums and 1st position? | <s>[INST]What's the most races with less than 10 podiums and 1st position? Context: CREATE TABLE table_name_27 (races INTEGER, position VARCHAR, podiums VARCHAR)[/INST]SELECT MAX(races) FROM table_name_27 WHERE position = "1st" AND podiums < 10</s> |
CREATE TABLE table_name_63 (preliminary INTEGER, state VARCHAR, evening_gown VARCHAR) | SELECT MAX(preliminary) FROM table_name_63 WHERE state = "oklahoma" AND evening_gown < 8.853 | What is the best preliminary score from a contestant from Oklahoma with evening gown less than 8.853? | <s>[INST]What is the best preliminary score from a contestant from Oklahoma with evening gown less than 8.853? Context: CREATE TABLE table_name_63 (preliminary INTEGER, state VARCHAR, evening_gown VARCHAR)[/INST]SELECT MAX(preliminary) FROM table_name_63 WHERE state = "oklahoma" AND evening_gown < 8.853</s> |
CREATE TABLE table_name_85 (origin_of_programming VARCHAR, network VARCHAR) | SELECT origin_of_programming FROM table_name_85 WHERE network = "banglavision" | Which country has the banglavision Network? | <s>[INST]Which country has the banglavision Network? Context: CREATE TABLE table_name_85 (origin_of_programming VARCHAR, network VARCHAR)[/INST]SELECT origin_of_programming FROM table_name_85 WHERE network = "banglavision"</s> |
CREATE TABLE table_name_6 (speed VARCHAR, rank VARCHAR, team VARCHAR) | SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc" | Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team? | <s>[INST]Which Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team? Context: CREATE TABLE table_name_6 (speed VARCHAR, rank VARCHAR, team VARCHAR)[/INST]SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc"</s> |
CREATE TABLE table_1964010_2 (surface VARCHAR, year VARCHAR, score VARCHAR) | SELECT COUNT(surface) FROM table_1964010_2 WHERE year = 2005 AND score = "6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6" | How many surfaces were played on in 2005 where the score was 6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6? | <s>[INST]How many surfaces were played on in 2005 where the score was 6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6? Context: CREATE TABLE table_1964010_2 (surface VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT COUNT(surface) FROM table_1964010_2 WHERE year = 2005 AND score = "6–7 (4–7) , 3–6, 7–6 (7–2) , 3–6"</s> |
CREATE TABLE table_1132600_3 (fastest_lap VARCHAR, grand_prix VARCHAR) | SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix" | Who had the fastest lap in the Belgian Grand Prix? | <s>[INST]Who had the fastest lap in the Belgian Grand Prix? Context: CREATE TABLE table_1132600_3 (fastest_lap VARCHAR, grand_prix VARCHAR)[/INST]SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix"</s> |
CREATE TABLE table_name_76 (winningteam VARCHAR, losingteam VARCHAR) | SELECT winningteam FROM table_name_76 WHERE losingteam = "newcastle breakers" | Which team beat the Newcastle Breakers? | <s>[INST]Which team beat the Newcastle Breakers? Context: CREATE TABLE table_name_76 (winningteam VARCHAR, losingteam VARCHAR)[/INST]SELECT winningteam FROM table_name_76 WHERE losingteam = "newcastle breakers"</s> |
CREATE TABLE table_name_24 (tournament VARCHAR) | SELECT 2011 FROM table_name_24 WHERE tournament = "indian wells" | Which 2011's tournament was Indian Wells? | <s>[INST]Which 2011's tournament was Indian Wells? Context: CREATE TABLE table_name_24 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_24 WHERE tournament = "indian wells"</s> |
CREATE TABLE table_13619105_3 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_13619105_3 WHERE team = "Minnesota" | Where did they play and how many attended in the game against minnesota? | <s>[INST]Where did they play and how many attended in the game against minnesota? Context: CREATE TABLE table_13619105_3 (location_attendance VARCHAR, team VARCHAR)[/INST]SELECT location_attendance FROM table_13619105_3 WHERE team = "Minnesota"</s> |
CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR) | SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37 | What is the grid total when there are 37 laps? | <s>[INST]What is the grid total when there are 37 laps? Context: CREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)[/INST]SELECT COUNT(grid) FROM table_name_57 WHERE laps = 37</s> |
CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR) | SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007 | Who are the local hosts for the United States in years earlier than 2007? | <s>[INST]Who are the local hosts for the United States in years earlier than 2007? Context: CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR)[/INST]SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007</s> |
CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR) | SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone" | How many 2006 subscribers are named Vodafone? | <s>[INST]How many 2006 subscribers are named Vodafone? Context: CREATE TABLE table_29395291_2 (subscribers__2006___thousands_ VARCHAR, provider VARCHAR)[/INST]SELECT COUNT(subscribers__2006___thousands_) FROM table_29395291_2 WHERE provider = "Vodafone"</s> |
CREATE TABLE table_name_91 (bronze INTEGER, total INTEGER) | SELECT SUM(bronze) FROM table_name_91 WHERE total > 27 | What is the sum of Bronze when the total is more than 27? | <s>[INST]What is the sum of Bronze when the total is more than 27? Context: CREATE TABLE table_name_91 (bronze INTEGER, total INTEGER)[/INST]SELECT SUM(bronze) FROM table_name_91 WHERE total > 27</s> |
CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR, dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR) | SELECT DISTINCT T1.date_arrived, T1.date_departed FROM Dogs AS T1 JOIN Treatments AS T2 ON T1.dog_id = T2.dog_id | What are the arriving date and the departing date of the dogs who have gone through a treatment? | <s>[INST]What are the arriving date and the departing date of the dogs who have gone through a treatment? Context: CREATE TABLE Dogs (date_arrived VARCHAR, date_departed VARCHAR, dog_id VARCHAR); CREATE TABLE Treatments (dog_id VARCHAR)[/INST]SELECT DISTINCT T1.date_arrived, T1.date_departed FROM Dogs AS T1 JOIN Treatm... |
CREATE TABLE table_name_61 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_61 WHERE date = "20 november 2011" | What Outcome happened on a Date that was 20 november 2011? | <s>[INST]What Outcome happened on a Date that was 20 november 2011? Context: CREATE TABLE table_name_61 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_61 WHERE date = "20 november 2011"</s> |
CREATE TABLE table_name_45 (competition VARCHAR, venue VARCHAR, goal VARCHAR) | SELECT competition FROM table_name_45 WHERE venue = "estadio alfonso lastras, san luis potosí, mexico" AND goal > 15 | Which Competition has a Venue of estadio alfonso lastras, san luis potosí, mexico, and a Goal larger than 15? | <s>[INST]Which Competition has a Venue of estadio alfonso lastras, san luis potosí, mexico, and a Goal larger than 15? Context: CREATE TABLE table_name_45 (competition VARCHAR, venue VARCHAR, goal VARCHAR)[/INST]SELECT competition FROM table_name_45 WHERE venue = "estadio alfonso lastras, san luis potosí, mexico" AND g... |
CREATE TABLE table_name_55 (discovery___publication_of_name VARCHAR, fossil_record VARCHAR) | SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = "still living" | Tell me the discovery/publication for still living | <s>[INST]Tell me the discovery/publication for still living Context: CREATE TABLE table_name_55 (discovery___publication_of_name VARCHAR, fossil_record VARCHAR)[/INST]SELECT discovery___publication_of_name FROM table_name_55 WHERE fossil_record = "still living"</s> |
CREATE TABLE table_11677100_12 (player VARCHAR, hometown VARCHAR) | SELECT COUNT(player) FROM table_11677100_12 WHERE hometown = "Pennsauken, NJ" | How many players have the hometown Pennsauken, NJ? | <s>[INST]How many players have the hometown Pennsauken, NJ? Context: CREATE TABLE table_11677100_12 (player VARCHAR, hometown VARCHAR)[/INST]SELECT COUNT(player) FROM table_11677100_12 WHERE hometown = "Pennsauken, NJ"</s> |
CREATE TABLE table_name_89 (round VARCHAR, name VARCHAR) | SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley" | What were Will Rackley's total rounds? | <s>[INST]What were Will Rackley's total rounds? Context: CREATE TABLE table_name_89 (round VARCHAR, name VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_89 WHERE name = "will rackley"</s> |
CREATE TABLE table_name_47 (time VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT time FROM table_name_47 WHERE manufacturer = "yamaha" AND grid < 8 AND laps < 23 | How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23? | <s>[INST]How long did it take for the rider of a Yamaha with a grid less than 8 and laps less than 23? Context: CREATE TABLE table_name_47 (time VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT time FROM table_name_47 WHERE manufacturer = "yamaha" AND grid < 8 AND laps < 23</s> |
CREATE TABLE table_name_9 (tries_against INTEGER, points_against INTEGER) | SELECT MAX(tries_against) FROM table_name_9 WHERE points_against > 109 | Which Tries against have Points against larger than 109? | <s>[INST]Which Tries against have Points against larger than 109? Context: CREATE TABLE table_name_9 (tries_against INTEGER, points_against INTEGER)[/INST]SELECT MAX(tries_against) FROM table_name_9 WHERE points_against > 109</s> |
CREATE TABLE table_27987623_1 (series_episode INTEGER, us_viewers__in_million_ VARCHAR) | SELECT MAX(series_episode) FROM table_27987623_1 WHERE us_viewers__in_million_ = "7.43" | What was the episode number veiwed by 7.43 million viewers? | <s>[INST]What was the episode number veiwed by 7.43 million viewers? Context: CREATE TABLE table_27987623_1 (series_episode INTEGER, us_viewers__in_million_ VARCHAR)[/INST]SELECT MAX(series_episode) FROM table_27987623_1 WHERE us_viewers__in_million_ = "7.43"</s> |
CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR) | SELECT COUNT(junctions) FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35" | How many junctions have "replaced by bsi-35" listed in their remarks section? | <s>[INST]How many junctions have "replaced by bsi-35" listed in their remarks section? Context: CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)[/INST]SELECT COUNT(junctions) FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35"</s> |
CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR) | SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant" | What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant? | <s>[INST]What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant? Context: CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)[/INST]SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = ... |
CREATE TABLE table_name_11 (after_debt VARCHAR, cash_on_hand VARCHAR) | SELECT after_debt FROM table_name_11 WHERE cash_on_hand = "$651,300" | How much is after debt when cash on hand is $651,300? | <s>[INST]How much is after debt when cash on hand is $651,300? Context: CREATE TABLE table_name_11 (after_debt VARCHAR, cash_on_hand VARCHAR)[/INST]SELECT after_debt FROM table_name_11 WHERE cash_on_hand = "$651,300"</s> |
CREATE TABLE table_name_52 (year VARCHAR, home_town VARCHAR) | SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc" | In what year of school is the player from Fayetteville, NC? | <s>[INST]In what year of school is the player from Fayetteville, NC? Context: CREATE TABLE table_name_52 (year VARCHAR, home_town VARCHAR)[/INST]SELECT year FROM table_name_52 WHERE home_town = "fayetteville, nc"</s> |
CREATE TABLE table_name_94 (draws VARCHAR, losses VARCHAR, club VARCHAR) | SELECT COUNT(draws) FROM table_name_94 WHERE losses > 5 AND club = "mortlake" | How many draws did Mortlake have when the losses were more than 5? | <s>[INST]How many draws did Mortlake have when the losses were more than 5? Context: CREATE TABLE table_name_94 (draws VARCHAR, losses VARCHAR, club VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_94 WHERE losses > 5 AND club = "mortlake"</s> |
CREATE TABLE table_20745754_1 (at_vs VARCHAR, _number VARCHAR) | SELECT at_vs FROM table_20745754_1 WHERE _number = "7" | What was the game #7, at or versus (home or at)? | <s>[INST]What was the game #7, at or versus (home or at)? Context: CREATE TABLE table_20745754_1 (at_vs VARCHAR, _number VARCHAR)[/INST]SELECT at_vs FROM table_20745754_1 WHERE _number = "7"</s> |
CREATE TABLE table_name_42 (rank VARCHAR, wins VARCHAR, class VARCHAR) | SELECT rank FROM table_name_42 WHERE wins = 0 AND class = "350cc" | What is the rank associated with 0 wins and a 350cc class? | <s>[INST]What is the rank associated with 0 wins and a 350cc class? Context: CREATE TABLE table_name_42 (rank VARCHAR, wins VARCHAR, class VARCHAR)[/INST]SELECT rank FROM table_name_42 WHERE wins = 0 AND class = "350cc"</s> |
CREATE TABLE Flights (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR); CREATE TABLE Airports (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR) | SELECT AirportName FROM Airports WHERE NOT AirportCode IN (SELECT SourceAirport FROM Flights UNION SELECT DestAirport FROM Flights) | Find the name of airports which do not have any flight in and out. | <s>[INST]Find the name of airports which do not have any flight in and out. Context: CREATE TABLE Flights (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR); CREATE TABLE Airports (AirportName VARCHAR, AirportCode VARCHAR, SourceAirport VARCHAR, DestAirport VARCHAR)[/INST]SELECT Airp... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.