text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: HOW MANY GAMES WERE LOST BY 12 POINTS? ### Context: CREATE TABLE table_12807904_3 (points_for VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(points_for) FROM table_12807904_3 WHERE lost = "12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the number of earnings were cuts made are 19 and money list rank is 3? ### Context: CREATE TABLE table_12821159_14 (earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR) [/INST] ### Response: SELECT earnings__€_ FROM table_12821159_14 WHERE cuts_made = 19 AND money_list_rank = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what are all the barrel lengths whith the name ar-15a3 competition hbar ### Context: CREATE TABLE table_12834315_2 (barrel_length VARCHAR, name VARCHAR) [/INST] ### Response: SELECT barrel_length FROM table_12834315_2 WHERE name = "AR-15A3 Competition HBAR" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the fire control for the sporter target ### Context: CREATE TABLE table_12834315_2 (fire_control VARCHAR, name VARCHAR) [/INST] ### Response: SELECT fire_control FROM table_12834315_2 WHERE name = "Sporter Target" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the days with rain figure for the city of Santiago de Compostela? ### Context: CREATE TABLE table_12837_1 (days_with_rain__year_summer_ VARCHAR, city_town VARCHAR) [/INST] ### Response: SELECT days_with_rain__year_summer_ FROM table_12837_1 WHERE city_town = "Santiago de Compostela" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rain figures are provided for sunlight hours in 1966? ### Context: CREATE TABLE table_12837_1 (rain VARCHAR, sunlight_hours VARCHAR) [/INST] ### Response: SELECT COUNT(rain) FROM table_12837_1 WHERE sunlight_hours = 1966 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the value of barrel twist when the barrel profile is SFW? ### Context: CREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR) [/INST] ### Response: SELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = "SFW" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of hand guards are associated with a rear sight of A1 and stock of A2? ### Context: CREATE TABLE table_12834315_8 (hand_guards VARCHAR, rear_sight VARCHAR, stock VARCHAR) [/INST] ### Response: SELECT hand_guards FROM table_12834315_8 WHERE rear_sight = "A1" AND stock = "A2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many inches is the barrel length when the rear sight is weaver and the barrel profile is A2? ### Context: CREATE TABLE table_12834315_8 (barrel_length VARCHAR, rear_sight VARCHAR, barrel_profile VARCHAR) [/INST] ### Response: SELECT barrel_length FROM table_12834315_8 WHERE rear_sight = "Weaver" AND barrel_profile = "A2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the muzzle device on the colt model le1020? ### Context: CREATE TABLE table_12834315_5 (muzzle_device VARCHAR, colt_model_no VARCHAR) [/INST] ### Response: SELECT muzzle_device FROM table_12834315_5 WHERE colt_model_no = "LE1020" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the barrell profile that goes with the gas piston carbine? ### Context: CREATE TABLE table_12834315_5 (barrel_profile VARCHAR, name VARCHAR) [/INST] ### Response: SELECT barrel_profile FROM table_12834315_5 WHERE name = "Gas Piston Carbine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What models have an a2 barrel profile? ### Context: CREATE TABLE table_12834315_5 (name VARCHAR, barrel_profile VARCHAR) [/INST] ### Response: SELECT name FROM table_12834315_5 WHERE barrel_profile = "A2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What hand guard system is used with a gas piston commando? ### Context: CREATE TABLE table_12834315_5 (hand_guards VARCHAR, name VARCHAR) [/INST] ### Response: SELECT hand_guards FROM table_12834315_5 WHERE name = "Gas Piston Commando" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the bayonet lug status for a m4 hbar and m4le carbine equipped? ### Context: CREATE TABLE table_12834315_5 (bayonet_lug VARCHAR, barrel_profile VARCHAR, name VARCHAR) [/INST] ### Response: SELECT bayonet_lug FROM table_12834315_5 WHERE barrel_profile = "M4 HBAR" AND name = "M4LE Carbine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the barrel length for a cold model le6921sp? ### Context: CREATE TABLE table_12834315_5 (barrel_length VARCHAR, colt_model_no VARCHAR) [/INST] ### Response: SELECT barrel_length FROM table_12834315_5 WHERE colt_model_no = "LE6921SP" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the barrel length for rear sight a2 for factory compensator ### Context: CREATE TABLE table_12834315_4 (barrel_length VARCHAR, rear_sight VARCHAR, muzzle_device VARCHAR) [/INST] ### Response: SELECT barrel_length FROM table_12834315_4 WHERE rear_sight = "A2" AND muzzle_device = "Factory compensator" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the barrel twist for colt model mt6400 ### Context: CREATE TABLE table_12834315_4 (barrel_twist VARCHAR, colt_model_no VARCHAR) [/INST] ### Response: SELECT barrel_twist FROM table_12834315_4 WHERE colt_model_no = "MT6400" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the forward assist for a2 barrel profile ### Context: CREATE TABLE table_12834315_4 (forward_assist VARCHAR, barrel_profile VARCHAR) [/INST] ### Response: SELECT forward_assist FROM table_12834315_4 WHERE barrel_profile = "A2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the stock for colt model mt6601 ### Context: CREATE TABLE table_12834315_4 (stock VARCHAR, colt_model_no VARCHAR) [/INST] ### Response: SELECT stock FROM table_12834315_4 WHERE colt_model_no = "MT6601" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many races is different distances does Rosehill Guineas compete in? ### Context: CREATE TABLE table_1284347_2 (distance VARCHAR, race VARCHAR) [/INST] ### Response: SELECT COUNT(distance) FROM table_1284347_2 WHERE race = "Rosehill Guineas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many games ended up with 16 points? ### Context: CREATE TABLE table_12886178_4 (played VARCHAR, points VARCHAR) [/INST] ### Response: SELECT played FROM table_12886178_4 WHERE points = "16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the tries against count for the club whose tries for count was 29? ### Context: CREATE TABLE table_12886178_4 (tries_against VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_12886178_4 WHERE tries_for = "29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points does Croesyceiliog RFC have? ### Context: CREATE TABLE table_12886178_4 (points VARCHAR, club VARCHAR) [/INST] ### Response: SELECT points FROM table_12886178_4 WHERE club = "Croesyceiliog RFC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the points for count for the club with 41 points and 8 won games? ### Context: CREATE TABLE table_12886178_4 (points_for VARCHAR, points VARCHAR, won VARCHAR) [/INST] ### Response: SELECT points_for FROM table_12886178_4 WHERE points = "41" AND won = "8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the points for count for the club with tries for count of 29? ### Context: CREATE TABLE table_12886178_4 (points_for VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT points_for FROM table_12886178_4 WHERE tries_for = "29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the try bonus count for the club whose tries against count is 83? ### Context: CREATE TABLE table_12886178_4 (try_bonus VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT try_bonus FROM table_12886178_4 WHERE tries_against = "83" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the real estate agent from? ### Context: CREATE TABLE table_1289860_2 (hometown VARCHAR, background VARCHAR) [/INST] ### Response: SELECT hometown FROM table_1289860_2 WHERE background = "Real Estate agent" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What background does the person from New york, New york, have? ### Context: CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT background FROM table_1289860_2 WHERE hometown = "New York, New York" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many backgrounds are there represented from Memphis, Tennessee? ### Context: CREATE TABLE table_1289860_2 (background VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT COUNT(background) FROM table_1289860_2 WHERE hometown = "Memphis, Tennessee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people had a prosecutor background? ### Context: CREATE TABLE table_1289860_2 (result VARCHAR, background VARCHAR) [/INST] ### Response: SELECT COUNT(result) FROM table_1289860_2 WHERE background = "Prosecutor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was Kristen Kirchner from? ### Context: CREATE TABLE table_1289860_2 (hometown VARCHAR, candidate VARCHAR) [/INST] ### Response: SELECT hometown FROM table_1289860_2 WHERE candidate = "Kristen Kirchner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many clubs have a tries against count of 41? ### Context: CREATE TABLE table_12886178_5 (try_bonus VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT COUNT(try_bonus) FROM table_12886178_5 WHERE tries_against = "41" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many clubs have won 6 games? ### Context: CREATE TABLE table_12886178_5 (club VARCHAR, won VARCHAR) [/INST] ### Response: SELECT COUNT(club) FROM table_12886178_5 WHERE won = "6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many clubs have a tries against count of 45 and a losing bonus of 4? ### Context: CREATE TABLE table_12886178_5 (tries_for VARCHAR, tries_against VARCHAR, losing_bonus VARCHAR) [/INST] ### Response: SELECT COUNT(tries_for) FROM table_12886178_5 WHERE tries_against = "45" AND losing_bonus = "4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What club has a tries for count of 19? ### Context: CREATE TABLE table_12886178_5 (club VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT club FROM table_12886178_5 WHERE tries_for = "19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many clubs have tries for count of 50? ### Context: CREATE TABLE table_12886178_5 (played VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT COUNT(played) FROM table_12886178_5 WHERE tries_for = "50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the number of drawn games for the club with a tries for count of 76? ### Context: CREATE TABLE table_12886178_5 (drawn VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT drawn FROM table_12886178_5 WHERE tries_for = "76" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the against percentage in the Vest-Agder constituency? ### Context: CREATE TABLE table_1289762_1 (against___percentage_ VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT against___percentage_ FROM table_1289762_1 WHERE constituency = "Vest-Agder" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many electorates are there with Hedmark as a constituency? ### Context: CREATE TABLE table_1289762_1 (electorate VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT COUNT(electorate) FROM table_1289762_1 WHERE constituency = "Hedmark" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many for percentages are there when the against percentage is 35,782 (69)? ### Context: CREATE TABLE table_1289762_1 (for___percentage_ VARCHAR, against___percentage_ VARCHAR) [/INST] ### Response: SELECT for___percentage_ FROM table_1289762_1 WHERE against___percentage_ = "35,782 (69)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the smallest possible spoilt vote with the sør-trøndelag constituency. ### Context: CREATE TABLE table_1289762_1 (s_spoilt_vote INTEGER, constituency VARCHAR) [/INST] ### Response: SELECT MIN(s_spoilt_vote) FROM table_1289762_1 WHERE constituency = "Sør-Trøndelag" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all total poll percentages when the for percentage is 59,532 (54). ### Context: CREATE TABLE table_1289762_1 (total_poll___percentage_ VARCHAR, for___percentage_ VARCHAR) [/INST] ### Response: SELECT total_poll___percentage_ FROM table_1289762_1 WHERE for___percentage_ = "59,532 (54)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the writer of Episode 1? ### Context: CREATE TABLE table_12919003_3 (writer VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT writer FROM table_12919003_3 WHERE episode = "episode 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total number of episodes both directed by Tom Hooper and viewed by 8.08 million viewers? ### Context: CREATE TABLE table_12919003_3 (_number VARCHAR, director VARCHAR, viewers_millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(_number) FROM table_12919003_3 WHERE director = "Tom Hooper" AND viewers_millions_ = "8.08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the original airdate of the episode directed by Pete Travis? ### Context: CREATE TABLE table_12919003_3 (original_airdate VARCHAR, director VARCHAR) [/INST] ### Response: SELECT original_airdate FROM table_12919003_3 WHERE director = "Pete Travis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many millions of viewers did watch Episode 5? ### Context: CREATE TABLE table_12919003_3 (viewers_millions_ VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT viewers_millions_ FROM table_12919003_3 WHERE episode = "episode 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total number of directors whose episodes have been seen by 9.14 million viewers? ### Context: CREATE TABLE table_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_12919003_3 WHERE viewers_millions_ = "9.14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed Episode 5? ### Context: CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT director FROM table_12919003_2 WHERE episode = "episode 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many viewers did Episode 5 have? ### Context: CREATE TABLE table_12919003_2 (viewers_millions_ VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT viewers_millions_ FROM table_12919003_2 WHERE episode = "episode 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the no with current club being panathinaikos and position being forward ### Context: CREATE TABLE table_12962773_1 (no VARCHAR, current_club VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(no) FROM table_12962773_1 WHERE current_club = "Panathinaikos" AND position = "Forward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's height with position being center and year born being bigger than 1980.0 ### Context: CREATE TABLE table_12962773_1 (height VARCHAR, position VARCHAR, year_born VARCHAR) [/INST] ### Response: SELECT height FROM table_12962773_1 WHERE position = "Center" AND year_born > 1980.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's player with position being forward and current club being real madrid ### Context: CREATE TABLE table_12962773_1 (player VARCHAR, position VARCHAR, current_club VARCHAR) [/INST] ### Response: SELECT player FROM table_12962773_1 WHERE position = "Forward" AND current_club = "Real Madrid" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's current club with player being nikolaos chatzivrettas ### Context: CREATE TABLE table_12962773_1 (current_club VARCHAR, player VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_1 WHERE player = "Nikolaos Chatzivrettas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's current club with height being 2.09 ### Context: CREATE TABLE table_12962773_1 (current_club VARCHAR, height VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_1 WHERE height = "2.09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's current club with position being center and no being bigger than 12.0 ### Context: CREATE TABLE table_12962773_1 (current_club VARCHAR, position VARCHAR, no VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_1 WHERE position = "Center" AND no > 12.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the opponent of the veterans stadium ### Context: CREATE TABLE table_12944805_15 (opponent VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT opponent FROM table_12944805_15 WHERE game_site = "Veterans Stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was the player born who is 2.02m tall? ### Context: CREATE TABLE table_12962773_14 (year_born INTEGER, height VARCHAR) [/INST] ### Response: SELECT MAX(year_born) FROM table_12962773_14 WHERE height = "2.02" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What number does aleksandar ćapin wear? ### Context: CREATE TABLE table_12962773_14 (no INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(no) FROM table_12962773_14 WHERE player = "Aleksandar Ćapin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of grupo capitol valladolid ### Context: CREATE TABLE table_12962773_13 (no VARCHAR, current_club VARCHAR) [/INST] ### Response: SELECT COUNT(no) FROM table_12962773_13 WHERE current_club = "Grupo Capitol Valladolid" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the height for the player born in 1980 and center? ### Context: CREATE TABLE table_12962773_13 (height VARCHAR, year_born VARCHAR, position VARCHAR) [/INST] ### Response: SELECT height FROM table_12962773_13 WHERE year_born = 1980 AND position = "Center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number that has a height of 2.06? ### Context: CREATE TABLE table_12962773_13 (no VARCHAR, height VARCHAR) [/INST] ### Response: SELECT COUNT(no) FROM table_12962773_13 WHERE height = "2.06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the current club for number 6 ### Context: CREATE TABLE table_12962773_13 (current_club VARCHAR, no VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_13 WHERE no = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the current club for player sacha giffa ### Context: CREATE TABLE table_12962773_13 (current_club VARCHAR, player VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_13 WHERE player = "Sacha Giffa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the minimum year born for strasbourg? ### Context: CREATE TABLE table_12962773_13 (year_born INTEGER, current_club VARCHAR) [/INST] ### Response: SELECT MIN(year_born) FROM table_12962773_13 WHERE current_club = "Strasbourg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which club had a player born in 1983? ### Context: CREATE TABLE table_12962773_15 (current_club VARCHAR, year_born VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_15 WHERE year_born = 1983 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How tall is Marco Belinelli? ### Context: CREATE TABLE table_12962773_15 (height VARCHAR, player VARCHAR) [/INST] ### Response: SELECT height FROM table_12962773_15 WHERE player = "Marco Belinelli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What number is Andrea Bargnani? ### Context: CREATE TABLE table_12962773_15 (no INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(no) FROM table_12962773_15 WHERE player = "Andrea Bargnani" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player is number 6? ### Context: CREATE TABLE table_12962773_15 (player VARCHAR, no VARCHAR) [/INST] ### Response: SELECT player FROM table_12962773_15 WHERE no = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many clubs does number 6 play for? ### Context: CREATE TABLE table_12962773_15 (current_club VARCHAR, no VARCHAR) [/INST] ### Response: SELECT COUNT(current_club) FROM table_12962773_15 WHERE no = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many player with no being 12 ### Context: CREATE TABLE table_12962773_5 (player VARCHAR, no VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_12962773_5 WHERE no = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the height with position being forward and current club being real madrid ### Context: CREATE TABLE table_12962773_5 (height VARCHAR, position VARCHAR, current_club VARCHAR) [/INST] ### Response: SELECT height FROM table_12962773_5 WHERE position = "Forward" AND current_club = "Real Madrid" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the height with current club being dkv joventut ### Context: CREATE TABLE table_12962773_5 (height VARCHAR, current_club VARCHAR) [/INST] ### Response: SELECT height FROM table_12962773_5 WHERE current_club = "DKV Joventut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the current club with player being felipe reyes ### Context: CREATE TABLE table_12962773_5 (current_club VARCHAR, player VARCHAR) [/INST] ### Response: SELECT current_club FROM table_12962773_5 WHERE player = "Felipe Reyes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the episode that had 6.04 million viewers? ### Context: CREATE TABLE table_12976038_1 (director VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT director FROM table_12976038_1 WHERE viewers__in_millions_ = "6.04" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What number episode had 5.74 million viewers? ### Context: CREATE TABLE table_12976038_1 (episode__number VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT episode__number FROM table_12976038_1 WHERE viewers__in_millions_ = "5.74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the construction of the unit Chinon B1 with net power of 905 MW start? ### Context: CREATE TABLE table_12983929_1 (construction_start VARCHAR, net_power VARCHAR, unit VARCHAR) [/INST] ### Response: SELECT construction_start FROM table_12983929_1 WHERE net_power = "905 MW" AND unit = "Chinon B1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total power of the unit whose construction finished on 14.06.1963? ### Context: CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR) [/INST] ### Response: SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different values of total power are there for the unit whose construction started on 01.03.1977 and whose commercial operation started on 01.02.1984? ### Context: CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_start VARCHAR, commercial_operation VARCHAR) [/INST] ### Response: SELECT COUNT(total_power) FROM table_12983929_1 WHERE construction_start = "01.03.1977" AND commercial_operation = "01.02.1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the shut down state of the unit that's been in commercial operation since 01.02.1984? ### Context: CREATE TABLE table_12983929_1 (shut_down VARCHAR, commercial_operation VARCHAR) [/INST] ### Response: SELECT shut_down FROM table_12983929_1 WHERE commercial_operation = "01.02.1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the start of the construction of the unit that's been in commercial operation since 04.03.1987? ### Context: CREATE TABLE table_12983929_1 (construction_start VARCHAR, commercial_operation VARCHAR) [/INST] ### Response: SELECT construction_start FROM table_12983929_1 WHERE commercial_operation = "04.03.1987" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total viewers where the date of first broadcast is 28 january 2010 and the episode number is 1? ### Context: CREATE TABLE table_12995531_3 (total_viewers INTEGER, date_of_first_broadcast VARCHAR, episode_number VARCHAR) [/INST] ### Response: SELECT MIN(total_viewers) FROM table_12995531_3 WHERE date_of_first_broadcast = "28 January 2010" AND episode_number = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the episode number where the total viewers is 614000? ### Context: CREATE TABLE table_12995531_3 (episode_number INTEGER, total_viewers VARCHAR) [/INST] ### Response: SELECT MIN(episode_number) FROM table_12995531_3 WHERE total_viewers = 614000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the series number where the date of first broadcast is 16 october 2008? ### Context: CREATE TABLE table_12995531_3 (series_number VARCHAR, date_of_first_broadcast VARCHAR) [/INST] ### Response: SELECT series_number FROM table_12995531_3 WHERE date_of_first_broadcast = "16 October 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year did Easton LL Easton play in Maryland? ### Context: CREATE TABLE table_13012165_1 (year VARCHAR, maryland VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_13012165_1 WHERE maryland = "Easton LL Easton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What teams played in Washington, DC the year that Ramapo LL Ramapo was the game in New York? ### Context: CREATE TABLE table_13012165_1 (washington VARCHAR, _dc VARCHAR, new_york VARCHAR) [/INST] ### Response: SELECT washington, _dc FROM table_13012165_1 WHERE new_york = "Ramapo LL Ramapo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which year did Maryland hold the title with Railroaders LL Brunswick? ### Context: CREATE TABLE table_13012165_1 (year VARCHAR, maryland VARCHAR) [/INST] ### Response: SELECT year FROM table_13012165_1 WHERE maryland = "Railroaders LL Brunswick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played in Maryland the same year that New Jersey hosted Somerset Hills LL Bernardsville? ### Context: CREATE TABLE table_13012165_1 (maryland VARCHAR, new_jersey VARCHAR) [/INST] ### Response: SELECT maryland FROM table_13012165_1 WHERE new_jersey = "Somerset Hills LL Bernardsville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: After the year 2008.0, who played for Maryland the same year M.O.T. LL Middletown played in Delaware? ### Context: CREATE TABLE table_13012165_1 (maryland VARCHAR, delaware VARCHAR, year VARCHAR) [/INST] ### Response: SELECT maryland FROM table_13012165_1 WHERE delaware = "M.O.T. LL Middletown" AND year > 2008.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania? ### Context: CREATE TABLE table_13012165_1 (maryland VARCHAR, pennsylvania VARCHAR) [/INST] ### Response: SELECT maryland FROM table_13012165_1 WHERE pennsylvania = "Deep Run Valley LL Hilltown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is Bluetongue Stadium located? ### Context: CREATE TABLE table_1301373_1 (location VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT location FROM table_1301373_1 WHERE stadium = "Bluetongue stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the team, whose captain is Matt Smith, founded? ### Context: CREATE TABLE table_1301373_1 (founded VARCHAR, captain VARCHAR) [/INST] ### Response: SELECT founded FROM table_1301373_1 WHERE captain = "Matt Smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who's the captain of the team whose head coach is Alistair Edwards? ### Context: CREATE TABLE table_1301373_1 (captain VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT captain FROM table_1301373_1 WHERE head_coach = "Alistair Edwards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many locations does the team Newcastle Jets come from? ### Context: CREATE TABLE table_1301373_1 (location VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(location) FROM table_1301373_1 WHERE team = "Newcastle Jets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is Westpac Stadium located? ### Context: CREATE TABLE table_1301373_1 (location VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT location FROM table_1301373_1 WHERE stadium = "Westpac stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the new hampshire in 2009? ### Context: CREATE TABLE table_13011547_1 (new_hampshire VARCHAR, year VARCHAR) [/INST] ### Response: SELECT new_hampshire FROM table_13011547_1 WHERE year = 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most points when the won is 9? ### Context: CREATE TABLE table_13018116_1 (pts_for INTEGER, won VARCHAR) [/INST] ### Response: SELECT MAX(pts_for) FROM table_13018116_1 WHERE won = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of played when points against 645? ### Context: CREATE TABLE table_13018116_1 (played VARCHAR, pts_agst VARCHAR) [/INST] ### Response: SELECT COUNT(played) FROM table_13018116_1 WHERE pts_agst = 645 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most points for ### Context: CREATE TABLE table_13018116_1 (pts_for INTEGER) [/INST] ### Response: SELECT MIN(pts_for) FROM table_13018116_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most points against when points for is 860 ### Context: CREATE TABLE table_13018116_1 (pts_agst INTEGER, pts_for VARCHAR) [/INST] ### Response: SELECT MAX(pts_agst) FROM table_13018116_1 WHERE pts_for = 860 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams scored 616 points? ### Context: CREATE TABLE table_13018091_1 (won VARCHAR, pts_for VARCHAR) [/INST] ### Response: SELECT COUNT(won) FROM table_13018091_1 WHERE pts_for = 616 </s>