inputs
stringlengths
400
1.34k
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the country for sky primafila 7 hd ### Context: CREATE TABLE table_15887683_6 (country VARCHAR, television_service VARCHAR) ### Response: ### Response: SELECT country FROM table_15887683_6 WHERE television_service = "Sky Primafila 7 HD"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What year has a Top 25 of 0, and a Earnings ($) larger than 0? ### Context: CREATE TABLE table_name_26 (year VARCHAR, top_25 VARCHAR, earnings__$_ VARCHAR) ### Response: ### Response: SELECT year FROM table_name_26 WHERE top_25 = 0 AND earnings__$_ > 0</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: For small patent type of protections, what type of PCT route is available? ### Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) ### Response: ### Response: SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "small patent"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many U.S. viewers in millions watched the number 7 episode in the series that was written by Jed Spingarn? ### Context: CREATE TABLE table_25246990_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR, no_in_series VARCHAR) ### Response: ### Response: SELECT us_viewers__millions_ FROM table_25246990_2 WHERE written_by = "Jed Spingarn" AND no_in_series = "7"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What was the team Unics Kazan's 1st leg score? ### Context: CREATE TABLE table_name_73 (team__number1 VARCHAR) ### Response: ### Response: SELECT 1 AS st_leg FROM table_name_73 WHERE team__number1 = "unics kazan"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the total PL G of player pennant, who has less than 7 CL G, less than 7 CL apps, and a FA YC of 0? ### Context: CREATE TABLE table_name_74 (pl_g VARCHAR, player VARCHAR, fa_yc VARCHAR, cl_g VARCHAR, cl_apps VARCHAR) ### Response: ### Response: SELECT COUNT(pl_g) FROM table_name_74 WHERE cl_g < 7 AND cl_apps < 7 AND fa_yc = 0 AND player = "pennant"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the highest week when the game site was Verizon Wireless Arena, and the result was w 59–42? ### Context: CREATE TABLE table_name_69 (week INTEGER, game_site VARCHAR, result VARCHAR) ### Response: ### Response: SELECT MAX(week) FROM table_name_69 WHERE game_site = "verizon wireless arena" AND result = "w 59–42"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What draw did Nigel Connell? ### Context: CREATE TABLE table_name_95 (draw VARCHAR, performer VARCHAR) ### Response: ### Response: SELECT draw FROM table_name_95 WHERE performer = "nigel connell"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What name has a spread of 69? ### Context: CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR) ### Response: ### Response: SELECT name FROM table_name_96 WHERE spread = 69</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the score for october 9 ### Context: CREATE TABLE table_name_92 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_92 WHERE date = "october 9"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many votes did Jeannemarie Devolites Davis get in 1995-Special? ### Context: CREATE TABLE table_name_90 (votes VARCHAR, opponent VARCHAR, year VARCHAR) ### Response: ### Response: SELECT votes FROM table_name_90 WHERE opponent = "jeannemarie devolites davis" AND year = "1995-special"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How much is the highest number in 2006 with fewer than 0 in 2002? ### Context: CREATE TABLE table_name_16 (Id VARCHAR) ### Response: ### Response: SELECT MAX(2006) FROM table_name_16 WHERE 2002 < 0</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What Datacenter is listed against the network access connections: rras Feature? ### Context: CREATE TABLE table_name_85 (datacenter VARCHAR, features VARCHAR) ### Response: ### Response: SELECT datacenter FROM table_name_85 WHERE features = "network access connections: rras"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many throws did Needle have? ### Context: CREATE TABLE table_name_10 (throws VARCHAR, surname VARCHAR) ### Response: ### Response: SELECT throws FROM table_name_10 WHERE surname = "needle"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the tries against when the points are 475? ### Context: CREATE TABLE table_name_70 (tries_against VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT tries_against FROM table_name_70 WHERE points_for = "475"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What year was incumbent Claude Fuller first elected? ### Context: CREATE TABLE table_1342338_5 (first_elected VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT first_elected FROM table_1342338_5 WHERE incumbent = "Claude Fuller"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the series result for season being 1998 ### Context: CREATE TABLE table_2554479_2 (series VARCHAR, season VARCHAR) ### Response: ### Response: SELECT series AS result FROM table_2554479_2 WHERE season = "1998"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: which station is located in edmonton ### Context: CREATE TABLE table_1397655_1 (station VARCHAR, city VARCHAR) ### Response: ### Response: SELECT station FROM table_1397655_1 WHERE city = "Edmonton"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many teams picked Jason Webb? ### Context: CREATE TABLE table_name_62 (pick VARCHAR, player VARCHAR) ### Response: ### Response: SELECT COUNT(pick) FROM table_name_62 WHERE player = "jason webb"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What Format has the Region of Europe and a Catalog of 74321 45851 2? ### Context: CREATE TABLE table_name_86 (format VARCHAR, region VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT format FROM table_name_86 WHERE region = "europe" AND catalog = "74321 45851 2"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which Ratio has a Similar ISO A size of a3? ### Context: CREATE TABLE table_name_76 (ratio INTEGER, similar_iso_a_size VARCHAR) ### Response: ### Response: SELECT AVG(ratio) FROM table_name_76 WHERE similar_iso_a_size = "a3"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the most rank with bronze of 0 and silver more than 1 and gold more than 0 ### Context: CREATE TABLE table_name_54 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) ### Response: ### Response: SELECT MAX(rank) FROM table_name_54 WHERE bronze = 0 AND silver > 1 AND gold > 0</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the location of 64-74 ### Context: CREATE TABLE table_17103729_8 (location_attendance VARCHAR, score VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_17103729_8 WHERE score = "64-74"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many items are listed for U.S. viewers for episode number 5 in the series? ### Context: CREATE TABLE table_27910411_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) ### Response: ### Response: SELECT COUNT(us_viewers__millions_) FROM table_27910411_1 WHERE no_in_series = 5</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the total number of bronze when the total is less than 1? ### Context: CREATE TABLE table_name_51 (bronze INTEGER, total INTEGER) ### Response: ### Response: SELECT SUM(bronze) FROM table_name_51 WHERE total < 1</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What country is the IATA BLQ located in? ### Context: CREATE TABLE table_name_68 (country VARCHAR, iata VARCHAR) ### Response: ### Response: SELECT country FROM table_name_68 WHERE iata = "blq"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What was the address in 1974? ### Context: CREATE TABLE table_name_42 (address VARCHAR, year VARCHAR) ### Response: ### Response: SELECT address FROM table_name_42 WHERE year = "1974"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many entries are shown for high rebounds for the philips arena 20,024 game? ### Context: CREATE TABLE table_27713030_11 (high_rebounds VARCHAR, location_attendance VARCHAR) ### Response: ### Response: SELECT COUNT(high_rebounds) FROM table_27713030_11 WHERE location_attendance = "Philips Arena 20,024"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the highest pick # that has a 228 overall and a round less than 7? ### Context: CREATE TABLE table_name_81 (pick__number INTEGER, overall VARCHAR, round VARCHAR) ### Response: ### Response: SELECT MAX(pick__number) FROM table_name_81 WHERE overall = 228 AND round < 7</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many pixels would be found in a hardware colour of 8? ### Context: CREATE TABLE table_1701371_2 (pixels VARCHAR, hardware_colours VARCHAR) ### Response: ### Response: SELECT pixels FROM table_1701371_2 WHERE hardware_colours = 8</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many years did Real Colorado Foxes make it to the Open Cup 1st Round? ### Context: CREATE TABLE table_name_9 (year VARCHAR, open_cup VARCHAR) ### Response: ### Response: SELECT COUNT(year) FROM table_name_9 WHERE open_cup = "1st round"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: what is the to par for geoff ogilvy? ### Context: CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_65 WHERE player = "geoff ogilvy"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the highest round a fight lasted against masutatsu yano? ### Context: CREATE TABLE table_name_26 (round INTEGER, opponent VARCHAR) ### Response: ### Response: SELECT MAX(round) FROM table_name_26 WHERE opponent = "masutatsu yano"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What was the career duration of the bowler who played 60 matches? ### Context: CREATE TABLE table_18914438_1 (career VARCHAR, matches VARCHAR) ### Response: ### Response: SELECT career FROM table_18914438_1 WHERE matches = 60</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Show all city with a branch opened in 2001 and a branch with more than 100 membership. ### Context: CREATE TABLE branch (city VARCHAR, open_year VARCHAR, membership_amount VARCHAR) ### Response: ### Response: SELECT city FROM branch WHERE open_year = 2001 AND membership_amount > 100</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which Result has a Week smaller than 11, and Attendance of 17,568? ### Context: CREATE TABLE table_name_87 (result VARCHAR, week VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT result FROM table_name_87 WHERE week < 11 AND attendance = "17,568"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the rank where the area is Los Angeles? ### Context: CREATE TABLE table_1131183_2 (rank___wjc__ VARCHAR, metro_area VARCHAR) ### Response: ### Response: SELECT rank___wjc__ FROM table_1131183_2 WHERE metro_area = "Los Angeles"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many schools won their last occ championship in 2006? ### Context: CREATE TABLE table_17429402_7 (school VARCHAR, last_occ_championship VARCHAR) ### Response: ### Response: SELECT COUNT(school) FROM table_17429402_7 WHERE last_occ_championship = "2006"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which label is in a limited edition cd/dvd format? ### Context: CREATE TABLE table_name_19 (label VARCHAR, format VARCHAR) ### Response: ### Response: SELECT label FROM table_name_19 WHERE format = "limited edition cd/dvd"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the average Laps for andrea de cesaris? ### Context: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR) ### Response: ### Response: SELECT AVG(laps) FROM table_name_76 WHERE driver = "andrea de cesaris"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What was the host for the round in Nashville? ### Context: CREATE TABLE table_name_78 (host VARCHAR, city VARCHAR) ### Response: ### Response: SELECT host FROM table_name_78 WHERE city = "nashville"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many draws correspond to more than 11 losses in a match less than 14? ### Context: CREATE TABLE table_name_36 (draw VARCHAR, lost VARCHAR, match VARCHAR) ### Response: ### Response: SELECT COUNT(draw) FROM table_name_36 WHERE lost > 11 AND match < 14</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accreditation Status is Approved (Awarded 17.05.13)? ### Context: CREATE TABLE table_name_13 (company_name VARCHAR, accreditation_level VARCHAR, accreditation_status VARCHAR) ### Response: ### Response: SELECT company_name FROM table_name_13 WHERE accreditation_level = "joyn hot fixes" AND accreditation_status = "approved (awarded 17.05.13)"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Who is the entrant with a cooper t43 chassis before 1958? ### Context: CREATE TABLE table_name_47 (entrant VARCHAR, year VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT entrant FROM table_name_47 WHERE year < 1958 AND chassis = "cooper t43"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: for the time of 49.04 and lane less than 3, what is the nationality? ### Context: CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR) ### Response: ### Response: SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the lowest total for 1985-1986 when the total points are 124? ### Context: CREATE TABLE table_name_33 (total_points VARCHAR) ### Response: ### Response: SELECT MIN(1985 AS _1986) FROM table_name_33 WHERE total_points = 124</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What's the power of Mom's Radio 101.5 Tacloban? ### Context: CREATE TABLE table_name_7 (power__kw_ VARCHAR, branding VARCHAR) ### Response: ### Response: SELECT power__kw_ FROM table_name_7 WHERE branding = "mom's radio 101.5 tacloban"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is Score, when Date is 10 July 2011? ### Context: CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_65 WHERE date = "10 july 2011"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the total attended for kilmarnock? ### Context: CREATE TABLE table_26980923_2 (total INTEGER, team VARCHAR) ### Response: ### Response: SELECT MIN(total) FROM table_26980923_2 WHERE team = "Kilmarnock"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the team of winner Dick Johnson? ### Context: CREATE TABLE table_name_55 (team VARCHAR, winner VARCHAR) ### Response: ### Response: SELECT team FROM table_name_55 WHERE winner = "dick johnson"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What round did Takayo Hashi face Yoko Hattori? ### Context: CREATE TABLE table_name_14 (round INTEGER, opponent VARCHAR) ### Response: ### Response: SELECT SUM(round) FROM table_name_14 WHERE opponent = "yoko hattori"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: In which venue was round F? ### Context: CREATE TABLE table_name_72 (venue VARCHAR, round VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_72 WHERE round = "f"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Who had the high assists in game 77? ### Context: CREATE TABLE table_name_3 (high_assists VARCHAR, game VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_3 WHERE game = 77</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the government salary of the Undersecretary with a Romanised name of Chen Wei-On, Kenneth? ### Context: CREATE TABLE table_name_19 (govt_salary VARCHAR, romanised_name VARCHAR) ### Response: ### Response: SELECT govt_salary FROM table_name_19 WHERE romanised_name = "chen wei-on, kenneth"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many laps did Dick Rathmann complete when he ranked 14? ### Context: CREATE TABLE table_name_51 (laps VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT laps FROM table_name_51 WHERE rank = "14"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many were won when there were 49 points? ### Context: CREATE TABLE table_17369472_2 (won VARCHAR, points VARCHAR) ### Response: ### Response: SELECT won FROM table_17369472_2 WHERE points = "49"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What was the capacity at construction of the stadium in Gold Coast, Queensland? ### Context: CREATE TABLE table_28885977_1 (capacity_at_construction VARCHAR, location VARCHAR) ### Response: ### Response: SELECT capacity_at_construction FROM table_28885977_1 WHERE location = "Gold Coast, Queensland"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What's the fed tax that has a total tax greater than 33.2, a minimum sales tax less than 41.01 and in Vancouver, BC? ### Context: CREATE TABLE table_name_85 (federal_excise_tax___cad INTEGER, minimum_tax_incl_sales_taxes__cad¢_l_ VARCHAR, total_excise_tax__cad¢_l_ VARCHAR, government VARCHAR) ### Response: ### Response: SELECT AVG(federal_excise_tax___cad) AS ¢___l__ FROM table_name_85 WHERE total_excise_tax__cad¢_l_ > 33.2 AND government = "vancouver, bc" AND minimum_tax_incl_sales_taxes__cad¢_l_ < 41.01</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Who built the grid 2 car? ### Context: CREATE TABLE table_name_40 (constructor VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT constructor FROM table_name_40 WHERE grid = 2</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the config core 1 of the model with a processing power GFLOPs of 432? ### Context: CREATE TABLE table_26860595_2 (config_core_1 VARCHAR, processing_power_gflops VARCHAR) ### Response: ### Response: SELECT config_core_1 FROM table_26860595_2 WHERE processing_power_gflops = "432"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many different conference records are there for season 2006? ### Context: CREATE TABLE table_20319085_2 (conference_record VARCHAR, season VARCHAR) ### Response: ### Response: SELECT COUNT(conference_record) FROM table_20319085_2 WHERE season = 2006</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Find the name and credit score of the customers who have some loans. ### Context: CREATE TABLE customer (cust_name VARCHAR, credit_score VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR) ### Response: ### Response: SELECT DISTINCT T1.cust_name, T1.credit_score FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: When does week 11 start? ### Context: CREATE TABLE table_name_25 (date VARCHAR, week VARCHAR) ### Response: ### Response: SELECT date FROM table_name_25 WHERE week = "11"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Who held the pole position in SPA-Francorchamps? ### Context: CREATE TABLE table_name_41 (pole_position VARCHAR, location VARCHAR) ### Response: ### Response: SELECT pole_position FROM table_name_41 WHERE location = "spa-francorchamps"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which Games had a Name of manuel felix diaz? ### Context: CREATE TABLE table_name_64 (games VARCHAR, name VARCHAR) ### Response: ### Response: SELECT games FROM table_name_64 WHERE name = "manuel felix diaz"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: In round 3 what was the position? ### Context: CREATE TABLE table_name_83 (position VARCHAR, round VARCHAR) ### Response: ### Response: SELECT position FROM table_name_83 WHERE round = "3"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What score did Leonard Thompson have when he won $9,000? ### Context: CREATE TABLE table_name_74 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) ### Response: ### Response: SELECT score FROM table_name_74 WHERE money___$__ = "9,000" AND player = "leonard thompson"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Who has 6/1 odds? ### Context: CREATE TABLE table_name_50 (trainer VARCHAR, odds VARCHAR) ### Response: ### Response: SELECT trainer FROM table_name_50 WHERE odds = "6/1"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Show the race class and number of races in each class. ### Context: CREATE TABLE race (CLASS VARCHAR) ### Response: ### Response: SELECT CLASS, COUNT(*) FROM race GROUP BY CLASS</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many games had 22 points? ### Context: CREATE TABLE table_18018214_4 (games_played VARCHAR, points VARCHAR) ### Response: ### Response: SELECT COUNT(games_played) FROM table_18018214_4 WHERE points = 22</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Can you tell me the Score that has the Team of memphis? ### Context: CREATE TABLE table_name_89 (score VARCHAR, team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_89 WHERE team = "memphis"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Tell me the lowest week for w 10-3 ### Context: CREATE TABLE table_name_50 (week INTEGER, result VARCHAR) ### Response: ### Response: SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-3"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the womens doubles when mens doubles is theodoros velkos giorgos patis ### Context: CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) ### Response: ### Response: SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Theodoros Velkos Giorgos Patis"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which team did they play at Rich Stadium? ### Context: CREATE TABLE table_14423274_3 (opponent VARCHAR, game_site VARCHAR) ### Response: ### Response: SELECT opponent FROM table_14423274_3 WHERE game_site = "Rich Stadium"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the largest Grid that has a Bike of honda cbr1000rr, and a Time of +20.848, and a Lap greater than 24? ### Context: CREATE TABLE table_name_70 (grid INTEGER, laps VARCHAR, bike VARCHAR, time VARCHAR) ### Response: ### Response: SELECT MAX(grid) FROM table_name_70 WHERE bike = "honda cbr1000rr" AND time = "+20.848" AND laps > 24</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the total number for nfl team for ellis gardner ### Context: CREATE TABLE table_2508633_6 (nfl_team VARCHAR, player VARCHAR) ### Response: ### Response: SELECT COUNT(nfl_team) FROM table_2508633_6 WHERE player = "Ellis Gardner"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which year has an Engine(s) of yamaha v8? ### Context: CREATE TABLE table_name_6 (year VARCHAR, engine_s_ VARCHAR) ### Response: ### Response: SELECT year FROM table_name_6 WHERE engine_s_ = "yamaha v8"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What's the Area with a Density of 263? ### Context: CREATE TABLE table_name_10 (area__km²_ INTEGER, density___km²_ VARCHAR) ### Response: ### Response: SELECT AVG(area__km²_) FROM table_name_10 WHERE density___km²_ = 263</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which tournament had a winning score of −5 (69-69-73=211)? ### Context: CREATE TABLE table_name_37 (tournament VARCHAR, winning_score VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_37 WHERE winning_score = −5(69 - 69 - 73 = 211)</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: what player has $187,500 and score 66-75-71-69=281 ### Context: CREATE TABLE table_name_4 (player VARCHAR, money___$__ VARCHAR, score VARCHAR) ### Response: ### Response: SELECT player FROM table_name_4 WHERE money___$__ = "187,500" AND score = 66 - 75 - 71 - 69 = 281</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the maximum number of draws when the diff is smaller than 186, points are fewer than 12 and games played fewer than 6? ### Context: CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, diff VARCHAR, points VARCHAR) ### Response: ### Response: SELECT MAX(drawn) FROM table_name_86 WHERE diff < 186 AND points < 12 AND played < 6</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the party for the representative who was first elected before 2002 and the results were re-elected? ### Context: CREATE TABLE table_name_7 (party VARCHAR, results VARCHAR, first_elected VARCHAR) ### Response: ### Response: SELECT party FROM table_name_7 WHERE results = "re-elected" AND first_elected < 2002</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What Chilean word is used for the Castilian word ordenador? ### Context: CREATE TABLE table_name_78 (chilean VARCHAR, castilian VARCHAR) ### Response: ### Response: SELECT chilean FROM table_name_78 WHERE castilian = "ordenador"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which Flag did the Ship Aidavita have? ### Context: CREATE TABLE table_name_66 (flag VARCHAR, ship VARCHAR) ### Response: ### Response: SELECT flag FROM table_name_66 WHERE ship = "aidavita"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: what's the club with losing bonus being 1 ### Context: CREATE TABLE table_13758945_3 (club VARCHAR, losing_bonus VARCHAR) ### Response: ### Response: SELECT club FROM table_13758945_3 WHERE losing_bonus = "1"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Name the number of left for cardinals ### Context: CREATE TABLE table_2293402_2 (left VARCHAR, nickname VARCHAR) ### Response: ### Response: SELECT COUNT(left) FROM table_2293402_2 WHERE nickname = "Cardinals"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which player has the fewest assists and played 2 games or fewer? ### Context: CREATE TABLE table_name_72 (assists INTEGER, games INTEGER) ### Response: ### Response: SELECT MIN(assists) FROM table_name_72 WHERE games < 2</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the production number for Bell Hoppy in the MM Series? ### Context: CREATE TABLE table_name_21 (production_number VARCHAR, series VARCHAR, title VARCHAR) ### Response: ### Response: SELECT COUNT(production_number) FROM table_name_21 WHERE series = "mm" AND title = "bell hoppy"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many teams that played won 0 games? ### Context: CREATE TABLE table_20760802_1 (played VARCHAR, won VARCHAR) ### Response: ### Response: SELECT played FROM table_20760802_1 WHERE won = "0"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: june 10-11 when november 3 is 133? ### Context: CREATE TABLE table_25355501_2 (june_10_11 VARCHAR, november_3 VARCHAR) ### Response: ### Response: SELECT june_10_11 FROM table_25355501_2 WHERE november_3 = "133"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What was the time for Peter Berwick of Team Suzuki? ### Context: CREATE TABLE table_name_75 (time VARCHAR, team VARCHAR, rider VARCHAR) ### Response: ### Response: SELECT time FROM table_name_75 WHERE team = "suzuki" AND rider = "peter berwick"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Who directed the episode that originally aired on March 18, 1988? ### Context: CREATE TABLE table_20967430_4 (directed_by VARCHAR, original_air_date VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_20967430_4 WHERE original_air_date = "March 18, 1988"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which Player has a PI GP over 0 and a Rd # of 1? ### Context: CREATE TABLE table_name_71 (player VARCHAR, pl_gp VARCHAR, rd__number VARCHAR) ### Response: ### Response: SELECT player FROM table_name_71 WHERE pl_gp > 0 AND rd__number = 1</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What is the Badge/Serial Number of the Policeman who died in Gunfire on 1919-02-18? ### Context: CREATE TABLE table_name_58 (badge_serial_number VARCHAR, date_of_death VARCHAR, rank VARCHAR, cause_of_death VARCHAR) ### Response: ### Response: SELECT badge_serial_number FROM table_name_58 WHERE rank = "policeman" AND cause_of_death = "gunfire" AND date_of_death = "1919-02-18"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Author of stanisław wyspiański, and a Year of 1969 happened in what theatre? ### Context: CREATE TABLE table_name_5 (theatre VARCHAR, author VARCHAR, year VARCHAR) ### Response: ### Response: SELECT theatre FROM table_name_5 WHERE author = "stanisław wyspiański" AND year = 1969</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many county councils for the communist party of norway ### Context: CREATE TABLE table_203802_2 (county_councils___2011__ INTEGER, english_party_name VARCHAR) ### Response: ### Response: SELECT MAX(county_councils___2011__) FROM table_203802_2 WHERE english_party_name = "Communist Party of Norway"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: How many rounds exist for picks under 5? ### Context: CREATE TABLE table_name_21 (rd__number VARCHAR, pick__number INTEGER) ### Response: ### Response: SELECT COUNT(rd__number) FROM table_name_21 WHERE pick__number < 5</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: What team is travelling to play Hawthorn? ### Context: CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT away_team FROM table_name_17 WHERE home_team = "hawthorn"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: Which player played DB ### Context: CREATE TABLE table_16441561_5 (player VARCHAR, position VARCHAR) ### Response: ### Response: SELECT player FROM table_16441561_5 WHERE position = "DB"</s>
<s>### Instruction: 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. ### Dialect: sqlite ### Input: what is 2008 when the tournament is year end ranking? ### Context: CREATE TABLE table_name_79 (tournament VARCHAR) ### Response: ### Response: SELECT 2008 FROM table_name_79 WHERE tournament = "year end ranking"</s>