context
stringlengths
27
489
answer
stringlengths
18
557
question
stringlengths
12
243
text
stringlengths
103
1.05k
CREATE TABLE table_name_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR)
SELECT builder FROM table_name_90 WHERE works_number > 199 AND date = "4/1906"
Name the builder for 4/1906 and works number more than 199
<s>[INST]Name the builder for 4/1906 and works number more than 199 Context: CREATE TABLE table_name_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR)[/INST]SELECT builder FROM table_name_90 WHERE works_number > 199 AND date = "4/1906"</s>
CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR)
SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestrian"
What's the diameter of the 2006 equestrian Reverse?
<s>[INST]What's the diameter of the 2006 equestrian Reverse? Context: CREATE TABLE table_name_49 (diameter VARCHAR, year VARCHAR, reverse VARCHAR)[/INST]SELECT diameter FROM table_name_49 WHERE year = 2006 AND reverse = "equestrian"</s>
CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot"
What album was the song My Chariot on?
<s>[INST]What album was the song My Chariot on? Context: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)[/INST]SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot"</s>
CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)
SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158
Which Draws has a Wins smaller than 17, and an Against smaller than 1158?
<s>[INST]Which Draws has a Wins smaller than 17, and an Against smaller than 1158? Context: CREATE TABLE table_name_64 (draws VARCHAR, wins VARCHAR, against VARCHAR)[/INST]SELECT COUNT(draws) FROM table_name_64 WHERE wins < 17 AND against < 1158</s>
CREATE TABLE table_name_95 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)
SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 9
What is his low win total when he has over 3 top 25s and under 9 cuts made?
<s>[INST]What is his low win total when he has over 3 top 25s and under 9 cuts made? Context: CREATE TABLE table_name_95 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_95 WHERE top_25 = 3 AND cuts_made < 9</s>
CREATE TABLE table_name_71 (city_or_town VARCHAR, longitude VARCHAR)
SELECT city_or_town FROM table_name_71 WHERE longitude = "89°11′w"
What is the City or Town of the monument with a Longitude of 89°11′w?
<s>[INST]What is the City or Town of the monument with a Longitude of 89°11′w? Context: CREATE TABLE table_name_71 (city_or_town VARCHAR, longitude VARCHAR)[/INST]SELECT city_or_town FROM table_name_71 WHERE longitude = "89°11′w"</s>
CREATE TABLE table_13943239_1 (episode VARCHAR, viewers__millions_ VARCHAR)
SELECT episode FROM table_13943239_1 WHERE viewers__millions_ = "6.06"
What episode of the Pride of Britain Awards had an audience of 6.06 million viewers?
<s>[INST]What episode of the Pride of Britain Awards had an audience of 6.06 million viewers? Context: CREATE TABLE table_13943239_1 (episode VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT episode FROM table_13943239_1 WHERE viewers__millions_ = "6.06"</s>
CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)
SELECT position FROM table_2508633_6 WHERE college = "Delaware"
Name the position for delaware
<s>[INST]Name the position for delaware Context: CREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_2508633_6 WHERE college = "Delaware"</s>
CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_40 WHERE venue = "windy hill"
What is the home team score at windy hill?
<s>[INST]What is the home team score at windy hill? Context: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_40 WHERE venue = "windy hill"</s>
CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR)
SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa"
What is the Q1 order for Felipe Massa?
<s>[INST]What is the Q1 order for Felipe Massa? Context: CREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR)[/INST]SELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = "Felipe Massa"</s>
CREATE TABLE table_name_83 (ground VARCHAR, away VARCHAR)
SELECT ground FROM table_name_83 WHERE away = "high park demons"
The Away High Park Demons was which Ground?
<s>[INST]The Away High Park Demons was which Ground? Context: CREATE TABLE table_name_83 (ground VARCHAR, away VARCHAR)[/INST]SELECT ground FROM table_name_83 WHERE away = "high park demons"</s>
CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)
SELECT 2007 AS _estimate FROM table_12720275_1 WHERE rank__csa_ = "4"
What is the 2007 estimate when the rank (csa) is 4
<s>[INST]What is the 2007 estimate when the rank (csa) is 4 Context: CREATE TABLE table_12720275_1 (rank__csa_ VARCHAR)[/INST]SELECT 2007 AS _estimate FROM table_12720275_1 WHERE rank__csa_ = "4"</s>
CREATE TABLE table_name_45 (date VARCHAR, time___gmt__ VARCHAR)
SELECT date FROM table_name_45 WHERE time___gmt__ = "23:34"
Which date has time (GMT) of 23:34?
<s>[INST]Which date has time (GMT) of 23:34? Context: CREATE TABLE table_name_45 (date VARCHAR, time___gmt__ VARCHAR)[/INST]SELECT date FROM table_name_45 WHERE time___gmt__ = "23:34"</s>
CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, ratings VARCHAR)
SELECT guest_s_ FROM table_29135051_3 WHERE ratings = "1.44m"
who guest starred on the episode with a 1.44m rating
<s>[INST]who guest starred on the episode with a 1.44m rating Context: CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, ratings VARCHAR)[/INST]SELECT guest_s_ FROM table_29135051_3 WHERE ratings = "1.44m"</s>
CREATE TABLE table_name_65 (against INTEGER, byes VARCHAR, losses VARCHAR, wins VARCHAR)
SELECT SUM(against) FROM table_name_65 WHERE losses > 2 AND wins = 8 AND byes < 0
Which Against has Losses larger than 2, and Wins of 8, and Byes smaller than 0?
<s>[INST]Which Against has Losses larger than 2, and Wins of 8, and Byes smaller than 0? Context: CREATE TABLE table_name_65 (against INTEGER, byes VARCHAR, losses VARCHAR, wins VARCHAR)[/INST]SELECT SUM(against) FROM table_name_65 WHERE losses > 2 AND wins = 8 AND byes < 0</s>
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_10 WHERE player = "nolan henke"
What place is Nolan Henke in?
<s>[INST]What place is Nolan Henke in? Context: CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_10 WHERE player = "nolan henke"</s>
CREATE TABLE table_1992924_3 (Dual VARCHAR, spokesperson VARCHAR)
SELECT Dual AS commentator FROM table_1992924_3 WHERE spokesperson = "Larisa Verbickaya"
who is the dual commentator at the channel with spokesperson larisa verbickaya
<s>[INST]who is the dual commentator at the channel with spokesperson larisa verbickaya Context: CREATE TABLE table_1992924_3 (Dual VARCHAR, spokesperson VARCHAR)[/INST]SELECT Dual AS commentator FROM table_1992924_3 WHERE spokesperson = "Larisa Verbickaya"</s>
CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR)
SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel"
What is the status of the character keel (keele) zeibel?
<s>[INST]What is the status of the character keel (keele) zeibel? Context: CREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR)[/INST]SELECT status FROM table_28178595_2 WHERE character = "Keel (Keele) Zeibel"</s>
CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Doug Nolan"
What high school team did Doug Nolan play for?
<s>[INST]What high school team did Doug Nolan play for? Context: CREATE TABLE table_1013129_11 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_1013129_11 WHERE player = "Doug Nolan"</s>
CREATE TABLE table_name_64 (owner VARCHAR, trainer VARCHAR)
SELECT owner FROM table_name_64 WHERE trainer = "todd a. pletcher"
What Owner's Trainer is Todd A. Pletcher?
<s>[INST]What Owner's Trainer is Todd A. Pletcher? Context: CREATE TABLE table_name_64 (owner VARCHAR, trainer VARCHAR)[/INST]SELECT owner FROM table_name_64 WHERE trainer = "todd a. pletcher"</s>
CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić"
Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić
<s>[INST]Name the score in the final for runner-up and hard surface with opponents being michaël llodra nenad zimonjić Context: CREATE TABLE table_name_1 (score_in_the_final VARCHAR, opponents_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_1 WHERE outcome = "runner-up" AND surface = "hard" AND opponents_in_the_final = "michaël llodra nenad zimonjić"</s>
CREATE TABLE table_name_89 (year INTEGER, chassis VARCHAR)
SELECT MIN(year) FROM table_name_89 WHERE chassis = "jordan 193"
What was the first year to have a Chassis of Jordan 193?
<s>[INST]What was the first year to have a Chassis of Jordan 193? Context: CREATE TABLE table_name_89 (year INTEGER, chassis VARCHAR)[/INST]SELECT MIN(year) FROM table_name_89 WHERE chassis = "jordan 193"</s>
CREATE TABLE airlines (country VARCHAR)
SELECT country FROM airlines GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1
Which countries has the most number of airlines?
<s>[INST]Which countries has the most number of airlines? Context: CREATE TABLE airlines (country VARCHAR)[/INST]SELECT country FROM airlines GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR)
SELECT ship FROM table_name_22 WHERE launched = "29 may 1934"
Name the ship launched 29 may 1934
<s>[INST]Name the ship launched 29 may 1934 Context: CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR)[/INST]SELECT ship FROM table_name_22 WHERE launched = "29 may 1934"</s>
CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_57 WHERE away_team = "everton"
Which Home team has an Away team of everton?
<s>[INST]Which Home team has an Away team of everton? Context: CREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_57 WHERE away_team = "everton"</s>
CREATE TABLE table_name_27 (date VARCHAR, pos VARCHAR, venue VARCHAR)
SELECT date FROM table_name_27 WHERE pos < 4 AND venue = "piraeus"
On which date was the position less than 4 at Piraeus?
<s>[INST]On which date was the position less than 4 at Piraeus? Context: CREATE TABLE table_name_27 (date VARCHAR, pos VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_27 WHERE pos < 4 AND venue = "piraeus"</s>
CREATE TABLE table_12792876_4 (tries_against VARCHAR, points VARCHAR)
SELECT tries_against FROM table_12792876_4 WHERE points = "87"
Name the tries against for 87 points
<s>[INST]Name the tries against for 87 points Context: CREATE TABLE table_12792876_4 (tries_against VARCHAR, points VARCHAR)[/INST]SELECT tries_against FROM table_12792876_4 WHERE points = "87"</s>
CREATE TABLE table_1855841_1 (votes_given VARCHAR, running_with__in_team_ VARCHAR)
SELECT votes_given FROM table_1855841_1 WHERE running_with__in_team_ = "Michael Russo, Genevy Dimitrion , Manny Ortega"
Name the votes given for michael russo, genevy dimitrion , manny ortega
<s>[INST]Name the votes given for michael russo, genevy dimitrion , manny ortega Context: CREATE TABLE table_1855841_1 (votes_given VARCHAR, running_with__in_team_ VARCHAR)[/INST]SELECT votes_given FROM table_1855841_1 WHERE running_with__in_team_ = "Michael Russo, Genevy Dimitrion , Manny Ortega"</s>
CREATE TABLE table_name_54 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_54 WHERE score = "4–6, 6–3, 7–6(10)"
what game had a score of 4–6, 6–3, 7–6(10)?
<s>[INST]what game had a score of 4–6, 6–3, 7–6(10)? Context: CREATE TABLE table_name_54 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_54 WHERE score = "4–6, 6–3, 7–6(10)"</s>
CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1"
What is the Home Team of the game against Seattle on June 1?
<s>[INST]What is the Home Team of the game against Seattle on June 1? Context: CREATE TABLE table_name_7 (home_team VARCHAR, road_team VARCHAR, date VARCHAR)[/INST]SELECT home_team FROM table_name_7 WHERE road_team = "seattle" AND date = "june 1"</s>
CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, player VARCHAR)
SELECT money_list_rank FROM table_29499399_2 WHERE player = "Cameron Beckman"
Where is Cameron Beckman's rank on the money list?
<s>[INST]Where is Cameron Beckman's rank on the money list? Context: CREATE TABLE table_29499399_2 (money_list_rank VARCHAR, player VARCHAR)[/INST]SELECT money_list_rank FROM table_29499399_2 WHERE player = "Cameron Beckman"</s>
CREATE TABLE table_name_79 (tenure VARCHAR, character VARCHAR)
SELECT tenure FROM table_name_79 WHERE character = "kerry vincent"
What is Character Kerry Vincent's Tenure?
<s>[INST]What is Character Kerry Vincent's Tenure? Context: CREATE TABLE table_name_79 (tenure VARCHAR, character VARCHAR)[/INST]SELECT tenure FROM table_name_79 WHERE character = "kerry vincent"</s>
CREATE TABLE table_name_23 (laps VARCHAR, year VARCHAR)
SELECT COUNT(laps) FROM table_name_23 WHERE year = "1949"
What is the total number of laps that were completed in 1949?
<s>[INST]What is the total number of laps that were completed in 1949? Context: CREATE TABLE table_name_23 (laps VARCHAR, year VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_23 WHERE year = "1949"</s>
CREATE TABLE table_11677100_8 (mlb_draft VARCHAR, hometown VARCHAR)
SELECT mlb_draft FROM table_11677100_8 WHERE hometown = "Apopka, FL"
What pick was the player from Apopka, FL in the 2002 MLB draft
<s>[INST]What pick was the player from Apopka, FL in the 2002 MLB draft Context: CREATE TABLE table_11677100_8 (mlb_draft VARCHAR, hometown VARCHAR)[/INST]SELECT mlb_draft FROM table_11677100_8 WHERE hometown = "Apopka, FL"</s>
CREATE TABLE table_name_13 (vinculum VARCHAR, parentheses VARCHAR)
SELECT vinculum FROM table_name_13 WHERE parentheses = "0.(6)"
What is the value of vinculum for parentheses of 0.(6)?
<s>[INST]What is the value of vinculum for parentheses of 0.(6)? Context: CREATE TABLE table_name_13 (vinculum VARCHAR, parentheses VARCHAR)[/INST]SELECT vinculum FROM table_name_13 WHERE parentheses = "0.(6)"</s>
CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_33 WHERE opponent = "dave menne"
What was the time of the bout against Dave Menne?
<s>[INST]What was the time of the bout against Dave Menne? Context: CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR)[/INST]SELECT time FROM table_name_33 WHERE opponent = "dave menne"</s>
CREATE TABLE table_10710364_1 (religious_group VARCHAR, population__percentage_2001 VARCHAR)
SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = "0.72%"
What religious groups made up 0.72% of the Indian population in 2001?
<s>[INST]What religious groups made up 0.72% of the Indian population in 2001? Context: CREATE TABLE table_10710364_1 (religious_group VARCHAR, population__percentage_2001 VARCHAR)[/INST]SELECT religious_group FROM table_10710364_1 WHERE population__percentage_2001 = "0.72%"</s>
CREATE TABLE table_name_61 (draw INTEGER, played INTEGER)
SELECT AVG(draw) FROM table_name_61 WHERE played > 18
What is the average for Draw games where Played games is more than 18?
<s>[INST]What is the average for Draw games where Played games is more than 18? Context: CREATE TABLE table_name_61 (draw INTEGER, played INTEGER)[/INST]SELECT AVG(draw) FROM table_name_61 WHERE played > 18</s>
CREATE TABLE table_name_76 (division VARCHAR, wins VARCHAR)
SELECT division FROM table_name_76 WHERE wins = "2"
What is the division with wins of 2?
<s>[INST]What is the division with wins of 2? Context: CREATE TABLE table_name_76 (division VARCHAR, wins VARCHAR)[/INST]SELECT division FROM table_name_76 WHERE wins = "2"</s>
CREATE TABLE table_name_28 (tournament VARCHAR, result VARCHAR)
SELECT tournament FROM table_name_28 WHERE result = "46-18"
In what tournament is there a result of 46-18?
<s>[INST]In what tournament is there a result of 46-18? Context: CREATE TABLE table_name_28 (tournament VARCHAR, result VARCHAR)[/INST]SELECT tournament FROM table_name_28 WHERE result = "46-18"</s>
CREATE TABLE table_name_1 (position VARCHAR, pick VARCHAR, player VARCHAR)
SELECT position FROM table_name_1 WHERE pick < 14 AND player = "tyrone bogues"
Which Position has a Pick smaller than 14, and a Player of tyrone bogues?
<s>[INST]Which Position has a Pick smaller than 14, and a Player of tyrone bogues? Context: CREATE TABLE table_name_1 (position VARCHAR, pick VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_1 WHERE pick < 14 AND player = "tyrone bogues"</s>
CREATE TABLE table_237757_10 (season VARCHAR, low_team VARCHAR)
SELECT season FROM table_237757_10 WHERE low_team = "Chicago Sting"
What was the season when the low team is chicago sting?
<s>[INST]What was the season when the low team is chicago sting? Context: CREATE TABLE table_237757_10 (season VARCHAR, low_team VARCHAR)[/INST]SELECT season FROM table_237757_10 WHERE low_team = "Chicago Sting"</s>
CREATE TABLE table_25459168_2 (circuit VARCHAR, date VARCHAR)
SELECT circuit FROM table_25459168_2 WHERE date = "August 21"
What circuit was used on August 21?
<s>[INST]What circuit was used on August 21? Context: CREATE TABLE table_25459168_2 (circuit VARCHAR, date VARCHAR)[/INST]SELECT circuit FROM table_25459168_2 WHERE date = "August 21"</s>
CREATE TABLE table_name_55 (name VARCHAR, constituency_number VARCHAR)
SELECT name FROM table_name_55 WHERE constituency_number = "214"
What is the name for the assembly segment with a constituency number of 214?
<s>[INST]What is the name for the assembly segment with a constituency number of 214? Context: CREATE TABLE table_name_55 (name VARCHAR, constituency_number VARCHAR)[/INST]SELECT name FROM table_name_55 WHERE constituency_number = "214"</s>
CREATE TABLE table_14342367_13 (class VARCHAR, position VARCHAR)
SELECT class FROM table_14342367_13 WHERE position = "Right tackle"
What was the class of the player who played right tackle?
<s>[INST]What was the class of the player who played right tackle? Context: CREATE TABLE table_14342367_13 (class VARCHAR, position VARCHAR)[/INST]SELECT class FROM table_14342367_13 WHERE position = "Right tackle"</s>
CREATE TABLE dorm (dorm_name VARCHAR, student_capacity INTEGER)
SELECT dorm_name FROM dorm WHERE student_capacity > 300
Find the name of dorms that can accommodate more than 300 students.
<s>[INST]Find the name of dorms that can accommodate more than 300 students. Context: CREATE TABLE dorm (dorm_name VARCHAR, student_capacity INTEGER)[/INST]SELECT dorm_name FROM dorm WHERE student_capacity > 300</s>
CREATE TABLE table_name_63 (year VARCHAR, award VARCHAR, nominee VARCHAR)
SELECT COUNT(year) FROM table_name_63 WHERE award = "tony award" AND nominee = "terry johnson"
In what year was Terry Johnson nominated for a Tony award?
<s>[INST]In what year was Terry Johnson nominated for a Tony award? Context: CREATE TABLE table_name_63 (year VARCHAR, award VARCHAR, nominee VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_63 WHERE award = "tony award" AND nominee = "terry johnson"</s>
CREATE TABLE table_name_47 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR, catch_taken VARCHAR)
SELECT name FROM table_name_47 WHERE only_point > 1 AND catch_taken > 3 AND bonus > 4 AND total_point < 30
What is Name, when Only Point is greater than 1, when Catch Taken is greater than 3, when Bonus is greater than 4, and when Total Point is less than 30?
<s>[INST]What is Name, when Only Point is greater than 1, when Catch Taken is greater than 3, when Bonus is greater than 4, and when Total Point is less than 30? Context: CREATE TABLE table_name_47 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR, catch_taken VARCHAR)[/INST]SELECT name FROM table_name_47 WHERE only_point > 1 AND catch_taken > 3 AND bonus > 4 AND total_point < 30</s>
CREATE TABLE table_18183850_12 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_18183850_12 WHERE opponent = "Dominika Cibulková"
What was the score when the opponent was Dominika Cibulková?
<s>[INST]What was the score when the opponent was Dominika Cibulková? Context: CREATE TABLE table_18183850_12 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_18183850_12 WHERE opponent = "Dominika Cibulková"</s>
CREATE TABLE table_name_19 (high_rebounds VARCHAR, score VARCHAR)
SELECT high_rebounds FROM table_name_19 WHERE score = "l 101–109 (ot)"
What were the high rebounds when the score was l 101–109 (ot)?
<s>[INST]What were the high rebounds when the score was l 101–109 (ot)? Context: CREATE TABLE table_name_19 (high_rebounds VARCHAR, score VARCHAR)[/INST]SELECT high_rebounds FROM table_name_19 WHERE score = "l 101–109 (ot)"</s>
CREATE TABLE table_name_24 (school_club_team VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_name_24 WHERE position = "forward-center"
What is the team that has forward-center as a position?
<s>[INST]What is the team that has forward-center as a position? Context: CREATE TABLE table_name_24 (school_club_team VARCHAR, position VARCHAR)[/INST]SELECT school_club_team FROM table_name_24 WHERE position = "forward-center"</s>
CREATE TABLE table_27603010_14 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_27603010_14 WHERE team__number1 = "Atlético La Sabana"
Who was the team 2 that played against team 1 Atlético la Sabana?
<s>[INST]Who was the team 2 that played against team 1 Atlético la Sabana? Context: CREATE TABLE table_27603010_14 (team__number2 VARCHAR, team__number1 VARCHAR)[/INST]SELECT team__number2 FROM table_27603010_14 WHERE team__number1 = "Atlético La Sabana"</s>
CREATE TABLE table_name_74 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR)
SELECT location FROM table_name_74 WHERE owgr_points > 6 AND winner = "ryu hyun-woo"
What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as the winner?
<s>[INST]What is the location of the tournament with more than 6 OWGR points and Ryu Hyun-Woo as the winner? Context: CREATE TABLE table_name_74 (location VARCHAR, owgr_points VARCHAR, winner VARCHAR)[/INST]SELECT location FROM table_name_74 WHERE owgr_points > 6 AND winner = "ryu hyun-woo"</s>
CREATE TABLE table_name_29 (country VARCHAR, total VARCHAR)
SELECT country FROM table_name_29 WHERE total = 302
What country has 302 as the total?
<s>[INST]What country has 302 as the total? Context: CREATE TABLE table_name_29 (country VARCHAR, total VARCHAR)[/INST]SELECT country FROM table_name_29 WHERE total = 302</s>
CREATE TABLE table_name_71 (assists INTEGER, rank VARCHAR, games VARCHAR)
SELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 2
What is the largest number of assists for the second rank when there were less than 2 games?
<s>[INST]What is the largest number of assists for the second rank when there were less than 2 games? Context: CREATE TABLE table_name_71 (assists INTEGER, rank VARCHAR, games VARCHAR)[/INST]SELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 2</s>
CREATE TABLE table_name_9 (artist VARCHAR, mintage VARCHAR)
SELECT artist FROM table_name_9 WHERE mintage = 500
Which artist has a Mintage of 500?
<s>[INST]Which artist has a Mintage of 500? Context: CREATE TABLE table_name_9 (artist VARCHAR, mintage VARCHAR)[/INST]SELECT artist FROM table_name_9 WHERE mintage = 500</s>
CREATE TABLE table_name_9 (attendance INTEGER, date VARCHAR)
SELECT SUM(attendance) FROM table_name_9 WHERE date = "8 march 2008"
How many people attended the game on 8 March 2008?
<s>[INST]How many people attended the game on 8 March 2008? Context: CREATE TABLE table_name_9 (attendance INTEGER, date VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_9 WHERE date = "8 march 2008"</s>
CREATE TABLE table_name_51 (kv_85_m1943 VARCHAR, kv_1s_m1942 VARCHAR)
SELECT kv_85_m1943 FROM table_name_51 WHERE kv_1s_m1942 = "45"
What's the KV-85 when the KV-1S is 45?
<s>[INST]What's the KV-85 when the KV-1S is 45? Context: CREATE TABLE table_name_51 (kv_85_m1943 VARCHAR, kv_1s_m1942 VARCHAR)[/INST]SELECT kv_85_m1943 FROM table_name_51 WHERE kv_1s_m1942 = "45"</s>
CREATE TABLE representative (State VARCHAR)
SELECT State FROM representative GROUP BY State HAVING COUNT(*) >= 2
What states have at least two representatives?
<s>[INST]What states have at least two representatives? Context: CREATE TABLE representative (State VARCHAR)[/INST]SELECT State FROM representative GROUP BY State HAVING COUNT(*) >= 2</s>
CREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR)
SELECT games FROM table_name_33 WHERE event = "men's singles" AND medal = "silver"
Which Olympic Games had a silver medal for the Men's Singles?
<s>[INST]Which Olympic Games had a silver medal for the Men's Singles? Context: CREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR)[/INST]SELECT games FROM table_name_33 WHERE event = "men's singles" AND medal = "silver"</s>
CREATE TABLE table_2668199_2 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR)
SELECT COUNT(first_elected) FROM table_2668199_2 WHERE result = "Re-elected" AND party = "Anti-Masonic" AND district = "Pennsylvania 24"
How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24?
<s>[INST]How many times was the result was re-elected and the party was anti-masonic in the district Pennsylvania 24? Context: CREATE TABLE table_2668199_2 (first_elected VARCHAR, district VARCHAR, result VARCHAR, party VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_2668199_2 WHERE result = "Re-elected" AND party = "Anti-Masonic" AND district = "Pennsylvania 24"</s>
CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR)
SELECT other_goals FROM table_2980024_1 WHERE league_goals = 1
How many other goals did Dunne have in the season where he had 1 league goal?
<s>[INST]How many other goals did Dunne have in the season where he had 1 league goal? Context: CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR)[/INST]SELECT other_goals FROM table_2980024_1 WHERE league_goals = 1</s>
CREATE TABLE table_name_13 (location VARCHAR, left VARCHAR, nickname VARCHAR)
SELECT location FROM table_name_13 WHERE left = "2013" AND nickname = "royals"
Where was the game played with a 2013 left and Royals nickname?
<s>[INST]Where was the game played with a 2013 left and Royals nickname? Context: CREATE TABLE table_name_13 (location VARCHAR, left VARCHAR, nickname VARCHAR)[/INST]SELECT location FROM table_name_13 WHERE left = "2013" AND nickname = "royals"</s>
CREATE TABLE table_name_88 (event VARCHAR, round INTEGER)
SELECT event FROM table_name_88 WHERE round > 2
Which event has a Round larger than 2?
<s>[INST]Which event has a Round larger than 2? Context: CREATE TABLE table_name_88 (event VARCHAR, round INTEGER)[/INST]SELECT event FROM table_name_88 WHERE round > 2</s>
CREATE TABLE table_name_41 (position VARCHAR, name VARCHAR)
SELECT position FROM table_name_41 WHERE name = "kyle mckenzie"
What position did kyle mckenzie play?
<s>[INST]What position did kyle mckenzie play? Context: CREATE TABLE table_name_41 (position VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_41 WHERE name = "kyle mckenzie"</s>
CREATE TABLE table_23015396_1 (year VARCHAR, driver VARCHAR)
SELECT COUNT(year) FROM table_23015396_1 WHERE driver = "Mark Martin"
Name the number of year for mark martin
<s>[INST]Name the number of year for mark martin Context: CREATE TABLE table_23015396_1 (year VARCHAR, driver VARCHAR)[/INST]SELECT COUNT(year) FROM table_23015396_1 WHERE driver = "Mark Martin"</s>
CREATE TABLE table_name_89 (lost INTEGER, drawn VARCHAR, points VARCHAR, name VARCHAR)
SELECT AVG(lost) FROM table_name_89 WHERE points < 15 AND name = "sc forst" AND drawn < 0
Which Lost has Points smaller than 15, and a Name of sc forst, and Drawn smaller than 0?
<s>[INST]Which Lost has Points smaller than 15, and a Name of sc forst, and Drawn smaller than 0? Context: CREATE TABLE table_name_89 (lost INTEGER, drawn VARCHAR, points VARCHAR, name VARCHAR)[/INST]SELECT AVG(lost) FROM table_name_89 WHERE points < 15 AND name = "sc forst" AND drawn < 0</s>
CREATE TABLE table_name_43 (name VARCHAR, position VARCHAR, round VARCHAR)
SELECT name FROM table_name_43 WHERE position = "ot" AND round = 27
Which player had a position of OT during round 27?
<s>[INST]Which player had a position of OT during round 27? Context: CREATE TABLE table_name_43 (name VARCHAR, position VARCHAR, round VARCHAR)[/INST]SELECT name FROM table_name_43 WHERE position = "ot" AND round = 27</s>
CREATE TABLE table_name_22 (segment_c VARCHAR, segment_b VARCHAR)
SELECT segment_c FROM table_name_22 WHERE segment_b = "s cuckoo clock"
What is under segment C when s cuckoo clock is under segment B?
<s>[INST]What is under segment C when s cuckoo clock is under segment B? Context: CREATE TABLE table_name_22 (segment_c VARCHAR, segment_b VARCHAR)[/INST]SELECT segment_c FROM table_name_22 WHERE segment_b = "s cuckoo clock"</s>
CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made INTEGER)
SELECT MIN(top_10) FROM table_name_57 WHERE cuts_made > 42
Which Top-10 has a Cuts made larger than 42?
<s>[INST]Which Top-10 has a Cuts made larger than 42? Context: CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made INTEGER)[/INST]SELECT MIN(top_10) FROM table_name_57 WHERE cuts_made > 42</s>
CREATE TABLE table_name_89 (goals VARCHAR, player VARCHAR)
SELECT goals FROM table_name_89 WHERE player = "matt cook"
How many Goals did Matt Cook have?
<s>[INST]How many Goals did Matt Cook have? Context: CREATE TABLE table_name_89 (goals VARCHAR, player VARCHAR)[/INST]SELECT goals FROM table_name_89 WHERE player = "matt cook"</s>
CREATE TABLE table_name_67 (outcome VARCHAR, opponent_in_the_final VARCHAR)
SELECT outcome FROM table_name_67 WHERE opponent_in_the_final = "all england open"
What is the Outcome when All England Open is the Opponent in the final?
<s>[INST]What is the Outcome when All England Open is the Opponent in the final? Context: CREATE TABLE table_name_67 (outcome VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT outcome FROM table_name_67 WHERE opponent_in_the_final = "all england open"</s>
CREATE TABLE table_name_55 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_55 WHERE date = "september 24, 2000"
What week was September 24, 2000 on?
<s>[INST]What week was September 24, 2000 on? Context: CREATE TABLE table_name_55 (week INTEGER, date VARCHAR)[/INST]SELECT SUM(week) FROM table_name_55 WHERE date = "september 24, 2000"</s>
CREATE TABLE table_name_21 (margin_of_victory VARCHAR, date VARCHAR)
SELECT margin_of_victory FROM table_name_21 WHERE date = "oct 5, 1997"
What is the Margin of victory on oct 5, 1997?
<s>[INST]What is the Margin of victory on oct 5, 1997? Context: CREATE TABLE table_name_21 (margin_of_victory VARCHAR, date VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_21 WHERE date = "oct 5, 1997"</s>
CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)
SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949"
What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?
<s>[INST]What was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance? Context: CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)[/INST]SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949"</s>
CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)
SELECT campus FROM campuses WHERE YEAR < 1800
Find the name of the campuses opened before 1800.
<s>[INST]Find the name of the campuses opened before 1800. Context: CREATE TABLE campuses (campus VARCHAR, YEAR INTEGER)[/INST]SELECT campus FROM campuses WHERE YEAR < 1800</s>
CREATE TABLE table_29162856_1 (fastest_lap VARCHAR, round VARCHAR)
SELECT fastest_lap FROM table_29162856_1 WHERE round = 1
Who had the fastest lap in round 1?
<s>[INST]Who had the fastest lap in round 1? Context: CREATE TABLE table_29162856_1 (fastest_lap VARCHAR, round VARCHAR)[/INST]SELECT fastest_lap FROM table_29162856_1 WHERE round = 1</s>
CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_47 WHERE away_team = "swansea city"
Who was the home team when swansea city was the away team?
<s>[INST]Who was the home team when swansea city was the away team? Context: CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team FROM table_name_47 WHERE away_team = "swansea city"</s>
CREATE TABLE table_28498999_6 (reset_points VARCHAR, player VARCHAR)
SELECT COUNT(reset_points) FROM table_28498999_6 WHERE player = "Charley Hoffman"
what is the number of pieces where the person is charley hoffman
<s>[INST]what is the number of pieces where the person is charley hoffman Context: CREATE TABLE table_28498999_6 (reset_points VARCHAR, player VARCHAR)[/INST]SELECT COUNT(reset_points) FROM table_28498999_6 WHERE player = "Charley Hoffman"</s>
CREATE TABLE table_name_98 (competition VARCHAR, goal INTEGER)
SELECT competition FROM table_name_98 WHERE goal < 2
Which competition has goals less than 2?
<s>[INST]Which competition has goals less than 2? Context: CREATE TABLE table_name_98 (competition VARCHAR, goal INTEGER)[/INST]SELECT competition FROM table_name_98 WHERE goal < 2</s>
CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_97 WHERE date = "19 february 2011"
Who was the opponent on 19 February 2011?
<s>[INST]Who was the opponent on 19 February 2011? Context: CREATE TABLE table_name_97 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_97 WHERE date = "19 february 2011"</s>
CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_25 WHERE venue = "kardinia park"
What is the home team score that played at Kardinia Park?
<s>[INST]What is the home team score that played at Kardinia Park? Context: CREATE TABLE table_name_25 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team AS score FROM table_name_25 WHERE venue = "kardinia park"</s>
CREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_21321804_5 WHERE cfl_team = "Hamilton Tiger-Cats"
What position was drafted by the Hamilton Tiger-Cats?
<s>[INST]What position was drafted by the Hamilton Tiger-Cats? Context: CREATE TABLE table_21321804_5 (position VARCHAR, cfl_team VARCHAR)[/INST]SELECT position FROM table_21321804_5 WHERE cfl_team = "Hamilton Tiger-Cats"</s>
CREATE TABLE table_name_42 (year_named VARCHAR, longitude VARCHAR)
SELECT year_named FROM table_name_42 WHERE longitude = "227.5e"
What is Year Named, when Longitude is 227.5E?
<s>[INST]What is Year Named, when Longitude is 227.5E? Context: CREATE TABLE table_name_42 (year_named VARCHAR, longitude VARCHAR)[/INST]SELECT year_named FROM table_name_42 WHERE longitude = "227.5e"</s>
CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR)
SELECT 1985 FROM table_30133_3 WHERE gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ = "369.38"
What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?
<s>[INST]What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38? Context: CREATE TABLE table_30133_3 (gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR)[/INST]SELECT 1985 FROM table_30133_3 WHERE gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ = "369.38"</s>
CREATE TABLE table_23274514_7 (date VARCHAR, record VARCHAR)
SELECT date FROM table_23274514_7 WHERE record = "17-32"
Name the date for 17-32
<s>[INST]Name the date for 17-32 Context: CREATE TABLE table_23274514_7 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_23274514_7 WHERE record = "17-32"</s>
CREATE TABLE table_name_8 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_8 WHERE away_team = "st kilda"
Which venue has St Kilda as the away team?
<s>[INST]Which venue has St Kilda as the away team? Context: CREATE TABLE table_name_8 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_8 WHERE away_team = "st kilda"</s>
CREATE TABLE table_17432028_1 (date VARCHAR, score VARCHAR)
SELECT date FROM table_17432028_1 WHERE score = "95-101"
Name the date for score of 95-101
<s>[INST]Name the date for score of 95-101 Context: CREATE TABLE table_17432028_1 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_17432028_1 WHERE score = "95-101"</s>
CREATE TABLE table_name_70 (lead VARCHAR, second VARCHAR, third VARCHAR)
SELECT lead FROM table_name_70 WHERE second = "cathrine norberg" AND third = "anna rindeskog"
Who has the lead in the season where Cathrine Norberg is second and Anna Rindeskog is third?
<s>[INST]Who has the lead in the season where Cathrine Norberg is second and Anna Rindeskog is third? Context: CREATE TABLE table_name_70 (lead VARCHAR, second VARCHAR, third VARCHAR)[/INST]SELECT lead FROM table_name_70 WHERE second = "cathrine norberg" AND third = "anna rindeskog"</s>
CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR)
SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = "Five"
When five is the new channel what is the date of original removal?
<s>[INST]When five is the new channel what is the date of original removal? Context: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR)[/INST]SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = "Five"</s>
CREATE TABLE table_26986076_7 (rider VARCHAR, tues_24_aug VARCHAR)
SELECT rider FROM table_26986076_7 WHERE tues_24_aug = "22' 09.44 93.840mph"
Who had the time of 22' 09.44 93.840mph on Tuesday August 24th?
<s>[INST]Who had the time of 22' 09.44 93.840mph on Tuesday August 24th? Context: CREATE TABLE table_26986076_7 (rider VARCHAR, tues_24_aug VARCHAR)[/INST]SELECT rider FROM table_26986076_7 WHERE tues_24_aug = "22' 09.44 93.840mph"</s>
CREATE TABLE table_name_95 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_95 WHERE player = "danny manning"
What college did danny manning go to?
<s>[INST]What college did danny manning go to? Context: CREATE TABLE table_name_95 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_95 WHERE player = "danny manning"</s>
CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_name_74 WHERE tries_against = "30"
What is the number of tries for that has 30 tries against?
<s>[INST]What is the number of tries for that has 30 tries against? Context: CREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR)[/INST]SELECT tries_for FROM table_name_74 WHERE tries_against = "30"</s>
CREATE TABLE visitor (name VARCHAR, age VARCHAR, id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, num_of_ticket VARCHAR)
SELECT t1.name, t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1
Find the name and age of the visitor who bought the most tickets at once.
<s>[INST]Find the name and age of the visitor who bought the most tickets at once. Context: CREATE TABLE visitor (name VARCHAR, age VARCHAR, id VARCHAR); CREATE TABLE visit (visitor_id VARCHAR, num_of_ticket VARCHAR)[/INST]SELECT t1.name, t1.age FROM visitor AS t1 JOIN visit AS t2 ON t1.id = t2.visitor_id ORDER BY t2.num_of_ticket DESC LIMIT 1</s>
CREATE TABLE documents (access_count INTEGER, document_type_code VARCHAR)
SELECT SUM(access_count) FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1
Find the total access count of all documents in the most popular document type.
<s>[INST]Find the total access count of all documents in the most popular document type. Context: CREATE TABLE documents (access_count INTEGER, document_type_code VARCHAR)[/INST]SELECT SUM(access_count) FROM documents GROUP BY document_type_code ORDER BY COUNT(*) DESC LIMIT 1</s>
CREATE TABLE table_1342256_32 (district VARCHAR, incumbent VARCHAR)
SELECT COUNT(district) FROM table_1342256_32 WHERE incumbent = "John Taber"
How many polling areas are there with John Taber as the sitting Representative?
<s>[INST]How many polling areas are there with John Taber as the sitting Representative? Context: CREATE TABLE table_1342256_32 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(district) FROM table_1342256_32 WHERE incumbent = "John Taber"</s>
CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR)
SELECT party FROM table_22756549_1 WHERE margin = 105731
What party won with a margin of 105731?
<s>[INST]What party won with a margin of 105731? Context: CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR)[/INST]SELECT party FROM table_22756549_1 WHERE margin = 105731</s>
CREATE TABLE table_name_76 (attendance INTEGER, opponent VARCHAR)
SELECT MAX(attendance) FROM table_name_76 WHERE opponent = "phoenix coyotes"
WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES?
<s>[INST]WHAT IS THE HIGHEST ATTENDANCE FOR THE PHOENIX COYOTES? Context: CREATE TABLE table_name_76 (attendance INTEGER, opponent VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_76 WHERE opponent = "phoenix coyotes"</s>
CREATE TABLE table_name_8 (rank INTEGER, studio_s_ VARCHAR, day_of_week VARCHAR, year VARCHAR)
SELECT AVG(rank) FROM table_name_8 WHERE day_of_week = "wednesday" AND year < 2012 AND studio_s_ = "reliance entertainment"
What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012?
<s>[INST]What is the average rank of the Reliance Entertainment movie with an opening day on Wednesday before 2012? Context: CREATE TABLE table_name_8 (rank INTEGER, studio_s_ VARCHAR, day_of_week VARCHAR, year VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_8 WHERE day_of_week = "wednesday" AND year < 2012 AND studio_s_ = "reliance entertainment"</s>
CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore"
What party did the incumbent Thomas P. Moore belong to?
<s>[INST]What party did the incumbent Thomas P. Moore belong to? Context: CREATE TABLE table_2668254_8 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_2668254_8 WHERE incumbent = "Thomas P. Moore"</s>