text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR) <</SYS>> SELECT city FROM table_name_42 WHERE airport = "toamasina airport"[/INST] what city is the toamasina airport in?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) <</SYS>> SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo"[/INST] What country did the project, Bonga SW; Aparo with a shell operator take place?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR) <</SYS>> SELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = "2006–07" AND games < 70[/INST] Goalsagainst of 285, and a Season of 2006–07, and a Games smaller than 70 has what average points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR) <</SYS>> SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108[/INST] When was the latest debut in Europe for Henrik Larsson, with less than 108 games?</s>
<s>[INST] <<SYS>> CREATE TABLE VISITORS (Tourist_Details VARCHAR) <</SYS>> SELECT Tourist_Details FROM VISITORS[/INST] Show details of all visitors.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (sales VARCHAR, year INTEGER) <</SYS>> SELECT sales FROM table_name_59 WHERE year < 1991[/INST] What were the number of sales before 1991?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR) <</SYS>> SELECT record FROM table_name_69 WHERE week < 13 AND date = "november 9, 2003"[/INST] What was the record in a week less than 13 on November 9, 2003?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR) <</SYS>> SELECT date FROM table_name_56 WHERE handler = "mike jackson" AND event = "indianapolis boat, sport & travel show"[/INST] On what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR) <</SYS>> SELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = "70years, 53days"[/INST] What is the Length of retirement of the President with an Age at inauguration of 70years, 53days?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR) <</SYS>> SELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = "Paul West"[/INST] What is the highest episode# with the writer Paul West?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR) <</SYS>> SELECT wins FROM table_name_10 WHERE league = "playoffs"[/INST] What is the number of wins in the playoffs league?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR) <</SYS>> SELECT gp_gs FROM table_name_4 WHERE assists = "1"[/INST] What was the gp/gs when the assists was 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR) <</SYS>> SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace"[/INST] What is the Tie no when Crystal Palace is the Away team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR) <</SYS>> SELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164[/INST] What is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR) <</SYS>> SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa"[/INST] Which airport is in Xinjiang province in the city Kuqa?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR) <</SYS>> SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot"[/INST] Which Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR) <</SYS>> SELECT video FROM table_name_77 WHERE aspect = "16:9"[/INST] Which video has a 16:9 aspect?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) <</SYS>> SELECT to_par FROM table_name_62 WHERE country = "united states" AND place = "t8" AND player = "tiger woods"[/INST] What is the To par and holds the t8 place of the United States player Tiger Woods?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (score VARCHAR, player VARCHAR) <</SYS>> SELECT score FROM table_name_54 WHERE player = "steve stricker"[/INST] What did Steve Stricker score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12555835_1 (population__region_total_ VARCHAR, year VARCHAR) <</SYS>> SELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947[/INST] How many figures are given for the region's total in 1947?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (lane INTEGER, nationality VARCHAR, time VARCHAR) <</SYS>> SELECT SUM(lane) FROM table_name_28 WHERE nationality = "bulgaria" AND time > 21.55[/INST] What's Bulgaria's lane with a time more than 21.55?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR) <</SYS>> SELECT team_classification FROM table_name_30 WHERE winner = "cyril dessel"[/INST] What is the Team Classification if the Winner is Cyril Dessel?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR) <</SYS>> SELECT ceremony FROM table_name_39 WHERE award = "vijay award" AND outcome = "nominated" AND name = "anuya bhagvath"[/INST] What is the category Anuya Bhagvath was nominated for at vijay award?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_70 (position VARCHAR, points VARCHAR) <</SYS>> SELECT position FROM table_name_70 WHERE points = "test driver"[/INST] What is the position of the race with a point of test driver?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) <</SYS>> SELECT SUM(laps) FROM table_name_21 WHERE time_retired = "+13 laps" AND grid > 18[/INST] Tell me the sum of laps with a time/retired of +13 laps with grid more than 18</s>
<s>[INST] <<SYS>> CREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id VARCHAR, stadium_id VARCHAR) <</SYS>> SELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id JOIN event AS t3 ON t2.event_id = t3.id JOIN stadium AS t4 ON t4.id = t3.stadium_id WHERE t1.nationality = 'Australia'[/INST] Find the names of stadiums that some Australian swimmers have been to.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR) <</SYS>> SELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = "tennessee titans"[/INST] What competition, federation, or league are the Tennessee Titans a member of?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR) <</SYS>> SELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = "7001–7165"[/INST] Which Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001–7165?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (Id VARCHAR) <</SYS>> SELECT COUNT(2011 AS _1h) FROM table_name_9 WHERE 2006 = 27.4 AND 2007 > 27.7[/INST] How many 2011 1H values have a 2006 of 27.4 and 2007 over 27.7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR) <</SYS>> SELECT player FROM table_name_68 WHERE place = "t8" AND score = 75 - 71 = 146[/INST] Who is the player in t8 place with a 75-71=146 score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (netflix VARCHAR, series_ep VARCHAR) <</SYS>> SELECT netflix FROM table_name_64 WHERE series_ep = "15-01"[/INST] What is the Netflix episode for series episode 15-01?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR) <</SYS>> SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251[/INST] What is the sum of the round of the player who plays linebacker and has a pick # greater than 251?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR) <</SYS>> SELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10[/INST] what is the total silver when total is 30 and bronze is more than 10?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR) <</SYS>> SELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6[/INST] How many gold(s) for teams with a total of 14, and over 6 bronze medals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR) <</SYS>> SELECT argon FROM table_name_54 WHERE helium = "1.0000684"[/INST] Wha argon has helium of 1.0000684?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) <</SYS>> SELECT away_team AS score FROM table_name_16 WHERE home_team = "footscray"[/INST] What is the away team score for the home team listed as Footscray?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR) <</SYS>> SELECT stellar_age__myr_ FROM table_2296507_1 WHERE stellar_classification = "F3V"[/INST] Name the stellar age for f3v</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR) <</SYS>> SELECT score FROM table_name_97 WHERE surface = "clay" AND opponent = "pablo martin-adalia"[/INST] What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_66 (Id VARCHAR) <</SYS>> SELECT 2010 FROM table_name_66 WHERE 2011 = "grand slam tournaments"[/INST] What is the 2010 of the Grand Slam Tournaments in 2011?</s>
<s>[INST] <<SYS>> CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR) <</SYS>> SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"[/INST] What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (year INTEGER, venue VARCHAR) <</SYS>> SELECT MIN(year) FROM table_name_42 WHERE venue = "rio de janeiro, brazil"[/INST] What is the lowest Year, when Venue is Rio De Janeiro, Brazil?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR) <</SYS>> SELECT original_title FROM table_name_24 WHERE language = "korean"[/INST] What is the original title for the Korean language film?</s>
<s>[INST] <<SYS>> CREATE TABLE table_20319085_2 (coach VARCHAR, conference_record VARCHAR) <</SYS>> SELECT coach FROM table_20319085_2 WHERE conference_record = "6-1"[/INST] Who coached the team in the season with a 6-1 conference record?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR) <</SYS>> SELECT year FROM table_name_73 WHERE points < 1 AND engine = "cosworth v8" AND entrant = "jolly club switzerland"[/INST] When were there less than 1 point with a cosworth v8 engine in jolly club switzerland?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR) <</SYS>> SELECT crowd FROM table_name_98 WHERE home_team = "essendon"[/INST] What was the crowd size when Essendon was the home team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR) <</SYS>> SELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = "1982"[/INST] In what year did the winner of the FIS championship in 1982 win the Winter Olympics?</s>
<s>[INST] <<SYS>> CREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR) <</SYS>> SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id[/INST] What is total number of show times per dat for each cinema?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR) <</SYS>> SELECT data FROM table_name_41 WHERE percent_gain = "28.4%"[/INST] Name the data with a percent gain of 28.4%</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR) <</SYS>> SELECT winning_driver FROM table_name_55 WHERE winning_team = "engstler motorsport engstler motorsport" AND date = "22 july"[/INST] Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR) <</SYS>> SELECT circuit FROM table_name_49 WHERE date = "15 april"[/INST] What is the circuit held on 15 april?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR) <</SYS>> SELECT stadium FROM table_name_13 WHERE visiting_team = "new england patriots"[/INST] In what stadium were the New England Patriots the visiting team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_name_33 WHERE date = "17 april 2013"[/INST] What is the score for 17 April 2013?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR) <</SYS>> SELECT participants_recipients FROM table_26282750_1 WHERE category = "Best Female Actor"[/INST] Who was the participant or recipient for the Best Female Actor?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER) <</SYS>> SELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498[/INST] When the crowd was greater than 19,498 who was the away team?</s>
<s>[INST] <<SYS>> CREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER) <</SYS>> SELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)[/INST] Find the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_60 (year INTEGER, position VARCHAR, venue VARCHAR) <</SYS>> SELECT MAX(year) FROM table_name_60 WHERE position = "1st" AND venue = "maputo, mozambique"[/INST] What was the latest year with a position of 1st at Maputo, Mozambique?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR) <</SYS>> SELECT stepping FROM table_name_25 WHERE release_date = "june 5, 2007"[/INST] What is the stepping for the processor released June 5, 2007?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) <</SYS>> SELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = "3.55"[/INST] Who directed the episode that had 3.55 million viewers?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR) <</SYS>> SELECT athlete FROM table_name_9 WHERE time = "30:48"[/INST] What is the name of the athlete with a time of 30:48?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR) <</SYS>> SELECT MAX(division) FROM table_1939235_1 WHERE regular_season = "5th"[/INST] When 5th is the regular season what is the highest season?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR) <</SYS>> SELECT opponent FROM table_name_67 WHERE score = "6-3, 6-2"[/INST] Which Opponent had a Score of 6-3, 6-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) <</SYS>> SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval"[/INST] Who played as the away team when they played at Brunswick Street Oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (game INTEGER, date VARCHAR) <</SYS>> SELECT SUM(game) FROM table_name_80 WHERE date = "december 5"[/INST] How many games were on December 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (director VARCHAR, year VARCHAR, role VARCHAR) <</SYS>> SELECT director FROM table_name_97 WHERE year > 1949 AND role = "eula goodnight"[/INST] Who directed the eula goodnight movie after 1949?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR) <</SYS>> SELECT name FROM table_name_76 WHERE role = "midfielder" AND period = "1999-2003"[/INST] What name has the role of midfielder for 1999-2003?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26980923_2 (total VARCHAR, stadium VARCHAR) <</SYS>> SELECT total FROM table_26980923_2 WHERE stadium = "Rugby Park"[/INST] What was the total attendance at rugby park?</s>
<s>[INST] <<SYS>> CREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR) <</SYS>> SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals"[/INST] Name the number of playoffs for semifinals</s>
<s>[INST] <<SYS>> CREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR) <</SYS>> SELECT console FROM table_12887260_1 WHERE franchise_or_game = "Shenmue"[/INST] What consoles was Shenmue released on?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER) <</SYS>> SELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915[/INST] When the crowd was larger than 20,915 what did the Away team score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR) <</SYS>> SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"[/INST] What's the volume:issue of Sheryl Crow with 3 weeks on top?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_58 (points VARCHAR, club VARCHAR) <</SYS>> SELECT points FROM table_name_58 WHERE club = "newport rfc"[/INST] How many points did Newport RFC get?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR) <</SYS>> SELECT accreditation_type FROM table_name_88 WHERE network_brand_name = "deutsche telekom"[/INST] What is Deutsche Telekom's accreditation type?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR) <</SYS>> SELECT tongyong FROM table_17015_2 WHERE chinese = "湖內區"[/INST] Name the tongyong for chinese of 湖內區</s>
<s>[INST] <<SYS>> CREATE TABLE people (Birth_Place VARCHAR) <</SYS>> SELECT COUNT(DISTINCT Birth_Place) FROM people[/INST] How many distinct birth places are there?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (week INTEGER, date VARCHAR) <</SYS>> SELECT AVG(week) FROM table_name_26 WHERE date = "november 12, 1989"[/INST] What is the average week of a game on November 12, 1989?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR) <</SYS>> SELECT record FROM table_name_24 WHERE location = "boston garden" AND date = "fri. nov. 9"[/INST] What is Record, when Location is "Boston Garden", and when Date is "Fri. Nov. 9"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR) <</SYS>> SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002[/INST] What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) <</SYS>> SELECT home_team FROM table_name_90 WHERE away_team = "melbourne"[/INST] Who was Melbourne's home team opponent?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR) <</SYS>> SELECT gold FROM table_name_14 WHERE silver = "1"[/INST] In the Year Yugoslavia won 1 Silver, how many Gold medals did they win?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR) <</SYS>> SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"[/INST] How many rounds have an Overall larger than 17, and a Position of quarterback?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR) <</SYS>> SELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = "2011" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142[/INST] What's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR) <</SYS>> SELECT college FROM table_name_50 WHERE pick = 93[/INST] What college had the 93 pick?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR) <</SYS>> SELECT value FROM table_1818471_1 WHERE mitchell = 676[/INST] What is every value when Mitchell is 676?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR) <</SYS>> SELECT ship FROM table_name_43 WHERE pennant_number = "h.69"[/INST] Which ship has a Pennant number of h.69?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR) <</SYS>> SELECT home_team AS score FROM table_name_96 WHERE venue = "lake oval"[/INST] What was the home team's score when they played at Lake Oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR) <</SYS>> SELECT college FROM table_name_73 WHERE position = "tackle" AND pick < 87[/INST] What college has a pick smaller than 87 for the position of tackle?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR) <</SYS>> SELECT pole_position FROM table_29690363_3 WHERE most_laps_led = "Esteban Guerrieri" AND fastest_lap = "Josef Newgarden" AND rd = "8A"[/INST] Who had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?</s>
<s>[INST] <<SYS>> CREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR) <</SYS>> SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Christop" AND T2.staff_last_name = "Berge" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = "Ashley" AND T2.staff_last_name = "Medhurst"[/INST] What are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?</s>
<s>[INST] <<SYS>> CREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR) <</SYS>> SELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = "Quantum Research"[/INST] When was Quantum Research's poll conducted?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR) <</SYS>> SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building"[/INST] What is the height for shanghai x-1 financial building?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2430014_9 (series_no INTEGER) <</SYS>> SELECT MIN(series_no) FROM table_2430014_9[/INST] Name the least series number</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR) <</SYS>> SELECT course FROM table_name_68 WHERE edition = "117th"[/INST] What was the course called that had an Edition of 117th?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR) <</SYS>> SELECT tie_no FROM table_name_62 WHERE away_team = "watford"[/INST] What was the tie no when Watford was the away team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR) <</SYS>> SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04"[/INST] List the number of shows that had 12.04 million viewers in the united states</s>
<s>[INST] <<SYS>> CREATE TABLE Friend (student_id VARCHAR) <</SYS>> SELECT student_id, COUNT(*) FROM Friend GROUP BY student_id[/INST] Show the student IDs and numbers of friends corresponding to each.</s>
<s>[INST] <<SYS>> CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR) <</SYS>> SELECT results FROM table_13657749_2 WHERE gto_winning_team = "Peter Gregg Hurley Haywood"[/INST] What is Peter Gregg Hurley Haywood's results?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR) <</SYS>> SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification"[/INST] Name the result for 2000 afc asian cup qualification</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR) <</SYS>> SELECT regular_season FROM table_name_64 WHERE league = "npsl" AND year = "2008"[/INST] WHICH Regular Season has a League of npsl, and a Year of 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR) <</SYS>> SELECT game FROM table_name_41 WHERE opponents = "14"[/INST] In which game did the opponents score 14 points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR) <</SYS>> SELECT opponent FROM table_name_35 WHERE record = "60-61"[/INST] Name the opponent with a record of 60-61</s>