text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR) <</SYS>> SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 14[/INST] What is the result/score for the match report recap on week 14?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2248784_3 (rank_subcontinent INTEGER, country VARCHAR) <</SYS>> SELECT MIN(rank_subcontinent) FROM table_2248784_3 WHERE country = "Bangladesh"[/INST] Name the least rank subcontinent for bangladesh</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR) <</SYS>> SELECT height_m__ft_ FROM table_name_77 WHERE rank > 10 AND name = "tameer tower"[/INST] What is the height for rank greater than 10 in Tameer Tower?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (round VARCHAR, res VARCHAR, event VARCHAR) <</SYS>> SELECT round FROM table_name_92 WHERE res = "loss" AND event = "ufc 118"[/INST] In what round was the loss at ufc 118?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR) <</SYS>> SELECT chassis FROM table_name_73 WHERE engine = "cosworth" AND drivers = "gordon johncock"[/INST] What chassis did Gordon Johncock use with his cosworth engine?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR) <</SYS>> SELECT visitor FROM table_name_78 WHERE score = "0-4"[/INST] Which Visitor has a Score of 0-4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (result VARCHAR, date VARCHAR) <</SYS>> SELECT result FROM table_name_88 WHERE date = "september 14, 2008"[/INST] What was the score of the game on September 14, 2008?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR) <</SYS>> SELECT last_5_meetings FROM table_name_6 WHERE at_columbia = "mu, 4-2"[/INST] What were the last 5 meetings when Columbia was mu, 4-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26362472_1 (district VARCHAR, took_office VARCHAR) <</SYS>> SELECT district FROM table_26362472_1 WHERE took_office = "1844-10-14"[/INST] In how many district has a politician took office on 1844-10-14?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR) <</SYS>> SELECT away_team FROM table_name_93 WHERE home_team = "arsenal"[/INST] What is the Away team when Arsenal is the Home team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (player VARCHAR, college VARCHAR) <</SYS>> SELECT player FROM table_name_71 WHERE college = "cincinnati"[/INST] Who is the Cincinnati College player?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (country VARCHAR, player VARCHAR) <</SYS>> SELECT country FROM table_name_21 WHERE player = "paul stankowski"[/INST] What country is Paul Stankowski from?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (tournament VARCHAR) <</SYS>> SELECT 2003 FROM table_name_16 WHERE 2009 = "1r" AND tournament = "australian open"[/INST] What is the 2003 value with 1r in 2009 at the Australian Open?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR) <</SYS>> SELECT score FROM table_name_97 WHERE to_par = "e"[/INST] What was the final score when the player was an e to par?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR) <</SYS>> SELECT COUNT(crowd) FROM table_name_77 WHERE venue = "glenferrie oval"[/INST] What is the crowd total for glenferrie oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (format VARCHAR, call_sign VARCHAR) <</SYS>> SELECT format FROM table_name_42 WHERE call_sign = "dzfe"[/INST] What format has the call sign DZFE?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (score INTEGER, place VARCHAR, player VARCHAR) <</SYS>> SELECT AVG(score) FROM table_name_35 WHERE place = "t1" AND player = "hubert green"[/INST] Which Score has a Place of t1, and a Player of hubert green?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (team_2 VARCHAR, team_1 VARCHAR) <</SYS>> SELECT team_2 FROM table_name_79 WHERE team_1 = "al-ismaily"[/INST] What team played against Al-Ismaily (team 1)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) <</SYS>> SELECT opponent FROM table_name_76 WHERE game_site = "forbes field" AND week > 4[/INST] Which opponent was played at Forbes Field after week 4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, tariff___rs__kwh_ VARCHAR) <</SYS>> SELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = "11.30"[/INST] What is the fixed charge for the user who had a tariff of 11.30?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR) <</SYS>> SELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = "olympiacos"[/INST] What is the listed year that has a rank smaller than 8 and moving from Olympiacos?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR) <</SYS>> SELECT MAX(year) FROM table_name_77 WHERE bronze = "china"[/INST] What is the most recent year that China won a bronze?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_71 (launch_site VARCHAR, cospar_id_satcat_β„– VARCHAR) <</SYS>> SELECT launch_site FROM table_name_71 WHERE cospar_id_satcat_β„– = "2003-041a"[/INST] What is the launch site of the satellite with a 2003-041a COSPAR ID?</s>
<s>[INST] <<SYS>> CREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR) <</SYS>> SELECT target_city__market FROM table_134987_3 WHERE frequency = "97.9 FM"[/INST] What is the target market for the station on 97.9 fm?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (bronze INTEGER, gold VARCHAR, silver VARCHAR) <</SYS>> SELECT AVG(bronze) FROM table_name_96 WHERE gold > 1 AND silver = 1[/INST] What is the average number of bronze of the nation with more than 1 gold and 1 silver medal?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2199290_1 (year INTEGER) <</SYS>> SELECT MAX(year) FROM table_2199290_1[/INST] What is the latest year?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR) <</SYS>> SELECT run_3 FROM table_name_73 WHERE team = "united states (usa) usa i"[/INST] What is Run 3, when Team is United States (USA) USA I?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR) <</SYS>> SELECT torque FROM table_name_21 WHERE power = "hp (kw)"[/INST] What Torque has a Power of HP (KW)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR) <</SYS>> SELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 18[/INST] How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_10 (location VARCHAR, record VARCHAR) <</SYS>> SELECT location FROM table_name_10 WHERE record = "9-1-0"[/INST] Where was the game played when their record was 9-1-0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR) <</SYS>> SELECT investment_earnings FROM table_name_26 WHERE state_ & _federal = "13,999,169"[/INST] What were the investment earnings in the year that State and Federal taxes were $13,999,169?</s>
<s>[INST] <<SYS>> CREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR) <</SYS>> SELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = "Afghanistan" AND IsOfficial = "T"[/INST] How many official languages does Afghanistan have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24912693_4 (points VARCHAR, steals VARCHAR) <</SYS>> SELECT points FROM table_24912693_4 WHERE steals = 2[/INST] How many points does the player with 2 steals have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (date VARCHAR, home VARCHAR) <</SYS>> SELECT date FROM table_name_28 WHERE home = "columbus"[/INST] What was the date of the Capitals game when Columbus was the home team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) <</SYS>> SELECT incumbent FROM table_2668374_18 WHERE party = "Federalist" AND first_elected = "1803"[/INST] What incumbent was a federalist that was first elected in 1803?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR) <</SYS>> SELECT state FROM table_name_73 WHERE hometown = "lincoln, de"[/INST] What state has lincoln, de as the hometown?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER) <</SYS>> SELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257[/INST] How much Snatch has a Total (kg) smaller than 257?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR) <</SYS>> SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3"[/INST] Name the avg start for avg finish of 18.3</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR) <</SYS>> SELECT bats FROM table_name_23 WHERE first = "mitchell"[/INST] Which bats did mitchell play first?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR) <</SYS>> SELECT MIN(wins) FROM table_name_74 WHERE finish = "7th" AND win_percentage > 0.429 AND reds_season < 1915[/INST] What was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR) <</SYS>> SELECT result FROM table_name_72 WHERE week = "16"[/INST] Name the result with week of 16</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR) <</SYS>> SELECT set_3 FROM table_name_24 WHERE total = "45–31"[/INST] What is the score of set 3 when the total is 45–31?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR) <</SYS>> SELECT COUNT(year) FROM table_name_10 WHERE engine = "audi 3.6l turbo v8" AND rank = "1st" AND chassis = "audi r8r"[/INST] How many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (average VARCHAR) <</SYS>> SELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035[/INST] Which 1990-91 has an average number of 1.035?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (away VARCHAR, home VARCHAR) <</SYS>> SELECT away FROM table_name_14 WHERE home = "marathon"[/INST] What is Away, when Home is "marathon"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR) <</SYS>> SELECT archbishop FROM table_name_42 WHERE vacated_throne = "may 17, 1907"[/INST] Which archbishop vacated the throne on May 17, 1907?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR) <</SYS>> SELECT notes FROM table_name_62 WHERE rank = 2[/INST] What notes have 2 as the rank?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_37 (region VARCHAR, state VARCHAR, host VARCHAR) <</SYS>> SELECT region FROM table_name_37 WHERE state = "california" AND host = "university of california, los angeles"[/INST] What region does the University of California, Los Angeles play in?</s>
<s>[INST] <<SYS>> CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) <</SYS>> SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5[/INST] Find the titles of items that received both a rating higher than 8 and a rating below 5.</s>
<s>[INST] <<SYS>> CREATE TABLE table_29163303_1 (surface VARCHAR, championship VARCHAR) <</SYS>> SELECT surface FROM table_29163303_1 WHERE championship = "Australian Open (6)"[/INST] On what surface was the Australian Open (6) played on?</s>
<s>[INST] <<SYS>> CREATE TABLE table_11869952_3 (mission VARCHAR, launch_date VARCHAR) <</SYS>> SELECT mission FROM table_11869952_3 WHERE launch_date = "November 16, 2006"[/INST] Which missions were scheduled to launch on November 16, 2006?</s>
<s>[INST] <<SYS>> CREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR) <</SYS>> SELECT round FROM table_10083598_1 WHERE circuit = "Assen"[/INST] Where was Assen held?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2668352_14 (incumbent VARCHAR, result VARCHAR) <</SYS>> SELECT incumbent FROM table_2668352_14 WHERE result = "Lost re-election Democratic-Republican hold"[/INST] Name the incumbent for lost re-election democratic-republican hold</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (silver INTEGER, bronze VARCHAR, total VARCHAR) <</SYS>> SELECT MAX(silver) FROM table_name_67 WHERE bronze = 0 AND total < 1[/INST] What is the largest number of silver that had 0 bronzes and total less than 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (wins INTEGER, position VARCHAR, scored VARCHAR) <</SYS>> SELECT MIN(wins) FROM table_name_78 WHERE position = 7 AND scored > 14[/INST] What was the lowest number of wins for the team that scored more than 14 points and had a position of 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (year INTEGER, role VARCHAR) <</SYS>> SELECT MAX(year) FROM table_name_65 WHERE role = "joan gordon, aka francine la rue"[/INST] What is the latest year for the role of joan gordon, aka francine la rue?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_44 (area_president__quorum_ VARCHAR, area_name VARCHAR) <</SYS>> SELECT area_president__quorum_ FROM table_name_44 WHERE area_name = "south america south"[/INST] Name the area president when the area name is south america south</s>
<s>[INST] <<SYS>> CREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__kmΒ²_ VARCHAR) <</SYS>> SELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__kmΒ²_ = "132.79"[/INST] How many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (population__2010_11_01_ VARCHAR, name VARCHAR) <</SYS>> SELECT population__2010_11_01_ FROM table_name_50 WHERE name = "bayan county"[/INST] What is the population as of 11-01-2010 for Bayan County?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR) <</SYS>> SELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24[/INST] Can you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR) <</SYS>> SELECT reg_season FROM table_2511876_1 WHERE year = 2001[/INST] Mame the reg season for 2001</s>
<s>[INST] <<SYS>> CREATE TABLE user_profiles (followers INTEGER) <</SYS>> SELECT MAX(followers), SUM(followers) FROM user_profiles[/INST] Find the maximum and total number of followers of all users.</s>
<s>[INST] <<SYS>> CREATE TABLE table_15740666_4 (current_streak VARCHAR, kansas_state_vs VARCHAR) <</SYS>> SELECT current_streak FROM table_15740666_4 WHERE kansas_state_vs = "TCU"[/INST] What is the current streak against TCU?</s>
<s>[INST] <<SYS>> CREATE TABLE table_16677738_1 (year INTEGER) <</SYS>> SELECT MIN(year) FROM table_16677738_1[/INST] What is the lowest overall year?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR) <</SYS>> SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3[/INST] Name the number of total for 3 gold and rank less than 3</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (date VARCHAR, label VARCHAR, format VARCHAR) <</SYS>> SELECT date FROM table_name_17 WHERE label = "parlophone" AND format = "lp"[/INST] What date has parlophone as the label, and lp as a format?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12165999_1 (college VARCHAR, afl_team VARCHAR) <</SYS>> SELECT college FROM table_12165999_1 WHERE afl_team = "Cincinnati Bengals"[/INST] What college did the Cincinnati Bengals' player come from?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR) <</SYS>> SELECT fatalities FROM table_name_78 WHERE time = "12:38:46"[/INST] What number of Fatalties is associated with the Time of 12:38:46?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (d_41_√ VARCHAR, d_47_√ VARCHAR) <</SYS>> SELECT d_41_√ FROM table_name_83 WHERE d_47_√ = "d 34"[/INST] What is the D 41 √ when the D 47 √ is d 34?</s>
<s>[INST] <<SYS>> CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR) <</SYS>> SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera"[/INST] What is the longitude of the feature named Razia Patera? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR) <</SYS>> SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471"[/INST] Which director had a worldwide gross of $30,471?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (Id VARCHAR) <</SYS>> SELECT 2006 FROM table_name_26 WHERE 2010 = "27"[/INST] Name the 2006 when the 2010 is 27</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (laps INTEGER, team VARCHAR) <</SYS>> SELECT MIN(laps) FROM table_name_17 WHERE team = "perkins engineering"[/INST] What are Perkins Engineering's fewest laps?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (year INTEGER, points VARCHAR, wins VARCHAR) <</SYS>> SELECT MAX(year) FROM table_name_69 WHERE points > 27 AND wins > 5[/INST] When is the most recent year with more than 27 points and more than 5 wins?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27712702_7 (high_assists VARCHAR, game VARCHAR) <</SYS>> SELECT high_assists FROM table_27712702_7 WHERE game = 9[/INST] Who had high assists in game number 9?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (second_quarter VARCHAR, rank VARCHAR) <</SYS>> SELECT second_quarter FROM table_name_69 WHERE rank = 2[/INST] With a rank of 2 what is the second quarter?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR) <</SYS>> SELECT position FROM table_2508633_4 WHERE nfl_team = "New Orleans Saints"[/INST] What were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (Id VARCHAR) <</SYS>> SELECT 1990 FROM table_name_33 WHERE 1996 = "grand slam tournaments"[/INST] What is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR) <</SYS>> SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse"[/INST] What is listed in new points when status is second round lost to xavier malisse?</s>
<s>[INST] <<SYS>> CREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR) <</SYS>> SELECT LOCATION FROM cinema WHERE openning_year = 2010 INTERSECT SELECT LOCATION FROM cinema WHERE openning_year = 2011[/INST] Show all the locations where some cinemas were opened in both year 2010 and year 2011.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_74 (college VARCHAR, team VARCHAR) <</SYS>> SELECT college FROM table_name_74 WHERE team = "new york jets"[/INST] What college has a team of new york jets?</s>
<s>[INST] <<SYS>> CREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR) <</SYS>> SELECT team FROM table_23338693_1 WHERE position = "NC" AND season = 2010[/INST] Which team has nc position for 2010 season?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_29 (top_10 INTEGER, top_5 VARCHAR, wins VARCHAR, points VARCHAR) <</SYS>> SELECT MIN(top_10) FROM table_name_29 WHERE wins < 4 AND points < 3260 AND top_5 > 0[/INST] What is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and more than 0 for top 5?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR) <</SYS>> SELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = "maserati straight-6"[/INST] What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (country VARCHAR, player VARCHAR) <</SYS>> SELECT country FROM table_name_18 WHERE player = "howard clark"[/INST] Which country is Howard Clark from?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_5 (frequency VARCHAR, model_number VARCHAR) <</SYS>> SELECT frequency FROM table_name_5 WHERE model_number = "c3 1.4a"[/INST] Which Frequency has a Model Number of c3 1.4a?</s>
<s>[INST] <<SYS>> CREATE TABLE table_20726262_2 (originalairdate VARCHAR, production_code VARCHAR) <</SYS>> SELECT originalairdate FROM table_20726262_2 WHERE production_code = "1WAB06"[/INST] What was the original air date for the episode with production code 1wab06?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR) <</SYS>> SELECT played FROM table_name_56 WHERE try_bonus = "2" AND club = "pontyberem rfc"[/INST] For Pontyberem RFC that has a Try Bonus of 2, what is the played?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR) <</SYS>> SELECT date FROM table_name_91 WHERE tournament = "at&t pebble beach national pro-am"[/INST] What is the Date of the at&t pebble beach national pro-am Tournament?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR) <</SYS>> SELECT pole_position FROM table_29162856_1 WHERE fastest_lap = "Matt Davies"[/INST] Who had the pole position when matt davies had the fastest lap?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR) <</SYS>> SELECT actor FROM table_name_83 WHERE character = "helga beimer"[/INST] Which actor plays the character Helga Beimer?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (score VARCHAR, record VARCHAR) <</SYS>> SELECT score FROM table_name_80 WHERE record = "58–15–8"[/INST] Which score has a record of 58–15–8?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR) <</SYS>> SELECT grid FROM table_name_20 WHERE laps = "21" AND rider = "john hopkins"[/INST] When rider John Hopkins had 21 laps, what was the grid?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_name_21 WHERE date = "04 september 2006"[/INST] What is the score for 04 september 2006?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR) <</SYS>> SELECT dates FROM table_name_6 WHERE tournament_location = "ibaraki country club" AND champion = "masahiro kawamura"[/INST] What dates was champion masahiro kawamura at the ibaraki country club tournament?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (att VARCHAR, time VARCHAR) <</SYS>> SELECT att FROM table_name_1 WHERE time = "3:55"[/INST] What was the attendance of the game that lasted 3:55?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (away_captain VARCHAR, venue VARCHAR) <</SYS>> SELECT away_captain FROM table_name_36 WHERE venue = "old trafford"[/INST] What is the Away captain with a Venue that is old trafford?</s>
<s>[INST] <<SYS>> CREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR) <</SYS>> SELECT institution FROM table_18483171_1 WHERE team_nickname = "Cardinals"[/INST] List all institutions with a team name of the Cardinals. </s>
<s>[INST] <<SYS>> CREATE TABLE table_25527255_2 (average_squad_age VARCHAR, shirt_sponsor VARCHAR, kit_manufacturer VARCHAR) <</SYS>> SELECT average_squad_age FROM table_25527255_2 WHERE shirt_sponsor = "Sho'rtan Gaz Mahsulot" AND kit_manufacturer = "Adidas"[/INST] What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR) <</SYS>> SELECT album FROM table_name_20 WHERE lifetime_achievement_award = "paul mcguinness"[/INST] Which album awarded Paul McGuinness a Lifetime Achievement Award?</s>