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: What is the barony for the Ballintaggart townland? ### Context: CREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR) [/INST] ### Response: SELECT barony FROM table_30120619_1 WHERE townland = "Ballintaggart" </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 poor law union for the Barnahely towland? ### Context: CREATE TABLE table_30120619_1 (poor_law_union VARCHAR, townland VARCHAR) [/INST] ### Response: SELECT poor_law_union FROM table_30120619_1 WHERE townland = "Barnahely" </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 barony of the townland whose area is 150 acres? ### Context: CREATE TABLE table_30120619_1 (barony VARCHAR, area__acres__ VARCHAR) [/INST] ### Response: SELECT barony FROM table_30120619_1 WHERE area__acres__ = 150 </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 which townlands is the civil parish Monkstown? ### Context: CREATE TABLE table_30120619_1 (townland VARCHAR, civil_parish VARCHAR) [/INST] ### Response: SELECT townland FROM table_30120619_1 WHERE civil_parish = "Monkstown" </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 townland has an area of 165 acres? ### Context: CREATE TABLE table_30120619_1 (townland VARCHAR, area__acres__ VARCHAR) [/INST] ### Response: SELECT townland FROM table_30120619_1 WHERE area__acres__ = 165 </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 barony for kilmore ### Context: CREATE TABLE table_30120559_1 (barony VARCHAR, townland VARCHAR) [/INST] ### Response: SELECT COUNT(barony) FROM table_30120559_1 WHERE townland = "Kilmore" </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 poor law union for area being 332 ### Context: CREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR) [/INST] ### Response: SELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 332 </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 townlands are there for caheragh and is larger than 270 acres? ### Context: CREATE TABLE table_30121096_1 (townland VARCHAR, civil_parish VARCHAR, area__acres__ VARCHAR) [/INST] ### Response: SELECT COUNT(townland) FROM table_30121096_1 WHERE civil_parish = "Caheragh" AND area__acres__ = 270 </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 civil parish is for the townland clooncugger? ### Context: CREATE TABLE table_30121096_1 (civil_parish VARCHAR, townland VARCHAR) [/INST] ### Response: SELECT civil_parish FROM table_30121096_1 WHERE townland = "Clooncugger" </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 poor law unions have an area of 262 acres and is in drinagh civil parish? ### Context: CREATE TABLE table_30121096_1 (poor_law_union VARCHAR, area__acres__ VARCHAR, civil_parish VARCHAR) [/INST] ### Response: SELECT COUNT(poor_law_union) FROM table_30121096_1 WHERE area__acres__ = 262 AND civil_parish = "Drinagh" </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 current account balances are associated with GDP at constant prices growth rates of 4.6? ### Context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_constant_prices_growth_rate__percent_change_ VARCHAR) [/INST] ### Response: SELECT COUNT(current_account_balance__percent_of_gdp_) FROM table_30133_1 WHERE gdp_at_constant_prices_growth_rate__percent_change_ = "4.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 export volume of goods/services values are associated with GDP at constant prices values of 3.072? ### Context: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_constant_prices__thb_trillions_ VARCHAR) [/INST] ### Response: SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_constant_prices__thb_trillions_ = "3.072" </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 export volume of goods and services values are associated with GDP at current prices of 161.340? ### Context: CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) [/INST] ### Response: SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340" </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 current account balance for an export volume of goods and service value of -4.2? ### Context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, export_volume_of_goods_and_services__percent_change_ VARCHAR) [/INST] ### Response: SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE export_volume_of_goods_and_services__percent_change_ = "-4.2" </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 current account balance for a GDP at current prices of 142.640? ### Context: CREATE TABLE table_30133_1 (current_account_balance__percent_of_gdp_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR) [/INST] ### Response: SELECT current_account_balance__percent_of_gdp_ FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "142.640" </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 GDP at constant prices for a current account balance of 12.8? ### Context: CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR) [/INST] ### Response: SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.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: Tell me the games for total less than 4 for swimming 1968 ### Context: CREATE TABLE table_name_87 (games VARCHAR, years VARCHAR, total VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT games FROM table_name_87 WHERE total < 4 AND sport = "swimming" AND years = "1968" </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: Tell me the total number of bronze for silver being 0 and sport of wrestling and total more than 3 ### Context: CREATE TABLE table_name_16 (bronze VARCHAR, total VARCHAR, silver VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_16 WHERE silver = 0 AND sport = "wrestling" AND total > 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: Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0 ### Context: CREATE TABLE table_name_56 (bronze INTEGER, silver VARCHAR, sport VARCHAR, gold VARCHAR, games VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 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 lowest round for an offensive guard when the overall is smaller than 150? ### Context: CREATE TABLE table_name_59 (round INTEGER, overall VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_59 WHERE overall < 150 AND position = "offensive guard" </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 college was the player selected from in round 1? ### Context: CREATE TABLE table_name_43 (college VARCHAR, round VARCHAR) [/INST] ### Response: SELECT college FROM table_name_43 WHERE round = 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: Tell me the DA for bureau chief ada ### Context: CREATE TABLE table_name_22 (district_attorney VARCHAR, position VARCHAR) [/INST] ### Response: SELECT district_attorney FROM table_name_22 WHERE position = "bureau chief ada" </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: Tell me the left office for enrico la loggia ### Context: CREATE TABLE table_name_83 (left_office VARCHAR, minister VARCHAR) [/INST] ### Response: SELECT left_office FROM table_name_83 WHERE minister = "enrico la loggia" </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: Tell me the portfolio of minister of carlo giovanardi ### Context: CREATE TABLE table_name_77 (portfolio VARCHAR, minister VARCHAR) [/INST] ### Response: SELECT portfolio FROM table_name_77 WHERE minister = "carlo giovanardi" </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: Tell me the left office for mirko tremaglia ### Context: CREATE TABLE table_name_20 (left_office VARCHAR, minister VARCHAR) [/INST] ### Response: SELECT left_office FROM table_name_20 WHERE minister = "mirko tremaglia" </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 School/Club Team has a Player named Juan Dixon and a Position of guard? ### Context: CREATE TABLE table_name_58 (school_club_team VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_58 WHERE position = "guard" AND player = "juan dixon" </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 Player's Position is guard and played in Toronto during the Years 2007-08? ### Context: CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR) [/INST] ### Response: SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-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 Player is from Argentina and whose position is a guard-forward? ### Context: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT player FROM table_name_9 WHERE position = "guard-forward" AND nationality = "argentina" </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 School/Club Team played in Toronto during 2012? ### Context: CREATE TABLE table_name_43 (school_club_team VARCHAR, years_in_toronto VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012" </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 result of the syracuse grand prix? ### Context: CREATE TABLE table_name_80 (result VARCHAR, event VARCHAR) [/INST] ### Response: SELECT result FROM table_name_80 WHERE event = "syracuse grand prix" </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 has a result of 3 in the venue of Jarama. ### Context: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama" </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: Tell me the highest opponents for record of 7-3 and vikings points more than 7 ### Context: CREATE TABLE table_name_97 (opponents INTEGER, record VARCHAR, vikings_points VARCHAR) [/INST] ### Response: SELECT MAX(opponents) FROM table_name_97 WHERE record = "7-3" AND vikings_points > 7 </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: Tell me the most attendance for game less than 1 ### Context: CREATE TABLE table_name_15 (attendance INTEGER, game INTEGER) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_15 WHERE game < 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: Tell me the surface of 2 december 1974 ### Context: CREATE TABLE table_name_58 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_58 WHERE date = "2 december 1974" </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 score for moscow, ussr 15 february 1971 ### Context: CREATE TABLE table_name_57 (score_in_the_final VARCHAR, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_57 WHERE location = "moscow, ussr" AND date = "15 february 1971" </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 lowest year for 12th position ### Context: CREATE TABLE table_name_4 (year INTEGER, position VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_4 WHERE position = "12th" </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: Tell me the competition for half marathon ### Context: CREATE TABLE table_name_70 (competition VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_70 WHERE notes = "half marathon" </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: Tell me the category of na director ### Context: CREATE TABLE table_name_75 (category VARCHAR, director VARCHAR) [/INST] ### Response: SELECT category FROM table_name_75 WHERE director = "na" </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: I want to know the highest heat rank for overall rank of t63 and time less than 25.47 ### Context: CREATE TABLE table_name_88 (heat_rank INTEGER, overall_rank VARCHAR, time VARCHAR) [/INST] ### Response: SELECT MAX(heat_rank) FROM table_name_88 WHERE overall_rank = "t63" AND time < 25.47 </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: Tell me the country for lane of 6 ### Context: CREATE TABLE table_name_66 (country VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT country FROM table_name_66 WHERE lane = 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: Tell me the overall rank for heat rank of 8 ### Context: CREATE TABLE table_name_60 (overall_rank VARCHAR, heat_rank VARCHAR) [/INST] ### Response: SELECT overall_rank FROM table_name_60 WHERE heat_rank = 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: Tell me the position of chris clark ### Context: CREATE TABLE table_name_8 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_8 WHERE player = "chris clark" </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: Tell me the nhl team for 74 ### Context: CREATE TABLE table_name_75 (nhl_team VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_name_75 WHERE pick = "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: Tell me the pick for canada centre ### Context: CREATE TABLE table_name_74 (pick VARCHAR, position VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_74 WHERE position = "centre" AND nationality = "canada" </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: Tell me the format for geffen of the united states ### Context: CREATE TABLE table_name_3 (format VARCHAR, label VARCHAR, region VARCHAR) [/INST] ### Response: SELECT format FROM table_name_3 WHERE label = "geffen" AND region = "united states" </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: Tell me the format for worldwide region july 22, 2008 ### Context: CREATE TABLE table_name_67 (format VARCHAR, region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 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: Tell me the label for digital download for bonus tracks version ### Context: CREATE TABLE table_name_39 (label VARCHAR, format VARCHAR, edition_s_ VARCHAR) [/INST] ### Response: SELECT label FROM table_name_39 WHERE format = "digital download" AND edition_s_ = "bonus tracks version" </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 team has a rank of 6? ### Context: CREATE TABLE table_name_43 (team VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT team FROM table_name_43 WHERE rank = 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 horsepower for VIN code of h and engine for 351-2v cleveland v8 ### Context: CREATE TABLE table_name_94 (horsepower VARCHAR, vin_code VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT horsepower FROM table_name_94 WHERE vin_code = "h" AND engine = "351-2v cleveland v8" </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 horsepwer for compression ratio of 9.00:1 and carburetor of 2-barrel and engine 302-2v windsor v8 ### Context: CREATE TABLE table_name_19 (horsepower VARCHAR, engine VARCHAR, compression_ratio VARCHAR, carburetor VARCHAR) [/INST] ### Response: SELECT horsepower FROM table_name_19 WHERE compression_ratio = "9.00:1" AND carburetor = "2-barrel" AND engine = "302-2v windsor v8" </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: Tell me the VIN code for compression ratio of 10.50:1 ### Context: CREATE TABLE table_name_7 (vin_code VARCHAR, compression_ratio VARCHAR) [/INST] ### Response: SELECT vin_code FROM table_name_7 WHERE compression_ratio = "10.50: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: Tell me the network for 13 january 2009 ### Context: CREATE TABLE table_name_80 (network VARCHAR, premiere VARCHAR) [/INST] ### Response: SELECT network FROM table_name_80 WHERE premiere = "13 january 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: Tell me the prize for belgium ### Context: CREATE TABLE table_name_53 (prize VARCHAR, country_region VARCHAR) [/INST] ### Response: SELECT prize FROM table_name_53 WHERE country_region = "belgium" </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: Tell me the 13 january 2009 host ### Context: CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR) [/INST] ### Response: SELECT host FROM table_name_19 WHERE premiere = "13 january 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: Tell me the host for rtl-tvi ### Context: CREATE TABLE table_name_6 (host VARCHAR, network VARCHAR) [/INST] ### Response: SELECT host FROM table_name_6 WHERE network = "rtl-tvi" </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: I want to meet that has a time 2:15.93 ### Context: CREATE TABLE table_name_92 (meet VARCHAR, time VARCHAR) [/INST] ### Response: SELECT meet FROM table_name_92 WHERE time = "2:15.93" </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: Tell me the location of lithuania 12 october 2013 ### Context: CREATE TABLE table_name_86 (location VARCHAR, nationality VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_86 WHERE nationality = "lithuania" AND date = "12 october 2013" </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: Tell me the title of work for year more than 2009 ### Context: CREATE TABLE table_name_17 (title_of_work VARCHAR, year INTEGER) [/INST] ### Response: SELECT title_of_work FROM table_name_17 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: When was there a Result of 8–0 and a Score of 1–0? ### Context: CREATE TABLE table_name_48 (date VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_48 WHERE result = "8–0" AND score = "1–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 was the result of Bridgeview, Illinois? ### Context: CREATE TABLE table_name_33 (result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois" </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 a Competition of friendly, and a Score of 2–1, and a Venue of philadelphia , pennsylvania occur? ### Context: CREATE TABLE table_name_4 (date VARCHAR, venue VARCHAR, competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_4 WHERE competition = "friendly" AND score = "2–1" AND venue = "philadelphia , pennsylvania" </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 score on June 28, 2009? ### Context: CREATE TABLE table_name_56 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_56 WHERE date = "june 28, 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: Tell me the nationality of pick 140 ### Context: CREATE TABLE table_name_67 (nationality VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_67 WHERE pick = "140" </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: Tell me the position for pick of 146 ### Context: CREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT position FROM table_name_7 WHERE pick = "146" </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: Tell me the NHL team for mike gaffney ### Context: CREATE TABLE table_name_53 (nhl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nhl_team FROM table_name_53 WHERE player = "mike gaffney" </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: Tell me the nationality of pick of 153 ### Context: CREATE TABLE table_name_85 (nationality VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_85 WHERE pick = "153" </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: Tell me the player for pick of 145 ### Context: CREATE TABLE table_name_9 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_9 WHERE pick = "145" </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 tournament took place on October 11, 2013? ### Context: CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_23 WHERE date = "october 11, 2013" </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 tournament took place on June 18, 2013? ### Context: CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_94 WHERE date = "june 18, 2013" </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 average week on November 7, 1976 with an attendance less than 46,735? ### Context: CREATE TABLE table_name_94 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_94 WHERE date = "november 7, 1976" AND attendance < 46 OFFSET 735 </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 is the opponent for week 5? ### Context: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_96 WHERE week = 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: Tell me the highest overall rank for heat rank more than 4 and lane less than 2 ### Context: CREATE TABLE table_name_68 (overall_rank INTEGER, heat_rank VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MAX(overall_rank) FROM table_name_68 WHERE heat_rank > 4 AND lane < 2 </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 is the partner with a runner-up outcome on April 6, 1992? ### Context: CREATE TABLE table_name_26 (partner VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_26 WHERE outcome = "runner-up" AND date = "april 6, 1992" </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 outcome occurs on a hard surface with a score of 4–6, 6–7(3)? ### Context: CREATE TABLE table_name_3 (outcome VARCHAR, surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_3 WHERE surface = "hard" AND score = "4–6, 6–7(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: On what date did Lori McNeil play as a partner with a score of 6–7(6), 5–7? ### Context: CREATE TABLE table_name_84 (date VARCHAR, partner VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_84 WHERE partner = "lori mcneil" AND score = "6–7(6), 5–7" </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 losses that the Royals had when they had a percentage over 0.461, won over 86 games, and finished 2nd in 1953? ### Context: CREATE TABLE table_name_62 (losses INTEGER, year VARCHAR, finish VARCHAR, percentage VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_62 WHERE percentage > 0.461 AND wins > 86 AND finish = "2nd" AND year = 1953 </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: Tell the opponent of eastbourne with score of 6–0, 5–7, 3–6 ### Context: CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6–0, 5–7, 3–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: Tell me the outcome of 2–6, 1–6 ### Context: CREATE TABLE table_name_40 (outcome VARCHAR, score VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_40 WHERE score = "2–6, 1–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: Tell me the surface for eastbourne 14 june 1999 ### Context: CREATE TABLE table_name_6 (surface VARCHAR, tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_6 WHERE tournament = "eastbourne" AND date = "14 june 1999" </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: Tell me the category for result of won and year more than 2009 ### Context: CREATE TABLE table_name_77 (category VARCHAR, result VARCHAR, year VARCHAR) [/INST] ### Response: SELECT category FROM table_name_77 WHERE result = "won" AND 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: Tell me the nominated work larger than 2011 ### Context: CREATE TABLE table_name_54 (nominated_work VARCHAR, year INTEGER) [/INST] ### Response: SELECT nominated_work FROM table_name_54 WHERE year > 2011 </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: Tell me the result for primetime emmy awards ### Context: CREATE TABLE table_name_94 (result VARCHAR, association VARCHAR) [/INST] ### Response: SELECT result FROM table_name_94 WHERE association = "primetime emmy awards" </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 competition was held 1 March 1909? ### Context: CREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_31 WHERE date = "1 march 1909" </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: Tell me the total number of gold for total less than 1 ### Context: CREATE TABLE table_name_62 (gold VARCHAR, total INTEGER) [/INST] ### Response: SELECT COUNT(gold) FROM table_name_62 WHERE total < 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: Tell me the model for total production of 1347 ### Context: CREATE TABLE table_name_30 (model VARCHAR, total_production VARCHAR) [/INST] ### Response: SELECT model FROM table_name_30 WHERE total_production = 1347 </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 amount of Gold from guatemala and silver smaller than 0? ### Context: CREATE TABLE table_name_88 (gold INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_88 WHERE nation = "guatemala" AND silver < 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: Tell me the event for 2012 london games ### Context: CREATE TABLE table_name_70 (event VARCHAR, games VARCHAR) [/INST] ### Response: SELECT event FROM table_name_70 WHERE games = "2012 london" </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: Tell me the games for men's 5000 metres ### Context: CREATE TABLE table_name_18 (games VARCHAR, event VARCHAR) [/INST] ### Response: SELECT games FROM table_name_18 WHERE event = "men's 5000 metres" </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 w 20-19 happen? ### Context: CREATE TABLE table_name_72 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_72 WHERE result = "w 20-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: What was the attendance of the w 28-13 game? ### Context: CREATE TABLE table_name_61 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_61 WHERE result = "w 28-13" </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: Tell me the voting turnout for 1985 general elections ### Context: CREATE TABLE table_name_91 (voting_turnout VARCHAR, general_elections VARCHAR) [/INST] ### Response: SELECT voting_turnout FROM table_name_91 WHERE general_elections = 1985 </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 total number of wins for England? ### Context: CREATE TABLE table_name_59 (total INTEGER, nation VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_59 WHERE nation = "england" </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: The Soviet Union has won more than 2 Silver, but how many Bronzes? ### Context: CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "soviet union" AND silver > 2 </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 Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997? ### Context: CREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR) [/INST] ### Response: SELECT constituency FROM table_name_41 WHERE party = "alliance" AND election < 1997 AND position = 2 AND candidate = "seamus close" </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: I want the average for evening gown of 7.52 and swimsuit larger than 7.78 ### Context: CREATE TABLE table_name_54 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT AVG(average) FROM table_name_54 WHERE evening_gown = 7.52 AND swimsuit > 7.78 </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: Tell me the lowest interview for oklahoma and swimsuit less than 8.8 ### Context: CREATE TABLE table_name_46 (interview INTEGER, state VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT MIN(interview) FROM table_name_46 WHERE state = "oklahoma" AND swimsuit < 8.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: Tell me the sum of evening gown for average of 9.06 and swimsuit less than 8.76 ### Context: CREATE TABLE table_name_53 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT SUM(evening_gown) FROM table_name_53 WHERE average = 9.06 AND swimsuit < 8.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: Tell me the highest interview for north carolina and evening gown more than 7.68 ### Context: CREATE TABLE table_name_19 (interview INTEGER, state VARCHAR, evening_gown VARCHAR) [/INST] ### Response: SELECT MAX(interview) FROM table_name_19 WHERE state = "north carolina" AND evening_gown > 7.68 </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 NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson? ### Context: CREATE TABLE table_name_3 (ncaa_tourn_appearances VARCHAR, coach VARCHAR, conference_titles VARCHAR, ncaa_titles VARCHAR) [/INST] ### Response: SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson" </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: Tell me the category for 2012 and drama league award ### Context: CREATE TABLE table_name_92 (category VARCHAR, year VARCHAR, award VARCHAR) [/INST] ### Response: SELECT category FROM table_name_92 WHERE year = 2012 AND award = "drama league award" </s>