text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (date VARCHAR, name VARCHAR) <</SYS>> SELECT date FROM table_name_26 WHERE name = "thuin circuit"[/INST] What Date has a Name of thuin circuit?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR) <</SYS>> SELECT yacht_name FROM table_name_28 WHERE overall_place = "12"[/INST] What is the name of the yacht where 12 is the overall place?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26976615_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) <</SYS>> SELECT manner_of_departure FROM table_26976615_3 WHERE outgoing_manager = "Andrea Mandorlini"[/INST] What was the manner of departure when the outgoing manager was andrea mandorlini?</s>
<s>[INST] <<SYS>> CREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR) <</SYS>> SELECT COUNT(season) FROM table_10753917_1 WHERE driver = "Clay Regazzoni"[/INST] How many seasons was clay regazzoni the driver?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR) <</SYS>> SELECT high_rebounds FROM table_name_36 WHERE date = "february 24"[/INST] Who had the high rebounds on February 24?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) <</SYS>> SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten"[/INST] What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure?</s>
<s>[INST] <<SYS>> CREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR) <</SYS>> SELECT roomName FROM Rooms ORDER BY basePrice[/INST] List the name of all rooms sorted by their prices.</s>
<s>[INST] <<SYS>> CREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR) <</SYS>> SELECT australian_role FROM table_10121127_1 WHERE un_operation_name = "UNAMA"[/INST] What is Australia's role in the UN operation Unama?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series VARCHAR, series_no VARCHAR) <</SYS>> SELECT episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series FROM table_27208311_1 WHERE series_no = 3[/INST] What is every episode number for the series number 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR) <</SYS>> SELECT school_club_team FROM table_name_24 WHERE player = "dahntay jones"[/INST] Which school did Dahntay Jones graduate from?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26168687_3 (no_in_series VARCHAR, vessel_operator VARCHAR) <</SYS>> SELECT COUNT(no_in_series) FROM table_26168687_3 WHERE vessel_operator = "Canadian Coast Guard"[/INST] How many times is the vessel operator canadian coast guard?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR) <</SYS>> SELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = "ou, 7-3" AND at_neutral_site = "ou, 2-1" AND last_5_meetings = "bu, 3-2"[/INST] what is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR) <</SYS>> SELECT COUNT(player) FROM table_10960039_6 WHERE college = "Adams State"[/INST] How many players played for adams state school?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1342218_17 (first_elected VARCHAR, incumbent VARCHAR) <</SYS>> SELECT COUNT(first_elected) FROM table_1342218_17 WHERE incumbent = "Noble Jones Gregory"[/INST] How many times was incumbent Noble Jones Gregory first elected?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (to_par VARCHAR, finish VARCHAR) <</SYS>> SELECT to_par FROM table_name_67 WHERE finish = "t20"[/INST] What is the To par of the player with a Finish of T20?</s>
<s>[INST] <<SYS>> CREATE TABLE FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR) <</SYS>> SELECT Room FROM FACULTY WHERE Rank = "Professor" AND Building = "NEB"[/INST] Find the rooms of faculties with rank professor who live in building NEB.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR) <</SYS>> SELECT fcc_info FROM table_name_35 WHERE state = "indiana" AND city_of_license = "west lafayette"[/INST] What is the FCC info for the radio station in West Lafayette, Indiana?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR) <</SYS>> SELECT first_elected FROM table_name_4 WHERE party = "republican" AND district = "california 4"[/INST] What is the First elected that has a republican party and california 4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR) <</SYS>> SELECT COUNT(reverse) FROM table_12284476_8 WHERE series = "III series"[/INST] how many reverse with series being iii series</s>
<s>[INST] <<SYS>> CREATE TABLE table_1507431_1 (date VARCHAR, tournament VARCHAR) <</SYS>> SELECT date FROM table_1507431_1 WHERE tournament = "Buick Classic"[/INST] The tournament Buick Classic occured on what dates?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR) <</SYS>> SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009"[/INST] What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR) <</SYS>> SELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = "650–1150 mhz" AND sspec_number = "sr0pq(e1)"[/INST] Which Release price (USD ) has a GPU frequency of 650–1150 mhz and a sSpec number of sr0pq(e1)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR) <</SYS>> SELECT opponent FROM table_24814477_2 WHERE week = 8[/INST] Who was the opponent in Week 8?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_87 (college VARCHAR, overall VARCHAR, name VARCHAR) <</SYS>> SELECT college FROM table_name_87 WHERE overall > 158 AND name = "travian robertson"[/INST] Which college's overall number is more than 158 when Travian Robertson is the name?</s>
<s>[INST] <<SYS>> CREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR) <</SYS>> SELECT date FROM table_21091157_1 WHERE game = 8[/INST] Name the date for game 8</s>
<s>[INST] <<SYS>> CREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR) <</SYS>> SELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1[/INST] Find the name of the organization that has published the largest number of papers.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR) <</SYS>> SELECT english FROM table_name_42 WHERE sanskrit = "samādhi"[/INST] Which English has a Sanskrit of samādhi?</s>
<s>[INST] <<SYS>> CREATE TABLE table_15887683_8 (n° VARCHAR, television_service VARCHAR) <</SYS>> SELECT n° FROM table_15887683_8 WHERE television_service = "Fox News Channel"[/INST] Name the number for fox news channel</s>
<s>[INST] <<SYS>> CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR) <</SYS>> SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa"[/INST] What is the Q1 order for Felipe Massa?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR) <</SYS>> SELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = "levante"[/INST] Name the project with length overall being 25 and name of levante</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR) <</SYS>> SELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0[/INST] What is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR) <</SYS>> SELECT of_4 FROM table_name_47 WHERE country = "albania"[/INST] What is the OF-4 of Albania?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26173063_2 (faisaly VARCHAR, wehdat VARCHAR) <</SYS>> SELECT faisaly FROM table_26173063_2 WHERE wehdat = "XXX"[/INST] what is faisaly when wehdat is xxx?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_70 (byes INTEGER, ballarat_fl VARCHAR, against VARCHAR) <</SYS>> SELECT AVG(byes) FROM table_name_70 WHERE ballarat_fl = "sunbury" AND against > 1167[/INST] What is the average Byes that has Ballarat FL of Sunbury against more than 1167?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR) <</SYS>> SELECT MIN(points) FROM table_name_32 WHERE chassis = "zakspeed 841" AND year < 1985[/INST] What are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_37 (date VARCHAR, catalogue__number VARCHAR) <</SYS>> SELECT date FROM table_name_37 WHERE catalogue__number = "cocy-80093"[/INST] What is the date with the catalogue # cocy-80093?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR) <</SYS>> SELECT operator FROM table_1837570_1 WHERE genre = "music"[/INST] Which operators offer a genre of music?</s>
<s>[INST] <<SYS>> CREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR) <</SYS>> SELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = "2012 (85th)"[/INST] When 2012 (85th) is the year (ceremony) how many results?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_23 (pick INTEGER, school VARCHAR) <</SYS>> SELECT SUM(pick) FROM table_name_23 WHERE school = "tulane university"[/INST] What is the pick number for tulane university?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR) <</SYS>> SELECT weight FROM table_name_53 WHERE denomination = "ten paise"[/INST] What is the weight with a denomination that is ten paise?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR) <</SYS>> SELECT COUNT(goal_ratio) FROM table_name_46 WHERE rank = 2 AND games > 44[/INST] How many goal ratios have rank of 2 with more than 44 games?</s>
<s>[INST] <<SYS>> CREATE TABLE table_20170644_3 (position VARCHAR, college VARCHAR) <</SYS>> SELECT position FROM table_20170644_3 WHERE college = "Regina"[/INST] What position is the player who went to Regina? </s>
<s>[INST] <<SYS>> CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR) <</SYS>> SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson"[/INST] When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR) <</SYS>> SELECT COUNT(heat) FROM table_name_88 WHERE name = "julia wilkinson"[/INST] How many heats does Julia Wilkinson have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (year VARCHAR, arena VARCHAR) <</SYS>> SELECT year FROM table_name_41 WHERE arena = "pepsi arena"[/INST] In what year was the competition at the Pepsi Arena?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR) <</SYS>> SELECT school AS website FROM table_28523_3 WHERE religious_affiliation = "Church of England"[/INST] What is the website of the school affiliated with the Church of England?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR) <</SYS>> SELECT group FROM table_1358608_2 WHERE weight__kg_ = "56.5"[/INST] What group info is available for the 56.5 kg weight?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR) <</SYS>> SELECT team_2 FROM table_name_34 WHERE team_1 = "milli piyango sk"[/INST] What is the Team 2 with a Team 1 that is milli piyango sk?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR) <</SYS>> SELECT MIN(gold) FROM table_name_47 WHERE nation = "malaysia" AND silver < 0[/INST] Which Gold has a Nation of malaysia, and a Silver smaller than 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR) <</SYS>> SELECT builder FROM table_name_16 WHERE works_number = "2534"[/INST] Who is the builder with a works number of 2534?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (film VARCHAR, nominee VARCHAR) <</SYS>> SELECT film FROM table_name_94 WHERE nominee = "raymond massey"[/INST] What is the film that Raymond Massey was nominated for?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR) <</SYS>> SELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = "Hospital"[/INST] How many neighborhoods have a station proposed at a Hospital?</s>
<s>[INST] <<SYS>> CREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR) <</SYS>> SELECT score FROM table_28220778_21 WHERE date = "January 2"[/INST] What is every score when the date is January 2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (programming VARCHAR, channel VARCHAR) <</SYS>> SELECT programming FROM table_name_14 WHERE channel = 35.4[/INST] Which Programming has a Channel of 35.4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR) <</SYS>> SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25"[/INST] What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?</s>
<s>[INST] <<SYS>> CREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR) <</SYS>> SELECT percentage_of_votes FROM table_13746866_2 WHERE number_of_deputies = 112[/INST] what's the percentage of votes with number of deputies being 112</s>
<s>[INST] <<SYS>> CREATE TABLE game (id VARCHAR, score VARCHAR, date VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR) <</SYS>> SELECT T1.id, T1.score, T1.date FROM game AS T1 JOIN injury_accident AS T2 ON T2.game_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2[/INST] What are the ids, scores, and dates of the games which caused at least two injury accidents?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR) <</SYS>> SELECT coombe_road FROM table_name_17 WHERE selsdon = "evening peak"[/INST] What is the Coombe Road time with a Selsdon evening peak?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (record VARCHAR, game VARCHAR) <</SYS>> SELECT record FROM table_name_68 WHERE game = 50[/INST] What was the Record on Game 50?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR) <</SYS>> SELECT rider FROM table_name_14 WHERE manufacturer = "aprilia" AND laps < 18 AND grid = 17[/INST] What rider is on an aprilia that went under 18 laps with a grid total of 17?</s>
<s>[INST] <<SYS>> CREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR) <</SYS>> SELECT hometown FROM table_11677691_1 WHERE player = "Jeremy Hill"[/INST] What is Jeremy Hill's hometown?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_36 (year INTEGER, notes VARCHAR) <</SYS>> SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand"[/INST] What is the average of all the years when the notes are “electronics brand?”</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (points INTEGER, mark VARCHAR, react VARCHAR) <</SYS>> SELECT MAX(points) FROM table_name_79 WHERE mark = "8.54" AND react > 0.23800000000000002[/INST] When the mark is 8.54, the reaction time was over 0.23800000000000002 seconds, what's the highest amount of points recorded?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR) <</SYS>> SELECT COUNT(year) FROM table_name_21 WHERE opponent = "petr korda"[/INST] How many years was the opponent petr korda?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR) <</SYS>> SELECT title FROM table_name_18 WHERE producer = "maq" AND role = "anna"[/INST] What title has a producer of MAQ and Anna as a role?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (race_name VARCHAR, constructor VARCHAR) <</SYS>> SELECT race_name FROM table_name_90 WHERE constructor = "matra"[/INST] Which race was Matra the constructor?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR) <</SYS>> SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel"[/INST] Who composed the work conducted by jaroslav Vogel? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) <</SYS>> SELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = "canada"[/INST] What college or club did the round 9 draft pick from Canada come from?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR) <</SYS>> SELECT time FROM table_name_5 WHERE opponent = "rudy martin"[/INST] What was the time when his opponent was Rudy Martin?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR) <</SYS>> SELECT class FROM table_name_50 WHERE erp_w > 2 AND call_sign = "w223au"[/INST] What is the Class for the ERP W of more than 2 and the call sign of w223au?</s>
<s>[INST] <<SYS>> CREATE TABLE TV_Channel (LANGUAGE VARCHAR) <</SYS>> SELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE[/INST] List each language and the number of TV Channels using it.</s>
<s>[INST] <<SYS>> CREATE TABLE table_16186152_1 (percentage VARCHAR, state_delegate VARCHAR) <</SYS>> SELECT percentage FROM table_16186152_1 WHERE state_delegate = 1662[/INST] What's the percentage when the state delegate is 1662?</s>
<s>[INST] <<SYS>> CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR) <</SYS>> SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736"[/INST] How many times was revenue in millions recorded when the spending per capita was $6,736?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_30 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR) <</SYS>> SELECT SUM(pages) FROM table_name_30 WHERE vol__number < 8 AND isbn = "1-40122-892-5"[/INST] How many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR) <</SYS>> SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland"[/INST] How many lanes have a Nationality of iceland?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR) <</SYS>> SELECT date FROM table_name_92 WHERE potts__i_ = "9%"[/INST] On which date did Potts (I) poll at 9%?</s>
<s>[INST] <<SYS>> CREATE TABLE event (Id VARCHAR) <</SYS>> SELECT COUNT(*) FROM event[/INST] How many events are there?</s>
<s>[INST] <<SYS>> CREATE TABLE station (total_passengers INTEGER, LOCATION VARCHAR) <</SYS>> SELECT AVG(total_passengers), MAX(total_passengers) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow'[/INST] What is the average and maximum number of total passengers for train stations in London or Glasgow?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR) <</SYS>> SELECT played FROM table_name_91 WHERE losing_bonus = "3"[/INST] What played has 3 as the losing bonus?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_19 (points_for VARCHAR, played VARCHAR, lost VARCHAR) <</SYS>> SELECT points_for FROM table_name_19 WHERE played = "20" AND lost = "0"[/INST] What is the points number when 20 shows for played, and lost is 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (record VARCHAR, attendance VARCHAR) <</SYS>> SELECT record FROM table_name_12 WHERE attendance = "2,500"[/INST] What is the record from the 2,500 in attendance?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (season INTEGER, driver VARCHAR) <</SYS>> SELECT MIN(season) FROM table_name_34 WHERE driver = "farad bathena"[/INST] What is the earliest season with driver Farad Bathena?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_46 (score_1 VARCHAR, tie_no VARCHAR) <</SYS>> SELECT score_1 FROM table_name_46 WHERE tie_no = "6"[/INST] What is the Score 1 of Tie no 6?</s>
<s>[INST] <<SYS>> CREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR) <</SYS>> SELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155[/INST] What club is associated with draft number 155? </s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (duration VARCHAR, province VARCHAR) <</SYS>> SELECT duration FROM table_name_47 WHERE province = "zeeland"[/INST] What is the duration of the commissioner from the zeeland province?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR) <</SYS>> SELECT season FROM table_name_33 WHERE away = "2-0"[/INST] What season has an away 2-0?</s>
<s>[INST] <<SYS>> CREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR) <</SYS>> SELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id[/INST] List singer names and number of concerts for each singer.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR) <</SYS>> SELECT SUM(points) FROM table_name_41 WHERE entrant = "peter whitehead" AND chassis = "alta f2"[/INST] What is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR) <</SYS>> SELECT set_2 FROM table_name_6 WHERE total = "45–12" AND set_3 = "15–2"[/INST] What is the Set 2 with a Total of 45–12, and a Set 3 with 15–2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_2 (country VARCHAR, score VARCHAR) <</SYS>> SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144[/INST] What country has a score of 74-70=144</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR) <</SYS>> SELECT COUNT(crowd) FROM table_name_21 WHERE venue = "arden street oval"[/INST] How many people at Arden Street Oval?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (genes VARCHAR, base_pairs VARCHAR) <</SYS>> SELECT genes FROM table_name_94 WHERE base_pairs = "4,895,836"[/INST] Which gene has 4,895,836 base pairs?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25459168_2 (round VARCHAR, fastest_lap VARCHAR) <</SYS>> SELECT COUNT(round) FROM table_25459168_2 WHERE fastest_lap = "Alex Ardoin"[/INST] How many rounds did Alex Ardoin achieved a fastest lap?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) <</SYS>> SELECT circuit FROM table_name_91 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini"[/INST] On which circuit does lorenzo bandini have the fastest lap as well as the pole position?</s>
<s>[INST] <<SYS>> CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR) <</SYS>> SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena"[/INST] What game date was the game at AOL Arena?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_37 (competition VARCHAR, opponents VARCHAR, score VARCHAR) <</SYS>> SELECT competition FROM table_name_37 WHERE opponents = "sv werder bremen" AND score = "1-2"[/INST] What is the name of the competition with opponents of Sv Werder Bremen and a score of 1-2?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR) <</SYS>> SELECT outcome FROM table_name_88 WHERE year > 2003 AND score = "6–0, 6–3"[/INST] What is the Outcome of the Match played after 2003 with a Score of 6–0, 6–3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR) <</SYS>> SELECT MIN(grid) FROM table_name_52 WHERE time_retired = "+22.687"[/INST] What's the smallest grid for Time/Retired of +22.687?</s>
<s>[INST] <<SYS>> CREATE TABLE Student (advisor VARCHAR) <</SYS>> SELECT advisor FROM Student GROUP BY advisor HAVING COUNT(*) >= 2[/INST] Show all advisors who have at least two students.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR) <</SYS>> SELECT COUNT(march) FROM table_name_94 WHERE record = "25-10-9" AND game > 44[/INST] What is the number of March that has 25-10-9 record and a Game more than 44?</s>