text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR) <</SYS>> SELECT socket FROM table_name_91 WHERE frequency = "1.2 ghz" AND release_price___usd__ = "$70"[/INST] Frequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_81 (player VARCHAR, finish VARCHAR) <</SYS>> SELECT player FROM table_name_81 WHERE finish = "t16"[/INST] Who had a finish of t16?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR) <</SYS>> SELECT matches FROM table_name_81 WHERE points_for = "240"[/INST] What match had 240 points for?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (res VARCHAR, time VARCHAR) <</SYS>> SELECT res FROM table_name_63 WHERE time = "2:48"[/INST] What is the result for the match that was only 2:48 long?</s>
<s>[INST] <<SYS>> CREATE TABLE table_178381_1 (location_of_the_church VARCHAR, year_built VARCHAR, church_name VARCHAR) <</SYS>> SELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = "1957" AND church_name = "Askrova bedehuskapell"[/INST] On how many locations is there a church named Askrova Bedehuskapell, built in 1957?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26166836_1 (location VARCHAR, road_race VARCHAR) <</SYS>> SELECT location FROM table_26166836_1 WHERE road_race = "Berlin Marathon"[/INST] In which city was the berlin marathon?</s>
<s>[INST] <<SYS>> CREATE TABLE musical (Nominee VARCHAR) <</SYS>> SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1[/INST] Please show the nominee who has been nominated the greatest number of times.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (bodyweight INTEGER, snatch INTEGER) <</SYS>> SELECT MIN(bodyweight) FROM table_name_35 WHERE snatch > 117.5[/INST] Which weightlifter with a snatch larger than 117.5 had the lowest bodyweight?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR) <</SYS>> SELECT incumbent FROM table_1341577_22 WHERE first_elected = 1958[/INST] Name the incumbent for first elected 1958</s>
<s>[INST] <<SYS>> CREATE TABLE campuses (campus VARCHAR, county VARCHAR) <</SYS>> SELECT campus FROM campuses WHERE county = "Los Angeles"[/INST] Report the name of all campuses in Los Angeles county.</s>
<s>[INST] <<SYS>> CREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR) <</SYS>> SELECT to_par FROM table_18862490_2 WHERE year = 1998[/INST] What score to par won in 1998?</s>
<s>[INST] <<SYS>> CREATE TABLE party (minister VARCHAR, took_office VARCHAR, left_office VARCHAR) <</SYS>> SELECT minister, took_office, left_office FROM party ORDER BY left_office[/INST] Show the ministers and the time they took and left office, listed by the time they left office.</s>
<s>[INST] <<SYS>> CREATE TABLE table_27653955_1 (colors VARCHAR, enrollment VARCHAR) <</SYS>> SELECT colors FROM table_27653955_1 WHERE enrollment = 2020[/INST] What are the colors for the enrollment of 2020?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR) <</SYS>> SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"[/INST] Name the Winning driver of mercedes on 22 august?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR) <</SYS>> SELECT competition FROM table_name_54 WHERE captain = "robbie paul" AND lost < 5 AND main_article = "bradford bulls 1997"[/INST] What Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR) <</SYS>> SELECT nation FROM table_name_72 WHERE second = "tomas pitonak"[/INST] Which Nation has a Second of tomas pitonak?</s>
<s>[INST] <<SYS>> CREATE TABLE table_10128185_2 (wales INTEGER, northern_england VARCHAR) <</SYS>> SELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 6[/INST] How many votes did Wales cast when Northern England cast 6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (engine VARCHAR, chassis VARCHAR, driver VARCHAR) <</SYS>> SELECT engine FROM table_name_31 WHERE chassis = "fa13b fa14" AND driver = "aguri suzuki"[/INST] What engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?</s>
<s>[INST] <<SYS>> CREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR) <</SYS>> SELECT office FROM table_20246201_9 WHERE states___third_place = "1 New Hampshire"[/INST] Which office has 1 New Hampshire as a third place state?</s>
<s>[INST] <<SYS>> CREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR) <</SYS>> SELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270[/INST] What is the yes percentage in the measure that had 35270 yes votes? </s>
<s>[INST] <<SYS>> CREATE TABLE table_16388506_1 (away_team VARCHAR, ground VARCHAR) <</SYS>> SELECT away_team FROM table_16388506_1 WHERE ground = "Subiaco Oval"[/INST] Who are the away teams when subiaco oval was the grounds?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR) <</SYS>> SELECT result FROM table_name_87 WHERE recipients_and_nominees = "outstanding achievement in drama" AND year = 1995[/INST] Which result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (games INTEGER, drawn INTEGER) <</SYS>> SELECT AVG(games) FROM table_name_22 WHERE drawn > 1[/INST] What games have more than 1 draw?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR) <</SYS>> SELECT score_points FROM table_name_27 WHERE event = "wc milan" AND total = "23"[/INST] Name Event of wc milan and a Total of 23?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (current_club VARCHAR, player VARCHAR) <</SYS>> SELECT current_club FROM table_name_97 WHERE player = "bassem balaa"[/INST] Which Current Club has a Player of bassem balaa?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (overall VARCHAR, round INTEGER) <</SYS>> SELECT COUNT(overall) FROM table_name_86 WHERE round < 1[/INST] What total number of Overalls has a round that was smaller than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (winning_song VARCHAR, debut_album VARCHAR) <</SYS>> SELECT winning_song FROM table_name_32 WHERE debut_album = "in progress"[/INST] Which winning song had a debut album in progress?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (rank VARCHAR, total VARCHAR, nation VARCHAR) <</SYS>> SELECT rank FROM table_name_15 WHERE total > 4 AND nation = "spain"[/INST] Spain with a total of more than 4 medals is in what rank?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR) <</SYS>> SELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = "Saturday, July 11, 2009"[/INST] How many episodes aired Saturday, July 11, 2009</s>
<s>[INST] <<SYS>> CREATE TABLE pilot (Pilot_name VARCHAR, Team VARCHAR) <</SYS>> SELECT Pilot_name FROM pilot WHERE Team = "Bradley" OR Team = "Fordham"[/INST] Show the names of pilots from team "Bradley" or "Fordham".</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (song VARCHAR, points VARCHAR, artist VARCHAR) <</SYS>> SELECT song FROM table_name_46 WHERE points > 38 AND artist = "morena camilleri"[/INST] What song is it that artist morena camilleri does and has more than 38 points</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (from_club VARCHAR, date VARCHAR) <</SYS>> SELECT from_club FROM table_name_49 WHERE date = "20 oct. 2008"[/INST] Which From club has a Date of 20 oct. 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (year INTEGER, competition VARCHAR) <</SYS>> SELECT MIN(year) FROM table_name_52 WHERE competition = "european championships"[/INST] What is the first year of the European Championships competition?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_7 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR) <</SYS>> SELECT score FROM table_name_7 WHERE place = "t6" AND country = "united states" AND player = "fred couples"[/INST] What Score has a Place of t6, a Country of united states, and a Player of fred couples?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_37 (dwellings INTEGER, neighbourhood VARCHAR, change___percentage_ VARCHAR) <</SYS>> SELECT SUM(dwellings) FROM table_name_37 WHERE neighbourhood = "beverly heights" AND change___percentage_ > -5.2[/INST] How many Dwellings does Beverly Heights have that have a change percent larger than -5.2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_name_72 WHERE home = "colorado" AND date = "may 11"[/INST] What is the Score with a Home of colorado, and a Date with may 11?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR) <</SYS>> SELECT founded FROM table_name_99 WHERE location = "paul smiths, new york"[/INST] What is the Founded year of the school located in Paul Smiths, New York?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR) <</SYS>> SELECT away_team FROM table_name_69 WHERE tie_no = "6"[/INST] Who was the away team when 6 was the tie no?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR) <</SYS>> SELECT MAX(episode) FROM table_name_65 WHERE segment_c = "wood flutes"[/INST] What is the highest episode of Wood Flutes segment c?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (position VARCHAR, first VARCHAR) <</SYS>> SELECT position FROM table_name_26 WHERE first = "steve"[/INST] In which position did Steve play first?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25938117_1 (tournament VARCHAR, location VARCHAR) <</SYS>> SELECT tournament FROM table_25938117_1 WHERE location = "Dominican Republic"[/INST] Name the tournament for dominican republic</s>
<s>[INST] <<SYS>> CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR) <</SYS>> SELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = "11.19"[/INST] when was the episode premiere if the production code is 11.19? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (opposing_teams VARCHAR, date VARCHAR) <</SYS>> SELECT opposing_teams FROM table_name_18 WHERE date = "06/02/1988"[/INST] Which Opposing Teams is on 06/02/1988?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR) <</SYS>> SELECT MIN(attendance) FROM table_name_68 WHERE opponent = "chelsea"[/INST] What was the lowest attendance was the opponent was chelsea?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1160660_1 (acronym VARCHAR, university_name VARCHAR) <</SYS>> SELECT acronym FROM table_1160660_1 WHERE university_name = "Beirut Arab University"[/INST] What is the acronym used for Beirut Arab University?</s>
<s>[INST] <<SYS>> CREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR) <</SYS>> SELECT Name FROM ship ORDER BY Tonnage[/INST] List the name of ships in ascending order of tonnage.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (name VARCHAR, reported_death_date VARCHAR) <</SYS>> SELECT name FROM table_name_63 WHERE reported_death_date = "6 march 1998"[/INST] Who has a reported death of 6 march 1998?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (attendance VARCHAR, loss VARCHAR) <</SYS>> SELECT attendance FROM table_name_21 WHERE loss = "prokopec (2-7)"[/INST] How many were in attendance with a loss of Prokopec (2-7)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (drivers VARCHAR, engine VARCHAR, races VARCHAR) <</SYS>> SELECT drivers FROM table_name_28 WHERE engine = "mercedes ic 108e" AND races = "8-10"[/INST] Who drove a race car with a Mercedes IC 108e engine and has an 8-10 record?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (name VARCHAR, license VARCHAR) <</SYS>> SELECT name FROM table_name_67 WHERE license = "proprietary (available on inquiry)"[/INST] Who has a license of proprietary (available on inquiry)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (entrant VARCHAR, engine VARCHAR) <</SYS>> SELECT entrant FROM table_name_72 WHERE engine = "ferrari 038 3.5 v12"[/INST] Which entrant has Ferrari 038 3.5 v12 engine?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28039032_1 (clubs_remaining VARCHAR, round VARCHAR) <</SYS>> SELECT clubs_remaining FROM table_28039032_1 WHERE round = "Preliminary round"[/INST] How many clubs were remaining in the preliminary round?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1601792_3 (genre VARCHAR, station VARCHAR) <</SYS>> SELECT genre FROM table_1601792_3 WHERE station = "Hot FM"[/INST] What is the genre for the hot fm station?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR) <</SYS>> SELECT COUNT(played) FROM table_name_67 WHERE points = "31-7" AND position = 16 AND goals_for < 35[/INST] Name the total number of played when points of is 31-7, position is 16 and goals for is less than 35</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (name VARCHAR, field VARCHAR) <</SYS>> SELECT name FROM table_name_22 WHERE field = "mokai"[/INST] What is the Name of the power station in the Field of Mokai?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (circuit VARCHAR, winning_constructor VARCHAR) <</SYS>> SELECT circuit FROM table_name_41 WHERE winning_constructor = "alfa romeo"[/INST] Which circuit did alfa romeo win?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (particle VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR) <</SYS>> SELECT particle FROM table_name_85 WHERE makeup = "d s s" AND spin___parity___j_p = "3⁄2 +"[/INST] Which Particle has a Makeup of d s s and a Spin (Parity) J P of 3⁄2 +?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR) <</SYS>> SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19"[/INST] How many economy stats for the player with 2/19 BBI?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR) <</SYS>> SELECT operator FROM table_name_89 WHERE peak = "90" AND year_startup = "2010" AND project_name = "aosp expansion 1 (jackpine ph 1a)"[/INST] What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR) <</SYS>> SELECT MAX(cuts_made) FROM table_name_36 WHERE tournament = "pga championship" AND events > 3[/INST] How many cuts did he make at the PGA championship in 3 events?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) <</SYS>> SELECT COUNT(park) FROM table_2665085_1 WHERE name = "Zippin Pippin"[/INST] How many parks is Zippin Pippin located in</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR, time VARCHAR) <</SYS>> SELECT MIN(laps) FROM table_name_8 WHERE grid > 3 AND time = "39:24.967"[/INST] What was the number of Laps with a Grid of more than 3 and Time of 39:24.967?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2570269_2 (episode__number VARCHAR, episode_title VARCHAR) <</SYS>> SELECT episode__number FROM table_2570269_2 WHERE episode_title = "Leave Takers"[/INST] What is the episode number for episode title Leave Takers?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15872814_3 (team VARCHAR, date VARCHAR) <</SYS>> SELECT team FROM table_15872814_3 WHERE date = "November 9"[/INST] Name the team for november 9</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR) <</SYS>> SELECT SUM(to_par) FROM table_name_59 WHERE finish = "t11"[/INST] What is the sum of To par when the Finish is t11?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) <</SYS>> SELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0[/INST] What is the total when gold is 1, and rank is more than 4, and bronze is 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR) <</SYS>> SELECT heat_rank FROM table_name_22 WHERE country = "senegal"[/INST] Name the heat rank for senegal</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (report VARCHAR, winning_driver VARCHAR) <</SYS>> SELECT report FROM table_name_74 WHERE winning_driver = "philip fotheringham-parker"[/INST] Name the report for philip fotheringham-parker</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR) <</SYS>> SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998[/INST] What is the lowest round with a place of t15 in a year earlier than 1998?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (date VARCHAR, round INTEGER) <</SYS>> SELECT date FROM table_name_85 WHERE round > 9[/INST] Which date has a round more than 9?</s>
<s>[INST] <<SYS>> CREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR) <</SYS>> SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "14.1"[/INST] What is the seat of the county that has a density of 14.1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR) <</SYS>> SELECT fa_cup_apps FROM table_19730892_1 WHERE name = "George Green"[/INST] Name the fa cup apps for george green</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR) <</SYS>> SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close"[/INST] Which Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_86 (song VARCHAR, release_info VARCHAR) <</SYS>> SELECT song FROM table_name_86 WHERE release_info = "heavenly (hvn152)"[/INST] Which song released on heavenly (hvn152)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR) <</SYS>> SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.61"[/INST] Who directed episodes that had 2.61 million U.S. viewers?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR) <</SYS>> SELECT grid FROM table_name_45 WHERE laps = 67[/INST] What grid is associated with 67 laps?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1965650_8 (nhl_team VARCHAR, player VARCHAR) <</SYS>> SELECT nhl_team FROM table_1965650_8 WHERE player = "Denis Desgagnes"[/INST] What NHL team does Denis Desgagnes play for?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (lost VARCHAR, drawn VARCHAR, played VARCHAR) <</SYS>> SELECT COUNT(lost) FROM table_name_73 WHERE drawn = 1 AND played < 12[/INST] What is the total number of losses of the player that has drawn 1 and played smaller than 12?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2930244_3 (number_of_hurricanes INTEGER) <</SYS>> SELECT MIN(number_of_hurricanes) FROM table_2930244_3[/INST] What is the lowest overall number of hurricanes?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR) <</SYS>> SELECT city FROM table_name_77 WHERE state = "svalbard" AND longitude = "15°39′e"[/INST] What city in Svalbard has a longitude of 15°39′e?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15581223_8 (int INTEGER) <</SYS>> SELECT MIN(int) AS yards FROM table_15581223_8[/INST] Name the least amount of int yards</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (shot_pct INTEGER, ends_won VARCHAR, ends_lost VARCHAR) <</SYS>> SELECT MIN(shot_pct) FROM table_name_1 WHERE ends_won > 29 AND ends_lost < 26[/INST] What is the smallest shot % with ends won larger than 29 and ends lost smaller than 26?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR) <</SYS>> SELECT AVG(grid) FROM table_name_16 WHERE constructor = "brm" AND driver = "tony maggs" AND laps > 102[/INST] What is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR) <</SYS>> SELECT location_attendance FROM table_name_52 WHERE date = "february 25"[/INST] What is the location attendance of the game on February 25?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26173058_2 (ahli VARCHAR, ramtha VARCHAR) <</SYS>> SELECT ahli FROM table_26173058_2 WHERE ramtha = "1-0"[/INST] what is the location where the record is 1-0</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (home_team VARCHAR, date VARCHAR) <</SYS>> SELECT home_team FROM table_name_79 WHERE date = "january 5, 2008"[/INST] Which home team played on January 5, 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (bronze VARCHAR, rank VARCHAR, total VARCHAR, nation VARCHAR) <</SYS>> SELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = "poland" AND rank > 4[/INST] What is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24853015_1 (date VARCHAR, class_b_winner VARCHAR, round VARCHAR) <</SYS>> SELECT date FROM table_24853015_1 WHERE class_b_winner = "Alan Hutcheson" AND round = 1[/INST] When did Alan Hutcheson won Class B on round 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2781227_10 (position VARCHAR, player VARCHAR) <</SYS>> SELECT position FROM table_2781227_10 WHERE player = "Rick Schuhwerk"[/INST] which part on the team does rick schuhwerk play</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR) <</SYS>> SELECT SUM(laps) FROM table_name_45 WHERE time_retired = "2:54:23.8"[/INST] How many laps were driven in 2:54:23.8?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12134383_1 (date_of_birth VARCHAR, _number VARCHAR) <</SYS>> SELECT date_of_birth FROM table_12134383_1 WHERE _number = 2[/INST] what's the date of birth with # being 2</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR) <</SYS>> SELECT position FROM table_name_26 WHERE school_club_team = "oklahoma state"[/INST] Oklahoma State produced a player in which position in the draft?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_23 (place INTEGER, ribbon VARCHAR, total VARCHAR) <</SYS>> SELECT MAX(place) FROM table_name_23 WHERE ribbon < 9.8 AND total = 19.2[/INST] What place had a ribbon below 9.8 and a 19.2 total?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR) <</SYS>> SELECT home FROM table_name_28 WHERE attendance > 1675 AND away = "olimpia"[/INST] Who was the home team in the game with more than 1675, and Olimpia was the away side?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR) <</SYS>> SELECT SUM(pick) FROM table_name_64 WHERE round > 8 AND name = "kenny fells" AND overall > 297[/INST] Which Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (spouse VARCHAR, father VARCHAR) <</SYS>> SELECT spouse FROM table_name_26 WHERE father = "leopold vi, duke of austria"[/INST] Leopold VI, Duke of Austria is the father-in-law of which person?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR) <</SYS>> SELECT date FROM table_name_91 WHERE winner = "ram vaswani"[/INST] Ram Vaswani was a winner on what date?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR) <</SYS>> SELECT county FROM table_22815568_6 WHERE poverty_rate = "12.9%"[/INST] If the poverty rate is 12.9%, what is the county?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR) <</SYS>> SELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_region = "poland" AND year > 2011[/INST] What is the lowest expenditures on R&D for Poland after 2011?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (game INTEGER, team VARCHAR) <</SYS>> SELECT AVG(game) FROM table_name_78 WHERE team = "milwaukee"[/INST] What is the average Game, when Team is "Milwaukee"?</s>