text_output
stringlengths
114
770
<s>[INST] <<SYS>> CREATE TABLE cinema (Id VARCHAR) <</SYS>> SELECT COUNT(*) FROM cinema[/INST] How many cinema do we have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_88 (years_of_operation VARCHAR, client VARCHAR) <</SYS>> SELECT years_of_operation FROM table_name_88 WHERE client = "soc"[/INST] What years was soc a client?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_4 (home_team VARCHAR) <</SYS>> SELECT home_team AS score FROM table_name_4 WHERE home_team = "essendon"[/INST] How many points did the home team Essendon score?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR) <</SYS>> SELECT music_director FROM table_name_3 WHERE year = 1994[/INST] Who was the music director in 1994?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (goals_for INTEGER, lost VARCHAR, played VARCHAR) <</SYS>> SELECT MAX(goals_for) FROM table_name_28 WHERE lost = 12 AND played > 34[/INST] Which Goals For has a Lost of 12, and a Played larger than 34?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (run_1 VARCHAR, run_4 VARCHAR) <</SYS>> SELECT run_1 FROM table_name_62 WHERE run_4 = "1:56.59"[/INST] What is Run 1, when Run 4 is 1:56.59?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (points VARCHAR, score VARCHAR) <</SYS>> SELECT COUNT(points) FROM table_name_80 WHERE score = "3–0"[/INST] How many Points have a Score of 3–0?</s>
<s>[INST] <<SYS>> CREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR) <</SYS>> SELECT T2.Name, COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name[/INST] Show names of teachers and the number of courses they teach.</s>
<s>[INST] <<SYS>> CREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR) <</SYS>> SELECT college FROM table_12165135_1 WHERE afl_team = "Buffalo Bills"[/INST] What is the college of the afl team of buffalo bills?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (high_assists VARCHAR, date VARCHAR) <</SYS>> SELECT high_assists FROM table_name_28 WHERE date = "february 22"[/INST] Who had the highest assists during the game on February 22?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_90 (visitor VARCHAR, date VARCHAR) <</SYS>> SELECT visitor FROM table_name_90 WHERE date = "december 17"[/INST] Who was the visiting team on December 17?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_79 (pts INTEGER, year VARCHAR, chassis VARCHAR) <</SYS>> SELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND chassis = "connaught type a"[/INST] What is the highest pts after 1952 with connaught type a?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_81 (position VARCHAR, round INTEGER) <</SYS>> SELECT position FROM table_name_81 WHERE round > 3[/INST] What position is the player selected that has a round value over 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_68 (goals_against VARCHAR, played INTEGER) <</SYS>> SELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42[/INST] What is the total number of goals scored against clubs that have played more than 42 times?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_56 (against INTEGER, draws VARCHAR, losses VARCHAR, byes VARCHAR) <</SYS>> SELECT MAX(against) FROM table_name_56 WHERE losses > 9 AND byes = 2 AND draws > 0[/INST] Can you tell me the highest Against that has the Losses larger than 9, and the Byes of 2, and the Draws larger than 0?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (final_score VARCHAR, visiting_team VARCHAR) <</SYS>> SELECT final_score FROM table_name_78 WHERE visiting_team = "cincinnati bengals"[/INST] What was the final score in the game against the Cincinnati Bengals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (us_ac VARCHAR, year VARCHAR, us_hot_100 VARCHAR) <</SYS>> SELECT us_ac FROM table_name_16 WHERE year = 1985 AND us_hot_100 = "57"[/INST] What is th US A.C. in 1985 with a US hot 100 of 57?</s>
<s>[INST] <<SYS>> CREATE TABLE table_25800134_12 (title VARCHAR, airdate VARCHAR) <</SYS>> SELECT COUNT(title) FROM table_25800134_12 WHERE airdate = "September 25, 1967"[/INST] How many episode titles aired on September 25, 1967?</s>
<s>[INST] <<SYS>> CREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR) <</SYS>> SELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 26[/INST] How many U.S Viewers, in millions, were for series # 26?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1769428_2 (car__number VARCHAR, winning_driver VARCHAR) <</SYS>> SELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = "Rusty Wallace"[/INST] How many car numbers were listed for Rusty Wallace?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (number VARCHAR, season VARCHAR) <</SYS>> SELECT number FROM table_name_38 WHERE season = "2008"[/INST] What number has 2008 as the season?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (race VARCHAR, tyre VARCHAR, winning_driver VARCHAR) <</SYS>> SELECT race FROM table_name_99 WHERE tyre = "p" AND winning_driver = "juan manuel fangio"[/INST] What is the race that had a tyre of p and Juan Manuel Fangio as the winning driver?</s>
<s>[INST] <<SYS>> CREATE TABLE table_10710364_2 (literacy___percentage_ VARCHAR, growth__1991_2001_ VARCHAR) <</SYS>> SELECT literacy___percentage_ FROM table_10710364_2 WHERE growth__1991_2001_ = "103.1%"[/INST] What is the literacy rate for groups that grew 103.1% between 1991 and 2001?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR) <</SYS>> SELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = "mike skinner"[/INST] Which Pos has a Car # smaller than 18, and a Driver of mike skinner?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR) <</SYS>> SELECT score FROM table_name_8 WHERE to_par = "e"[/INST] What is Score, when To Par is "E"?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (venue VARCHAR, score VARCHAR) <</SYS>> SELECT venue FROM table_name_45 WHERE score = "33-22"[/INST] What is the venue of the match with a score of 33-22?</s>
<s>[INST] <<SYS>> CREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (custid VARCHAR) <</SYS>> SELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance DESC LIMIT 1[/INST] Find the saving balance of the account with the highest checking balance.</s>
<s>[INST] <<SYS>> CREATE TABLE table_10819266_8 (season VARCHAR) <</SYS>> SELECT season AS finale FROM table_10819266_8 WHERE season = 4[/INST] What is the season finale for season 4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_53 (home_team VARCHAR) <</SYS>> SELECT home_team AS score FROM table_name_53 WHERE home_team = "richmond"[/INST] What is richmond's scores when they are the home team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) <</SYS>> SELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = "georgia" AND bronze > 2[/INST] What is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR) <</SYS>> SELECT COUNT(round) FROM table_name_33 WHERE position = "center" AND player = "denis arkhipov"[/INST] What is the total number of rounds that Center position Denis Arkhipov have?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR) <</SYS>> SELECT MIN(week) FROM table_name_80 WHERE opponent = "new england patriots"[/INST] When was the earliest that New England Patriots played?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR) <</SYS>> SELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = "The Complete Seventh Series"[/INST] What is the number of region 4 for the series of the complete seventh series?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_47 (place VARCHAR, player VARCHAR) <</SYS>> SELECT place FROM table_name_47 WHERE player = "david graham"[/INST] What place is David Graham in?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (weeks_on_top VARCHAR, issue_date_s_ VARCHAR) <</SYS>> SELECT weeks_on_top FROM table_name_96 WHERE issue_date_s_ = "12 september"[/INST] With an issue date(s) of 12 September, what is in the column for Weeks on Top?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (roman_equivalent VARCHAR) <</SYS>> SELECT "normalised" AS _transliteration FROM table_name_9 WHERE roman_equivalent = "i"[/INST] what is the "normalized" transliteration for Roman i</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR) <</SYS>> SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier"[/INST] Which model number does bombardier manufacture?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR) <</SYS>> SELECT lane FROM table_name_22 WHERE name = "rhiannon leier"[/INST] What is Rhiannon Leier's lane?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (date VARCHAR, votes VARCHAR) <</SYS>> SELECT date FROM table_name_78 WHERE votes = "50,324"[/INST] On what date were there 50,324 votes?</s>
<s>[INST] <<SYS>> CREATE TABLE table_177766_1 (constellation VARCHAR, area__sqdeg_ VARCHAR) <</SYS>> SELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = "245.375"[/INST] What is the name of this constellation with an area of 245.375 sq. deg.?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_49 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR) <</SYS>> SELECT lost FROM table_name_49 WHERE drawn = "1" AND tries_against = "34"[/INST] What is the number of losses for the team with 1 draw and 34 tries against?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR) <</SYS>> SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317[/INST] What is the total number of games with more than 18 loses, a Total League, and more than 317 draws?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1046071_1 (division VARCHAR, open_cup VARCHAR) <</SYS>> SELECT COUNT(division) FROM table_1046071_1 WHERE open_cup = "1st Round"[/INST] What is the number of the division for the 1st round?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR) <</SYS>> SELECT season FROM table_name_62 WHERE player = "tich freeman" AND opponent = "v warwickshire"[/INST] Which season did Tich Freeman play against opponent V Warwickshire?</s>
<s>[INST] <<SYS>> CREATE TABLE table_27155678_2 (gene_name VARCHAR, genus_species VARCHAR) <</SYS>> SELECT gene_name FROM table_27155678_2 WHERE genus_species = "Methylobacterium nodulans"[/INST] Name the gene name for methylobacterium nodulans</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_69 (death VARCHAR, birth VARCHAR) <</SYS>> SELECT death FROM table_name_69 WHERE birth = "1309"[/INST] What is the date of death of the Countess of Flanders who was born in 1309?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR) <</SYS>> SELECT SUM(first_elected) FROM table_name_66 WHERE result = "re-elected" AND district = "ohio 4"[/INST] In the Ohio 4 district, that is the first elected date that has a result of re-elected?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR) <</SYS>> SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"[/INST] What record has @ ottawa senators as the opponent?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_34 (player VARCHAR, college VARCHAR) <</SYS>> SELECT player FROM table_name_34 WHERE college = "calgary"[/INST] Who was recruited from Calgary?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_99 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR) <</SYS>> SELECT MAX(bronze) FROM table_name_99 WHERE total = 4 AND silver = 1 AND gold < 2[/INST] What was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_45 (pick INTEGER, player VARCHAR, round VARCHAR) <</SYS>> SELECT MIN(pick) FROM table_name_45 WHERE player = "paul stasiuk" AND round > 12[/INST] What is the lowest pick of player paul stasiuk from a round greater than 12?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR) <</SYS>> SELECT score FROM table_name_48 WHERE visitor = "buffalo sabres" AND record = "1-3"[/INST] Which Score has a Visitor of buffalo sabres and a Record of 1-3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_148578_1 (altitude__km_ VARCHAR, date VARCHAR) <</SYS>> SELECT altitude__km_ FROM table_148578_1 WHERE date = "1962-07-09"[/INST] What was the altitude of the event on 1962-07-09?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR) <</SYS>> SELECT brazil_scorers FROM table_name_11 WHERE score = "3-3"[/INST] Who were the Brazil scorers who scored 3-3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22883210_7 (score VARCHAR, date VARCHAR) <</SYS>> SELECT COUNT(score) FROM table_22883210_7 WHERE date = "January 18"[/INST] What was the total score for january 18?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR) <</SYS>> SELECT final_score FROM table_name_41 WHERE sport = "baseball" AND year < 2005[/INST] What was the final score of a baseball game that happened before 2005?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR) <</SYS>> SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "jamie butt"[/INST] What college did Jamie Butt go to?</s>
<s>[INST] <<SYS>> CREATE TABLE table_23248869_6 (high_assists VARCHAR, date VARCHAR) <</SYS>> SELECT COUNT(high_assists) FROM table_23248869_6 WHERE date = "December 11"[/INST] How many different people did different scores of high assists during the December 11 game?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR) <</SYS>> SELECT event FROM table_name_21 WHERE year > 2005 AND competition = "asian championships" AND position = "2nd" AND venue = "kobe, japan"[/INST] In which event did Moradi compete and finish in 2nd at the Asian Championships in Kobe, Japan held after 2005?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR) <</SYS>> SELECT score FROM table_name_67 WHERE away_team = "spennymoor united"[/INST] What was the score when Spennymoor United as the away team?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (lost INTEGER, points INTEGER) <</SYS>> SELECT MAX(lost) FROM table_name_16 WHERE points < 7[/INST] What is the highest loss with points less than 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR) <</SYS>> SELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = "1.945"[/INST] List all directors from episodes with viewership of 1.945 million.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_95 (result VARCHAR, event VARCHAR, method VARCHAR) <</SYS>> SELECT result FROM table_name_95 WHERE event = "2012 ibjjf world jiu-jitsu championships" AND method = "points (4 x 0)"[/INST] What was the result for the 2012 ibjjf world jiu-jitsu championships event when the method was points (4 x 0)?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR) <</SYS>> SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state"[/INST] What is the Week 1 result of Colorado State?</s>
<s>[INST] <<SYS>> CREATE TABLE table_18904831_7 (high_points VARCHAR, location VARCHAR) <</SYS>> SELECT COUNT(high_points) FROM table_18904831_7 WHERE location = "MCI Center"[/INST] What were the high points for the game played at the MCI Center?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR) <</SYS>> SELECT result FROM table_name_38 WHERE attendance = "80,886"[/INST] What was the result of the game that was attended by 80,886 people?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR) <</SYS>> SELECT pick__number FROM table_name_89 WHERE college = "mcmaster"[/INST] Which pick number attended McMaster College?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR) <</SYS>> SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue"[/INST] Which Score has a Away team of walthamstow avenue?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR) <</SYS>> SELECT result FROM table_1346118_5 WHERE candidates = "John A. Elston (R) 88.4% Luella Twining (S) 11.6%"[/INST] What was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR, points_for VARCHAR) <</SYS>> SELECT points_against FROM table_name_9 WHERE lost = "13" AND points_for = "671"[/INST] Which Points against has a Lost of 13, and Points for of 671?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR) <</SYS>> SELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = "baltimore county" AND district = "06.0 6" AND committee = "economic matters"[/INST] What is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (section VARCHAR, position VARCHAR) <</SYS>> SELECT section FROM table_name_8 WHERE position = "6th"[/INST] Which section is in the 6th position?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_15 (venue VARCHAR, against INTEGER) <</SYS>> SELECT venue FROM table_name_15 WHERE against < 7[/INST] Which venue had an against smaller than 7?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_76 (class_aAAA VARCHAR, school_year VARCHAR) <</SYS>> SELECT class_aAAA FROM table_name_76 WHERE school_year = "2000-01"[/INST] Name the clas AAAA of school year 2000-01</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR) <</SYS>> SELECT time_retired FROM table_name_16 WHERE team = "team vodafone" AND grid > 4[/INST] What is Time/Retired, when Team is "Team Vodafone", and when Grid is greater than 4?</s>
<s>[INST] <<SYS>> CREATE TABLE table_191105_2 (lyrics_by VARCHAR, subject VARCHAR) <</SYS>> SELECT lyrics_by FROM table_191105_2 WHERE subject = "interjection"[/INST] When interjection is the subject who are the lyrics by?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_85 (round INTEGER, time VARCHAR) <</SYS>> SELECT SUM(round) FROM table_name_85 WHERE time = "6:04"[/INST] What is the total number of Round that has a Time of 6:04?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR) <</SYS>> SELECT launched FROM table_name_31 WHERE date_of_commission = "3 may 2001"[/INST] What is the Launched which is on 3 may 2001?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_2 (lost INTEGER, years VARCHAR, total_games VARCHAR) <</SYS>> SELECT SUM(lost) FROM table_name_2 WHERE years > 122 AND total_games > 1244[/INST] How many losses had more than 122 years and more than 1244 total games?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_18 (features VARCHAR, datacenter VARCHAR) <</SYS>> SELECT features FROM table_name_18 WHERE datacenter = "yes"[/INST] Which Features have Yes listed under Datacenter?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_35 (notes VARCHAR, year INTEGER) <</SYS>> SELECT notes FROM table_name_35 WHERE year > 2008[/INST] Year larger than 2008 includes which notes?</s>
<s>[INST] <<SYS>> CREATE TABLE table_22597626_2 (surface VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR) <</SYS>> SELECT surface FROM table_22597626_2 WHERE partner = "Fleming" AND opponents_in_the_final = "Hewitt McMillan"[/INST] If the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (bronze INTEGER, silver VARCHAR, total VARCHAR) <</SYS>> SELECT AVG(bronze) FROM table_name_94 WHERE silver < 1 AND total > 3[/INST] Which Bronze has a Silver smaller than 1, and a Total larger than 3?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER) <</SYS>> SELECT entrant FROM table_name_97 WHERE year < 1953[/INST] Who is the entrant when the year is less than 1953?</s>
<s>[INST] <<SYS>> CREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR) <</SYS>> SELECT centerfold_model FROM table_1566852_8 WHERE pictorials = "Kimberly Bell , Bunnies of the New Playboy Club"[/INST] Who was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_66 (opponent VARCHAR, record VARCHAR) <</SYS>> SELECT opponent FROM table_name_66 WHERE record = "28–45"[/INST] Who was the opponent at the game when the record was 28–45?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR) <</SYS>> SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "7%"[/INST] Which Source has a Clinton of 39% and a Undecided of 7%?</s>
<s>[INST] <<SYS>> CREATE TABLE COURSE (Id VARCHAR) <</SYS>> SELECT COUNT(*) FROM COURSE[/INST] How many courses are there in total?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR) <</SYS>> SELECT birthdate FROM table_name_39 WHERE name = "robert esche"[/INST] What is the birthdate of Robert Esche?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_8 (team_1 VARCHAR) <</SYS>> SELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = "water corporation"[/INST] What's the score of the 1st leg when Water Corporation was Team 1?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR) <</SYS>> SELECT home_team FROM table_name_12 WHERE away_team = "bolton wanderers"[/INST] who is the home team when the away team is bolton wanderers?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_58 (tournament VARCHAR) <</SYS>> SELECT 2010 FROM table_name_58 WHERE 2004 = "1r" AND tournament = "french open"[/INST] What french open tournament happened in 2010 and has a 2004 1r?</s>
<s>[INST] <<SYS>> CREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR) <</SYS>> SELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = "Brittany Harris"[/INST] What are the ids of the movies that are not reviewed by Brittany Harris.</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_28 (office VARCHAR, conservative_ticket VARCHAR) <</SYS>> SELECT office FROM table_name_28 WHERE conservative_ticket = "kieran o'doherty"[/INST] Which office has kieran o'doherty as the conservative ticket?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_5 (pick INTEGER, team VARCHAR) <</SYS>> SELECT MIN(pick) FROM table_name_5 WHERE team = "boston celtics"[/INST] What was the lowest pick number for the Boston Celtics?</s>
<s>[INST] <<SYS>> CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR) <</SYS>> SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34"[/INST] Which team had goal averages of 1.34?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR) <</SYS>> SELECT engine FROM table_name_29 WHERE model = "1600" AND years = "1975-84"[/INST] What engine with the years of 1975-84 has a model of 1600?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_96 (score VARCHAR, location VARCHAR) <</SYS>> SELECT score FROM table_name_96 WHERE location = "richfield coliseum"[/INST] Which Score has a Location of richfield coliseum?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_62 (hometown VARCHAR, height VARCHAR, name VARCHAR) <</SYS>> SELECT hometown FROM table_name_62 WHERE height = "6-3" AND name = "devon bookert"[/INST] What is the hometown of Devon Bookert who is 6-3 tall?</s>
<s>[INST] <<SYS>> CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR) <</SYS>> SELECT director FROM table_name_54 WHERE role = "john travers"[/INST] Who directed the movie when John Wayne played the role of John Travers?</s>