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: What Team has the Engine of Chevrolet 6.0 V8, the Manufacturer of Opel, and the Driver Chris Jackson? ### Context: CREATE TABLE table_name_51 (team VARCHAR, driver VARCHAR, engine VARCHAR, manufacturer VARCHAR) ### Response: ### Response: SELECT team FROM table_name_51 WHERE engine = "chevrolet 6.0 v8" AND manufacturer = "opel" AND driver = "chris jackson"</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 number of s eva ### Context: CREATE TABLE table_1558077_8 (number_of_s_eva INTEGER) ### Response: ### Response: SELECT MAX(number_of_s_eva) FROM table_1558077_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: What is the score when the attendance is greater than 134 and Workington is the home team? ### Context: CREATE TABLE table_name_30 (score VARCHAR, attendance VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT score FROM table_name_30 WHERE attendance > 134 AND home_team = "workington"</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 assists were made in the game against San Antonio? ### Context: CREATE TABLE table_17325937_8 (high_assists VARCHAR, team VARCHAR) ### Response: ### Response: SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San Antonio"</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 High points that has the High rebounds of rafer alston (9)? ### Context: CREATE TABLE table_name_17 (high_points VARCHAR, high_rebounds VARCHAR) ### Response: ### Response: SELECT high_points FROM table_name_17 WHERE high_rebounds = "rafer alston (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: Which shoulder has a Neck of 7.3 (.288)? ### Context: CREATE TABLE table_name_41 (shoulder VARCHAR, neck VARCHAR) ### Response: ### Response: SELECT shoulder FROM table_name_41 WHERE neck = "7.3 (.288)"</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 goals did he have in the bundesliga with under 7 appearances? ### Context: CREATE TABLE table_name_32 (goals INTEGER, competition VARCHAR, apps VARCHAR) ### Response: ### Response: SELECT AVG(goals) FROM table_name_32 WHERE competition = "bundesliga" AND apps < 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 date of the game with an attendance of 20,874 fans? ### Context: CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT date FROM table_name_23 WHERE attendance = "20,874"</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 record for l 90–100 (ot) ### Context: CREATE TABLE table_22879323_9 (record VARCHAR, score VARCHAR) ### Response: ### Response: SELECT record FROM table_22879323_9 WHERE score = "L 90–100 (OT)"</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 APPOINTMENT DATE FOR AC HORSENS? ### Context: CREATE TABLE table_name_33 (date_of_appointment VARCHAR, team VARCHAR) ### Response: ### Response: SELECT date_of_appointment FROM table_name_33 WHERE team = "ac horsens"</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 Score of 69-81? ### Context: CREATE TABLE table_name_25 (result VARCHAR, score VARCHAR) ### Response: ### Response: SELECT result FROM table_name_25 WHERE score = "69-81"</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 to par for Jim Thorpe in T5 Place? ### Context: CREATE TABLE table_name_42 (to_par VARCHAR, place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_42 WHERE place = "t5" AND player = "jim thorpe"</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 were all candidate when incumbent was D. Wyatt Aiken? ### Context: CREATE TABLE table_1431467_4 (candidates VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT candidates FROM table_1431467_4 WHERE incumbent = "D. Wyatt Aiken"</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 was the ship laid down when it was completed on 3 july 1926? ### Context: CREATE TABLE table_name_43 (laid_down VARCHAR, completed VARCHAR) ### Response: ### Response: SELECT laid_down FROM table_name_43 WHERE completed = "3 july 1926"</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: Was the semi-final round held at home or away? ### Context: CREATE TABLE table_name_53 (h___a VARCHAR, round VARCHAR) ### Response: ### Response: SELECT h___a FROM table_name_53 WHERE round = "semi-final"</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 Round, when Winner is "Ivanovic", when Year is less than 2008, and when Tournament is "Paris"? ### Context: CREATE TABLE table_name_60 (round VARCHAR, tournament VARCHAR, winner VARCHAR, year VARCHAR) ### Response: ### Response: SELECT round FROM table_name_60 WHERE winner = "ivanovic" AND year < 2008 AND tournament = "paris"</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: Overall of 208 occurred in what round? ### Context: CREATE TABLE table_name_67 (round VARCHAR, overall VARCHAR) ### Response: ### Response: SELECT round FROM table_name_67 WHERE overall = 208</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 city of license/market has 3 (26) as their channel tv (dt)? ### Context: CREATE TABLE table_1553485_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR) ### Response: ### Response: SELECT city_of_license__market FROM table_1553485_1 WHERE channel_tv___dt__ = "3 (26)"</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 To Par, when Player is "Johnny Miller"? ### Context: CREATE TABLE table_name_76 (to_par INTEGER, player VARCHAR) ### Response: ### Response: SELECT MIN(to_par) FROM table_name_76 WHERE player = "johnny miller"</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 Indian Wells Masters tournament, what was the country? ### Context: CREATE TABLE table_name_96 (country VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT country FROM table_name_96 WHERE tournament = "indian wells masters"</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 has the most ties with fewer than 4 losses and GA smaller than 20? ### Context: CREATE TABLE table_name_56 (ties INTEGER, losses VARCHAR, goals_against VARCHAR) ### Response: ### Response: SELECT MAX(ties) FROM table_name_56 WHERE losses < 4 AND goals_against < 20</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 weeks have october 31, 1954 as the date? ### Context: CREATE TABLE table_name_96 (week VARCHAR, date VARCHAR) ### Response: ### Response: SELECT COUNT(week) FROM table_name_96 WHERE date = "october 31, 1954"</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 Try Bonus, when Losing Bonus is "1", and when Points For is "179"? ### Context: CREATE TABLE table_name_51 (try_bonus VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT try_bonus FROM table_name_51 WHERE losing_bonus = "1" AND points_for = "179"</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 name for the row with Date From of 2008-02-21? ### Context: CREATE TABLE table_name_86 (name VARCHAR, date_from VARCHAR) ### Response: ### Response: SELECT name FROM table_name_86 WHERE date_from = "2008-02-21"</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 field had results of w 18-12? ### Context: CREATE TABLE table_name_63 (field VARCHAR, result VARCHAR) ### Response: ### Response: SELECT field FROM table_name_63 WHERE result = "w 18-12"</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 won best actor? ### Context: CREATE TABLE table_25926120_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) ### Response: ### Response: SELECT awardee_s_ FROM table_25926120_3 WHERE name_of_award = "Best Actor"</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 Score has an Opponent of seattle? ### Context: CREATE TABLE table_name_62 (score VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT score FROM table_name_62 WHERE opponent = "seattle"</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 grid of the team with a time/retired of +7.346? ### Context: CREATE TABLE table_name_53 (grid VARCHAR, time_retired VARCHAR) ### Response: ### Response: SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346"</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 competition for score of 3-0 ### Context: CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_71 WHERE score = "3-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: Which Perth's gold coast and Adelaide were yes when Auckland was no? ### Context: CREATE TABLE table_name_51 (perth VARCHAR, auckland VARCHAR, gold_coast VARCHAR, adelaide VARCHAR) ### Response: ### Response: SELECT perth FROM table_name_51 WHERE gold_coast = "yes" AND adelaide = "yes" AND auckland = "no"</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 the 1 is the rank what is the overall amount of international tourist arrivals in 2012? ### Context: CREATE TABLE table_14752049_6 (international_tourist_arrivals__2012_ VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT COUNT(international_tourist_arrivals__2012_) FROM table_14752049_6 WHERE rank = 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: How many points does footscray score as the home side? ### Context: CREATE TABLE table_name_86 (home_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_86 WHERE home_team = "footscray"</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 lowest postion of ehc straubing ii when they played less than 10 games? ### Context: CREATE TABLE table_name_70 (position INTEGER, name VARCHAR, played VARCHAR) ### Response: ### Response: SELECT MIN(position) FROM table_name_70 WHERE name = "ehc straubing ii" AND played < 10</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 frequency belongs to the beat branding? ### Context: CREATE TABLE table_name_58 (frequency VARCHAR, branding VARCHAR) ### Response: ### Response: SELECT frequency FROM table_name_58 WHERE branding = "the beat"</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 Zona Sur nominated? ### Context: CREATE TABLE table_name_69 (year__ceremony_ VARCHAR, original_title VARCHAR) ### Response: ### Response: SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur"</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 verb dhoa, what is the 2VF? ### Context: CREATE TABLE table_name_75 (verb VARCHAR) ### Response: ### Response: SELECT 2 AS __vf_ FROM table_name_75 WHERE verb = "dhoa"</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 Score has a Game larger than 76, a Location Attendance of madison square garden 19,763, and a High rebounds of wilson chandler (8)? ### Context: CREATE TABLE table_name_71 (score VARCHAR, high_rebounds VARCHAR, game VARCHAR, location_attendance VARCHAR) ### Response: ### Response: SELECT score FROM table_name_71 WHERE game > 76 AND location_attendance = "madison square garden 19,763" AND high_rebounds = "wilson chandler (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: Who is the player with a score of 69-70-76=215? ### Context: CREATE TABLE table_name_16 (player VARCHAR, score VARCHAR) ### Response: ### Response: SELECT player FROM table_name_16 WHERE score = 69 - 70 - 76 = 215</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 Record of the 3000 M? ### Context: CREATE TABLE table_name_15 (record VARCHAR, event VARCHAR) ### Response: ### Response: SELECT record FROM table_name_15 WHERE event = "3000 m"</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 Chest is Supplied by Gilbert? ### Context: CREATE TABLE table_name_28 (chest VARCHAR, supplier VARCHAR) ### Response: ### Response: SELECT chest FROM table_name_28 WHERE supplier = "gilbert"</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 wins ### Context: CREATE TABLE table_24587026_1 (wins INTEGER) ### Response: ### Response: SELECT MIN(wins) FROM table_24587026_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 are the players whose rank is 2? ### Context: CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT player FROM table_11303072_9 WHERE rank = 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 player's hometown is Roebuck, South Carolina? ### Context: CREATE TABLE table_11677691_3 (player VARCHAR, hometown VARCHAR) ### Response: ### Response: SELECT player FROM table_11677691_3 WHERE hometown = "Roebuck, South Carolina"</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 rank timeslot for 11.59 viewers ### Context: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR) ### Response: ### Response: SELECT rank__timeslot_ FROM table_20971444_3 WHERE viewers__millions_ = "11.59"</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 home team's score when they played Richmond? ### Context: CREATE TABLE table_name_13 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_13 WHERE away_team = "richmond"</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 Class has a Number at Lincoln smaller than 1 and a Wheel Arrangement of 0-6-0? ### Context: CREATE TABLE table_name_60 (class VARCHAR, number_at_lincoln VARCHAR, wheel_arrangement VARCHAR) ### Response: ### Response: SELECT class FROM table_name_60 WHERE number_at_lincoln < 1 AND wheel_arrangement = "0-6-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: List all opponents from the 4-4 scoring game. ### Context: CREATE TABLE table_24561550_1 (opponent VARCHAR, record VARCHAR) ### Response: ### Response: SELECT opponent FROM table_24561550_1 WHERE record = "4-4"</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 are the names of perpetrators? ### Context: CREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR) ### Response: ### Response: SELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_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: Which Romaji Title has 11 Episodes, and a TV Station of fuji tv, and Average Ratings of 14.9%? ### Context: CREATE TABLE table_name_24 (romaji_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) ### Response: ### Response: SELECT romaji_title FROM table_name_24 WHERE episodes = 11 AND tv_station = "fuji tv" AND average_ratings = "14.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: What was the venue where Fitzroy played as the home team? ### Context: CREATE TABLE table_name_87 (venue VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_87 WHERE home_team = "fitzroy"</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 poles for stefano livio category:articles with hcards ### Context: CREATE TABLE table_19001175_1 (poles VARCHAR, name VARCHAR) ### Response: ### Response: SELECT COUNT(poles) FROM table_19001175_1 WHERE name = "Stefano Livio Category:Articles with hCards"</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 entries for Leif Olson? ### Context: CREATE TABLE table_20590020_2 (starts VARCHAR, player VARCHAR) ### Response: ### Response: SELECT COUNT(starts) FROM table_20590020_2 WHERE player = "Leif Olson"</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 name of the podcast on November 21, 2004? ### Context: CREATE TABLE table_name_87 (title VARCHAR, podcast_date VARCHAR) ### Response: ### Response: SELECT title FROM table_name_87 WHERE podcast_date = "november 21, 2004"</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 most recent year the venue was Barcelona, Spain? ### Context: CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR) ### Response: ### Response: SELECT MAX(year) FROM table_name_37 WHERE venue = "barcelona, spain"</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 manner of departure of Nicolae Manea? ### Context: CREATE TABLE table_17115950_2 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) ### Response: ### Response: SELECT manner_of_departure FROM table_17115950_2 WHERE outgoing_manager = "Nicolae Manea"</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 position for pick # 103? ### Context: CREATE TABLE table_2679061_6 (position VARCHAR, pick__number VARCHAR) ### Response: ### Response: SELECT position FROM table_2679061_6 WHERE pick__number = 103</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 winning score of the Masters Tournament? ### Context: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR) ### Response: ### Response: SELECT winning_score FROM table_13026799_1 WHERE championship = "Masters Tournament"</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 cup apps for the season where there are more than 10 league goals and 23 league apps? ### Context: CREATE TABLE table_name_17 (cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR) ### Response: ### Response: SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23</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 a short scale of one quadrillion a thousand trillion, what is the Long scale? ### Context: CREATE TABLE table_name_94 (long_scale VARCHAR, short_scale VARCHAR) ### Response: ### Response: SELECT long_scale FROM table_name_94 WHERE short_scale = "one quadrillion a thousand trillion"</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 lineage of ōoka tadatomo (大岡忠與)? ### Context: CREATE TABLE table_name_15 (lineage VARCHAR, name VARCHAR) ### Response: ### Response: SELECT lineage FROM table_name_15 WHERE name = "ōoka tadatomo (大岡忠與)"</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 Score has a Tie no of 33? ### Context: CREATE TABLE table_name_56 (score VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT score FROM table_name_56 WHERE tie_no = "33"</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 film Nuits d'arabie? ### Context: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR) ### Response: ### Response: SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Nuits d'Arabie"</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 rank has skyfall as the title? ### Context: CREATE TABLE table_name_35 (rank VARCHAR, title VARCHAR) ### Response: ### Response: SELECT rank FROM table_name_35 WHERE title = "skyfall"</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 unique labels are there for albums? ### Context: CREATE TABLE albums (label VARCHAR) ### Response: ### Response: SELECT COUNT(DISTINCT label) FROM albums</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: List three countries which are the origins of the least players. ### Context: CREATE TABLE player (birth_country VARCHAR) ### Response: ### Response: SELECT birth_country FROM player GROUP BY birth_country ORDER BY COUNT(*) LIMIT 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: Which All Games have a Nonconference Games of 1–10? ### Context: CREATE TABLE table_name_93 (all_games VARCHAR, nonconference_games VARCHAR) ### Response: ### Response: SELECT all_games FROM table_name_93 WHERE nonconference_games = "1–10"</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 Solo with a Player with sean mcinerney, and Yards larger than 0? ### Context: CREATE TABLE table_name_33 (solo VARCHAR, player VARCHAR, yards VARCHAR) ### Response: ### Response: SELECT COUNT(solo) FROM table_name_33 WHERE player = "sean mcinerney" AND yards > 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: Who was the lap-by-lap broadcaster before 1994 who garnered ratings of 8.0/21? ### Context: CREATE TABLE table_name_29 (lap_by_lap VARCHAR, year VARCHAR, ratings VARCHAR) ### Response: ### Response: SELECT lap_by_lap FROM table_name_29 WHERE year < 1994 AND ratings = "8.0/21"</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 3 is the rank what is the time for Saturday August 29th? ### Context: CREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT sat_29_aug FROM table_23465864_3 WHERE rank = 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: Which passenger has a position of 21 and less than 49 points? ### Context: CREATE TABLE table_name_89 (passenger VARCHAR, position VARCHAR, points VARCHAR) ### Response: ### Response: SELECT passenger FROM table_name_89 WHERE position = "21" AND 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: Which Enrollment has a Mascot of norsemen? ### Context: CREATE TABLE table_name_5 (enrollment INTEGER, mascot VARCHAR) ### Response: ### Response: SELECT SUM(enrollment) FROM table_name_5 WHERE mascot = "norsemen"</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 title with representative edward h. strobel ### Context: CREATE TABLE table_name_21 (title VARCHAR, representative VARCHAR) ### Response: ### Response: SELECT title FROM table_name_21 WHERE representative = "edward h. strobel"</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 bronzes from the Netherlands? ### Context: CREATE TABLE table_name_44 (bronze VARCHAR, nation VARCHAR) ### Response: ### Response: SELECT COUNT(bronze) FROM table_name_44 WHERE nation = "netherlands"</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 picks from the PBA team of purefoods tender juicy hotdogs? ### Context: CREATE TABLE table_name_62 (pick VARCHAR, pba_team VARCHAR) ### Response: ### Response: SELECT COUNT(pick) FROM table_name_62 WHERE pba_team = "purefoods tender juicy hotdogs"</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 school in 72 Scott county has an enrollment more than 473 with an AAA IHSAA Class? ### Context: CREATE TABLE table_name_11 (school VARCHAR, _number___county VARCHAR, enrollment VARCHAR, ihsaa_class VARCHAR) ### Response: ### Response: SELECT school FROM table_name_11 WHERE enrollment > 473 AND ihsaa_class = "aaa" AND _number___county = "72 scott"</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 sigma (with 1.5σ shift) when there are 69% defective? ### Context: CREATE TABLE table_222448_1 (sigma__with_15σ_shift_ VARCHAR, percent_defective VARCHAR) ### Response: ### Response: SELECT sigma__with_15σ_shift_ FROM table_222448_1 WHERE percent_defective = "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: What is the 2005 value with a q2 in 2011, a q1 in 2012, and 1r in 2003? ### Context: CREATE TABLE table_name_48 (Id VARCHAR) ### Response: ### Response: SELECT 2005 FROM table_name_48 WHERE 2011 = "q2" AND 2012 = "q1" AND 2003 = "1r"</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 parking is in Van Nuys at the Sepulveda station? ### Context: CREATE TABLE table_2093995_1 (parking VARCHAR, city__neighborhood VARCHAR, stations VARCHAR) ### Response: ### Response: SELECT parking FROM table_2093995_1 WHERE city__neighborhood = "Van Nuys" AND stations = "Sepulveda"</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 race has a position of 3rd and a speed of 126.452? ### Context: CREATE TABLE table_name_66 (race VARCHAR, position VARCHAR, speed VARCHAR) ### Response: ### Response: SELECT race FROM table_name_66 WHERE position = "3rd" AND speed = "126.452"</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 Match with Points that are 24? ### Context: CREATE TABLE table_name_11 (match VARCHAR, points VARCHAR) ### Response: ### Response: SELECT match FROM table_name_11 WHERE points = 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: What is the Position of the winner with 18 Goals and Level of 5? ### Context: CREATE TABLE table_name_23 (position VARCHAR, goals VARCHAR, level VARCHAR) ### Response: ### Response: SELECT position FROM table_name_23 WHERE goals = 18 AND level = 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: which Partial thromboplastin time has a Condition of liver failure , early? ### Context: CREATE TABLE table_name_61 (partial_thromboplastin_time VARCHAR, condition VARCHAR) ### Response: ### Response: SELECT partial_thromboplastin_time FROM table_name_61 WHERE condition = "liver failure , early"</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 players did the philadelphia eagles pick? ### Context: CREATE TABLE table_2508633_5 (position VARCHAR, nfl_team VARCHAR) ### Response: ### Response: SELECT COUNT(position) FROM table_2508633_5 WHERE nfl_team = "Philadelphia Eagles"</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 average of the amount of laps for the driver patrick tambay? ### Context: CREATE TABLE table_name_64 (laps INTEGER, driver VARCHAR) ### Response: ### Response: SELECT AVG(laps) FROM table_name_64 WHERE driver = "patrick tambay"</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 UK Base has an airborne unit of Pathfinders? ### Context: CREATE TABLE table_name_42 (uk_base VARCHAR, airborne_unit VARCHAR) ### Response: ### Response: SELECT uk_base FROM table_name_42 WHERE airborne_unit = "pathfinders"</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 RNA segment having a protein of vp2 and a base pair size over 2690? ### Context: CREATE TABLE table_name_20 (rna_segment__gene_ INTEGER, protein VARCHAR, size___s_base_pair__ VARCHAR) ### Response: ### Response: SELECT MAX(rna_segment__gene_) FROM table_name_20 WHERE protein = "vp2" AND size___s_base_pair__ > 2690</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: Lost of 42, and a Goalsfor larger than 195 contains how many number of games? ### Context: CREATE TABLE table_name_43 (games VARCHAR, lost VARCHAR, goalsfor VARCHAR) ### Response: ### Response: SELECT COUNT(games) FROM table_name_43 WHERE lost = 42 AND goalsfor > 195</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 year did the least people enter hall of fame? ### Context: CREATE TABLE hall_of_fame (yearid VARCHAR) ### Response: ### Response: SELECT yearid FROM hall_of_fame GROUP BY yearid ORDER BY COUNT(*) LIMIT 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 earliest year in the 125cc class with more than 102 points and a rank of 2nd? ### Context: CREATE TABLE table_name_74 (year INTEGER, rank VARCHAR, class VARCHAR, points VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_name_74 WHERE class = "125cc" AND points > 102 AND rank = "2nd"</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 season total number if the primary (South) winners is Ridings High 'A'? ### Context: CREATE TABLE table_23014923_1 (season VARCHAR, primary__south__winners VARCHAR) ### Response: ### Response: SELECT COUNT(season) FROM table_23014923_1 WHERE primary__south__winners = "Ridings High 'A'"</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 first games are associated with 5 games played and under 3 games lost? ### Context: CREATE TABLE table_name_85 (first_game INTEGER, played VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT SUM(first_game) FROM table_name_85 WHERE played = 5 AND lost < 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 is the Location for the route 66 raceway? ### Context: CREATE TABLE table_name_70 (location VARCHAR, name VARCHAR) ### Response: ### Response: SELECT location FROM table_name_70 WHERE name = "route 66 raceway"</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 episode title for number 7 in the season? ### Context: CREATE TABLE table_23981882_1 (title VARCHAR, no_in_season VARCHAR) ### Response: ### Response: SELECT title FROM table_23981882_1 WHERE no_in_season = 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 is the average number of laps with a dnf pos.? ### Context: CREATE TABLE table_name_6 (laps INTEGER, pos VARCHAR) ### Response: ### Response: SELECT AVG(laps) FROM table_name_6 WHERE pos = "dnf"</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's record on july 18? ### Context: CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR) ### Response: ### Response: SELECT record FROM table_name_71 WHERE date = "july 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: Who is the partner when the opponents in the final is stephanie dubois olga savchuk? ### Context: CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR) ### Response: ### Response: SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk"</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 venue had a lost 5-4 result? ### Context: CREATE TABLE table_name_15 (venue VARCHAR, result VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_15 WHERE result = "lost 5-4"</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: Where is David Frost from? ### Context: CREATE TABLE table_name_38 (place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT place FROM table_name_38 WHERE player = "david frost"</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 have channing frye, jason richardson (8) as high rebounds? ### Context: CREATE TABLE table_23285761_11 (team VARCHAR, high_rebounds VARCHAR) ### Response: ### Response: SELECT COUNT(team) FROM table_23285761_11 WHERE high_rebounds = "Channing Frye, Jason Richardson (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: What's the Description for Scottish Tar Distillers No. 78, that's Livery is black, and a date prior to 1897? ### Context: CREATE TABLE table_name_49 (description VARCHAR, livery VARCHAR, date VARCHAR, number_ VARCHAR, _name VARCHAR) ### Response: ### Response: SELECT description FROM table_name_49 WHERE livery = "black" AND date < 1897 AND number_ & _name = "scottish tar distillers no. 78"</s>