text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (directed___undirected VARCHAR, induced___non_induced VARCHAR, name VARCHAR) <</SYS>> SELECT directed___undirected FROM table_name_25 WHERE induced___non_induced = "induced" AND name = "fpf (mavisto)"[/INST] What is the directed/undirected of fpf (mavisto), which has an induced/non-induced of induced?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (s_no VARCHAR, margin VARCHAR) <</SYS>> SELECT COUNT(s_no) FROM table_name_88 WHERE margin = "16 runs"[/INST] What is the total number of S No(s), when the Margin is 16 runs?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (myspace INTEGER, site VARCHAR, orkut VARCHAR) <</SYS>> SELECT AVG(myspace) FROM table_name_62 WHERE site = "linkedin" AND orkut > 3[/INST] What myspace has linkedin as the site, with an orkit greater than 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR) <</SYS>> SELECT score FROM table_name_91 WHERE record = "7-5"[/INST] What was the score of the game that led to a 7-5 record?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (result VARCHAR, winner VARCHAR) <</SYS>> SELECT result FROM table_name_83 WHERE winner = "bc 3"[/INST] I want the result for winner of bc 3</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR) <</SYS>> SELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = "aa"[/INST] What school has more than 533 enrolled and is an IHSAA Football Class of aa?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR) <</SYS>> SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information"[/INST] What is the color of the background of the white border and sign of information?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (tournament VARCHAR, extra VARCHAR) <</SYS>> SELECT tournament FROM table_name_31 WHERE extra = "400 m hurdles"[/INST] In what tournament was there an extra of 400 m hurdles?</s>
<s>[INST] <<SYS>> CREATE TABLE enzyme (id VARCHAR, name VARCHAR); CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR, medicine_id VARCHAR, enzyme_id VARCHAR) <</SYS>> SELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id = T2.id JOIN enzyme AS T3 ON T1.enzyme_id = T3.id WHERE T3.name = 'ALA synthase' AND T2.name = 'Aripiprazole'[/INST] What is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (wickets VARCHAR, average VARCHAR) <</SYS>> SELECT COUNT(wickets) FROM table_name_8 WHERE average = 26.13[/INST] What is the total number of Wickets with a 26.13 average?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR) <</SYS>> SELECT hometown_school FROM table_name_40 WHERE position = "of" AND player = "mike white"[/INST] What is the hometown of Mike White?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (points INTEGER, year INTEGER) <</SYS>> SELECT MIN(points) FROM table_name_90 WHERE year > 1963[/INST] What is the lowest points of British Racing after 1963?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (score VARCHAR, venue VARCHAR, result VARCHAR) <</SYS>> SELECT score FROM table_name_22 WHERE venue = "riyadh, saudi arabia" AND result = "win"[/INST] What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is "Win"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (scored INTEGER, result VARCHAR) <</SYS>> SELECT SUM(scored) FROM table_name_94 WHERE result = "40-22"[/INST] What is the scored figure when the result is 40-22?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_82 (attendance INTEGER, week VARCHAR) <</SYS>> SELECT MAX(attendance) FROM table_name_82 WHERE week = 6[/INST] what is the highest attendance for week 6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29583818_3 (average VARCHAR, place VARCHAR) <</SYS>> SELECT average FROM table_29583818_3 WHERE place = 16[/INST] what is the average when the place is 16?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR) <</SYS>> SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"[/INST] Which category was william ivey long a nominee and nominated in?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR) <</SYS>> SELECT cyrillic_name_other_names FROM table_2562572_56 WHERE settlement = "Novi Vladimirovac"[/INST] What is the Cyrillic name for Novi Vladimirovac? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR) <</SYS>> SELECT frequency FROM table_name_91 WHERE location = "davao city"[/INST] What is the Frequency in Davao City?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_56 (result VARCHAR, attendance VARCHAR) <</SYS>> SELECT result FROM table_name_56 WHERE attendance = "41,650"[/INST] What was the result of the game that was attended by 41,650 people?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR) <</SYS>> SELECT home FROM table_name_33 WHERE opponent = "marek dupnitsa"[/INST] What is the home score with marek dupnitsa as opponent?</s>
<s>[INST] <<SYS>> CREATE TABLE instructor (dept_name VARCHAR, name VARCHAR) <</SYS>> SELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'[/INST] Find the department name of the instructor whose name contains 'Soisalon'.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR) <</SYS>> SELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5[/INST] What is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (against INTEGER, drawn VARCHAR, points VARCHAR) <</SYS>> SELECT MAX(against) FROM table_name_35 WHERE drawn > 5 AND points > 18[/INST] What's the highest against score that drew more than 5, and had more than 18 points?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR) <</SYS>> SELECT score FROM table_name_57 WHERE home_team = "burnley"[/INST] What is the Score of the Burnley Home game?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_10 (b_score INTEGER, position VARCHAR, total VARCHAR) <</SYS>> SELECT SUM(b_score) FROM table_name_10 WHERE position < 7 AND total = 16.125[/INST] What the B Score when the total is 16.125 and the position is less than 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (season VARCHAR, pos VARCHAR, pld VARCHAR, div VARCHAR) <</SYS>> SELECT season FROM table_name_87 WHERE pld = "36" AND div = "bbl" AND pos = "6th"[/INST] What season has 36 pld, a bbl div, and 6th position?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR) <</SYS>> SELECT reason_for_termination FROM table_name_14 WHERE appointed_by = "eisenhower category:articles with hcards"[/INST] Which Reason for termination has Appointed by of eisenhower category:articles with hcards?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (date VARCHAR, score VARCHAR) <</SYS>> SELECT date FROM table_name_26 WHERE score = "6–4, 6–2"[/INST] What is the Date of the game with a Score of 6–4, 6–2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15530244_5 (race_2 VARCHAR, driver VARCHAR) <</SYS>> SELECT race_2 FROM table_15530244_5 WHERE driver = "James Winslow"[/INST] Name the race 2 for james winslow</s>
<s>[INST] <<SYS>> CREATE TABLE table_26866299_1 (original_airdate VARCHAR, series__number VARCHAR) <</SYS>> SELECT original_airdate FROM table_26866299_1 WHERE series__number = 96[/INST] What was the original air date for episode number 96 in the series?</s>
<s>[INST] <<SYS>> CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR) <</SYS>> SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup"[/INST] Who was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR) <</SYS>> SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009[/INST] What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR) <</SYS>> SELECT construction_completed FROM table_name_49 WHERE listed = "09/08/1983" AND name = "cecil lindsey"[/INST] What is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR) <</SYS>> SELECT pitcher FROM table_name_40 WHERE location = "kingdome" AND season = "1983"[/INST] Who is the pitcher from the 1983 season in location Kingdome?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_61 (total_matches INTEGER, year VARCHAR, points_won VARCHAR) <</SYS>> SELECT SUM(total_matches) FROM table_name_61 WHERE year = "career" AND points_won > 25[/INST] How many Total matches have a Year of career, and a Points won larger than 25?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (city VARCHAR, floors INTEGER) <</SYS>> SELECT city FROM table_name_33 WHERE floors > 57[/INST] What city has a building with over 57 floors?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) <</SYS>> SELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = "osella fa1c"[/INST] What entrant has osella fa1c chassis after 1981?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (republican VARCHAR, margin_of_error VARCHAR, sample_size VARCHAR, democrat VARCHAR) <</SYS>> SELECT republican FROM table_name_47 WHERE sample_size > 1087 AND democrat = "hillary clinton" AND margin_of_error = 2.6[/INST] Who was the republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) <</SYS>> SELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = "169"[/INST] What was reserved in the district that has 169 constituents?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (model_number VARCHAR, order_part_number VARCHAR) <</SYS>> SELECT model_number FROM table_name_57 WHERE order_part_number = "tmsmt37bqx5ld"[/INST] Which model number has an order part number of TMSMT37BQX5LD?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR) <</SYS>> SELECT venue FROM table_name_9 WHERE opponent = "bracknell bees"[/INST] What is the Venue against the Bracknell Bees?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (event VARCHAR, opponent VARCHAR, time VARCHAR) <</SYS>> SELECT event FROM table_name_90 WHERE opponent = "shinya aoki" AND time = "4:56"[/INST] Which event had the opponent of shinya aoki and was at 4:56?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR) <</SYS>> SELECT score FROM table_name_63 WHERE attendance = "13,617"[/INST] Name the score for attendance of 13,617</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (format VARCHAR, frequency VARCHAR) <</SYS>> SELECT format FROM table_name_96 WHERE frequency = "am 980"[/INST] What is the Format of AM 980?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR) <</SYS>> SELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0[/INST] How many losses for the team with less than 4 wins, more than 0 byes and 2510 against?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2508633_3 (player VARCHAR, college VARCHAR) <</SYS>> SELECT player FROM table_2508633_3 WHERE college = "Tennessee"[/INST] Which player went to college at Tennessee?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR) <</SYS>> SELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8[/INST] Which Played has a Points of 2, and a Position smaller than 8?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR) <</SYS>> SELECT year__ceremony_ FROM table_22128871_1 WHERE result = "Nominee"[/INST] What is every ceremony year for the result of nominee?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR) <</SYS>> SELECT record FROM table_name_58 WHERE high_points = "hoffman (16)"[/INST] Which Record has a High points of hoffman (16)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22771048_3 (projected_opening INTEGER) <</SYS>> SELECT MIN(projected_opening) FROM table_22771048_3[/INST] Name the least projected opening</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (category VARCHAR, cancelable VARCHAR, type VARCHAR) <</SYS>> SELECT category FROM table_name_72 WHERE cancelable = "yes" AND type = "drag"[/INST] When Cancelable of yes, and a Type of drag, what was the Category?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR) <</SYS>> SELECT attendance FROM table_name_32 WHERE record = "16–29"[/INST] Record of 16–29 is how many attendance?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR) <</SYS>> SELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = "sacked"[/INST] I want the date of appointment for manner of departure being sacked</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR) <</SYS>> SELECT away_team AS score FROM table_name_23 WHERE home_team = "st kilda"[/INST] When st kilda was playing at home what was the away teams score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR) <</SYS>> SELECT medal FROM table_name_73 WHERE name = "fatuma roba category:articles with hcards"[/INST] What is the medal named fatuma roba category:articles with hcards for?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (issue INTEGER, writer VARCHAR, date VARCHAR) <</SYS>> SELECT MIN(issue) FROM table_name_12 WHERE writer = "arnie kogen" AND date = "december 1964"[/INST] What is the earliest issue Arnie Kogen wrote for in December 1964?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (points INTEGER, tyres VARCHAR, year VARCHAR) <</SYS>> SELECT SUM(points) FROM table_name_76 WHERE tyres = "p" AND year > 1986[/INST] What is the total points listed that includes P listed Tyres after 1986?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR) <</SYS>> SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco"[/INST] What was the date for morocco when the year was lerger than 1981?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR) <</SYS>> SELECT high_assists FROM table_name_12 WHERE date = "february 2"[/INST] What are the High assists for February 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR) <</SYS>> SELECT AVG(silver) FROM table_name_99 WHERE bronze = 22[/INST] Bronze of 22 has what average silver?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR) <</SYS>> SELECT lead FROM table_name_40 WHERE season = "2009-10"[/INST] Which lead had a season of 2009-10?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (to_par VARCHAR, year VARCHAR) <</SYS>> SELECT to_par FROM table_name_31 WHERE year = 2003[/INST] What was 2003's To Par?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR) <</SYS>> SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670"[/INST] what's the swimsuit where average is 8.670</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (record VARCHAR, attendance VARCHAR) <</SYS>> SELECT record FROM table_name_67 WHERE attendance = "73,996"[/INST] Name the record with attendance of 73,996</s>
<s>[INST] <<SYS>> CREATE TABLE employees (phone_number VARCHAR, salary INTEGER) <</SYS>> SELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000[/INST] what is the phone number of employees whose salary is in the range of 8000 and 12000?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR) <</SYS>> SELECT tournament FROM table_name_95 WHERE opponent = "kathy horvath"[/INST] Tell me the tournament for kathy horvath opponent</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (venue VARCHAR, score VARCHAR) <</SYS>> SELECT venue FROM table_name_68 WHERE score = "56-4"[/INST] What is the Venue, when the Score is 56-4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_57 (gross_tonnage INTEGER, entered_service VARCHAR) <</SYS>> SELECT AVG(gross_tonnage) FROM table_name_57 WHERE entered_service = "april 1919"[/INST] Tell me the average gross tonnage for april 1919 entered service</s>
<s>[INST] <<SYS>> CREATE TABLE table_159359_2 (end_date__last_night_ VARCHAR, season VARCHAR) <</SYS>> SELECT end_date__last_night_ FROM table_159359_2 WHERE season = "1918"[/INST] When are end dates (last night) for the season of 1918?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR) <</SYS>> SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982"[/INST] For the tournament played on Oct 17, 1982, what was the winning score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_61 (silver VARCHAR, rank VARCHAR, total VARCHAR) <</SYS>> SELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 5[/INST] Which country is ranked number 2 and has less than 5 total medals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25213146_2 (date VARCHAR, winning_team VARCHAR) <</SYS>> SELECT date FROM table_25213146_2 WHERE winning_team = "Prema Powerteam"[/INST] On what date(s) was the winning team Prema Powerteam?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (city VARCHAR, home_arena VARCHAR) <</SYS>> SELECT city FROM table_name_62 WHERE home_arena = "target center"[/INST] Which city includes the Target Center arena?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24642706_1 (year INTEGER, money_list_rank VARCHAR) <</SYS>> SELECT MAX(year) FROM table_24642706_1 WHERE money_list_rank = 74[/INST] Name the most year for money list rank is 74</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR) <</SYS>> SELECT record FROM table_name_11 WHERE opponent = "new york knicks"[/INST] What is Record, when Opponent is "New York Knicks"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR) <</SYS>> SELECT best_dancer FROM table_name_47 WHERE worst_dancer = "jerry springer" AND best_score = 29 AND dance = "quickstep"[/INST] Who is the Best dancer with the Worst dancer of Jerry Springer, a Best score of 29, and the Dance was the Quickstep?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_81 (centerfold_model VARCHAR, cover_model VARCHAR) <</SYS>> SELECT centerfold_model FROM table_name_81 WHERE cover_model = "irina voronina"[/INST] Which Centerfold model has a Cover model of irina voronina?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR) <</SYS>> SELECT website FROM table_name_53 WHERE city_of_license = "san antonio" AND webcast = "listen live" AND frequency = 680[/INST] Which website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.</s>
<s>[INST] <<SYS>> CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, vfl_games VARCHAR) <</SYS>> SELECT vfl_club_s_ FROM table_16527640_2 WHERE vfl_games = 23[/INST] What vfl club(s) did players who played 23 cfl games play for?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR) <</SYS>> SELECT SUM(top_25) FROM table_name_21 WHERE tournament = "pga championship" AND top_5 < 1[/INST] Name the sum of top-25 for pga championship and top-5 less than 1</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR) <</SYS>> SELECT award FROM table_name_27 WHERE result = "won" AND category = "most popular star" AND year = 2007[/INST] For the category of most popular star with a result of won for 2007, what was the award?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_25 (circuit VARCHAR, fastest_lap VARCHAR) <</SYS>> SELECT circuit FROM table_name_25 WHERE fastest_lap = "jim clark"[/INST] I want the circuit for jim clark</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR) <</SYS>> SELECT COUNT(to_par) FROM table_name_99 WHERE player = "laurie ayton"[/INST] What is the to total number of par with laurie ayton?</s>
<s>[INST] <<SYS>> CREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR) <</SYS>> SELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = "Justice League of America by George Pérez, Vol. 2"[/INST] Name the total number of material collected for justice league of america by george pérez, vol. 2</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR) <</SYS>> SELECT country FROM table_name_72 WHERE athlete = "ziedonis zaļkalns"[/INST] Name the country for athlete of ziedonis zaļkalns</s>
<s>[INST] <<SYS>> CREATE TABLE Templates (template_type_code VARCHAR) <</SYS>> SELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY COUNT(*) DESC LIMIT 1[/INST] Which template type code has most number of templates?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (english VARCHAR, german VARCHAR) <</SYS>> SELECT english FROM table_name_53 WHERE german = "apfel"[/INST] What's the English word for apfel?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (nets_points INTEGER, game VARCHAR, opponents VARCHAR) <</SYS>> SELECT AVG(nets_points) FROM table_name_62 WHERE game < 9 AND opponents < 95[/INST] What was the average point total for the nets in games before game 9 where the opponents scored less than 95?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) <</SYS>> SELECT MIN(total) FROM table_name_77 WHERE bronze > 1 AND silver = 0 AND gold < 0[/INST] What is the lowest total medals when there were 0 gold medals, 0 silver medals, and more than 1 bronze medal?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (Id VARCHAR) <</SYS>> SELECT 2010 FROM table_name_83 WHERE 2008 = "2r" AND 2013 = "a"[/INST] What is the 2010 value with a 2r in 2008 and A in 2013?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_83 (method VARCHAR, record VARCHAR) <</SYS>> SELECT method FROM table_name_83 WHERE record = "4-0"[/INST] Which method has a record of 4-0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12095519_1 (train_no VARCHAR, destination VARCHAR) <</SYS>> SELECT train_no FROM table_12095519_1 WHERE destination = "Amritsar"[/INST] What train number is heading to amritsar?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR) <</SYS>> SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v"[/INST] Which Release Date has a Voltage Range of 1.148 v - 1.196 v?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (country VARCHAR, rank VARCHAR, athlete VARCHAR) <</SYS>> SELECT country FROM table_name_85 WHERE rank < 4 AND athlete = "ekaterina karsten"[/INST] What country is the athlete ekaterina karsten from with a rank less than 4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (competition VARCHAR, venue VARCHAR, man_of_the_match VARCHAR) <</SYS>> SELECT competition FROM table_name_62 WHERE venue = "away" AND man_of_the_match = "n/a"[/INST] For what competition was the venue away the n/a the man of the match?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (significand VARCHAR, number_of_decimal_digits VARCHAR, total_bits VARCHAR) <</SYS>> SELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = "~34.0" AND total_bits > 128[/INST] What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, notes VARCHAR) <</SYS>> SELECT SUM(year) FROM table_name_18 WHERE competition = "world championships" AND notes = 39.01[/INST] WHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR) <</SYS>> SELECT visitor FROM table_name_76 WHERE home = "ny rangers"[/INST] Who were the visitors when the home team were the ny rangers?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_1 (coach VARCHAR, captain VARCHAR) <</SYS>> SELECT coach FROM table_name_1 WHERE captain = "robert harvey"[/INST] Which coach works with Robert Harvey?</s>