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: Tell me the label for digital format with nebula remixes ### Context: CREATE TABLE table_name_9 (label VARCHAR, formats VARCHAR, title VARCHAR) ### Response: ### Response: SELECT label FROM table_name_9 WHERE formats = "digital" AND title = "nebula remixes"</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 FCC info has 3,000 ERP W? ### Context: CREATE TABLE table_name_22 (fcc_info VARCHAR, erp_w VARCHAR) ### Response: ### Response: SELECT fcc_info FROM table_name_22 WHERE erp_w = "3,000"</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 years did the Rockets number 6 play? ### Context: CREATE TABLE table_name_80 (years_for_rockets VARCHAR, no_s_ VARCHAR) ### Response: ### Response: SELECT years_for_rockets FROM table_name_80 WHERE no_s_ = "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 date of the Mosport Park circuit? ### Context: CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR) ### Response: ### Response: SELECT date FROM table_name_34 WHERE circuit = "mosport park"</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 losses for the team atl. colegiales? ### Context: CREATE TABLE table_18594107_2 (losses INTEGER, team VARCHAR) ### Response: ### Response: SELECT MAX(losses) FROM table_18594107_2 WHERE team = "Atl. Colegiales"</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 games Played where the Place is 10 and Points are less than 17? ### Context: CREATE TABLE table_name_56 (played INTEGER, place VARCHAR, points VARCHAR) ### Response: ### Response: SELECT MAX(played) FROM table_name_56 WHERE place = 10 AND points < 17</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 incumbent in the Ohio 16 district? ### Context: CREATE TABLE table_1434788_5 (incumbent VARCHAR, district VARCHAR) ### Response: ### Response: SELECT incumbent FROM table_1434788_5 WHERE district = "Ohio 16"</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 companies have a free float of 0.2726? ### Context: CREATE TABLE table_20667854_1 (company VARCHAR, free_float VARCHAR) ### Response: ### Response: SELECT company FROM table_20667854_1 WHERE free_float = "0.2726"</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 defenses a champion with 404 days held and a reign larger than 1 has? ### Context: CREATE TABLE table_name_57 (defenses INTEGER, days_held VARCHAR, reign VARCHAR) ### Response: ### Response: SELECT AVG(defenses) FROM table_name_57 WHERE days_held = "404" AND reign > 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: Who had the high assists while Erick Dampier (8) had the high rebounds? ### Context: CREATE TABLE table_17288869_7 (high_assists VARCHAR, high_rebounds VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_17288869_7 WHERE high_rebounds = "Erick Dampier (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 overall sum of the game with a pick less than 8 from the college of western michigan? ### Context: CREATE TABLE table_name_23 (overall INTEGER, pick VARCHAR, college VARCHAR) ### Response: ### Response: SELECT SUM(overall) FROM table_name_23 WHERE pick < 8 AND college = "western michigan"</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 of the episode that had 4.65 million viewers? ### Context: CREATE TABLE table_25548213_1 (title VARCHAR, us_viewers__million_ VARCHAR) ### Response: ### Response: SELECT title FROM table_25548213_1 WHERE us_viewers__million_ = "4.65"</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 listed for the Drawn that has a Tray bonus of 5 wiht Points for of 517? ### Context: CREATE TABLE table_name_23 (drawn VARCHAR, try_bonus VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT drawn FROM table_name_23 WHERE try_bonus = "5" AND points_for = "517"</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 tie number with the away team of Sheffield Wednesday? ### Context: CREATE TABLE table_name_63 (tie_no VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT tie_no FROM table_name_63 WHERE away_team = "sheffield wednesday"</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 high cap total for a lock with the vicenza rangers? ### Context: CREATE TABLE table_name_55 (caps INTEGER, position VARCHAR, club_province VARCHAR) ### Response: ### Response: SELECT MAX(caps) FROM table_name_55 WHERE position = "lock" AND club_province = "vicenza rangers"</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 College/junior/club team has a Position of centre, and pick is #22? ### Context: CREATE TABLE table_name_31 (college_junior_club_team VARCHAR, position VARCHAR, pick__number VARCHAR) ### Response: ### Response: SELECT college_junior_club_team FROM table_name_31 WHERE position = "centre" AND pick__number = "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: What's the total against for opposing team scotland at twickenham, london venue with a status of five nations? ### Context: CREATE TABLE table_name_6 (against VARCHAR, opposing_teams VARCHAR, status VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT COUNT(against) FROM table_name_6 WHERE status = "five nations" AND venue = "twickenham, london" AND opposing_teams = "scotland"</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 did the season air where the viewership was 14.71 million? ### Context: CREATE TABLE table_1145977_2 (season VARCHAR, viewers__in_millions_ VARCHAR) ### Response: ### Response: SELECT season AS premiere FROM table_1145977_2 WHERE viewers__in_millions_ = "14.71"</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 Alpha 2 code for Papua New Guinea? ### Context: CREATE TABLE table_222771_1 (alpha_2_code VARCHAR, english_short_name__upper_lower_case_ VARCHAR) ### Response: ### Response: SELECT alpha_2_code FROM table_222771_1 WHERE english_short_name__upper_lower_case_ = "Papua New Guinea"</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 San Antonio's team score? ### Context: CREATE TABLE table_17288825_5 (score VARCHAR, team VARCHAR) ### Response: ### Response: SELECT score FROM table_17288825_5 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: How many opponents were there in a game higher than 20 on January 28? ### Context: CREATE TABLE table_name_15 (opponents VARCHAR, game VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponents FROM table_name_15 WHERE game > 20 AND date = "january 28"</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: Are there any Teams after 1997? ### Context: CREATE TABLE table_name_21 (team VARCHAR, year INTEGER) ### Response: ### Response: SELECT team FROM table_name_21 WHERE year > 1997</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 in February where has September is kristine hanson? ### Context: CREATE TABLE table_name_13 (february VARCHAR, september VARCHAR) ### Response: ### Response: SELECT february FROM table_name_13 WHERE september = "kristine hanson"</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 Type for l. publilius philo vulscus? ### Context: CREATE TABLE table_name_46 (type VARCHAR, name VARCHAR) ### Response: ### Response: SELECT type FROM table_name_46 WHERE name = "l. publilius philo vulscus"</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 director that had a film titled "Floating Life"? ### Context: CREATE TABLE table_name_5 (director VARCHAR, film_title_used_in_nomination VARCHAR) ### Response: ### Response: SELECT director FROM table_name_5 WHERE film_title_used_in_nomination = "floating life"</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 date has the record of 77-62? ### Context: CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR) ### Response: ### Response: SELECT date FROM table_name_22 WHERE record = "77-62"</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 division has an average home attendance of 2.459? ### Context: CREATE TABLE table_1816947_2 (division___section VARCHAR, average_attendance_home VARCHAR) ### Response: ### Response: SELECT division___section FROM table_1816947_2 WHERE average_attendance_home = "2.459"</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 attended on may 6? ### Context: CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_85 WHERE date = "may 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: How many goals were scored by the team that played less than 38 games, and had points of 47+9? ### Context: CREATE TABLE table_name_15 (goals_for INTEGER, points VARCHAR, played VARCHAR) ### Response: ### Response: SELECT MAX(goals_for) FROM table_name_15 WHERE points = "47+9" AND played < 38</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 lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports? ### Context: CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR) ### Response: ### Response: SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#13 Inspire Motorsports"</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 year listed? ### Context: CREATE TABLE table_1529260_2 (year INTEGER) ### Response: ### Response: SELECT MIN(year) FROM table_1529260_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: Callsign of 6nan has what purpose? ### Context: CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR) ### Response: ### Response: SELECT purpose FROM table_name_34 WHERE callsign = "6nan"</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 ran for office in the Alabama 1 district? ### Context: CREATE TABLE table_1342198_3 (candidates VARCHAR, district VARCHAR) ### Response: ### Response: SELECT candidates FROM table_1342198_3 WHERE district = "Alabama 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 performance order for 2.15% ### Context: CREATE TABLE table_26267849_11 (performance_order VARCHAR, percentage_of_votes VARCHAR) ### Response: ### Response: SELECT performance_order FROM table_26267849_11 WHERE percentage_of_votes = "2.15%"</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 artist 2 on the setlist where the artist 1 is Sparfunk & D-Code? ### Context: CREATE TABLE table_29264319_1 (artist_2 VARCHAR, artist_1 VARCHAR) ### Response: ### Response: SELECT artist_2 FROM table_29264319_1 WHERE artist_1 = "Sparfunk & D-Code"</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 of South Adelaide? ### Context: CREATE TABLE table_name_46 (location VARCHAR, team VARCHAR) ### Response: ### Response: SELECT location FROM table_name_46 WHERE team = "south adelaide"</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 most money United States player Bob Gilder won? ### Context: CREATE TABLE table_name_93 (money___ INTEGER, country VARCHAR, player VARCHAR) ### Response: ### Response: SELECT MAX(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND player = "bob gilder"</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 place did Jimmy Reece finish in 1957? ### Context: CREATE TABLE table_name_29 (finish VARCHAR, year VARCHAR) ### Response: ### Response: SELECT finish FROM table_name_29 WHERE year = "1957"</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 lives in mcg? ### Context: CREATE TABLE table_name_26 (home_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT home_team FROM table_name_26 WHERE venue = "mcg"</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 date in October did the Flyers play against the Toronto Maple Leafs? ### Context: CREATE TABLE table_name_11 (october VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT october FROM table_name_11 WHERE opponent = "toronto maple leafs"</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 opponent is friendly and played on 15-08-2012? ### Context: CREATE TABLE table_name_38 (opponent VARCHAR, competition VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_38 WHERE competition = "friendly" AND date = "15-08-2012"</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 did Brett go for the Strikeforce: Shamrock vs. Diaz match? ### Context: CREATE TABLE table_name_84 (round VARCHAR, event VARCHAR) ### Response: ### Response: SELECT round FROM table_name_84 WHERE event = "strikeforce: shamrock vs. 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: how many areas have townland as kilgilky north? ### Context: CREATE TABLE table_30120560_1 (area__acres__ VARCHAR, townland VARCHAR) ### Response: ### Response: SELECT COUNT(area__acres__) FROM table_30120560_1 WHERE townland = "Kilgilky North"</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 Auckland thats got Otago of 184 R.C. Blunt & W. Hawksworth V (C) 1931/32? ### Context: CREATE TABLE table_name_5 (auckland VARCHAR, otago VARCHAR) ### Response: ### Response: SELECT auckland FROM table_name_5 WHERE otago = "184 r.c. blunt & w. hawksworth v (c) 1931/32"</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 Grand Prix did Nello Pagani win? ### Context: CREATE TABLE table_name_2 (name VARCHAR, winning_driver VARCHAR) ### Response: ### Response: SELECT name FROM table_name_2 WHERE winning_driver = "nello pagani"</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 sum of votes of the party with a % of 0.53 and more than 0 seats? ### Context: CREATE TABLE table_name_99 (votes__gib_ INTEGER, _percentage__gib_ VARCHAR, seats VARCHAR) ### Response: ### Response: SELECT SUM(votes__gib_) FROM table_name_99 WHERE _percentage__gib_ = 0.53 AND seats > 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 is the composition at Valles lava dome? ### Context: CREATE TABLE table_1081235_1 (composition VARCHAR, name_of_lava_dome VARCHAR) ### Response: ### Response: SELECT composition FROM table_1081235_1 WHERE name_of_lava_dome = "Valles lava dome"</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 leading scorer for the game on March 22, 2008 with a visitor of Magic? ### Context: CREATE TABLE table_name_40 (leading_scorer VARCHAR, visitor VARCHAR, date VARCHAR) ### Response: ### Response: SELECT leading_scorer FROM table_name_40 WHERE visitor = "magic" AND date = "march 22, 2008"</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 status has 18 as the against? ### Context: CREATE TABLE table_name_34 (status VARCHAR, against VARCHAR) ### Response: ### Response: SELECT status FROM table_name_34 WHERE against = 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: What is every code name for the model Radeon HD 6650m? ### Context: CREATE TABLE table_25005714_3 (code_name VARCHAR, model VARCHAR) ### Response: ### Response: SELECT code_name FROM table_25005714_3 WHERE model = "Radeon HD 6650M"</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: Winchester Community school, which plays IHSAA class AA football, is located where? ### Context: CREATE TABLE table_name_99 (location VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR) ### Response: ### Response: SELECT location FROM table_name_99 WHERE ihsaa_football_class = "aa" AND school = "winchester community"</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 that had a time/retired of +5 laps? ### Context: CREATE TABLE table_name_27 (laps INTEGER, time_retired VARCHAR) ### Response: ### Response: SELECT AVG(laps) FROM table_name_27 WHERE time_retired = "+5 laps"</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 post-season record for kansas city ### Context: CREATE TABLE table_name_55 (post_season_record_ VARCHAR, e_ VARCHAR, mlb_affiliate VARCHAR) ### Response: ### Response: SELECT post_season_record_[e_] FROM table_name_55 WHERE mlb_affiliate = "kansas city"</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 in Respective Divisions has a capacity of 4100? ### Context: CREATE TABLE table_name_60 (Rank VARCHAR, capacity VARCHAR) ### Response: ### Response: SELECT Rank IN Respective AS divisions FROM table_name_60 WHERE capacity = "4100"</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 competition at the ta'qali venue? ### Context: CREATE TABLE table_name_21 (competition VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_21 WHERE venue = "ta'qali"</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 Game, when Attendance is "18,568"? ### Context: CREATE TABLE table_name_7 (game VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT COUNT(game) FROM table_name_7 WHERE attendance = 18 OFFSET 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: Who wrote the episode with a production code of 116? ### Context: CREATE TABLE table_29087004_2 (written_by VARCHAR, production_code VARCHAR) ### Response: ### Response: SELECT written_by FROM table_29087004_2 WHERE production_code = 116</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 event was the opponent jose carlos oliveira? ### Context: CREATE TABLE table_name_46 (event VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT event FROM table_name_46 WHERE opponent = "jose carlos oliveira"</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 Neon has Atomic property of average valence electron energy (avee)? ### Context: CREATE TABLE table_name_91 (neon VARCHAR, atomic_property VARCHAR) ### Response: ### Response: SELECT neon FROM table_name_91 WHERE atomic_property = "average valence electron energy (avee)"</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 Losing BP of Newport Saracens RFC and has a Lost of 19. ### Context: CREATE TABLE table_name_14 (losing_bp VARCHAR, lost VARCHAR, club VARCHAR) ### Response: ### Response: SELECT losing_bp FROM table_name_14 WHERE lost = "19" AND club = "newport saracens rfc"</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 home team north melbourne was playing what did they score? ### Context: CREATE TABLE table_name_78 (home_team VARCHAR) ### Response: ### Response: SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"</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 transmitter location for city of Maryborough? ### Context: CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR) ### Response: ### Response: SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough"</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 age figures for the player fired in week 6? ### Context: CREATE TABLE table_24501530_1 (age VARCHAR, result VARCHAR) ### Response: ### Response: SELECT COUNT(age) FROM table_24501530_1 WHERE result = "Fired in week 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 lowest MPG-US combined for a green rating of E, mpg in the UK- combined of under 42.2, manufacturer of Volkswagen, and an M6 transmission? ### Context: CREATE TABLE table_name_90 (mpg_us_combined INTEGER, transmission VARCHAR, manufacturer VARCHAR, green_rating VARCHAR, mpg_uk_combined VARCHAR) ### Response: ### Response: SELECT MIN(mpg_us_combined) FROM table_name_90 WHERE green_rating = "e" AND mpg_uk_combined < 42.2 AND manufacturer = "volkswagen" AND transmission = "m6"</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: Date of november 29, 1959 had what lowest attendance? ### Context: CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR) ### Response: ### Response: SELECT MIN(attendance) FROM table_name_7 WHERE date = "november 29, 1959"</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 position does the player from the MLS New England Revolution team hold? ### Context: CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR) ### Response: ### Response: SELECT position FROM table_name_35 WHERE mls_team = "new england revolution"</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 player who is a wr and has a weight of 197? ### Context: CREATE TABLE table_name_83 (name VARCHAR, position VARCHAR, weight VARCHAR) ### Response: ### Response: SELECT name FROM table_name_83 WHERE position = "wr" AND weight = 197</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 passengers of the airport ranked 15? ### Context: CREATE TABLE table_13836704_7 (international_passengers VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT international_passengers FROM table_13836704_7 WHERE rank = 15</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 employees do we have? ### Context: CREATE TABLE Employees (Id VARCHAR) ### Response: ### Response: SELECT COUNT(*) FROM Employees</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 candidate was re-elected and was first elected in 1942? ### Context: CREATE TABLE table_1342218_35 (candidates VARCHAR, result VARCHAR, first_elected VARCHAR) ### Response: ### Response: SELECT candidates FROM table_1342218_35 WHERE result = "Re-elected" AND first_elected = 1942</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 sum of frequency for ERP W less than 1 ### Context: CREATE TABLE table_name_43 (frequency_mhz INTEGER, erp_w INTEGER) ### Response: ### Response: SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 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: Find the name, headquarter and founder of the manufacturer that has the highest revenue. ### Context: CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, founder VARCHAR, revenue VARCHAR) ### Response: ### Response: SELECT name, headquarter, founder FROM manufacturers ORDER BY revenue DESC 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: Which Puchat Ligi has a UEFA Cup smaller than 2, and a Player of takesure chinyama? ### Context: CREATE TABLE table_name_64 (puchat_ligi INTEGER, uefa_cup VARCHAR, player VARCHAR) ### Response: ### Response: SELECT MIN(puchat_ligi) FROM table_name_64 WHERE uefa_cup < 2 AND player = "takesure chinyama"</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 Tongan has a North Marquesan of /haʔe/? ### Context: CREATE TABLE table_name_15 (tongan VARCHAR, north_marquesan VARCHAR) ### Response: ### Response: SELECT tongan FROM table_name_15 WHERE north_marquesan = "/haʔe/"</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 Viewers when the rank is #40? ### Context: CREATE TABLE table_name_30 (viewers VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT COUNT(viewers) FROM table_name_30 WHERE rank = "#40"</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 time for uab ### Context: CREATE TABLE table_26842217_18 (time VARCHAR, visiting_team VARCHAR) ### Response: ### Response: SELECT COUNT(time) FROM table_26842217_18 WHERE visiting_team = "UAB"</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 Spanish word is there for the Portuguese bem-vindo? ### Context: CREATE TABLE table_26614365_5 (spanish VARCHAR, portuguese VARCHAR) ### Response: ### Response: SELECT COUNT(spanish) FROM table_26614365_5 WHERE portuguese = "Bem-vindo"</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 wins where there total for Series named formula 3 euro series as well as having more than 2 Podiums? ### Context: CREATE TABLE table_name_43 (wins VARCHAR, series VARCHAR, podiums VARCHAR) ### Response: ### Response: SELECT COUNT(wins) FROM table_name_43 WHERE series = "formula 3 euro series" AND podiums > 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: Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23? ### Context: CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) ### Response: ### Response: SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 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: Who faced off against St Kilda at their home? ### Context: CREATE TABLE table_name_43 (away_team VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_43 WHERE home_team = "st kilda"</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 week was themed disco? ### Context: CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR) ### Response: ### Response: SELECT week__number FROM table_21501511_1 WHERE theme = "Disco"</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 col location for the location of france / italy? ### Context: CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR) ### Response: ### Response: SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy"</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 2nd leg of the 4-9 agg.? ### Context: CREATE TABLE table_name_68 (agg VARCHAR) ### Response: ### Response: SELECT 2 AS nd_leg FROM table_name_68 WHERE agg = "4-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 audition city's are there with an episode air date of June 24, 2010? ### Context: CREATE TABLE table_27615445_1 (audition_city VARCHAR, episode_air_date VARCHAR) ### Response: ### Response: SELECT COUNT(audition_city) FROM table_27615445_1 WHERE episode_air_date = "June 24, 2010"</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 sponsors owner Bobby Dotter's team? ### Context: CREATE TABLE table_19908313_2 (primary_sponsor_s_ VARCHAR, listed_owner_s_ VARCHAR) ### Response: ### Response: SELECT primary_sponsor_s_ FROM table_19908313_2 WHERE listed_owner_s_ = "Bobby Dotter"</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 college/junior/club team (league) when the position is (c) and the round is higher than 2? ### Context: CREATE TABLE table_name_52 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR) ### Response: ### Response: SELECT college_junior_club_team__league_ FROM table_name_52 WHERE position = "(c)" AND round > 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: When Kansas State had a pick of over 35, what's the highest Overall pick found? ### Context: CREATE TABLE table_name_71 (overall INTEGER, college VARCHAR, pick VARCHAR) ### Response: ### Response: SELECT MAX(overall) FROM table_name_71 WHERE college = "kansas state" AND pick > 35</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 final standing in 1981–82? ### Context: CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR) ### Response: ### Response: SELECT final_standing FROM table_name_58 WHERE years = "1981–82"</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 lengths of the models that are mm (in) tall? ### Context: CREATE TABLE table_1773707_2 (length VARCHAR, height VARCHAR) ### Response: ### Response: SELECT length FROM table_1773707_2 WHERE height = "mm (in)"</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 silver when gold is 1 and the rank is less than 3 for japan? ### Context: CREATE TABLE table_name_77 (silver VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT silver FROM table_name_77 WHERE gold = 1 AND rank < 3 AND nation = "japan"</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 away team score at kardinia park? ### Context: CREATE TABLE table_name_40 (away_team VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT away_team AS score FROM table_name_40 WHERE venue = "kardinia park"</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 lowest bits precision when the total bits are less than 16? ### Context: CREATE TABLE table_name_32 (bits_precision INTEGER, total_bits INTEGER) ### Response: ### Response: SELECT MIN(bits_precision) FROM table_name_32 WHERE total_bits < 16</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 position went lower than 106 from the College of Virginia? ### Context: CREATE TABLE table_name_10 (position VARCHAR, overall VARCHAR, college VARCHAR) ### Response: ### Response: SELECT position FROM table_name_10 WHERE overall < 106 AND college = "virginia"</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 WITH POINTS 190? ### Context: CREATE TABLE table_name_36 (tries_for VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT tries_for FROM table_name_36 WHERE points_for = "190"</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 the tournament with more than 6 top-25's and less than 13 cuts made, how many wins were there? ### Context: CREATE TABLE table_name_28 (wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR) ### Response: ### Response: SELECT COUNT(wins) FROM table_name_28 WHERE top_25 > 6 AND cuts_made < 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: What was the score of the game played at Harmon Stadium on February 24? ### Context: CREATE TABLE table_name_38 (score VARCHAR, site_stadium VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_name_38 WHERE site_stadium = "harmon stadium" AND date = "february 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 are the addresses of the course authors or tutors with personal name "Cathrine" ### Context: CREATE TABLE Course_Authors_and_Tutors (address_line_1 VARCHAR, personal_name VARCHAR) ### Response: ### Response: SELECT address_line_1 FROM Course_Authors_and_Tutors WHERE personal_name = "Cathrine"</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 most assists in the game against Atlanta? ### Context: CREATE TABLE table_name_13 (high_assists VARCHAR, team VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_13 WHERE team = "atlanta"</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 percentage of the immigrants in 2007 in the country with 14.1% of the immigrants in 2006? ### Context: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR) ### Response: ### Response: SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "14.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 shows for Sergey Filimonov (KAZ) when the Snatch shows snatch? ### Context: CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR) ### Response: ### Response: SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"</s>