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 is the description of the product named "Chocolate"? ### Context: CREATE TABLE products (product_description VARCHAR, product_name VARCHAR) ### Response: ### Response: SELECT product_description FROM products WHERE product_name = "Chocolate"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the score for record 33-47 ### Context: CREATE TABLE table_name_30 (score VARCHAR, record VARCHAR) ### Response: ### Response: SELECT score FROM table_name_30 WHERE record = "33-47"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team for football park ### Context: CREATE TABLE table_16388439_3 (home_team VARCHAR, ground VARCHAR) ### Response: ### Response: SELECT home_team FROM table_16388439_3 WHERE ground = "Football 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 is the highest Area that has a Mean Household Size of 3.1 persons? ### Context: CREATE TABLE table_name_17 (area__km²_ INTEGER, mean_household_size__in_2006_ VARCHAR) ### Response: ### Response: SELECT MAX(area__km²_) FROM table_name_17 WHERE mean_household_size__in_2006_ = "3.1 persons"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result has 1947 sun bowl as the bowl game? ### Context: CREATE TABLE table_name_81 (result VARCHAR, bowl_game VARCHAR) ### Response: ### Response: SELECT result FROM table_name_81 WHERE bowl_game = "1947 sun bowl"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tall is the player from Mississippi ### Context: CREATE TABLE table_name_15 (height_in_ft VARCHAR, school_club_team_country VARCHAR) ### Response: ### Response: SELECT height_in_ft FROM table_name_15 WHERE school_club_team_country = "mississippi"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winner for the Tournament in Hong Kong with a third place winner named Mikael Pernfors? ### Context: CREATE TABLE table_name_32 (winner VARCHAR, third_place VARCHAR, tournament VARCHAR) ### Response: ### Response: SELECT winner FROM table_name_32 WHERE third_place = "mikael pernfors" AND tournament = "hong kong"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest grid for Bob Anderson? ### Context: CREATE TABLE table_name_89 (grid INTEGER, driver VARCHAR) ### Response: ### Response: SELECT MIN(grid) FROM table_name_89 WHERE driver = "bob anderson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of customers in the banks at New York City. ### Context: CREATE TABLE bank (no_of_customers INTEGER, city VARCHAR) ### Response: ### Response: SELECT SUM(no_of_customers) FROM bank WHERE city = 'New York 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 is the encoding when the tracks/side is 80 and sectors/track is 11? ### Context: CREATE TABLE table_name_44 (encoding VARCHAR, tracks__side VARCHAR, sectors__track VARCHAR) ### Response: ### Response: SELECT encoding FROM table_name_44 WHERE tracks__side = "80" AND sectors__track = "11"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who previously attended south kent school / brentwood hs? ### Context: CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR) ### Response: ### Response: SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the original air date for week 5. ### Context: CREATE TABLE table_22904780_1 (original_air_date VARCHAR, rank__week_ VARCHAR) ### Response: ### Response: SELECT original_air_date FROM table_22904780_1 WHERE rank__week_ = 5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the average E score when the T score was less than 4? ### Context: CREATE TABLE table_name_69 (e_score INTEGER, t_score INTEGER) ### Response: ### Response: SELECT AVG(e_score) FROM table_name_69 WHERE t_score < 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 is the record where the locaiton is tampa, fl and the opponent is louisville? ### Context: CREATE TABLE table_23346303_3 (record VARCHAR, location VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT record FROM table_23346303_3 WHERE location = "Tampa, FL" AND opponent = "Louisville"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when there was no competition for mens doubles? ### Context: CREATE TABLE table_15001572_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) ### Response: ### Response: SELECT womens_doubles FROM table_15001572_1 WHERE mens_doubles = "No competition"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lost have Points larger than 40, and a Position of 11, and a Played smaller than 38? ### Context: CREATE TABLE table_name_18 (lost INTEGER, played VARCHAR, points VARCHAR, position VARCHAR) ### Response: ### Response: SELECT SUM(lost) FROM table_name_18 WHERE points > 40 AND position = 11 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: What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010–? ### Context: CREATE TABLE table_name_37 (torque VARCHAR, model VARCHAR, years VARCHAR) ### Response: ### Response: SELECT torque FROM table_name_37 WHERE model = "2.0 bitdi (cr) dpf" AND years = "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: When did the season premiere that had a viewer rank of #6? ### Context: CREATE TABLE table_name_12 (season VARCHAR, viewer_rank___number_ VARCHAR) ### Response: ### Response: SELECT season AS premiere FROM table_name_12 WHERE viewer_rank___number_ = "#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 event was the opponent Karl Knothe and had a submission (rear naked choke)? ### Context: CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT event FROM table_name_16 WHERE method = "submission (rear naked choke)" AND opponent = "karl knothe"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when Joseph is the decision and San Jose is the home team? ### Context: CREATE TABLE table_name_40 (date VARCHAR, decision VARCHAR, home VARCHAR) ### Response: ### Response: SELECT date FROM table_name_40 WHERE decision = "joseph" AND home = "san jose"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many were in attendance when they played vs. 12 Stanford? ### Context: CREATE TABLE table_name_57 (attendance VARCHAR, opponent_number VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_57 WHERE opponent_number = "vs. 12 stanford"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lost a game by a score of 6-0? ### Context: CREATE TABLE table_name_37 (runner_up VARCHAR, score VARCHAR) ### Response: ### Response: SELECT runner_up FROM table_name_37 WHERE score = "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: Which City has a Score smaller than 30, and a Venue of aigburth? ### Context: CREATE TABLE table_name_85 (city VARCHAR, score VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT city FROM table_name_85 WHERE score < 30 AND venue = "aigburth"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result for total attendance-regular season ### Context: CREATE TABLE table_21436373_11 (result_games VARCHAR, type_of_record VARCHAR) ### Response: ### Response: SELECT result_games FROM table_21436373_11 WHERE type_of_record = "Total attendance-Regular season"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attended by 45,122? ### Context: CREATE TABLE table_name_39 (date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT date FROM table_name_39 WHERE attendance = "45,122"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player that has a Place of t9 in united states? ### Context: CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR) ### Response: ### Response: SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What score has a game greater than 11 on October 30? ### Context: CREATE TABLE table_name_1 (score VARCHAR, game VARCHAR, october VARCHAR) ### Response: ### Response: SELECT score FROM table_name_1 WHERE game > 11 AND october = 30</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Runner(s)-up in the race with a winning score of 67-66-65-69=267? ### Context: CREATE TABLE table_name_75 (runner_s__up VARCHAR, winning_score VARCHAR) ### Response: ### Response: SELECT runner_s__up FROM table_name_75 WHERE winning_score = 67 - 66 - 65 - 69 = 267</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player that has a To standard of –4? ### Context: CREATE TABLE table_name_15 (player VARCHAR, to_par VARCHAR) ### Response: ### Response: SELECT player FROM table_name_15 WHERE to_par = "–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 were stolen ends recorded as 15? ### Context: CREATE TABLE table_25381437_2 (locale VARCHAR, stolen_ends VARCHAR) ### Response: ### Response: SELECT locale FROM table_25381437_2 WHERE stolen_ends = 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 was the home team at the game that had a score of 2 – 2? ### Context: CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR) ### Response: ### Response: SELECT home FROM table_name_96 WHERE score = "2 – 2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total that South Africa had a par greater than 14 ### Context: CREATE TABLE table_name_25 (total INTEGER, country VARCHAR, to_par VARCHAR) ### Response: ### Response: SELECT SUM(total) FROM table_name_25 WHERE country = "south africa" AND to_par > 14</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which team uses the kitmaker Saller and has Krombacher as their shirt sponsor? ### Context: CREATE TABLE table_name_73 (team VARCHAR, kitmaker VARCHAR, shirt_sponsor VARCHAR) ### Response: ### Response: SELECT team FROM table_name_73 WHERE kitmaker = "saller" AND shirt_sponsor = "krombacher"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance of the match on October 26? ### Context: CREATE TABLE table_name_16 (attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_16 WHERE date = "october 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: Which Team has a Winner of 1? ### Context: CREATE TABLE table_name_6 (team VARCHAR, winner VARCHAR) ### Response: ### Response: SELECT team FROM table_name_6 WHERE winner = "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 hometown of the player who plays pr? ### Context: CREATE TABLE table_name_17 (hometown VARCHAR, position VARCHAR) ### Response: ### Response: SELECT hometown FROM table_name_17 WHERE position = "pr"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum number disc for number in series for 14 ### Context: CREATE TABLE table_15430606_1 (no_disc INTEGER, no_in_series VARCHAR) ### Response: ### Response: SELECT MIN(no_disc) FROM table_15430606_1 WHERE no_in_series = "14"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: WHAT COMPETITION HAS MARIAN SANDU? ### Context: CREATE TABLE table_name_66 (competition VARCHAR, res VARCHAR) ### Response: ### Response: SELECT competition FROM table_name_66 WHERE res = "marian sandu"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the poles of Team la filière, which has less than 162 points? ### Context: CREATE TABLE table_name_13 (poles INTEGER, team VARCHAR, points VARCHAR) ### Response: ### Response: SELECT SUM(poles) FROM table_name_13 WHERE team = "la filière" AND points < 162</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 male partner for amy winehouse? ### Context: CREATE TABLE table_name_26 (male VARCHAR, female VARCHAR) ### Response: ### Response: SELECT male FROM table_name_26 WHERE female = "amy winehouse"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 seats of the Christian Democratic Union (CDU) party? ### Context: CREATE TABLE table_name_34 (total_seats VARCHAR, party VARCHAR) ### Response: ### Response: SELECT total_seats FROM table_name_34 WHERE party = "christian democratic union (cdu)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 director of Last Window: The Secret of Cape West 3? ### Context: CREATE TABLE table_name_93 (director VARCHAR, title VARCHAR) ### Response: ### Response: SELECT director FROM table_name_93 WHERE title = "last window: the secret of cape west 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 highest total value when bask and base are each 3? ### Context: CREATE TABLE table_name_37 (total INTEGER, bask VARCHAR, base VARCHAR) ### Response: ### Response: SELECT MAX(total) FROM table_name_37 WHERE bask = "3" AND base = "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 title of the episode that originally aired on March 31, 2008? ### Context: CREATE TABLE table_name_1 (episode_title VARCHAR, original_airdate VARCHAR) ### Response: ### Response: SELECT episode_title FROM table_name_1 WHERE original_airdate = "march 31, 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: Who was the home team on June 9? ### Context: CREATE TABLE table_name_81 (home VARCHAR, date VARCHAR) ### Response: ### Response: SELECT home FROM table_name_81 WHERE date = "june 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 is the tournament with a 2r in 2009 and a 2r in 2010? ### Context: CREATE TABLE table_name_96 (tournament VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_96 WHERE 2009 = "2r" AND 2010 = "2r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and attendance of game 70? ### Context: CREATE TABLE table_27733909_9 (location_attendance VARCHAR, game VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_27733909_9 WHERE game = 70</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the loser when the result was 119–113? ### Context: CREATE TABLE table_name_83 (loser VARCHAR, result VARCHAR) ### Response: ### Response: SELECT loser FROM table_name_83 WHERE result = "119–113"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26 ### Context: CREATE TABLE table_name_37 (points_diff INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT MIN(points_diff) FROM table_name_37 WHERE against < 578 AND lost = 15 AND points > 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 position of United States' player Brett Lawrence? ### Context: CREATE TABLE table_name_74 (position VARCHAR, nationality VARCHAR, player VARCHAR) ### Response: ### Response: SELECT position FROM table_name_74 WHERE nationality = "united states" AND player = "brett lawrence"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race title of Dick Johnson Racing? ### Context: CREATE TABLE table_name_73 (race_title VARCHAR, team VARCHAR) ### Response: ### Response: SELECT race_title FROM table_name_73 WHERE team = "dick johnson racing"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: During the loss on march 26, 2005, what was the venue where the match was played? ### Context: CREATE TABLE table_name_10 (venue VARCHAR, result VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_10 WHERE result = "loss" AND date = "march 26, 2005"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mean pick number had a Reg GP of 0, and a Pl GP that was bigger than 0? ### Context: CREATE TABLE table_name_95 (pick__number INTEGER, reg_gp VARCHAR, pl_gp VARCHAR) ### Response: ### Response: SELECT AVG(pick__number) FROM table_name_95 WHERE reg_gp = 0 AND pl_gp > 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 Tiger Woods' to par? ### Context: CREATE TABLE table_name_26 (to_par VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_26 WHERE player = "tiger woods"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 womens doubles and mens singles, what years did Arvind Bhat or Valiyaveetil Diju Jwala Gutta win? ### Context: CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, mens_singles VARCHAR, mixed_doubles VARCHAR) ### Response: ### Response: SELECT womens_doubles FROM table_12194021_1 WHERE mens_singles = "Arvind Bhat" AND mixed_doubles = "Valiyaveetil Diju Jwala Gutta"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner-up when Mohamed Ali got third? ### Context: CREATE TABLE table_16331144_1 (runner_up VARCHAR, third_place VARCHAR) ### Response: ### Response: SELECT runner_up FROM table_16331144_1 WHERE third_place = "Mohamed Ali"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ethernet port count of the whr-hp-g300n model? ### Context: CREATE TABLE table_name_72 (ethernet_port_count VARCHAR, model VARCHAR) ### Response: ### Response: SELECT ethernet_port_count FROM table_name_72 WHERE model = "whr-hp-g300n"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wehre the deportes savio were the home team? ### Context: CREATE TABLE table_name_78 (score VARCHAR, home VARCHAR) ### Response: ### Response: SELECT score FROM table_name_78 WHERE home = "deportes savio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time was the fastest lap during Stoh's 200 in 1982? ### Context: CREATE TABLE table_name_74 (fastest_lap VARCHAR, name VARCHAR) ### Response: ### Response: SELECT fastest_lap FROM table_name_74 WHERE name = "stoh's 200"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nominee for Best Lead Actress? ### Context: CREATE TABLE table_name_96 (nominee VARCHAR, category VARCHAR) ### Response: ### Response: SELECT nominee FROM table_name_96 WHERE category = "best lead actress"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ties did the Montreal Victorias have with a GA of less than 24? ### Context: CREATE TABLE table_name_57 (ties INTEGER, team VARCHAR, goals_against VARCHAR) ### Response: ### Response: SELECT MAX(ties) FROM table_name_57 WHERE team = "montreal victorias" AND goals_against < 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: How many editions have a most wins value of Franco Marvulli (4)? ### Context: CREATE TABLE table_1840433_2 (number_of_editions VARCHAR, most_wins_by VARCHAR) ### Response: ### Response: SELECT COUNT(number_of_editions) FROM table_1840433_2 WHERE most_wins_by = "Franco Marvulli (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 is year that has points larger than 46, and a rank of 6th? ### Context: CREATE TABLE table_name_45 (year INTEGER, points VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT SUM(year) FROM table_name_45 WHERE points > 46 AND rank = "6th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average ERP W when it has a city of license of pound, virginia and frequency mhz more than 91.3 ### Context: CREATE TABLE table_name_90 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) ### Response: ### Response: SELECT AVG(erp_w) FROM table_name_90 WHERE city_of_license = "pound, virginia" AND frequency_mhz > 91.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 grid with a yamaha manufacturer and a +19.435 time/retired? ### Context: CREATE TABLE table_name_65 (grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) ### Response: ### Response: SELECT grid FROM table_name_65 WHERE manufacturer = "yamaha" AND time_retired = "+19.435"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manufacturer of aprilia wth time of +1:36.557 has the highest lap? ### Context: CREATE TABLE table_name_75 (laps INTEGER, manufacturer VARCHAR, time VARCHAR) ### Response: ### Response: SELECT MAX(laps) FROM table_name_75 WHERE manufacturer = "aprilia" AND time = "+1:36.557"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event was on 26 August 2005? ### Context: CREATE TABLE table_name_14 (event VARCHAR, date VARCHAR) ### Response: ### Response: SELECT event FROM table_name_14 WHERE date = "26 august 2005"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 theme placed as #3 in the finale? ### Context: CREATE TABLE table_12175755_1 (result VARCHAR, theme VARCHAR, order__number VARCHAR) ### Response: ### Response: SELECT result FROM table_12175755_1 WHERE theme = "Finale" AND order__number = "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 mexico stat where mañana es para siempre is love never dies ### Context: CREATE TABLE table_18498743_1 (mexico VARCHAR, mañana_es_para_siempre VARCHAR) ### Response: ### Response: SELECT mexico FROM table_18498743_1 WHERE mañana_es_para_siempre = "Love Never Dies"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1861 with 1851 of 5291 ### Context: CREATE TABLE table_name_97 (Id VARCHAR) ### Response: ### Response: SELECT 1861 FROM table_name_97 WHERE 1851 = "5291"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a defensive end at California? ### Context: CREATE TABLE table_name_93 (player_name VARCHAR, position VARCHAR, college VARCHAR) ### Response: ### Response: SELECT player_name FROM table_name_93 WHERE position = "defensive end" AND college = "california"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 there no competition in Mixed Doubles? ### Context: CREATE TABLE table_name_45 (year VARCHAR, mixed_doubles VARCHAR) ### Response: ### Response: SELECT year FROM table_name_45 WHERE mixed_doubles = "no competition"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visitor has detroit as the home, and february 24 as the date? ### Context: CREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR, date VARCHAR) ### Response: ### Response: SELECT visitor FROM table_name_76 WHERE home = "detroit" 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: Which Sydney has a Perth of no, a Melbourne of yes, and a Gold Coast of no? ### Context: CREATE TABLE table_name_27 (sydney VARCHAR, gold_coast VARCHAR, perth VARCHAR, melbourne VARCHAR) ### Response: ### Response: SELECT sydney FROM table_name_27 WHERE perth = "no" AND melbourne = "yes" AND gold_coast = "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: What is the class for the ERP W of 500? ### Context: CREATE TABLE table_name_12 (class VARCHAR, erp_w VARCHAR) ### Response: ### Response: SELECT class FROM table_name_12 WHERE erp_w = 500</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest place number when the total is 16 and average is less than 16? ### Context: CREATE TABLE table_name_52 (place INTEGER, total VARCHAR, average VARCHAR) ### Response: ### Response: SELECT MIN(place) FROM table_name_52 WHERE total = 16 AND average < 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: How many lanes have a Time of 53.61, and a Rank larger than 3? ### Context: CREATE TABLE table_name_32 (lane INTEGER, time VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT SUM(lane) FROM table_name_32 WHERE time = 53.61 AND 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: What is the category for the premios lo nuestro award? ### Context: CREATE TABLE table_name_72 (category VARCHAR, award VARCHAR) ### Response: ### Response: SELECT category FROM table_name_72 WHERE award = "premios lo nuestro"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on February 23? ### Context: CREATE TABLE table_name_82 (record VARCHAR, february VARCHAR) ### Response: ### Response: SELECT record FROM table_name_82 WHERE february = 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: What is the length of fleet number 501-506? ### Context: CREATE TABLE table_name_62 (length VARCHAR, fleet_number VARCHAR) ### Response: ### Response: SELECT length FROM table_name_62 WHERE fleet_number = "501-506"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Tournament has a 2009 of q1, and a 2008 of 1r? ### Context: CREATE TABLE table_name_28 (tournament VARCHAR) ### Response: ### Response: SELECT tournament FROM table_name_28 WHERE 2009 = "q1" AND 2008 = "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: Name the four for 6 march 1801 ### Context: CREATE TABLE table_name_23 (four VARCHAR, date VARCHAR) ### Response: ### Response: SELECT four FROM table_name_23 WHERE date = "6 march 1801"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 holds the lead role when Aanders Brorson is third? ### Context: CREATE TABLE table_name_97 (lead VARCHAR, third VARCHAR) ### Response: ### Response: SELECT lead FROM table_name_97 WHERE third = "aanders brorson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a Score of 1–3, and a Game larger than 82? ### Context: CREATE TABLE table_name_49 (points VARCHAR, score VARCHAR, game VARCHAR) ### Response: ### Response: SELECT COUNT(points) FROM table_name_49 WHERE score = "1–3" AND game > 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: Valmir Benavides won pole position at which circuit? ### Context: CREATE TABLE table_29361707_2 (circuit VARCHAR, pole_position VARCHAR) ### Response: ### Response: SELECT circuit FROM table_29361707_2 WHERE pole_position = "Valmir Benavides"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rider that has a rank of less than 8 in the year 2000, and whose speed was 18.32 km/h? ### Context: CREATE TABLE table_name_43 (rider VARCHAR, speed VARCHAR, rank VARCHAR, year VARCHAR) ### Response: ### Response: SELECT rider FROM table_name_43 WHERE rank < 8 AND year = 2000 AND speed = "18.32 km/h"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Population of the nation that has an Area (km²) of 70,273? ### Context: CREATE TABLE table_name_31 (population VARCHAR, area__km²_ VARCHAR) ### Response: ### Response: SELECT population FROM table_name_31 WHERE area__km²_ = "70,273"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Location has a Floors of 03.0 n/a? ### Context: CREATE TABLE table_name_18 (location VARCHAR, floors VARCHAR) ### Response: ### Response: SELECT location FROM table_name_18 WHERE floors = "03.0 n/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: What is Tiger Woods's score? ### Context: CREATE TABLE table_name_1 (score VARCHAR, player VARCHAR) ### Response: ### Response: SELECT score FROM table_name_1 WHERE player = "tiger woods"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 BUSHI when it has kenny omega of yang (7:27) ### Context: CREATE TABLE table_name_45 (bushi VARCHAR, kenny_omega VARCHAR) ### Response: ### Response: SELECT bushi FROM table_name_45 WHERE kenny_omega = "yang (7:27)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 starred in episode 3? ### Context: CREATE TABLE table_24212608_1 (starring VARCHAR, episode VARCHAR) ### Response: ### Response: SELECT starring FROM table_24212608_1 WHERE episode = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the points for Engine of chevrolet 265c ### Context: CREATE TABLE table_name_99 (points VARCHAR, engine VARCHAR) ### Response: ### Response: SELECT points FROM table_name_99 WHERE engine = "chevrolet 265c"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Grid with Laps of 88? ### Context: CREATE TABLE table_name_66 (grid INTEGER, laps VARCHAR) ### Response: ### Response: SELECT AVG(grid) FROM table_name_66 WHERE laps = 88</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winner for rest day for 13 july ### Context: CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR) ### Response: ### Response: SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Season #15? ### Context: CREATE TABLE table_12564633_1 (title VARCHAR, season__number VARCHAR) ### Response: ### Response: SELECT title FROM table_12564633_1 WHERE season__number = 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: What year was she on a 350cc class bike, ranked 16th, with over 0 wins? ### Context: CREATE TABLE table_name_85 (year INTEGER, wins VARCHAR, class VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT SUM(year) FROM table_name_85 WHERE class = "350cc" AND rank = "16th" AND wins > 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 Wins have a Class of 500cc, and a Year smaller than 1975? ### Context: CREATE TABLE table_name_46 (wins VARCHAR, class VARCHAR, year VARCHAR) ### Response: ### Response: SELECT wins FROM table_name_46 WHERE class = "500cc" AND year < 1975</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the maximum cap number where 0 goals were scored with a rank of 15? ### Context: CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT MAX(caps) FROM table_name_5 WHERE goals = 0 AND 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: What is the nationality of Duke? ### Context: CREATE TABLE table_name_95 (nationality VARCHAR, school_club_team VARCHAR) ### Response: ### Response: SELECT nationality FROM table_name_95 WHERE school_club_team = "duke"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface is on 23 january 2011? ### Context: CREATE TABLE table_name_79 (surface VARCHAR, date VARCHAR) ### Response: ### Response: SELECT surface FROM table_name_79 WHERE date = "23 january 2011"</s>