diff --git "a/val_data.jsonl" "b/val_data.jsonl" new file mode 100644--- /dev/null +++ "b/val_data.jsonl" @@ -0,0 +1,7858 @@ +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue has a Goal of 3?\n\n### Context:\nCREATE TABLE table_name_81 (venue VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_81 WHERE goal = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did the Victoria park home team score?\n\n### Context:\nCREATE TABLE table_name_1 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_1 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHERE IS ANDRE PETERSSON FROM?\n\n### Context:\nCREATE TABLE table_11803648_17 (nationality VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_11803648_17 WHERE player = \"Andre Petersson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Wins, when Losses is \"6\", and when Draws is greater than \"0\"?\n\n### Context:\nCREATE TABLE table_name_70 (wins VARCHAR, losses VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_70 WHERE losses = 6 AND draws > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Race 4, when Race 1 is 28?\n\n### Context:\nCREATE TABLE table_name_51 (race_4 VARCHAR, race_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_4 FROM table_name_51 WHERE race_1 = \"28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the recipient when the show was nominated for Most Popular Drama after 2004?\n\n### Context:\nCREATE TABLE table_name_5 (recipient_s_ VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT recipient_s_ FROM table_name_5 WHERE result = \"nominated\" AND category = \"most popular drama\" AND year > 2004"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the notes for the hypo-meeting tournament in 2012?\n\n### Context:\nCREATE TABLE table_name_95 (notes VARCHAR, tournament VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_95 WHERE tournament = \"hypo-meeting\" AND year = 2012"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSum of cuyo selection as the opposing team?\n\n### Context:\nCREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(against) FROM table_name_86 WHERE opposing_team = \"cuyo selection\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?\n\n### Context:\nCREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT moving_to FROM table_name_27 WHERE country = \"bel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the title and score of the movie with the lowest rating among all movies directed by each director.\n\n### Context:\nCREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.title, T1.stars, T2.director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T2.director"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many centerfolds were in the 9-98 issue?\n\n### Context:\nCREATE TABLE table_1566850_9 (centerfold_model VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(centerfold_model) FROM table_1566850_9 WHERE date = \"9-98\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many pages does the edition with a volume # smaller than 8 and an ISBM of 1-40122-892-5 have?\n\n### Context:\nCREATE TABLE table_name_30 (pages INTEGER, vol__number VARCHAR, isbn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pages) FROM table_name_30 WHERE vol__number < 8 AND isbn = \"1-40122-892-5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total attendance at rugby park?\n\n### Context:\nCREATE TABLE table_26980923_2 (total VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_26980923_2 WHERE stadium = \"Rugby Park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat song has 24 votes?\n\n### Context:\nCREATE TABLE table_19763199_3 (song VARCHAR, total_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_19763199_3 WHERE total_votes = 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the position for delaware\n\n### Context:\nCREATE TABLE table_2508633_6 (position VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2508633_6 WHERE college = \"Delaware\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nationality if the appearance is 29?\n\n### Context:\nCREATE TABLE table_24565004_8 (nationality\u00b2 VARCHAR, appearances\u00b9 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality\u00b2 FROM table_24565004_8 WHERE appearances\u00b9 = 29"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Inchicore Class has a GSWR Class smaller than 268, and a Type of 0-4-2t?\n\n### Context:\nCREATE TABLE table_name_60 (inchicore_class VARCHAR, gswr_class VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT inchicore_class FROM table_name_60 WHERE gswr_class < 268 AND type = \"0-4-2t\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's the player for the New York Rangers?\n\n### Context:\nCREATE TABLE table_1213511_2 (player VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_1213511_2 WHERE nhl_team = \"New York Rangers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of goals scored against clubs that have played more than 42 times?\n\n### Context:\nCREATE TABLE table_name_68 (goals_against VARCHAR, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich model number does bombardier manufacture?\n\n### Context:\nCREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_no FROM table_name_28 WHERE manufacturer = \"bombardier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?\n\n### Context:\nCREATE TABLE table_name_7 (laps VARCHAR, constructor VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_name_7 WHERE constructor = \"renault\" AND driver = \"fernando alonso\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the Ivy League conference tournament?\n\n### Context:\nCREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = \"Ivy League\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Season has an Away of 1\u20132?\n\n### Context:\nCREATE TABLE table_name_94 (season VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_94 WHERE away = \"1\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat martin is on july 8\u20139, 2008?\n\n### Context:\nCREATE TABLE table_name_36 (martin VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT martin FROM table_name_36 WHERE date = \"july 8\u20139, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Venue of junction oval?\n\n### Context:\nCREATE TABLE table_name_39 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_39 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\ndisplay the employee name ( first name and last name ) and hire date for all employees in the same department as Clara.\n\n### Context:\nCREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = \"Clara\")"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many entries are in barony when the townland is derrigra?\n\n### Context:\nCREATE TABLE table_30121075_1 (barony VARCHAR, townland VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(barony) FROM table_30121075_1 WHERE townland = \"Derrigra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of game 35?\n\n### Context:\nCREATE TABLE table_17102076_7 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_17102076_7 WHERE game = 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat theme has a mintage of 3527?\n\n### Context:\nCREATE TABLE table_name_91 (theme VARCHAR, mintage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT theme FROM table_name_91 WHERE mintage = \"3527\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was anne of lorraine born?\n\n### Context:\nCREATE TABLE table_name_91 (birth VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT birth FROM table_name_91 WHERE name = \"anne of lorraine\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the original artist(s) when jack stamp arranged?\n\n### Context:\nCREATE TABLE table_28715942_2 (original_artist VARCHAR, arranger_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_artist FROM table_28715942_2 WHERE arranger_s_ = \"Jack Stamp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich event lasted 1 round and included an opponent of Dan Spychalski?\n\n### Context:\nCREATE TABLE table_name_36 (event VARCHAR, round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_36 WHERE round = \"1\" AND opponent = \"dan spychalski\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank has 123 as the total?\n\n### Context:\nCREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_96 WHERE total = 123"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE LOWEST MONEY WITH TO PAR LARGER THAN 26?\n\n### Context:\nCREATE TABLE table_name_1 (money___ INTEGER, to_par INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(money___) AS $__ FROM table_name_1 WHERE to_par > 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat prefix has Bromo as the group?\n\n### Context:\nCREATE TABLE table_name_78 (prefix VARCHAR, group VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prefix FROM table_name_78 WHERE group = \"bromo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue was round 20 held at?\n\n### Context:\nCREATE TABLE table_name_11 (venue VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_11 WHERE round = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did they play at lincoln financial field at 8:30 (ET) after week 14?\n\n### Context:\nCREATE TABLE table_name_88 (opponent VARCHAR, time__et_ VARCHAR, week VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_88 WHERE week > 14 AND game_site = \"lincoln financial field\" AND time__et_ = \"8:30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what circuit is there a class gts-2 race that takes place on May 27?\n\n### Context:\nCREATE TABLE table_name_68 (circuit VARCHAR, date VARCHAR, class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_68 WHERE date = \"may 27\" AND class = \"gts-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average wins in 250cc class for Bultaco with 8 points later than 1966?\n\n### Context:\nCREATE TABLE table_name_84 (wins INTEGER, points VARCHAR, year VARCHAR, class VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(wins) FROM table_name_84 WHERE class = \"250cc\" AND team = \"bultaco\" AND year > 1966 AND points = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was in 2005?\n\n### Context:\nCREATE TABLE table_name_85 (game VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_85 WHERE year = 2005"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat kind of Republican ticket has a Prohibition ticket of stephen mead wing?\n\n### Context:\nCREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = \"stephen mead wing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHich Studio analysts has a Studio host of gary tanguay in 2009-10?\n\n### Context:\nCREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT studio_analysts FROM table_name_36 WHERE studio_host = \"gary tanguay\" AND year = \"2009-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the at&t pebble beach national pro-am Tournament?\n\n### Context:\nCREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_91 WHERE tournament = \"at&t pebble beach national pro-am\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the date when the venue is junction oval?\n\n### Context:\nCREATE TABLE table_name_47 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_47 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every reason for change for the date of successors installation is March 16, 1960?\n\n### Context:\nCREATE TABLE table_2159571_1 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_change FROM table_2159571_1 WHERE date_of_successors_formal_installation = \"March 16, 1960\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most number when tournament is madrid masters\n\n### Context:\nCREATE TABLE table_1590652_4 (no INTEGER, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no) FROM table_1590652_4 WHERE tournament = \"Madrid Masters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the playoffs 1 result of season 2004-05?\n\n### Context:\nCREATE TABLE table_name_41 (playoffs_1 VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT playoffs_1 FROM table_name_41 WHERE season = \"2004-05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has a total of 8 (24)?\n\n### Context:\nCREATE TABLE table_name_8 (name VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_8 WHERE total = \"8 (24)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich episode number visited India?\n\n### Context:\nCREATE TABLE table_name_56 (episode_no VARCHAR, countries_visited VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode_no FROM table_name_56 WHERE countries_visited = \"india\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many golds have a Total of 11, and a Bronze smaller than 3?\n\n### Context:\nCREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Democrat was selected in the poll with a sample size smaller than 516 where the Republican chosen was Ron Paul?\n\n### Context:\nCREATE TABLE table_name_16 (democrat VARCHAR, sample_size VARCHAR, republican VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT democrat FROM table_name_16 WHERE sample_size < 516 AND republican = \"ron paul\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum position when points are 32 and wins are greater than 13?\n\n### Context:\nCREATE TABLE table_name_2 (position INTEGER, points VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(position) FROM table_name_2 WHERE points = 32 AND wins > 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the week number for andrew lloyd webber\n\n### Context:\nCREATE TABLE table_15796054_3 (week__number VARCHAR, theme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week__number FROM table_15796054_3 WHERE theme = \"Andrew Lloyd Webber\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Competition has an Event of 4x100 m relay and has the Time of 38.89?\n\n### Context:\nCREATE TABLE table_name_77 (competition VARCHAR, event VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_77 WHERE event = \"4x100 m relay\" AND time = \"38.89\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Tie No., when Away Team is \"Manchester United\"?\n\n### Context:\nCREATE TABLE table_name_32 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_32 WHERE away_team = \"manchester united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type is the 105/107e Block from a year prior to 1960?\n\n### Context:\nCREATE TABLE table_name_50 (type VARCHAR, block VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_50 WHERE block = \"105/107e\" AND year < 1960"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest game for a record of 32-12-3?\n\n### Context:\nCREATE TABLE table_name_48 (game INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_48 WHERE record = \"32-12-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat label uses the stereo LP for catalog scyl-934,623?\n\n### Context:\nCREATE TABLE table_name_24 (label VARCHAR, format VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_24 WHERE format = \"stereo lp\" AND catalog = \"scyl-934,623\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011?\n\n### Context:\nCREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = \"march 31\" AND super_b_capacity_reached_[_citation_needed_] = \"february 17\" AND year > 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the college where player terry moss attended?\n\n### Context:\nCREATE TABLE table_26996293_7 (college VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_26996293_7 WHERE player = \"Terry Moss\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the rank of the cinema when the number of sites is more than 62 and the circuit is cineplex entertainment?\n\n### Context:\nCREATE TABLE table_name_3 (rank INTEGER, sites VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_3 WHERE sites > 62 AND circuit = \"cineplex entertainment\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average week of a game on November 12, 1989?\n\n### Context:\nCREATE TABLE table_name_26 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_26 WHERE date = \"november 12, 1989\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of aircrafts that are associated with both an airport named \"London Heathrow\" and an airport named \"London Gatwick\"\n\n### Context:\nCREATE TABLE airport (Airport_ID VARCHAR, Airport_Name VARCHAR); CREATE TABLE aircraft (Aircraft VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Heathrow\" INTERSECT SELECT T1.Aircraft FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Airport_Name = \"London Gatwick\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?\n\n### Context:\nCREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest rank for Chris Brown with react greater than 0.244?\n\n### Context:\nCREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_44 WHERE athlete = \"chris brown\" AND react > 0.244"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the outcome for the game that was played on 07-Jun-2010?\n\n### Context:\nCREATE TABLE table_name_8 (outcome VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_8 WHERE date = \"07-jun-2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Location of the Frequency with a Callsign of DXBL?\n\n### Context:\nCREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_89 WHERE callsign = \"dxbl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the result for ursinus college\n\n### Context:\nCREATE TABLE table_21094951_1 (result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_21094951_1 WHERE opponent = \"Ursinus College\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the constructor for grid less than 20 and Laps of 6\n\n### Context:\nCREATE TABLE table_name_68 (constructor VARCHAR, grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_68 WHERE grid < 20 AND laps = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the D 46 \u221a when the D 44 \u221a is \u2190 majority?\n\n### Context:\nCREATE TABLE table_name_3 (d_46_\u221a VARCHAR, d_44_\u221a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_46_\u221a FROM table_name_3 WHERE d_44_\u221a = \"\u2190 majority\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat change caused a change of staff in March 9, 1865?\n\n### Context:\nCREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = \"March 9, 1865\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many U.S. viewers (million) are there for the episode whose Production code is 3T7051?\n\n### Context:\nCREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = \"3T7051\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich prime mover had a Model of rs-18?\n\n### Context:\nCREATE TABLE table_name_61 (prime_mover VARCHAR, model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prime_mover FROM table_name_61 WHERE model = \"rs-18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record of the game played on 2/17/1974?\n\n### Context:\nCREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_55 WHERE date = \"2/17/1974\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is two medicine formation?\n\n### Context:\nCREATE TABLE table_name_46 (location VARCHAR, unit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_46 WHERE unit = \"two medicine formation\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen interjection is the subject who are the lyrics by?\n\n### Context:\nCREATE TABLE table_191105_2 (lyrics_by VARCHAR, subject VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lyrics_by FROM table_191105_2 WHERE subject = \"interjection\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the game is listed as 2, what is the score?\n\n### Context:\nCREATE TABLE table_name_81 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_81 WHERE game = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lane has a Rank larger than 3, and a Time larger than 45.63, and a Reaction smaller than 0.28800000000000003, and an Athlete of geiner mosquera?\n\n### Context:\nCREATE TABLE table_name_60 (lane INTEGER, athlete VARCHAR, react VARCHAR, rank VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_60 WHERE rank > 3 AND time > 45.63 AND react < 0.28800000000000003 AND athlete = \"geiner mosquera\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the first episode of the season that begin on february 27, 1954?\n\n### Context:\nCREATE TABLE table_15824796_3 (title VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_15824796_3 WHERE original_air_date = \"February 27, 1954\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Team has the Player of A.J. Moye?\n\n### Context:\nCREATE TABLE table_name_81 (team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_81 WHERE player = \"a.j. moye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location for the club trophy?\n\n### Context:\nCREATE TABLE table_name_69 (location VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_69 WHERE type = \"club trophy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original title for the Korean language film?\n\n### Context:\nCREATE TABLE table_name_24 (original_title VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_title FROM table_name_24 WHERE language = \"korean\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was born in Porsgrunn?\n\n### Context:\nCREATE TABLE table_name_27 (name VARCHAR, place_of_birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_27 WHERE place_of_birth = \"porsgrunn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average silver medals a team ranked 12 with less than 2 bronze has?\n\n### Context:\nCREATE TABLE table_name_28 (silver INTEGER, rank VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_28 WHERE rank = 12 AND bronze < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the number of locations for the team known as the billikens.\n\n### Context:\nCREATE TABLE table_2419754_1 (location VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location) FROM table_2419754_1 WHERE nickname = \"Billikens\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe Brisbane airport is located in which country?\n\n### Context:\nCREATE TABLE table_name_85 (country VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_85 WHERE airport = \"brisbane airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nJack Nicklaus finished in what place?\n\n### Context:\nCREATE TABLE table_name_18 (finish VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_18 WHERE player = \"jack nicklaus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year had a total of 2 and LA matches of 0?\n\n### Context:\nCREATE TABLE table_name_35 (year VARCHAR, total VARCHAR, la_matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_35 WHERE total = \"2\" AND la_matches = \"0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich driver had a grid of 22?\n\n### Context:\nCREATE TABLE table_name_43 (driver VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_43 WHERE grid = \"22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the death is none what is the number of major hurricanes?\n\n### Context:\nCREATE TABLE table_2930244_3 (number_of_major_hurricanes VARCHAR, deaths VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(number_of_major_hurricanes) FROM table_2930244_3 WHERE deaths = \"None\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the Men's Doubles when Guo Xin won the Women's Singles?\n\n### Context:\nCREATE TABLE table_12164707_1 (mens_doubles VARCHAR, womens_singles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_doubles FROM table_12164707_1 WHERE womens_singles = \"Guo Xin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen do all the researcher role staff start to work, and when do they stop working?\n\n### Context:\nCREATE TABLE Project_Staff (date_from VARCHAR, date_to VARCHAR, role_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_from, date_to FROM Project_Staff WHERE role_code = 'researcher'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich title was directed by Joyce Bernal?\n\n### Context:\nCREATE TABLE table_name_76 (title VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_76 WHERE director = \"joyce bernal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played against Carlton as the home team?\n\n### Context:\nCREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_62 WHERE away_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the department name of the students with lowest gpa belongs to?\n\n### Context:\nCREATE TABLE student (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.dept_name FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code ORDER BY stu_gpa LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number played with 1 drawn, and less than 7 points?\n\n### Context:\nCREATE TABLE table_name_71 (played VARCHAR, drawn VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(played) FROM table_name_71 WHERE drawn = 1 AND points < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers?\n\n### Context:\nCREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_name_88 WHERE name = \"jaimie thomas\" AND round < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the number of cores for ddr3-1333 with frequencies between 2.66-2.8ghz.\n\n### Context:\nCREATE TABLE table_24018112_1 (cores_threads VARCHAR, max_memory_speed VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cores_threads FROM table_24018112_1 WHERE max_memory_speed = \"DDR3-1333\" AND frequency = \"2.66-2.8GHz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe entrepreneur Layla Bennett was featured in which episode?\n\n### Context:\nCREATE TABLE table_name_60 (episode VARCHAR, entrepreneur_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_name_60 WHERE entrepreneur_s_ = \"layla bennett\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps were driven in 2:54:23.8?\n\n### Context:\nCREATE TABLE table_name_45 (laps INTEGER, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_45 WHERE time_retired = \"2:54:23.8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total point for the year listed in 1988?\n\n### Context:\nCREATE TABLE table_name_58 (points INTEGER, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_58 WHERE year = 1988"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Block(s), when Spike is less than 341, when Weight is greater than 82, and when Name is Theodoros Baev?\n\n### Context:\nCREATE TABLE table_name_41 (block VARCHAR, name VARCHAR, spike VARCHAR, weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(block) FROM table_name_41 WHERE spike < 341 AND weight > 82 AND name = \"theodoros baev\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the transfer fee for the summer transfer involving the SCO named Crainey?\n\n### Context:\nCREATE TABLE table_name_83 (transfer_fee VARCHAR, name VARCHAR, transfer_window VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_fee FROM table_name_83 WHERE transfer_window = \"summer\" AND country = \"sco\" AND name = \"crainey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho left office on January 9, 1893\n\n### Context:\nCREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_32 WHERE left_office = \"january 9, 1893\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the team with 3:42.162 on day 2, what was the behind?\n\n### Context:\nCREATE TABLE table_name_72 (behind VARCHAR, day_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT behind FROM table_name_72 WHERE day_2 = \"3:42.162\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Comp which has a Name of smith?\n\n### Context:\nCREATE TABLE table_name_71 (comp VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT comp FROM table_name_71 WHERE name = \"smith\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the centerfold model when the issue's pictorial was kimberly bell , bunnies of the new playboy club?\n\n### Context:\nCREATE TABLE table_1566852_8 (centerfold_model VARCHAR, pictorials VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT centerfold_model FROM table_1566852_8 WHERE pictorials = \"Kimberly Bell , Bunnies of the New Playboy Club\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the hometowns of gymnasts and the corresponding number of gymnasts?\n\n### Context:\nCREATE TABLE gymnast (Gymnast_ID VARCHAR); CREATE TABLE people (Hometown VARCHAR, People_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the West Indies win the match?\n\n### Context:\nCREATE TABLE table_22384475_1 (match_date VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT match_date FROM table_22384475_1 WHERE winner = \"West Indies\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year that had the Legend of Zelda: Twilight Princess game?\n\n### Context:\nCREATE TABLE table_name_90 (year INTEGER, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_90 WHERE game = \"the legend of zelda: twilight princess\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat province in Tumbes has less than 11 districts and a UBIGEO of 2401?\n\n### Context:\nCREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province FROM table_name_9 WHERE districts < 11 AND region = \"tumbes\" AND ubigeo = 2401"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the most assists and how many did they have on October 7? \n\n### Context:\nCREATE TABLE table_27722408_2 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_27722408_2 WHERE date = \"October 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the Ford V8 with a Tyrrell 007 have?\n\n### Context:\nCREATE TABLE table_name_3 (points VARCHAR, engine VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_3 WHERE engine = \"ford v8\" AND chassis = \"tyrrell 007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the profession of the housemate from Leskovac city?\n\n### Context:\nCREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT profession FROM table_name_87 WHERE city = \"leskovac\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Joint Music Awards were there with a RTHK of 1, in a Year before 2006?\n\n### Context:\nCREATE TABLE table_name_81 (joint_music_award VARCHAR, year VARCHAR, rthk VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT joint_music_award FROM table_name_81 WHERE year < 2006 AND rthk = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the mascot when the school is warsaw?\n\n### Context:\nCREATE TABLE table_name_25 (mascot VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_name_25 WHERE school = \"warsaw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes were written only by William N. Fordes?\n\n### Context:\nCREATE TABLE table_12159115_3 (series__number VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(series__number) FROM table_12159115_3 WHERE written_by = \"William N. Fordes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the black with 24 moves in the dortmund tournament?\n\n### Context:\nCREATE TABLE table_name_56 (black VARCHAR, moves VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT black FROM table_name_56 WHERE moves = 24 AND tournament = \"dortmund\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the title is The Way Through The Woods, what is the release date?\n\n### Context:\nCREATE TABLE table_20174050_7 (release_date VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_20174050_7 WHERE title = \"The Way Through the Woods\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nationality of school/club team of barton cc (ks)?\n\n### Context:\nCREATE TABLE table_name_65 (nationality VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_65 WHERE school_club_team = \"barton cc (ks)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament was on Jan 29, 2012?\n\n### Context:\nCREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_8 WHERE date = \"jan 29, 2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Competition, when Date is \"1999-08-07\"?\n\n### Context:\nCREATE TABLE table_name_13 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_13 WHERE date = \"1999-08-07\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich record has a score of 7\u20136 (12)?\n\n### Context:\nCREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_77 WHERE score = \"7\u20136 (12)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game that had a loss of Saarloos (7-7)?\n\n### Context:\nCREATE TABLE table_name_7 (opponent VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_7 WHERE loss = \"saarloos (7-7)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the attendance for august 29?\n\n### Context:\nCREATE TABLE table_name_9 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_9 WHERE date = \"august 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nEmerson has what transfer window?\n\n### Context:\nCREATE TABLE table_name_90 (transfer_window VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_window FROM table_name_90 WHERE name = \"emerson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat fuel system was used in 1960-62?\n\n### Context:\nCREATE TABLE table_name_95 (fuel_system VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fuel_system FROM table_name_95 WHERE years = \"1960-62\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average silver with total less than 1\n\n### Context:\nCREATE TABLE table_name_5 (silver INTEGER, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_5 WHERE total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games have the New York Islanders as an opponent before February 7?\n\n### Context:\nCREATE TABLE table_name_63 (game INTEGER, opponent VARCHAR, february VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(game) FROM table_name_63 WHERE opponent = \"new york islanders\" AND february < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the location attendance at&t center 18,797, and a game earlier than 57?\n\n### Context:\nCREATE TABLE table_name_24 (date VARCHAR, location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_24 WHERE location_attendance = \"at&t center 18,797\" AND game < 57"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n what's the\u00a0record\u00a0where\u00a0result\u00a0is l 24-10\n\n### Context:\nCREATE TABLE table_11406866_2 (record VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_11406866_2 WHERE result = \"L 24-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent with score of 1\u20136, 6\u20134, 6\u20134\n\n### Context:\nCREATE TABLE table_name_7 (opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_7 WHERE score = \"1\u20136, 6\u20134, 6\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the numbers for the order number 713096-713119?\n\n### Context:\nCREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT numbers FROM table_2351952_1 WHERE order_number = \"713096-713119\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho constructed the car that retired due to brakes with a grid larger than 17?\n\n### Context:\nCREATE TABLE table_name_58 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_58 WHERE grid > 17 AND time_retired = \"brakes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country came in third when there were 13 teams in 1996?\n\n### Context:\nCREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third FROM table_name_25 WHERE teams = 13 AND season = 1996"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Cyrillic name for Novi Vladimirovac? \n\n### Context:\nCREATE TABLE table_2562572_56 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cyrillic_name_other_names FROM table_2562572_56 WHERE settlement = \"Novi Vladimirovac\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average pick number of Pennsylvania?\n\n### Context:\nCREATE TABLE table_name_97 (pick INTEGER, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_97 WHERE school_club_team = \"pennsylvania\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many conversions did Severo Koroduadua Waqanibau have when he has 0 pens?\n\n### Context:\nCREATE TABLE table_name_49 (conv VARCHAR, pens VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conv FROM table_name_49 WHERE pens = \"0\" AND player = \"severo koroduadua waqanibau\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of events when the tournament was U.S. Open and the Top-25 was less than 1?\n\n### Context:\nCREATE TABLE table_name_47 (events INTEGER, tournament VARCHAR, top_25 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(events) FROM table_name_47 WHERE tournament = \"u.s. open\" AND top_25 < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich home team plays at Punt Road Oval?\n\n### Context:\nCREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_40 WHERE venue = \"punt road oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?\n\n### Context:\nCREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sub_parish__sokn_ FROM table_name_30 WHERE year_built = \"1957\" AND location_of_the_church = \"stavang\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the name of the player that played position 3b?\n\n### Context:\nCREATE TABLE table_name_54 (name VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_54 WHERE position = \"3b\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAfter 1983, what was the Position in Seoul, South Korea?\n\n### Context:\nCREATE TABLE table_name_92 (position VARCHAR, year VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_92 WHERE year > 1983 AND venue = \"seoul, south korea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the results in the election where Albert Wynn was the incumbent? \n\n### Context:\nCREATE TABLE table_1341423_20 (results VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT results FROM table_1341423_20 WHERE incumbent = \"Albert Wynn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow large was the total when the E Score was greater than 9.35 and T Score was less than 4?\n\n### Context:\nCREATE TABLE table_name_35 (total INTEGER, e_score VARCHAR, t_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_name_35 WHERE e_score > 9.35 AND t_score < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Day & Age rank in the Rolling Stone in 2008?\n\n### Context:\nCREATE TABLE table_name_60 (rank INTEGER, publication VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_60 WHERE publication = \"rolling stone\" AND year = 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is 2004 when the tournament is paris masters?\n\n### Context:\nCREATE TABLE table_name_49 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2004 FROM table_name_49 WHERE tournament = \"paris masters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is The Author of zhou clarke zhang?\n\n### Context:\nCREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_56 WHERE authors = \"zhou clarke zhang\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a CFL Team of montreal alouettes (via hamilton via winnipeg)?\n\n### Context:\nCREATE TABLE table_name_23 (player VARCHAR, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_23 WHERE cfl_team = \"montreal alouettes (via hamilton via winnipeg)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the altitude of the event on 1962-07-09?\n\n### Context:\nCREATE TABLE table_148578_1 (altitude__km_ VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT altitude__km_ FROM table_148578_1 WHERE date = \"1962-07-09\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich round was 2:30?\n\n### Context:\nCREATE TABLE table_name_45 (round VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_45 WHERE time = \"2:30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of bronze for the United States with more than 1 silver?\n\n### Context:\nCREATE TABLE table_name_13 (bronze INTEGER, nation VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_13 WHERE nation = \"united states\" AND silver > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?\n\n### Context:\nCREATE TABLE table_name_96 (release_date VARCHAR, sspec_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_96 WHERE sspec_number = \"sl5xl, sl657, sl6by, sl6jp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen deland is the fcsl team and 2008 is the year played who is the mlb team?\n\n### Context:\nCREATE TABLE table_18373863_2 (mlb_team VARCHAR, years_played VARCHAR, fcsl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mlb_team FROM table_18373863_2 WHERE years_played = \"2008\" AND fcsl_team = \"DeLand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much is the population density with a GDP at $188,112?\n\n### Context:\nCREATE TABLE table_name_31 (population_density__per_km\u00b2_ VARCHAR, gdp__ppp__$m_usd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population_density__per_km\u00b2_ FROM table_name_31 WHERE gdp__ppp__$m_usd = \"$188,112\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was Jamboree made?\n\n### Context:\nCREATE TABLE table_name_26 (year VARCHAR, movie_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_26 WHERE movie_title = \"jamboree\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Years in Senate has a Years in Assembly of 2010\u2013present, and toni atkins?\n\n### Context:\nCREATE TABLE table_name_23 (years_in_senate VARCHAR, years_in_assembly VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_in_senate FROM table_name_23 WHERE years_in_assembly = \"2010\u2013present\" AND name = \"toni atkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest loss with points less than 7?\n\n### Context:\nCREATE TABLE table_name_16 (lost INTEGER, points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lost) FROM table_name_16 WHERE points < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of films directy and written by john callaghan?\n\n### Context:\nCREATE TABLE table_27547668_4 (directed_by VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(directed_by) FROM table_27547668_4 WHERE written_by = \"John Callaghan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for the Toscane Horse in the freestyle test?\n\n### Context:\nCREATE TABLE table_name_60 (result VARCHAR, horse VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_60 WHERE horse = \"toscane\" AND event = \"freestyle test\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year(s) were the CLASS T14 trains withdrawn from service?\n\n### Context:\nCREATE TABLE table_name_86 (year_s__withdrawn VARCHAR, class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__withdrawn FROM table_name_86 WHERE class = \"t14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Outcome of the game with a Score of 6\u20134, 6\u20134?\n\n### Context:\nCREATE TABLE table_name_45 (outcome VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_45 WHERE score = \"6\u20134, 6\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school had an enrollment in 2005 of 69?\n\n### Context:\nCREATE TABLE table_2076490_1 (school VARCHAR, enrollment__2005_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_2076490_1 WHERE enrollment__2005_ = \"69\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the deputy in 1992\u201393?\n\n### Context:\nCREATE TABLE table_name_41 (deputy VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT deputy FROM table_name_41 WHERE year = \"1992\u201393\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the reports where Paul Tracy had the fastest lap?\n\n### Context:\nCREATE TABLE table_11056278_3 (report VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_11056278_3 WHERE fastest_lap = \"Paul Tracy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game in week 3?\n\n### Context:\nCREATE TABLE table_21761882_4 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_21761882_4 WHERE week = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the total amount of Goals Conceded when the Points are less than 26, and when the value for Played is less than 18?\n\n### Context:\nCREATE TABLE table_name_86 (goals_conceded INTEGER, points VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(goals_conceded) FROM table_name_86 WHERE points < 26 AND played < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the region for the date November 18, 2002?\n\n### Context:\nCREATE TABLE table_name_76 (region VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_76 WHERE date = \"november 18, 2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the new adherents per year for buddhism\n\n### Context:\nCREATE TABLE table_28137918_5 (new_adherents_per_year VARCHAR, religion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT new_adherents_per_year FROM table_28137918_5 WHERE religion = \"Buddhism\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Games\u2191 is the lowest one that has a Position of wlb?\n\n### Context:\nCREATE TABLE table_name_88 (games INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(games) AS \u2191 FROM table_name_88 WHERE position = \"wlb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich record has an attendance larger than 28,459?\n\n### Context:\nCREATE TABLE table_name_43 (record VARCHAR, attendance INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_43 WHERE attendance > 28 OFFSET 459"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total enrollment of public schools located in Buffalo, New York that were founded after 1846?\n\n### Context:\nCREATE TABLE table_name_62 (enrollment INTEGER, founded VARCHAR, location VARCHAR, affiliation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(enrollment) FROM table_name_62 WHERE location = \"buffalo, new york\" AND affiliation = \"public\" AND founded > 1846"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Wins with a Top-10 that is larger than 9?\n\n### Context:\nCREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the tyre when the entrant is sa alfa romeo and the driver is luigi fagioli?\n\n### Context:\nCREATE TABLE table_name_87 (tyre VARCHAR, entrant VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_87 WHERE entrant = \"sa alfa romeo\" AND driver = \"luigi fagioli\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the height of representative #6?\n\n### Context:\nCREATE TABLE table_28062822_3 (height VARCHAR, represent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_28062822_3 WHERE represent = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes had their first air date on March 6, 2008?\n\n### Context:\nCREATE TABLE table_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = \"March 6, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Nationality has a Position of right wing, with a #20 pick?\n\n### Context:\nCREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_79 WHERE position = \"right wing\" AND pick__number = \"20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nChurai has what as the fewest number of electorates?\n\n### Context:\nCREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = \"churai\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the BSU head coach of the tournament after 1994 with louisville as the opponent?\n\n### Context:\nCREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bsu_head_coach FROM table_name_76 WHERE opponent = \"louisville\" AND year > 1994"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat location did the episode that aired originally on August 26, 2009 take place at?\n\n### Context:\nCREATE TABLE table_24798489_2 (location VARCHAR, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_24798489_2 WHERE original_airdate = \"August 26, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of seasons completed of the team with less than 1 division titles, 0 playoff appearances, and more than 0 finals appearances?\n\n### Context:\nCREATE TABLE table_name_97 (seasons_completed INTEGER, finals_appearances VARCHAR, division_titles VARCHAR, playoff_appearances VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(seasons_completed) FROM table_name_97 WHERE division_titles < 1 AND playoff_appearances = 0 AND finals_appearances > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Name of the power station in the Field of Mokai?\n\n### Context:\nCREATE TABLE table_name_22 (name VARCHAR, field VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_22 WHERE field = \"mokai\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen galaxy angel aa is the title what was the series?\n\n### Context:\nCREATE TABLE table_1714685_1 (series VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_1714685_1 WHERE title = \"Galaxy Angel AA\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has 50 supermarkets?\n\n### Context:\nCREATE TABLE table_name_19 (country VARCHAR, supermarkets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_19 WHERE supermarkets = \"50\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Player has a Place of t10, a Country of united states, and a Score of 67-73=140?\n\n### Context:\nCREATE TABLE table_name_54 (player VARCHAR, place VARCHAR, country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_54 WHERE place = \"t10\" AND country = \"united states\" AND score = 67 - 73 = 140"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the constructor for divina galica rounds of 1-2\n\n### Context:\nCREATE TABLE table_name_54 (constructor VARCHAR, rounds VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_54 WHERE rounds = \"1-2\" AND driver = \"divina galica\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names and descriptions of the products that are of 'Cutlery' type and have daily hire cost lower than 20?\n\n### Context:\nCREATE TABLE products_for_hire (product_name VARCHAR, product_description VARCHAR, product_type_code VARCHAR, daily_hire_cost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT product_name, product_description FROM products_for_hire WHERE product_type_code = 'Cutlery' AND daily_hire_cost < 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12?\n\n### Context:\nCREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich vocal type is the most frequently appearring type?\n\n### Context:\nCREATE TABLE vocals (TYPE VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT TYPE FROM vocals GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface?\n\n### Context:\nCREATE TABLE table_22597626_2 (surface VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_22597626_2 WHERE partner = \"Fleming\" AND opponents_in_the_final = \"Hewitt McMillan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which play was the points 271?\n\n### Context:\nCREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_name_74 WHERE points_against = \"271\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen has Score of 4\u20135, and a Record of 21\u201321\u20133?\n\n### Context:\nCREATE TABLE table_name_94 (date VARCHAR, score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_94 WHERE score = \"4\u20135\" AND record = \"21\u201321\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of stations for 15 minutes travel time\n\n### Context:\nCREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = \"15 minutes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest guard picked?\n\n### Context:\nCREATE TABLE table_name_50 (pick INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_50 WHERE position = \"guard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the year of the season that was 12?\n\n### Context:\nCREATE TABLE table_10120207_8 (tv_season VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tv_season FROM table_10120207_8 WHERE season = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Capacity in use with an Annual change that is 21.8%?\n\n### Context:\nCREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capacity_in_use FROM table_name_31 WHERE annual_change = \"21.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat traditional Chinese name would the Rock Records release Grown up Overnight be given?\n\n### Context:\nCREATE TABLE table_name_54 (chinese__traditional_ VARCHAR, label VARCHAR, english_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chinese__traditional_ FROM table_name_54 WHERE label = \"rock records\" AND english_title = \"grown up overnight\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the round of the new york jets NFL club, which has a pick less than 166?\n\n### Context:\nCREATE TABLE table_name_60 (round INTEGER, nfl_club VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(round) FROM table_name_60 WHERE nfl_club = \"new york jets\" AND pick < 166"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player ranks higher than 9?\n\n### Context:\nCREATE TABLE table_name_11 (player VARCHAR, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_11 WHERE rank > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Match has a Competition of Group Stage on 2000-09-17?\n\n### Context:\nCREATE TABLE table_name_66 (match VARCHAR, competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT match FROM table_name_66 WHERE competition = \"group stage\" AND date = \"2000-09-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the listed population from the 2010 census of West Bogor?\n\n### Context:\nCREATE TABLE table_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(population_at_2010_census) FROM table_1104312_5 WHERE english_name = \"West Bogor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points have Touchdowns larger than 0, and an Extra points smaller than 0?\n\n### Context:\nCREATE TABLE table_name_70 (points INTEGER, touchdowns VARCHAR, extra_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_70 WHERE touchdowns > 0 AND extra_points < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game played when the opponent was Oklahoma City, and what was the attendance?\n\n### Context:\nCREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_9 WHERE team = \"oklahoma city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich To par has a Player of tom watson?\n\n### Context:\nCREATE TABLE table_name_77 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_77 WHERE player = \"tom watson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the vessel operator canadian coast guard?\n\n### Context:\nCREATE TABLE table_26168687_3 (no_in_series VARCHAR, vessel_operator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_series) FROM table_26168687_3 WHERE vessel_operator = \"Canadian Coast Guard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the contstructor of the car having a grid of 20?\n\n### Context:\nCREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_66 WHERE grid = \"20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat T20 match was played in 1979?\n\n### Context:\nCREATE TABLE table_name_33 (t20_matches VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t20_matches FROM table_name_33 WHERE year = \"1979\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?\n\n### Context:\nCREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = \"30.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of gold values that have bronze values over 0 and totals under 2?\n\n### Context:\nCREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the media debut for the asian black bear?\n\n### Context:\nCREATE TABLE table_26615633_3 (media_debut VARCHAR, species VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT media_debut FROM table_26615633_3 WHERE species = \"Asian black bear\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the opponent when the score is 7\u20135, 7\u20136 (8\u20136)?\n\n### Context:\nCREATE TABLE table_name_86 (opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_86 WHERE score = \"7\u20135, 7\u20136 (8\u20136)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many items withdrawn had numbers over 5?\n\n### Context:\nCREATE TABLE table_name_93 (withdrawn VARCHAR, number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(withdrawn) FROM table_name_93 WHERE number > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the full amount of Total Cargo (in Metric Tonnes) where the Code (IATA/ICAO) is pvg/zspd, and the rank is less than 3?\n\n### Context:\nCREATE TABLE table_name_13 (total_cargo__metric_tonnes_ INTEGER, code__iata_icao_ VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total_cargo__metric_tonnes_) FROM table_name_13 WHERE code__iata_icao_ = \"pvg/zspd\" AND rank < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of a location in Nigeria?\n\n### Context:\nCREATE TABLE table_name_28 (name VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_28 WHERE location = \"nigeria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of Tries for Nathan McAvoy?\n\n### Context:\nCREATE TABLE table_name_60 (tries INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(tries) FROM table_name_60 WHERE player = \"nathan mcavoy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the area president when the area name is south america south\n\n### Context:\nCREATE TABLE table_name_44 (area_president__quorum_ VARCHAR, area_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area_president__quorum_ FROM table_name_44 WHERE area_name = \"south america south\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did Limerick play in the All-Ireland Final game?\n\n### Context:\nCREATE TABLE table_name_38 (date VARCHAR, opposition VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_38 WHERE opposition = \"limerick\" AND game = \"all-ireland final\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the cities whose population is between 160000 and 900000?\n\n### Context:\nCREATE TABLE city (name VARCHAR, Population INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT name FROM city WHERE Population BETWEEN 160000 AND 900000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank has a Country of costa rica, and a Losing Semi- finalist larger than 1?\n\n### Context:\nCREATE TABLE table_name_78 (rank INTEGER, country VARCHAR, losing_semi__finalist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_78 WHERE country = \"costa rica\" AND losing_semi__finalist > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Chinese name of the player in Index F10?\n\n### Context:\nCREATE TABLE table_name_73 (Chinese VARCHAR, index VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Chinese AS name FROM table_name_73 WHERE index = \"f10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest height with a prominence of 2,349?\n\n### Context:\nCREATE TABLE table_name_26 (height__m_ INTEGER, prominence__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(height__m_) FROM table_name_26 WHERE prominence__m_ = 2 OFFSET 349"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2?\n\n### Context:\nCREATE TABLE table_name_62 (total VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_62 WHERE set_4 = \"na\" AND score = \"3-0\" AND set_2 = \"26-24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the private/non-sectarian school founded?\n\n### Context:\nCREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT founded FROM table_1971074_1 WHERE type = \"Private/Non-sectarian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every English title for the result of nominee?\n\n### Context:\nCREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english_title FROM table_22128871_1 WHERE result = \"Nominee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich county had a 3.6% unemployment rate?\n\n### Context:\nCREATE TABLE table_22815568_2 (county VARCHAR, unemployment_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_22815568_2 WHERE unemployment_rate = \"3.6%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Home with a Time that is 12:00?\n\n### Context:\nCREATE TABLE table_name_34 (home VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_34 WHERE time = \"12:00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many areas (km 2) have 151511 as the census 2006 population?\n\n### Context:\nCREATE TABLE table_1966992_1 (area__km_2__ VARCHAR, census_2006_population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(area__km_2__) FROM table_1966992_1 WHERE census_2006_population = 151511"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average number of seasons for Prva HNL of 17\n\n### Context:\nCREATE TABLE table_name_65 (number_of_seasons_in_top_division INTEGER, number_of_seasons_in_prva_hnl VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(number_of_seasons_in_top_division) FROM table_name_65 WHERE number_of_seasons_in_prva_hnl = 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party's candidate is Grech Louis Grech?\n\n### Context:\nCREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_36 WHERE candidate = \"grech louis grech\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of appointment for the manager of the 23rd team?\n\n### Context:\nCREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, position_in_table VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_18795125_6 WHERE position_in_table = \"23rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition was held in Arles, France?\n\n### Context:\nCREATE TABLE table_name_87 (competition VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_87 WHERE venue = \"arles, france\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen westcott is in division one how many leagues are in division 5?\n\n### Context:\nCREATE TABLE table_24575253_4 (division_five VARCHAR, division_one VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(division_five) FROM table_24575253_4 WHERE division_one = \"Westcott\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Points have a Score of 3\u20130?\n\n### Context:\nCREATE TABLE table_name_80 (points VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_80 WHERE score = \"3\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average ERP W when the call sign is whre?\n\n### Context:\nCREATE TABLE table_name_15 (erp_w INTEGER, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(erp_w) FROM table_name_15 WHERE call_sign = \"whre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points have a difference of 23, with a drawn less than 5?\n\n### Context:\nCREATE TABLE table_name_62 (points VARCHAR, difference VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_62 WHERE difference = \"23\" AND drawn < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest played number when the difference is - 8 and position is more than 8?\n\n### Context:\nCREATE TABLE table_name_42 (played INTEGER, difference VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(played) FROM table_name_42 WHERE difference = \"- 8\" AND position > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189?\n\n### Context:\nCREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = \"glenila\" AND latitude > 48.832189"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of all customers whose name contains \"Alex\".\n\n### Context:\nCREATE TABLE customers (customer_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT customer_name FROM customers WHERE customer_name LIKE \"%Alex%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n What is the school of the player from Lake Charles, LA?\n\n### Context:\nCREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_11677100_18 WHERE hometown = \"Lake Charles, LA\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what circuit was the GTU winning team #59 Brumos Porsche - Audi in round 5? \n\n### Context:\nCREATE TABLE table_13642023_2 (circuit VARCHAR, rnd VARCHAR, gtu_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_13642023_2 WHERE rnd = 5 AND gtu_winning_team = \"#59 Brumos Porsche - Audi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what surface was the Australian Open (6) played on?\n\n### Context:\nCREATE TABLE table_29163303_1 (surface VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_29163303_1 WHERE championship = \"Australian Open (6)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich away team has a playoff record of (0-0) and played against Sioux City Bandits?\n\n### Context:\nCREATE TABLE table_name_46 (away VARCHAR, plyff VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_46 WHERE plyff = \"(0-0)\" AND opponent = \"sioux city bandits\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total population and maximum GNP in Asia?\n\n### Context:\nCREATE TABLE country (Population INTEGER, GNP INTEGER, Continent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(Population), MAX(GNP) FROM country WHERE Continent = \"Asia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the album recorded at funhouse studios with a time of 3:27?\n\n### Context:\nCREATE TABLE table_name_64 (writer_s_ VARCHAR, recorded_at VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT writer_s_ FROM table_name_64 WHERE recorded_at = \"funhouse studios\" AND time = \"3:27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the performance liaisons for the dramaturge Chrisena Ricci?\n\n### Context:\nCREATE TABLE table_22410780_1 (performance_liaison VARCHAR, dramaturge VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performance_liaison FROM table_22410780_1 WHERE dramaturge = \"Chrisena Ricci\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the length and duration of the race on April 19?\n\n### Context:\nCREATE TABLE table_name_85 (length_duration VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT length_duration FROM table_name_85 WHERE date = \"april 19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the venue for the game on 18/03/2006?\n\n### Context:\nCREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_28 WHERE date = \"18/03/2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is High Assists, when Team is \"@ Milwaukee\"?\n\n### Context:\nCREATE TABLE table_name_83 (high_assists VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_83 WHERE team = \"@ milwaukee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the director of the film in Italian?\n\n### Context:\nCREATE TABLE table_name_92 (director VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_92 WHERE language = \"italian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Location of richfield coliseum?\n\n### Context:\nCREATE TABLE table_name_96 (score VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_96 WHERE location = \"richfield coliseum\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the total number of scientists.\n\n### Context:\nCREATE TABLE scientists (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM scientists"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the Chicago Black Hawks Home game with the Visiting Vancouver Canucks on November 17?\n\n### Context:\nCREATE TABLE table_name_30 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_30 WHERE home = \"chicago black hawks\" AND visitor = \"vancouver canucks\" AND date = \"november 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Grid has a Time/Retired of clutch?\n\n### Context:\nCREATE TABLE table_name_2 (grid INTEGER, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_2 WHERE time_retired = \"clutch\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Team has a Previous team of san diego rockets, and a Position of f?\n\n### Context:\nCREATE TABLE table_name_71 (team VARCHAR, previous_team VARCHAR, pos VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_71 WHERE previous_team = \"san diego rockets\" AND pos = \"f\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many counties are there?\n\n### Context:\nCREATE TABLE county_public_safety (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM county_public_safety"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the after for the player kevin streelman?\n\n### Context:\nCREATE TABLE table_28498999_3 (after VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT after FROM table_28498999_3 WHERE player = \"Kevin Streelman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat prize did good old boy win in 2002 at the camra london and south east regional competition?\n\n### Context:\nCREATE TABLE table_name_31 (prize VARCHAR, beer_name VARCHAR, year VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prize FROM table_name_31 WHERE year > 2002 AND competition = \"camra london and south east regional competition\" AND beer_name = \"good old boy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average point total for the nets in games before game 9 where the opponents scored less than 95?\n\n### Context:\nCREATE TABLE table_name_62 (nets_points INTEGER, game VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(nets_points) FROM table_name_62 WHERE game < 9 AND opponents < 95"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 5 is the game who has the highest amount of points?\n\n### Context:\nCREATE TABLE table_22883210_11 (high_points VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_22883210_11 WHERE game = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue has 2:04.22 notes?\n\n### Context:\nCREATE TABLE table_name_19 (venue VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_19 WHERE notes = \"2:04.22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf there is a VCRT of 7.62mm (0.3in) fn mag 60-20 machine gun, what is the VCTP of that?\n\n### Context:\nCREATE TABLE table_name_86 (vctp VARCHAR, vcrt VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vctp FROM table_name_86 WHERE vcrt = \"7.62mm (0.3in) fn mag 60-20 machine gun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most female life expectancy for djibouti\n\n### Context:\nCREATE TABLE table_2701625_1 (female_life_expectancy INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(female_life_expectancy) FROM table_2701625_1 WHERE country = \"Djibouti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich model number has an order part number of TMSMT37BQX5LD?\n\n### Context:\nCREATE TABLE table_name_57 (model_number VARCHAR, order_part_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_number FROM table_name_57 WHERE order_part_number = \"tmsmt37bqx5ld\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of population where census designated place is westmont?\n\n### Context:\nCREATE TABLE table_22916979_2 (population__2000_census_ VARCHAR, census_designated_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population__2000_census_) FROM table_22916979_2 WHERE census_designated_place = \"Westmont\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich institutions primary conference is merged into the university of Massachusetts boston? \n\n### Context:\nCREATE TABLE table_261927_2 (institution VARCHAR, primary_conference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT institution FROM table_261927_2 WHERE primary_conference = \"Merged into the University of Massachusetts Boston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest effic with an avg/g of 91.9?\n\n### Context:\nCREATE TABLE table_name_68 (effic INTEGER, avg_g VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(effic) FROM table_name_68 WHERE avg_g = 91.9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is the athlete ekaterina karsten from with a rank less than 4?\n\n### Context:\nCREATE TABLE table_name_85 (country VARCHAR, rank VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_85 WHERE rank < 4 AND athlete = \"ekaterina karsten\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich name has a Roll larger than 297, and Years of 7\u201313?\n\n### Context:\nCREATE TABLE table_name_1 (name VARCHAR, roll VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_1 WHERE roll > 297 AND years = \"7\u201313\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the high points for pepsi center 18,611\n\n### Context:\nCREATE TABLE table_17355408_5 (high_points VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_17355408_5 WHERE location_attendance = \"Pepsi Center 18,611\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the stellar age for f3v\n\n### Context:\nCREATE TABLE table_2296507_1 (stellar_age__myr_ VARCHAR, stellar_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stellar_age__myr_ FROM table_2296507_1 WHERE stellar_classification = \"F3V\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total overall in round 1, in which Charles White was a player?\n\n### Context:\nCREATE TABLE table_name_2 (overall INTEGER, player VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(overall) FROM table_name_2 WHERE player = \"charles white\" AND round < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the ids of the employees who does not work in those departments where some employees works whose manager id within the range 100 and 200.\n\n### Context:\nCREATE TABLE departments (department_id VARCHAR, manager_id INTEGER); CREATE TABLE employees (department_id VARCHAR, manager_id INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT * FROM employees WHERE NOT department_id IN (SELECT department_id FROM departments WHERE manager_id BETWEEN 100 AND 200)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Livery has a Description of 20t tanker, with a date later than 1941?\n\n### Context:\nCREATE TABLE table_name_32 (livery VARCHAR, description VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT livery FROM table_name_32 WHERE description = \"20t tanker\" AND date > 1941"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for 04 september 2006?\n\n### Context:\nCREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_21 WHERE date = \"04 september 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the interaction type of the enzyme named 'ALA synthase' and the medicine named 'Aripiprazole'?\n\n### Context:\nCREATE TABLE enzyme (id VARCHAR, name VARCHAR); CREATE TABLE medicine (id VARCHAR, name VARCHAR); CREATE TABLE medicine_enzyme_interaction (interaction_type VARCHAR, medicine_id VARCHAR, enzyme_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.interaction_type FROM medicine_enzyme_interaction AS T1 JOIN medicine AS T2 ON T1.medicine_id = T2.id JOIN enzyme AS T3 ON T1.enzyme_id = T3.id WHERE T3.name = 'ALA synthase' AND T2.name = 'Aripiprazole'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Pick # with an Overall of 19?\n\n### Context:\nCREATE TABLE table_name_22 (pick__number INTEGER, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_name_22 WHERE overall = 19"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is Part 2, when Part 4 is on December 9, 2007?\n\n### Context:\nCREATE TABLE table_name_44 (part_2 VARCHAR, part_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT part_2 FROM table_name_44 WHERE part_4 = \"december 9, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the game with the chicago black hawks as the visitor and a 3-1 record?\n\n### Context:\nCREATE TABLE table_name_45 (score VARCHAR, visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_45 WHERE visitor = \"chicago black hawks\" AND record = \"3-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Country with the T3 Place Player with a Score of 71-76-71=218?\n\n### Context:\nCREATE TABLE table_name_99 (country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_99 WHERE place = \"t3\" AND score = 71 - 76 - 71 = 218"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of silvers for nations with over 1 bronze medal?\n\n### Context:\nCREATE TABLE table_name_62 (silver INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_62 WHERE bronze > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE ROUND FROM MICHIGAN COLLEGE, AND OVERALL LARGER THAN 37?\n\n### Context:\nCREATE TABLE table_name_55 (round INTEGER, college VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(round) FROM table_name_55 WHERE college = \"michigan\" AND overall > 37"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the runner-up (a) if K. P. Ramalingam won the election?\n\n### Context:\nCREATE TABLE table_22752982_5 (runner_up_a VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_up_a FROM table_22752982_5 WHERE winner = \"K. P. Ramalingam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was Stauffer Chemical Company (Lemoyne Plant), which was listed on 09/21/1984, deleted?\n\n### Context:\nCREATE TABLE table_name_35 (deleted VARCHAR, listed VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT deleted FROM table_name_35 WHERE listed = \"09/21/1984\" AND name = \"stauffer chemical company (lemoyne plant)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the USD price for Tealeaf?\n\n### Context:\nCREATE TABLE table_name_79 (price_in_usd VARCHAR, company VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT price_in_usd FROM table_name_79 WHERE company = \"tealeaf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years have a Player name of ronnie bull?\n\n### Context:\nCREATE TABLE table_name_75 (year INTEGER, player_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_75 WHERE player_name = \"ronnie bull\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition was played on 8 June 2005?\n\n### Context:\nCREATE TABLE table_name_90 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_90 WHERE date = \"8 june 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the roll with an area of Waikaka?\n\n### Context:\nCREATE TABLE table_name_11 (roll INTEGER, area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(roll) FROM table_name_11 WHERE area = \"waikaka\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the episode name for series number 45?\n\n### Context:\nCREATE TABLE table_29960651_5 (episode VARCHAR, no_for_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_29960651_5 WHERE no_for_series = 45"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the water depth of Sedco 702, located in Nigeria?\n\n### Context:\nCREATE TABLE table_name_59 (water_depth VARCHAR, location VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT water_depth FROM table_name_59 WHERE location = \"nigeria\" AND name = \"sedco 702\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the rookie who played when Matt Vinc was defensive and Pat Maddalena was offensive?\n\n### Context:\nCREATE TABLE table_name_6 (rookie VARCHAR, defensive VARCHAR, offensive VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rookie FROM table_name_6 WHERE defensive = \"matt vinc\" AND offensive = \"pat maddalena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat educational institute does wes swinson attend\n\n### Context:\nCREATE TABLE table_2781227_10 (college_junior_club_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_2781227_10 WHERE player = \"Wes Swinson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game played when the opponent was 'at Los Angeles Rams'?\n\n### Context:\nCREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_17972193_1 WHERE opponent = \"at Los Angeles Rams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of journalists from \"England\" or \"Wales\".\n\n### Context:\nCREATE TABLE journalist (Name VARCHAR, Nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM journalist WHERE Nationality = \"England\" OR Nationality = \"Wales\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the match played in 1998?\n\n### Context:\nCREATE TABLE table_name_40 (location VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_40 WHERE year = 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the handicap when the prize money was 120s?\n\n### Context:\nCREATE TABLE table_2896329_1 (handicap VARCHAR, prize_money VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT handicap FROM table_2896329_1 WHERE prize_money = \"120s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did the team play the Detroit Lions?\n\n### Context:\nCREATE TABLE table_14984078_1 (game_site VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_site FROM table_14984078_1 WHERE opponent = \"Detroit Lions\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points were scored by Rolla Bigelow?\n\n### Context:\nCREATE TABLE table_14342480_7 (points VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_14342480_7 WHERE player = \"Rolla Bigelow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total of Mauro Camoranesi when coppa italia was 0, champions league was 1 and less than 2 serie A?\n\n### Context:\nCREATE TABLE table_name_91 (total VARCHAR, name VARCHAR, serie_a VARCHAR, coppa_italia VARCHAR, champions_league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_91 WHERE coppa_italia = 0 AND champions_league = 1 AND serie_a < 2 AND name = \"mauro camoranesi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the chassis for entrant of ecurie lutetia\n\n### Context:\nCREATE TABLE table_name_34 (chassis VARCHAR, entrant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_34 WHERE entrant = \"ecurie lutetia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?\n\n### Context:\nCREATE TABLE table_24919137_2 (date VARCHAR, ladder_position VARCHAR, opposition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_24919137_2 WHERE ladder_position = \"8th\" AND opposition = \"Hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of silver for Italy with a total less than 5?\n\n### Context:\nCREATE TABLE table_name_83 (silver INTEGER, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_83 WHERE nation = \"italy\" AND total < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many were in attendance with a loss of Prokopec (2-7)?\n\n### Context:\nCREATE TABLE table_name_21 (attendance VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_21 WHERE loss = \"prokopec (2-7)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player scored 70-72-70=212?\n\n### Context:\nCREATE TABLE table_name_35 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_35 WHERE score = 70 - 72 - 70 = 212"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Sub-Parish called that has a church located in Fresvik?\n\n### Context:\nCREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = \"fresvik\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat type was joined in 1902 5?\n\n### Context:\nCREATE TABLE table_262527_1 (type VARCHAR, joined VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_262527_1 WHERE joined = \"1902 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 55 is the tries for what is the lost?\n\n### Context:\nCREATE TABLE table_17941032_1 (lost VARCHAR, tries_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lost FROM table_17941032_1 WHERE tries_for = \"55\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for launceston\n\n### Context:\nCREATE TABLE table_name_60 (team VARCHAR, race_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_60 WHERE race_title = \"launceston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the province for Jamao Afuera?\n\n### Context:\nCREATE TABLE table_name_13 (province VARCHAR, _community VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province, _community FROM table_name_13 WHERE hometown = \"jamao afuera\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the highest Laps for grid less than 22 and riderS of ruben xaus\n\n### Context:\nCREATE TABLE table_name_40 (laps INTEGER, grid VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_40 WHERE grid < 22 AND rider = \"ruben xaus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the bronze when silver is 1, gold is 0 the rank is 11 and the total is more than 1?\n\n### Context:\nCREATE TABLE table_name_74 (bronze INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_74 WHERE silver = 1 AND gold = 0 AND rank = \"11\" AND total > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was in 2011?\n\n### Context:\nCREATE TABLE table_name_7 (game VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_7 WHERE year = 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich winning song had a debut album in progress?\n\n### Context:\nCREATE TABLE table_name_32 (winning_song VARCHAR, debut_album VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_song FROM table_name_32 WHERE debut_album = \"in progress\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the low grid total for a retired due to steering in under 15 laps?\n\n### Context:\nCREATE TABLE table_name_21 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_21 WHERE time_retired = \"steering\" AND laps < 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Laps have a Finish of 15?\n\n### Context:\nCREATE TABLE table_name_30 (laps VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_name_30 WHERE finish = \"15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game when the record was 28\u201345?\n\n### Context:\nCREATE TABLE table_name_66 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_66 WHERE record = \"28\u201345\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ICAO of Lohausen airport?\n\n### Context:\nCREATE TABLE table_name_2 (icao VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT icao FROM table_name_2 WHERE airport = \"lohausen airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the number of dances for the competition finish of 3?\n\n### Context:\nCREATE TABLE table_25557556_5 (number_of_dances INTEGER, competition_finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_dances) FROM table_25557556_5 WHERE competition_finish = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score Points, when Event is \"WC Rio De Janeiro\", and when Rank Points is \"10\"?\n\n### Context:\nCREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_points FROM table_name_12 WHERE event = \"wc rio de janeiro\" AND rank_points = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the tournament with younes el aynaoui as the opponent?\n\n### Context:\nCREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_37 WHERE opponent = \"younes el aynaoui\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the CSA/CMA Population in IA-IL?\n\n### Context:\nCREATE TABLE table_name_89 (csa_cma_2009_population INTEGER, state__province VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(csa_cma_2009_population) FROM table_name_89 WHERE state__province = \"ia-il\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of black knights points for 3 game\n\n### Context:\nCREATE TABLE table_21091145_1 (black_knights_points VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(black_knights_points) FROM table_21091145_1 WHERE game = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Points have a Record of 25\u201310\u201311, and a January larger than 28?\n\n### Context:\nCREATE TABLE table_name_21 (points VARCHAR, record VARCHAR, january VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_21 WHERE record = \"25\u201310\u201311\" AND january > 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich conference has the nickname Lions?\n\n### Context:\nCREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_conference FROM table_1973729_2 WHERE nickname = \"Lions\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Place of the Player with a To par of +3 and Score of 73-70-73=216?\n\n### Context:\nCREATE TABLE table_name_45 (place VARCHAR, to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_45 WHERE to_par = \"+3\" AND score = 73 - 70 - 73 = 216"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the school in Salem, Massachusetts located?\n\n### Context:\nCREATE TABLE table_1974545_2 (founded VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT founded FROM table_1974545_2 WHERE location = \"Salem, Massachusetts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the station that is transmitted at 20 kw and has a frequency of 48 uhf?\n\n### Context:\nCREATE TABLE table_1601792_4 (television_station VARCHAR, transmitted VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT television_station FROM table_1601792_4 WHERE transmitted = \"20 kW\" AND frequency = \"48 UHF\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city is fuhlsb\u00fcttel airport in?\n\n### Context:\nCREATE TABLE table_name_1 (city VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_1 WHERE airport = \"fuhlsb\u00fcttel airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team of lake oval's score?\n\n### Context:\nCREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_57 WHERE venue = \"lake oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Team that was played against on February 24 and a game after game 55?\n\n### Context:\nCREATE TABLE table_name_61 (team VARCHAR, game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_61 WHERE game > 55 AND date = \"february 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Manufacturer has a Time of accident and a Grid greater than 15?\n\n### Context:\nCREATE TABLE table_name_61 (manufacturer VARCHAR, time VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_name_61 WHERE time = \"accident\" AND grid > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Wins when 98 is the rank and the scoring average is more than 73.52?\n\n### Context:\nCREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_54 WHERE rank = \"98\" AND scoring_average > 73.52"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the leading scorer when the visiting team was the Trail Blazers?\n\n### Context:\nCREATE TABLE table_name_55 (leading_scorer VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leading_scorer FROM table_name_55 WHERE visitor = \"trail blazers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the decision when Chicago was the visiting team?\n\n### Context:\nCREATE TABLE table_name_85 (decision VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT decision FROM table_name_85 WHERE visitor = \"chicago\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the western title of the pinyin new ch\u0101oj\u00ed m\u01cel\u00ec\u014du xi\u014dngd\u00ec?\n\n### Context:\nCREATE TABLE table_name_92 (western_title VARCHAR, pinyin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT western_title FROM table_name_92 WHERE pinyin = \"new ch\u0101oj\u00ed m\u01cel\u00ec\u014du xi\u014dngd\u00ec\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many in the quantity section had Fokker as a manufacturer and retired later than 1999?\n\n### Context:\nCREATE TABLE table_name_68 (quantity VARCHAR, manufacturer VARCHAR, retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(quantity) FROM table_name_68 WHERE manufacturer = \"fokker\" AND retired > 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position listed for the team the Philadelphia Flyers?\n\n### Context:\nCREATE TABLE table_1213511_3 (position VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_1213511_3 WHERE nhl_team = \"Philadelphia Flyers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich home team played on January 5, 2008?\n\n### Context:\nCREATE TABLE table_name_79 (home_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_79 WHERE date = \"january 5, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the people who wrote number 67\n\n### Context:\nCREATE TABLE table_12419515_5 (written_by VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_12419515_5 WHERE series__number = 67"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team score for the team that has a home field of the Telstra Dome?\n\n### Context:\nCREATE TABLE table_name_98 (home_team VARCHAR, ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_98 WHERE ground = \"telstra dome\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the Competition with a Result of 3\u20130?\n\n### Context:\nCREATE TABLE table_name_75 (date VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_75 WHERE result = \"3\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the film, television series, or miniseries with a nomination in 2001?\n\n### Context:\nCREATE TABLE table_name_16 (film_or_television_series_or_miniseries VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film_or_television_series_or_miniseries FROM table_name_16 WHERE year = 2001"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sign has a fall of Venus?\n\n### Context:\nCREATE TABLE table_name_5 (sign VARCHAR, fall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sign FROM table_name_5 WHERE fall = \"venus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Game has a Record of 5\u20133\u20131, and an October smaller than 29?\n\n### Context:\nCREATE TABLE table_name_80 (game INTEGER, record VARCHAR, october VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(game) FROM table_name_80 WHERE record = \"5\u20133\u20131\" AND october < 29"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the format for european union\n\n### Context:\nCREATE TABLE table_name_99 (format VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_99 WHERE region = \"european union\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round has a Method of decision (unanimous), and an Event of ufc 145?\n\n### Context:\nCREATE TABLE table_name_32 (round VARCHAR, method VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_32 WHERE method = \"decision (unanimous)\" AND event = \"ufc 145\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the parties listed for Pennsylvania 8?\n\n### Context:\nCREATE TABLE table_2668401_12 (party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_2668401_12 WHERE district = \"Pennsylvania 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many districts had an depravity level of 27.7\n\n### Context:\nCREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = \"27.7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the title and director for all films.\n\n### Context:\nCREATE TABLE film (title VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title, directed_by FROM film"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date when week is 9\n\n### Context:\nCREATE TABLE table_14945881_1 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_14945881_1 WHERE week = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the time/retired for eddie irvine\n\n### Context:\nCREATE TABLE table_name_83 (time_retired VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_83 WHERE driver = \"eddie irvine\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich lane has a time less than 49.67, is from Michael Klim and less than 1 rank?\n\n### Context:\nCREATE TABLE table_name_87 (lane INTEGER, rank VARCHAR, time VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_87 WHERE time < 49.67 AND name = \"michael klim\" AND rank < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Visitor of toronto st. pats, and a Home of montreal canadiens, and a Record of 3\u20132\u20130?\n\n### Context:\nCREATE TABLE table_name_83 (score VARCHAR, record VARCHAR, visitor VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_83 WHERE visitor = \"toronto st. pats\" AND home = \"montreal canadiens\" AND record = \"3\u20132\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Location has a Design flow (LPM) smaller than 1900, and a Construction Start of 2006 june?\n\n### Context:\nCREATE TABLE table_name_40 (location VARCHAR, design_flow__lpm_ VARCHAR, construction_start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_40 WHERE design_flow__lpm_ < 1900 AND construction_start = \"2006 june\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high grid for ferrari's with 2 laps?\n\n### Context:\nCREATE TABLE table_name_45 (grid INTEGER, constructor VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(grid) FROM table_name_45 WHERE constructor = \"ferrari\" AND laps = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did they lose to on May 20?\n\n### Context:\nCREATE TABLE table_name_68 (loss VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_68 WHERE date = \"may 20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich state is frederick bamford a member of?\n\n### Context:\nCREATE TABLE table_name_24 (state VARCHAR, member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_24 WHERE member = \"frederick bamford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the 1988 world group i edition with a result of 7\u20136 (7\u20135) , 6\u20133?\n\n### Context:\nCREATE TABLE table_name_69 (date VARCHAR, edition VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_69 WHERE edition = \"1988 world group i\" AND result = \"7\u20136 (7\u20135) , 6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat event did he fight masato shiozawa?\n\n### Context:\nCREATE TABLE table_name_82 (event VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_82 WHERE opponent = \"masato shiozawa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the margin of victory for Olazabal in the German Masters?\n\n### Context:\nCREATE TABLE table_name_78 (margin_of_victory VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT margin_of_victory FROM table_name_78 WHERE tournament = \"german masters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did Newport RFC get?\n\n### Context:\nCREATE TABLE table_name_58 (points VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_58 WHERE club = \"newport rfc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Driver Kimi R\u00e4ikk\u00f6nen's number on the grid?\n\n### Context:\nCREATE TABLE table_name_83 (grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_83 WHERE driver = \"kimi r\u00e4ikk\u00f6nen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning score when there were 9 strokes advantage?\n\n### Context:\nCREATE TABLE table_name_82 (winning_score VARCHAR, margin_of_victory VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_82 WHERE margin_of_victory = \"9 strokes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many were first elected in California 7?\n\n### Context:\nCREATE TABLE table_19753079_8 (first_elected VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_19753079_8 WHERE district = \"California 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia?\n\n### Context:\nCREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_97 WHERE surface = \"clay\" AND opponent = \"pablo martin-adalia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of S No(s), when the Margin is 16 runs?\n\n### Context:\nCREATE TABLE table_name_88 (s_no VARCHAR, margin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(s_no) FROM table_name_88 WHERE margin = \"16 runs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the station where the language is tamil malay?\n\n### Context:\nCREATE TABLE table_1601792_3 (station VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT station FROM table_1601792_3 WHERE language = \"Tamil Malay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many networks are there that include the judges pete goffe-wood andrew atkinson benny masekwameng?\n\n### Context:\nCREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(network) FROM table_28190363_1 WHERE judges = \"Pete Goffe-Wood Andrew Atkinson Benny Masekwameng\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the ajc craven plate (wfa) race?\n\n### Context:\nCREATE TABLE table_name_88 (result VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_88 WHERE race = \"ajc craven plate (wfa)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of Against that Lake Wendouree had when they had more than 7 Losses?\n\n### Context:\nCREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = \"lake wendouree\" AND losses > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Number of Contestants, when Cycle is 4?\n\n### Context:\nCREATE TABLE table_name_81 (number_of_contestants VARCHAR, cycle VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number_of_contestants FROM table_name_81 WHERE cycle = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode in the series is TV broadcast s03e20?\n\n### Context:\nCREATE TABLE table_15861776_1 (no_in_series VARCHAR, tv_broadcast VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_series FROM table_15861776_1 WHERE tv_broadcast = \"S03E20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has zadar as the tournament?\n\n### Context:\nCREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_27 WHERE tournament = \"zadar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the gp/gs when the assists was 1?\n\n### Context:\nCREATE TABLE table_name_4 (gp_gs VARCHAR, assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gp_gs FROM table_name_4 WHERE assists = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is Birmingham City's outgoing manager?\n\n### Context:\nCREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outgoing_manager FROM table_name_12 WHERE team = \"birmingham city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many proteins are associated with an institution in a building with at least 20 floors?\n\n### Context:\nCREATE TABLE institution (institution_id VARCHAR, building_id VARCHAR); CREATE TABLE building (building_id VARCHAR, floors VARCHAR); CREATE TABLE protein (institution_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM institution AS T1 JOIN protein AS T2 ON T1.institution_id = T2.institution_id JOIN building AS T3 ON T3.building_id = T1.building_id WHERE T3.floors >= 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Democrat: Carl Levin, when Lead Margin is 22?\n\n### Context:\nCREATE TABLE table_name_88 (democrat VARCHAR, lead_margin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT democrat AS :_carl_levin FROM table_name_88 WHERE lead_margin = 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's the incumbent in the district first elected in 1976?\n\n### Context:\nCREATE TABLE table_1341604_19 (incumbent VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1341604_19 WHERE first_elected = 1976"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the constructor for the VII Race of Champions?\n\n### Context:\nCREATE TABLE table_name_34 (constructor VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_34 WHERE race_name = \"vii race of champions\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the nationality of player picked no. 168?\n\n### Context:\nCREATE TABLE table_2679061_9 (nationality VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_2679061_9 WHERE pick__number = 168"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent has a result of 2-0 l?\n\n### Context:\nCREATE TABLE table_name_10 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_10 WHERE result = \"2-0 l\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the manufacturer for 2011\n\n### Context:\nCREATE TABLE table_24193494_3 (manufacturer VARCHAR, order_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_24193494_3 WHERE order_year = 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich MLS Cup has another larger than 9, and a Total smaller than 72?\n\n### Context:\nCREATE TABLE table_name_43 (mls_cup INTEGER, other VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(mls_cup) FROM table_name_43 WHERE other > 9 AND total < 72"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the winning driver was jacques villeneuve what was the fastest lap driven?\n\n### Context:\nCREATE TABLE table_name_31 (fastest_lap VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_name_31 WHERE winning_driver = \"jacques villeneuve\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the finish for start of 28\n\n### Context:\nCREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_76 WHERE start = \"28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich capitals have an area of exactly 377930 square km?\n\n### Context:\nCREATE TABLE table_19605700_1 (capital VARCHAR, area_km\u00b2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capital FROM table_19605700_1 WHERE area_km\u00b2 = 377930"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich source shows Blackberry at 2.9%?\n\n### Context:\nCREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT source FROM table_11381701_3 WHERE blackberry = \"2.9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the game against manchester city when they had a league position of 2nd?\n\n### Context:\nCREATE TABLE table_name_22 (date VARCHAR, opponents VARCHAR, h___a VARCHAR, league_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_22 WHERE h___a = \"a\" AND league_position = \"2nd\" AND opponents = \"manchester city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the nickname of the students of the school founded in 1933?\n\n### Context:\nCREATE TABLE table_1973816_1 (nickname VARCHAR, founded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nickname FROM table_1973816_1 WHERE founded = 1933"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the RECNet with a Class of B and the City of License of Rouyn-Noranda?\n\n### Context:\nCREATE TABLE table_name_51 (recnet VARCHAR, class VARCHAR, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT recnet FROM table_name_51 WHERE class = \"b\" AND city_of_license = \"rouyn-noranda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Date of 13 july 2007?\n\n### Context:\nCREATE TABLE table_name_41 (player VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_41 WHERE date = \"13 july 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest W of the 0 L?\n\n### Context:\nCREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(w) FROM table_29542147_2 WHERE l = 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat earpads does the headphone with plastic contruction and was succeeded by igrado have?\n\n### Context:\nCREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT earpads FROM table_name_67 WHERE construction = \"plastic\" AND succeeded_by = \"igrado\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the ends lost for 67 pa\n\n### Context:\nCREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Ends AS lost FROM table_15333005_1 WHERE pa = 67"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the age of the friend of Zach with longest year relationship?\n\n### Context:\nCREATE TABLE PersonFriend (friend VARCHAR, name VARCHAR, year VARCHAR); CREATE TABLE PersonFriend (YEAR INTEGER, name VARCHAR); CREATE TABLE Person (age VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T2.name = 'Zach' AND T2.year = (SELECT MAX(YEAR) FROM PersonFriend WHERE name = 'Zach')"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance for the game that has a record of 1-1?\n\n### Context:\nCREATE TABLE table_name_53 (attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_53 WHERE record = \"1-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest goal during the 2006 fifa world cup qualification competition?\n\n### Context:\nCREATE TABLE table_name_45 (goal INTEGER, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goal) FROM table_name_45 WHERE competition = \"2006 fifa world cup qualification\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT kind of No Result has Wins smaller than 2, and Losses larger than 1?\n\n### Context:\nCREATE TABLE table_name_2 (no_result VARCHAR, wins VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_result FROM table_name_2 WHERE wins < 2 AND losses > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player has +2 to par?\n\n### Context:\nCREATE TABLE table_name_29 (player VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_29 WHERE to_par = \"+2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Year, when Title is \"Mnet Director's Cut\"?\n\n### Context:\nCREATE TABLE table_name_53 (year INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_53 WHERE title = \"mnet director's cut\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position did the player from the saskatchewan roughriders (via toronto) play?\n\n### Context:\nCREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_31 WHERE cfl_team = \"saskatchewan roughriders (via toronto)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when Pittsburgh was the visitor?\n\n### Context:\nCREATE TABLE table_name_42 (score VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_42 WHERE visitor = \"pittsburgh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the head coach for the team that has finke as the shirt sponsor?\n\n### Context:\nCREATE TABLE table_name_75 (head_coach VARCHAR, shirt_sponsor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT head_coach FROM table_name_75 WHERE shirt_sponsor = \"finke\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Liu Limin's time in heat 4?\n\n### Context:\nCREATE TABLE table_name_32 (time VARCHAR, heat VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_32 WHERE heat = 4 AND name = \"liu limin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total score for january 18?\n\n### Context:\nCREATE TABLE table_22883210_7 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(score) FROM table_22883210_7 WHERE date = \"January 18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of game played on 10-05-2012?\n\n### Context:\nCREATE TABLE table_name_23 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_23 WHERE date = \"10-05-2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the umbr of creators for flash of two worlds\n\n### Context:\nCREATE TABLE table_19534677_1 (creators VARCHAR, volume_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(creators) FROM table_19534677_1 WHERE volume_title = \"Flash of Two Worlds\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many votes did Wales cast when Northern England cast 6?\n\n### Context:\nCREATE TABLE table_10128185_2 (wales INTEGER, northern_england VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wales) FROM table_10128185_2 WHERE northern_england = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Winning party of 2003 that has the Constituency of aberdeen north?\n\n### Context:\nCREATE TABLE table_name_62 (winning_party_2003 VARCHAR, constituency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_party_2003 FROM table_name_62 WHERE constituency = \"aberdeen north\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of set 3 when the total is 45\u201331?\n\n### Context:\nCREATE TABLE table_name_24 (set_3 VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_3 FROM table_name_24 WHERE total = \"45\u201331\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the 1st prize for may 21\n\n### Context:\nCREATE TABLE table_name_19 (date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(1 AS st_prize___) AS $__ FROM table_name_19 WHERE date = \"may 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Week has an Air Date of august 30, 2008?\n\n### Context:\nCREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_73 WHERE air_date = \"august 30, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was d: 25~70nm, l: 10~20 \u03bcm geometry researched?\n\n### Context:\nCREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT researched_at FROM table_30057479_1 WHERE geometry = \"D: 25~70nm, L: 10~20 \u03bcm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the record of the game in which Carlos Delfino (17) did the most high points?\n\n### Context:\nCREATE TABLE table_22871316_6 (record VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_22871316_6 WHERE high_points = \"Carlos Delfino (17)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? \n\n### Context:\nCREATE TABLE table_24027047_1 (population_density___km\u00b2_2011_ VARCHAR, area__km\u00b2__2011 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population_density___km\u00b2_2011_ FROM table_24027047_1 WHERE area__km\u00b2__2011 * * = \"684.37\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Attendance has an Opponent of pittsburgh pirates, and a Date of may 5?\n\n### Context:\nCREATE TABLE table_name_32 (attendance INTEGER, opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_32 WHERE opponent = \"pittsburgh pirates\" AND date = \"may 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percentage was the others vote when McCain had 52.9% and less than 45205.0 voters?\n\n### Context:\nCREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT others_percentage FROM table_20693870_1 WHERE mccain_percentage = \"52.9%\" AND mccain_number < 45205.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the away team against the home team Ashington?\n\n### Context:\nCREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_76 WHERE home_team = \"ashington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fewest number of losses?\n\n### Context:\nCREATE TABLE table_1644876_2 (l INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(l) FROM table_1644876_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has january 15, 2005 as the date?\n\n### Context:\nCREATE TABLE table_name_8 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_8 WHERE date = \"january 15, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Geelong play as the home team?\n\n### Context:\nCREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_4 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Australia's role in the UN operation Unama?\n\n### Context:\nCREATE TABLE table_10121127_1 (australian_role VARCHAR, un_operation_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT australian_role FROM table_10121127_1 WHERE un_operation_name = \"UNAMA\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least value for average attendance when average on previous season is +644?\n\n### Context:\nCREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = \"+644\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team's score when footscray is the away team?\n\n### Context:\nCREATE TABLE table_name_74 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_74 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when the attendance was 78,793?\n\n### Context:\nCREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_53 WHERE attendance = \"78,793\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1st(m) score for the Person who had a total points of 272.7\n\n### Context:\nCREATE TABLE table_14407512_9 (points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st__m_ FROM table_14407512_9 WHERE points = \"272.7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city is 103.3 FM licensed in?\n\n### Context:\nCREATE TABLE table_name_61 (city_of_license VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city_of_license FROM table_name_61 WHERE frequency = \"103.3 fm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has a round more than 9?\n\n### Context:\nCREATE TABLE table_name_85 (date VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_85 WHERE round > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat document type codes do we have?\n\n### Context:\nCREATE TABLE Ref_Document_Types (document_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT document_type_code FROM Ref_Document_Types"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue on October 13, 2007?\n\n### Context:\nCREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_60 WHERE date = \"october 13, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years did Germany participate, when the team from Italy was Naples LL Naples and the team from England was London Area Youth London?\n\n### Context:\nCREATE TABLE table_28562675_3 (germany VARCHAR, italy VARCHAR, england VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(germany) FROM table_28562675_3 WHERE italy = \"Naples LL Naples\" AND england = \"London Area Youth London\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school are the Red Devils from?\n\n### Context:\nCREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_24 WHERE team_name = \"red devils\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich conference held at School of whiting?\n\n### Context:\nCREATE TABLE table_name_49 (previous_conference VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT previous_conference FROM table_name_49 WHERE school = \"whiting\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the wheel arrangement 0-6-0 and a class 302?\n\n### Context:\nCREATE TABLE table_name_76 (year_made VARCHAR, wheel_arrangement VARCHAR, class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_made FROM table_name_76 WHERE wheel_arrangement = \"0-6-0\" AND class = \"302\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of port adelaide\n\n### Context:\nCREATE TABLE table_1161065_27 (total INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_1161065_27 WHERE team = \"Port Adelaide\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the June playmate with the November playmate Lorraine Olivia?\n\n### Context:\nCREATE TABLE table_name_3 (june VARCHAR, november VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT june FROM table_name_3 WHERE november = \"lorraine olivia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich catalogue has a formate of \"CD Remastered with 3 bonus tracks\"?\n\n### Context:\nCREATE TABLE table_name_39 (catalogue VARCHAR, format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalogue FROM table_name_39 WHERE format = \"cd remastered with 3 bonus tracks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen cannot handle non-empty timestamp argument! 2007 is released what is the no.? \n\n### Context:\nCREATE TABLE table_18442691_2 (no VARCHAR, released VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_18442691_2 WHERE released = \"Cannot handle non-empty timestamp argument! 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the total number of years that have a score of 3\u20136, 4\u20136, 2\u20136.\n\n### Context:\nCREATE TABLE table_2201724_1 (year VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_2201724_1 WHERE score_in_the_final = \"3\u20136, 4\u20136, 2\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of people in attendance when the game was at TD Banknorth Garden, in a game higher than 31?\n\n### Context:\nCREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_20 WHERE location = \"td banknorth garden\" AND game > 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the timeslot for the episode that aired April 28, 2009?\n\n### Context:\nCREATE TABLE table_name_26 (timeslot VARCHAR, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT timeslot FROM table_name_26 WHERE air_date = \"april 28, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the FCC info of the translator with an Irmo, South Carolina city license?\n\n### Context:\nCREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fcc_info FROM table_name_51 WHERE city_of_license = \"irmo, south carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the spouse of the consort who was born as rania al yassin?\n\n### Context:\nCREATE TABLE table_name_27 (spouse_to VARCHAR, born_as VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT spouse_to FROM table_name_27 WHERE born_as = \"rania al yassin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest loss before game 14?\n\n### Context:\nCREATE TABLE table_name_31 (loss INTEGER, game INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(loss) FROM table_name_31 WHERE game < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many parks are there in Atlanta city?\n\n### Context:\nCREATE TABLE park (city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM park WHERE city = 'Atlanta'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich deputy took office in 1976?\n\n### Context:\nCREATE TABLE table_name_97 (name VARCHAR, took_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_97 WHERE took_office = \"1976\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank with more than 123 points, an audi r8 chassis, and a lmp900 class?\n\n### Context:\nCREATE TABLE table_name_75 (rank VARCHAR, class VARCHAR, points VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_75 WHERE points > 123 AND chassis = \"audi r8\" AND class = \"lmp900\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the division north in 2007\u201308\n\n### Context:\nCREATE TABLE table_17881033_1 (division_north VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division_north FROM table_17881033_1 WHERE season = \"2007\u201308\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest year of a gratitude type mission with 99 in the entourage?\n\n### Context:\nCREATE TABLE table_name_60 (year INTEGER, number_in_entourage VARCHAR, mission_type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_60 WHERE number_in_entourage = \"99\" AND mission_type = \"gratitude\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 1 (5) is the races what is the team name?\n\n### Context:\nCREATE TABLE table_22737506_1 (team_name VARCHAR, races VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_name FROM table_22737506_1 WHERE races = \"1 (5)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of rank for 9.52 profits\n\n### Context:\nCREATE TABLE table_1682026_9 (rank VARCHAR, profits__billion_$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_1682026_9 WHERE profits__billion_$_ = \"9.52\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOne 6 November 2007 what was the manner of departure for the coach release in football league one?\n\n### Context:\nCREATE TABLE table_28181347_6 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manner_of_departure FROM table_28181347_6 WHERE date_of_appointment = \"6 November 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat constellation has a Declination ( J2000 ) of \u00b032\u203239\u2033?\n\n### Context:\nCREATE TABLE table_name_57 (constellation VARCHAR, declination___j2000__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constellation FROM table_name_57 WHERE declination___j2000__ = \"\u00b032\u203239\u2033\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 2nd event aired on 8 June 2008?\n\n### Context:\nCREATE TABLE table_name_32 (event_2 VARCHAR, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event_2 FROM table_name_32 WHERE air_date = \"8 june 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location has a Home Ground of Mong kok stadium?\n\n### Context:\nCREATE TABLE table_name_14 (location VARCHAR, home_ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_14 WHERE home_ground = \"mong kok stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day was the opponent Austria?\n\n### Context:\nCREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_8 WHERE opponent = \"austria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opposing team at Schaefer Stadium later in the season than week 7?\n\n### Context:\nCREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_59 WHERE week > 7 AND stadium = \"schaefer stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0reverse\u00a0with\u00a0series\u00a0being iii series\n\n### Context:\nCREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(reverse) FROM table_12284476_8 WHERE series = \"III series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the award for candida scott knight\n\n### Context:\nCREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT award FROM table_name_78 WHERE director_s_ = \"candida scott knight\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has OF-1 Locotenent?\n\n### Context:\nCREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_40 WHERE of_1 = \"locotenent\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Race 2, when Driver is \"Paul Radisich\"?\n\n### Context:\nCREATE TABLE table_name_5 (race_2 VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_2 FROM table_name_5 WHERE driver = \"paul radisich\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the maximum\u00a0bush#\u00a0with\u00a0others%\u00a0being 1.57%\n\n### Context:\nCREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = \"1.57%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest week that shows a record of 8\u20135?\n\n### Context:\nCREATE TABLE table_name_40 (week INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_40 WHERE record = \"8\u20135\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWas diary for my loves nominated?\n\n### Context:\nCREATE TABLE table_14975415_1 (result VARCHAR, english_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_14975415_1 WHERE english_title = \"Diary for My Loves\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mobile phone number of the student named Timmothy Ward ?\n\n### Context:\nCREATE TABLE students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cell_mobile_number FROM students WHERE first_name = 'timmothy' AND last_name = 'ward'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of appointment for paco chaparro's replacement?\n\n### Context:\nCREATE TABLE table_name_12 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_name_12 WHERE outgoing_manager = \"paco chaparro\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points have a Game larger than 25, and an Opponent of dallas stars?\n\n### Context:\nCREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_75 WHERE game > 25 AND opponent = \"dallas stars\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the flange thickness (mm) for the weight (kg/m) 6.0?Wg\n\n### Context:\nCREATE TABLE table_2071644_1 (flange_thickness__mm_ VARCHAR, weight__kg_m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT flange_thickness__mm_ FROM table_2071644_1 WHERE weight__kg_m_ = \"6.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is maximum and minimum death toll caused each time?\n\n### Context:\nCREATE TABLE death (killed INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(killed), MIN(killed) FROM death"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class has a peak named fountains fell south top?\n\n### Context:\nCREATE TABLE table_name_31 (class VARCHAR, peak VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_31 WHERE peak = \"fountains fell south top\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent's event was sb 24 - return of the heavyweights 2, and had a method of TKO (knee and punches)?\n\n### Context:\nCREATE TABLE table_name_2 (opponent VARCHAR, event VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_2 WHERE event = \"sb 24 - return of the heavyweights 2\" AND method = \"tko (knee and punches)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the candidates for texas 1\n\n### Context:\nCREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341690_43 WHERE district = \"Texas 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district has 98 constituencies?\n\n### Context:\nCREATE TABLE table_name_54 (district VARCHAR, constituency_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_54 WHERE constituency_number = \"98\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of game 5 with Los Angeles as the home team?\n\n### Context:\nCREATE TABLE table_name_26 (result VARCHAR, home_team VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_26 WHERE home_team = \"los angeles\" AND game = \"game 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year was Xavier Malisse the runner-up with scores of 4\u20136, 6\u20134, [8\u201310]?\n\n### Context:\nCREATE TABLE table_name_65 (year VARCHAR, outcome VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_65 WHERE outcome = \"runner-up\" AND score = \"4\u20136, 6\u20134, [8\u201310]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sport has 94kg men's weightlifting as one of its events?\n\n### Context:\nCREATE TABLE table_name_22 (sport VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sport FROM table_name_22 WHERE event = \"94kg men's weightlifting\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich constructor had laps amounting to more than 21 where the driver was John Surtees?\n\n### Context:\nCREATE TABLE table_name_14 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_14 WHERE laps > 21 AND driver = \"john surtees\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was the winner when the runner-up shows both teams awarded championship after a draw.?\n\n### Context:\nCREATE TABLE table_name_26 (winner VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_26 WHERE runner_up = \"both teams awarded championship after a draw.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich exaltation has a domicile of Saturn and Capricorn as a sign?\n\n### Context:\nCREATE TABLE table_name_10 (exaltation VARCHAR, domicile VARCHAR, sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT exaltation FROM table_name_10 WHERE domicile = \"saturn\" AND sign = \"capricorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen doeas Mascot of blue devils in Gary Froebel School?\n\n### Context:\nCREATE TABLE table_name_74 (joined VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT joined FROM table_name_74 WHERE mascot = \"blue devils\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much does the champion get for stadthalle dinslaken, dinslaken?\n\n### Context:\nCREATE TABLE table_18828487_1 (champion VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champion FROM table_18828487_1 WHERE venue = \"Stadthalle Dinslaken, Dinslaken\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the Food World 250?\n\n### Context:\nCREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_14 WHERE race = \"food world 250\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat model number has part number cl8064701510101?\n\n### Context:\nCREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_number FROM table_name_69 WHERE part_number_s_ = \"cl8064701510101\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away score when the home team was Melbourne?\n\n### Context:\nCREATE TABLE table_name_84 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_84 WHERE home_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the section where gordon lee ran\n\n### Context:\nCREATE TABLE table_1342393_10 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1342393_10 WHERE incumbent = \"Gordon Lee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many weeks was France at #1?\n\n### Context:\nCREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE country = \"France\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent has a record of 4-2?\n\n### Context:\nCREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_55 WHERE record = \"4-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTo which party does Frank T. Bow belong?\n\n### Context:\nCREATE TABLE table_1341865_37 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1341865_37 WHERE incumbent = \"Frank T. Bow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich position has a pick greater than 28?\n\n### Context:\nCREATE TABLE table_name_31 (position VARCHAR, pick INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_31 WHERE pick > 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did a game have a time of 3:44?\n\n### Context:\nCREATE TABLE table_name_55 (date VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_55 WHERE time = \"3:44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Paper Type with an Illustration with martin dee, ubc public affairs?\n\n### Context:\nCREATE TABLE table_name_51 (paper_type VARCHAR, illustration VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT paper_type FROM table_name_51 WHERE illustration = \"martin dee, ubc public affairs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the succesor that was formally installed on November 8, 1978?\n\n### Context:\nCREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = \"November 8, 1978\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year (s) won was +2 the To par, and t22 the finish?\n\n### Context:\nCREATE TABLE table_name_5 (year_s__won VARCHAR, to_par VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__won FROM table_name_5 WHERE to_par = \"+2\" AND finish = \"t22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the elector from pisa elevated?\n\n### Context:\nCREATE TABLE table_name_13 (elevated VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elevated FROM table_name_13 WHERE nationality = \"pisa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the finish of Australia?\n\n### Context:\nCREATE TABLE table_name_52 (finish VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_52 WHERE country = \"australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many tries for are for 473 points for?\n\n### Context:\nCREATE TABLE table_12828723_4 (tries_for VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(tries_for) FROM table_12828723_4 WHERE points_for = \"473\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere in Tongyong is Hanyu Sanmin?\n\n### Context:\nCREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tongyong FROM table_name_36 WHERE hanyu = \"sanmin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the states that have entry times of 49years, 29days\n\n### Context:\nCREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state_served FROM table_24415627_2 WHERE time_since_entry = \"49years, 29days\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average Game, when the attendance was higher than 56,040?\n\n### Context:\nCREATE TABLE table_name_46 (game INTEGER, attendance INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_46 WHERE attendance > 56 OFFSET 040"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's Australia's time in the heat more than 4?\n\n### Context:\nCREATE TABLE table_name_43 (time VARCHAR, heat VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_43 WHERE heat > 4 AND nationality = \"australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent in Week 8?\n\n### Context:\nCREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_24814477_2 WHERE week = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for june 20\n\n### Context:\nCREATE TABLE table_2139390_2 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_2139390_2 WHERE date = \"June 20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the team is Worcestershire and the Matched had were 5, what is the highest score?\n\n### Context:\nCREATE TABLE table_27268238_4 (highest_score VARCHAR, matches VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT highest_score FROM table_27268238_4 WHERE matches = 5 AND team = \"Worcestershire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Picks have a Round larger than 8, and a College of fresno state?\n\n### Context:\nCREATE TABLE table_name_4 (pick__number VARCHAR, round VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_name_4 WHERE round > 8 AND college = \"fresno state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSpain with a total of more than 4 medals is in what rank?\n\n### Context:\nCREATE TABLE table_name_15 (rank VARCHAR, total VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_15 WHERE total > 4 AND nation = \"spain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many mystic arte have hisui (jadeite) hearts 1 as the character?\n\n### Context:\nCREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = \"Hisui (Jadeite) Hearts 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for Southbridge when the Model number is amd-640 chipset?\n\n### Context:\nCREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT southbridge FROM table_name_7 WHERE model = \"amd-640 chipset\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen collingwood played as the home team who was the away team?\n\n### Context:\nCREATE TABLE table_name_88 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_88 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat company collaborated with non-hodgkin lymphoma?\n\n### Context:\nCREATE TABLE table_name_5 (collaboration VARCHAR, indication VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT collaboration FROM table_name_5 WHERE indication = \"non-hodgkin lymphoma\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the guest 2 in the episode where guest 4 is Iyare Igiehon and guest 3 is John Oliver?\n\n### Context:\nCREATE TABLE table_20466963_4 (guest_2 VARCHAR, guest_4 VARCHAR, guest_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT guest_2 FROM table_20466963_4 WHERE guest_4 = \"Iyare Igiehon\" AND guest_3 = \"John Oliver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are name and phone number of patients who had more than one appointment?\n\n### Context:\nCREATE TABLE appointment (patient VARCHAR); CREATE TABLE patient (ssn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, phone FROM appointment AS T1 JOIN patient AS T2 ON T1.patient = T2.ssn GROUP BY T1.patient HAVING COUNT(*) > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the Results for 25,000 Attendance?\n\n### Context:\nCREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_91 WHERE attendance = \"25,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Area km 2 has an Official Name of southampton, and a Population larger than 1,601?\n\n### Context:\nCREATE TABLE table_name_61 (area_km_2 INTEGER, official_name VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(area_km_2) FROM table_name_61 WHERE official_name = \"southampton\" AND population > 1 OFFSET 601"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of starts for 1987?\n\n### Context:\nCREATE TABLE table_13026799_3 (starts VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(starts) FROM table_13026799_3 WHERE year = 1987"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the career win-loss for the ATP Masters Series?\n\n### Context:\nCREATE TABLE table_name_3 (career_win_loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT career_win_loss FROM table_name_3 WHERE 1995 = \"atp masters series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class had 110 points?\n\n### Context:\nCREATE TABLE table_name_23 (class VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_23 WHERE points = 110"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Total matches is the lowest one that has a Total W-L-H of 1-2-0?\n\n### Context:\nCREATE TABLE table_name_33 (total_matches INTEGER, total_w_l_h VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total_matches) FROM table_name_33 WHERE total_w_l_h = \"1-2-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the notes when the displacement is 220cid (3,604cc)?\n\n### Context:\nCREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_78 WHERE displacement = \"220cid (3,604cc)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the young rider classification for jesper worre and stage 3\n\n### Context:\nCREATE TABLE table_name_66 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT young_rider_classification FROM table_name_66 WHERE mountains_classification = \"jesper worre\" AND stage = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time/retired of Driver Masten Gregory Carroll Shelby when the constructor was Maserati, the Grid was larger than 10 and there were more than 2 laps?\n\n### Context:\nCREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, constructor VARCHAR, grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_30 WHERE grid > 10 AND laps > 2 AND constructor = \"maserati\" AND driver = \"masten gregory carroll shelby\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times was the overall attendance 17807?\n\n### Context:\nCREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = 17807"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many caps figures are there for Norwich City, Coventry City?\n\n### Context:\nCREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = \"Norwich City, Coventry City\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the fastest lap in the dutch grand prix?\n\n### Context:\nCREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_1140077_2 WHERE race = \"Dutch Grand Prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the weeks on a chart a song with a position less than 1 haas?\n\n### Context:\nCREATE TABLE table_name_92 (weeks_on_chart INTEGER, position INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(weeks_on_chart) FROM table_name_92 WHERE position < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich song released on heavenly (hvn152)?\n\n### Context:\nCREATE TABLE table_name_86 (song VARCHAR, release_info VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_name_86 WHERE release_info = \"heavenly (hvn152)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?\n\n### Context:\nCREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT livery FROM table_name_45 WHERE locomotive_type = \"steam\" AND year_built > 1950 AND wheel_arrangement = \"2-6-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every year born for height of 1.88?\n\n### Context:\nCREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_born FROM table_23670057_7 WHERE height__m_ = \"1.88\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average draft pick number from Carson-Newman College before Round 7?\n\n### Context:\nCREATE TABLE table_name_21 (pick__number INTEGER, college VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick__number) FROM table_name_21 WHERE college = \"carson-newman\" AND round < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Coombe Road time with a Selsdon evening peak?\n\n### Context:\nCREATE TABLE table_name_17 (coombe_road VARCHAR, selsdon VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coombe_road FROM table_name_17 WHERE selsdon = \"evening peak\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat class was the 2nd - portillo?\n\n### Context:\nCREATE TABLE table_20626467_1 (class VARCHAR, winner_2nd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_20626467_1 WHERE winner_2nd = \"2nd - Portillo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the film for award of \u00a33,740\n\n### Context:\nCREATE TABLE table_name_98 (film VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film FROM table_name_98 WHERE award = \"\u00a33,740\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of founded for yankton\n\n### Context:\nCREATE TABLE table_2076557_2 (founded VARCHAR, location_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(founded) FROM table_2076557_2 WHERE location_s_ = \"Yankton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Played has a Points of 2, and a Position smaller than 8?\n\n### Context:\nCREATE TABLE table_name_28 (played INTEGER, points VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(played) FROM table_name_28 WHERE points = 2 AND position < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Constructor has 56 Laps?\n\n### Context:\nCREATE TABLE table_name_13 (constructor VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_13 WHERE laps = 56"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Call sign of the Omni television network with a Digitial PSIP of 14.1?\n\n### Context:\nCREATE TABLE table_name_52 (call_sign VARCHAR, network VARCHAR, digital_psip VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT call_sign FROM table_name_52 WHERE network = \"omni television\" AND digital_psip = 14.1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many skaters have a Rank in FS of 3, and a Rank in SP larger than 4?\n\n### Context:\nCREATE TABLE table_name_37 (final_rank VARCHAR, rank_in_fs VARCHAR, rank_in_sp VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(final_rank) FROM table_name_37 WHERE rank_in_fs = 3 AND rank_in_sp > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record when the visitor is Buffalo?\n\n### Context:\nCREATE TABLE table_name_69 (record VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_69 WHERE visitor = \"buffalo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's the wrestler with an elimination of 1?\n\n### Context:\nCREATE TABLE table_name_6 (wrestler VARCHAR, elimination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wrestler FROM table_name_6 WHERE elimination = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho received the reward on the episode where the finish was \"3rd voted out day 8\"?\n\n### Context:\nCREATE TABLE table_1272844_2 (reward VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reward FROM table_1272844_2 WHERE finish = \"3rd voted Out Day 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFOR AUGUST 13 WHAT IS THE RND ?\n\n### Context:\nCREATE TABLE table_16732659_2 (rnd INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rnd) FROM table_16732659_2 WHERE date = \"August 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average of points for 8th place with draw more than 8?\n\n### Context:\nCREATE TABLE table_name_55 (points INTEGER, place VARCHAR, draw VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_55 WHERE place = \"8th\" AND draw > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the directed/undirected for mfinder, which has a network-centric basis?\n\n### Context:\nCREATE TABLE table_name_83 (directed___undirected VARCHAR, name VARCHAR, basis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed___undirected FROM table_name_83 WHERE name = \"mfinder\" AND basis = \"network-centric\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what round did opponent Joe Lauzon play?\n\n### Context:\nCREATE TABLE table_name_39 (round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_39 WHERE opponent = \"joe lauzon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which district is the incumbent Marcia C. Kaptur? \n\n### Context:\nCREATE TABLE table_1341453_37 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1341453_37 WHERE incumbent = \"Marcia C. Kaptur\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was Patricia Mcgourty nominated for a Tony award?\n\n### Context:\nCREATE TABLE table_name_41 (year VARCHAR, nominee VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_41 WHERE nominee = \"patricia mcgourty\" AND award = \"tony award\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the country ireland and points more than 4?\n\n### Context:\nCREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = \"ireland\" AND points > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average maximum height of a shell that travels for more than 16.3 seconds at 55\u00b0 and has a maximum velocity of 2200 ft/s?\n\n### Context:\nCREATE TABLE table_name_19 (max_height__ft_ INTEGER, time_to_ft__m__at_55\u00b0__seconds_ VARCHAR, m_v_ft_s VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(max_height__ft_) FROM table_name_19 WHERE time_to_ft__m__at_55\u00b0__seconds_ > 16.3 AND m_v_ft_s = 2200"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team of vitali yeremeyev\n\n### Context:\nCREATE TABLE table_name_97 (nhl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_name_97 WHERE player = \"vitali yeremeyev\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Player is \"Bob Murphy\"?\n\n### Context:\nCREATE TABLE table_name_9 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_9 WHERE player = \"bob murphy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps recorded in 2001?\n\n### Context:\nCREATE TABLE table_17802778_1 (laps VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_17802778_1 WHERE year = 2001"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Name has a Winning constructor of ansaldo?\n\n### Context:\nCREATE TABLE table_name_56 (name VARCHAR, winning_constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_56 WHERE winning_constructor = \"ansaldo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen are start dates (1st night) for the season of 1966?\n\n### Context:\nCREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start_date__1st_night_ FROM table_159359_2 WHERE season = \"1966\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many tournaments ended with a score of 204 (-12)?\n\n### Context:\nCREATE TABLE table_11622562_1 (tournament VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(tournament) FROM table_11622562_1 WHERE score = \"204 (-12)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the ministers and the time they took and left office, listed by the time they left office.\n\n### Context:\nCREATE TABLE party (minister VARCHAR, took_office VARCHAR, left_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT minister, took_office, left_office FROM party ORDER BY left_office"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number for D 44 \u221a when D 47 \u221a is r 7?\n\n### Context:\nCREATE TABLE table_name_19 (d_44_\u221a VARCHAR, d_47_\u221a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_44_\u221a FROM table_name_19 WHERE d_47_\u221a = \"r 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the high rebounds on February 24?\n\n### Context:\nCREATE TABLE table_name_36 (high_rebounds VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_36 WHERE date = \"february 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the score when the home team is cairns taipans?\n\n### Context:\nCREATE TABLE table_name_23 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_23 WHERE home_team = \"cairns taipans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Deutsche Telekom's accreditation type?\n\n### Context:\nCREATE TABLE table_name_88 (accreditation_type VARCHAR, network_brand_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accreditation_type FROM table_name_88 WHERE network_brand_name = \"deutsche telekom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Time has a Round smaller than 3, and an Opponent of bao quach?\n\n### Context:\nCREATE TABLE table_name_11 (time VARCHAR, round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_11 WHERE round < 3 AND opponent = \"bao quach\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of innings with less than 342 runs and more than 4 matches?\n\n### Context:\nCREATE TABLE table_name_86 (innings INTEGER, runs VARCHAR, matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(innings) FROM table_name_86 WHERE runs < 342 AND matches > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the results for top 12?\n\n### Context:\nCREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_26250176_1 WHERE week__number = \"Top 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest average number in attendance when the most in attendance is 5,078?\n\n### Context:\nCREATE TABLE table_name_87 (average INTEGER, highest VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(average) FROM table_name_87 WHERE highest = 5 OFFSET 078"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the world rank by QS in 2013 for the University of Otago?\n\n### Context:\nCREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT world_rank_by_qs_, _2013 FROM table_27484208_1 WHERE members = \"University of Otago\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nickname of the college established in 1773?\n\n### Context:\nCREATE TABLE table_name_65 (nickname VARCHAR, established VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nickname FROM table_name_65 WHERE established = 1773"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the power provided where transfer speed mb/s is 300 and max cable length of 10\n\n### Context:\nCREATE TABLE table_174151_5 (power_provided VARCHAR, transfer_speed__mb_s_ VARCHAR, max_cable_length__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = \"300\" AND max_cable_length__m_ = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many positions did 1972 NHL Draft pick Rene Lambert play?\n\n### Context:\nCREATE TABLE table_1473672_10 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(position) FROM table_1473672_10 WHERE player = \"Rene Lambert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what week was the first game played?\n\n### Context:\nCREATE TABLE table_29679510_2 (week INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_29679510_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest year?\n\n### Context:\nCREATE TABLE table_2199290_1 (year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_2199290_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has a Week smaller than 14, and an Opponent of san francisco 49ers?\n\n### Context:\nCREATE TABLE table_name_92 (date VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_92 WHERE week < 14 AND opponent = \"san francisco 49ers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game held where North Melbourne was the away team?\n\n### Context:\nCREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_89 WHERE away_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of 2nd place finishes for riders active in years 2009-2010 and more than 0 wins?\n\n### Context:\nCREATE TABLE table_name_83 (years_active VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(2 AS nd_pl) FROM table_name_83 WHERE years_active = \"2009-2010\" AND wins > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Rifle when the German Gewehr 98 is 74cm?\n\n### Context:\nCREATE TABLE table_name_94 (rifle VARCHAR, german_gewehr_98 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rifle FROM table_name_94 WHERE german_gewehr_98 = \"74cm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the game where the home team was St Kilda, what was the attendance?\n\n### Context:\nCREATE TABLE table_name_52 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_52 WHERE home_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the Points on December 13?\n\n### Context:\nCREATE TABLE table_name_63 (points INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_63 WHERE date = \"december 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total attendance before week 1?\n\n### Context:\nCREATE TABLE table_name_16 (attendance INTEGER, week INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_16 WHERE week < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year jennifer tarol barrientos is in?\n\n### Context:\nCREATE TABLE table_name_50 (year INTEGER, delegate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_50 WHERE delegate = \"jennifer tarol barrientos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has a Surface of carpet (i)?\n\n### Context:\nCREATE TABLE table_name_44 (date VARCHAR, surface VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_44 WHERE surface = \"carpet (i)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the season with a Skip of Eve Muirhead and a third of Kerry Barr?\n\n### Context:\nCREATE TABLE table_name_42 (season VARCHAR, skip VARCHAR, third VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_42 WHERE skip = \"eve muirhead\" AND third = \"kerry barr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nBinary of \u03b8(log n), and a Fibonacci of \u03b8(1) has what binomial?\n\n### Context:\nCREATE TABLE table_name_7 (binomial VARCHAR, binary VARCHAR, fibonacci VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT binomial FROM table_name_7 WHERE binary = \"\u03b8(log n)\" AND fibonacci = \"\u03b8(1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the score 2\u20134?\n\n### Context:\nCREATE TABLE table_name_89 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_89 WHERE score = \"2\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT ARE THE BYES WITH A DRAWS OF 1, SMW ROVERS, AND WINS LARGER THAN 6?\n\n### Context:\nCREATE TABLE table_name_76 (byes INTEGER, wins VARCHAR, draws VARCHAR, mininera_dfl VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(byes) FROM table_name_76 WHERE draws = 1 AND mininera_dfl = \"smw rovers\" AND wins > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat comparable country has a national share of 1.08?\n\n### Context:\nCREATE TABLE table_171666_1 (comparable_country VARCHAR, national_share___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT comparable_country FROM table_171666_1 WHERE national_share___percentage_ = \"1.08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat United States player holds the place of t8?`\n\n### Context:\nCREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_57 WHERE place = \"t8\" AND country = \"united states\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the enrollment at 41 Johnson?\n\n### Context:\nCREATE TABLE table_name_24 (enrollment INTEGER, _number___county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(enrollment) FROM table_name_24 WHERE _number___county = \"41 johnson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the authority who set the budget limit (\u00a3m) at 900?\n\n### Context:\nCREATE TABLE table_25316812_1 (authority VARCHAR, budget_limit__\u00a3m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT authority FROM table_25316812_1 WHERE budget_limit__\u00a3m_ = \"900\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Platform has a Current Version 0.6.2?\n\n### Context:\nCREATE TABLE table_name_55 (platform VARCHAR, current_version VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT platform FROM table_name_55 WHERE current_version = \"0.6.2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average dismissals of 83 test and catches less than 33?\n\n### Context:\nCREATE TABLE table_name_5 (total_dismissals INTEGER, tests VARCHAR, catches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Network has a Rank larger than 5, a Show of 2012 summer olympics closing ceremony in london?\n\n### Context:\nCREATE TABLE table_name_34 (network VARCHAR, rank VARCHAR, show VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_name_34 WHERE rank > 5 AND show = \"2012 summer olympics closing ceremony in london\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had goal averages of 1.34?\n\n### Context:\nCREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_17366952_1 WHERE goal_average_1 = \"1.34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the location where the record is 1-0\n\n### Context:\nCREATE TABLE table_26173058_2 (ahli VARCHAR, ramtha VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ahli FROM table_26173058_2 WHERE ramtha = \"1-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played in the semi finals matches at the Buick WCT finals?\n\n### Context:\nCREATE TABLE table_2413292_1 (semifinal_matches VARCHAR, commercial_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semifinal_matches FROM table_2413292_1 WHERE commercial_name = \"Buick WCT Finals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people got high points in game 35?\n\n### Context:\nCREATE TABLE table_23274514_6 (high_points VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_points) FROM table_23274514_6 WHERE game = 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the site of the game with a Record of 6-2?\n\n### Context:\nCREATE TABLE table_name_35 (game_site VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_site FROM table_name_35 WHERE record = \"6-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score against Portland in game numbers under 20?\n\n### Context:\nCREATE TABLE table_name_74 (score VARCHAR, game VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_74 WHERE game < 20 AND team = \"portland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the Spurs' record was 43-13?\n\n### Context:\nCREATE TABLE table_name_72 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_72 WHERE record = \"43-13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nelaine lee worked on how many issues\n\n### Context:\nCREATE TABLE table_1420954_1 (issues VARCHAR, writer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(issues) FROM table_1420954_1 WHERE writer = \"Elaine Lee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much did the away team Melbourne score?\n\n### Context:\nCREATE TABLE table_name_64 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_64 WHERE away_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the minimum crowd on January 24, 1987?\n\n### Context:\nCREATE TABLE table_16025095_1 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_16025095_1 WHERE date = \"January 24, 1987\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 9386 is the undergraduate enrollment what is the nickname?\n\n### Context:\nCREATE TABLE table_262495_1 (nickname VARCHAR, undergraduate_enrollment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nickname FROM table_262495_1 WHERE undergraduate_enrollment = 9386"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat character did Lisa Davina Phillip portray?\n\n### Context:\nCREATE TABLE table_22460085_1 (character VARCHAR, original_manchester_performer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT character FROM table_22460085_1 WHERE original_manchester_performer = \"Lisa Davina Phillip\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was asked 20 questions in the issue where the centerfold is Marliece Andrada?\n\n### Context:\nCREATE TABLE table_1566850_9 (centerfold_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 20 AS _questions FROM table_1566850_9 WHERE centerfold_model = \"Marliece Andrada\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had a points average with 0 extra points and 0 field goals?\n\n### Context:\nCREATE TABLE table_name_33 (points INTEGER, extra_points VARCHAR, field_goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_33 WHERE extra_points = 0 AND field_goals > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 21 is the number in series what is the air date?\n\n### Context:\nCREATE TABLE table_2409041_2 (original_air_date VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_2409041_2 WHERE no_in_series = 21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value when Mitchell is 676?\n\n### Context:\nCREATE TABLE table_1818471_1 (value VARCHAR, mitchell VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT value FROM table_1818471_1 WHERE mitchell = 676"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the most recent year with more than 27 points and more than 5 wins?\n\n### Context:\nCREATE TABLE table_name_69 (year INTEGER, points VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_69 WHERE points > 27 AND wins > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of wickets when there are more than 630 maidens and a best of 7/72?\n\n### Context:\nCREATE TABLE table_name_55 (wickets INTEGER, maidens VARCHAR, best VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wickets) FROM table_name_55 WHERE maidens > 630 AND best = \"7/72\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich number lists the production code as 2j5809\n\n### Context:\nCREATE TABLE table_27403436_1 (no VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_27403436_1 WHERE production_code = \"2J5809\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of total values for Rd 7 less than 8?\n\n### Context:\nCREATE TABLE table_name_53 (total INTEGER, rd_7 INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_53 WHERE rd_7 < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe tournament in Belgrade had what as a score?\n\n### Context:\nCREATE TABLE table_name_7 (score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_7 WHERE tournament = \"belgrade\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average bronze had a silver greater than 2 and a gold larger than 7?\n\n### Context:\nCREATE TABLE table_name_9 (bronze INTEGER, silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the result for attendance of 54,462\n\n### Context:\nCREATE TABLE table_name_32 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_32 WHERE attendance = \"54,462\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich bats did mitchell play first?\n\n### Context:\nCREATE TABLE table_name_23 (bats VARCHAR, first VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bats FROM table_name_23 WHERE first = \"mitchell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Circuit has a Winning constructor of bugatti, and a Winning driver of edward bret?\n\n### Context:\nCREATE TABLE table_name_20 (circuit VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_20 WHERE winning_constructor = \"bugatti\" AND winning_driver = \"edward bret\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament had a winning score of \u221227 (64-64-61=189)?\n\n### Context:\nCREATE TABLE table_name_3 (tournament VARCHAR, winning_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_3 WHERE winning_score = \u221227(64 - 64 - 61 = 189)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is week 4 if week 3 is 35.40?\n\n### Context:\nCREATE TABLE table_name_26 (week_4 VARCHAR, week_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_4 FROM table_name_26 WHERE week_3 = \"35.40\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest population in which 28.0% are democrat?\n\n### Context:\nCREATE TABLE table_27003223_4 (population INTEGER, democratic VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(population) FROM table_27003223_4 WHERE democratic = \"28.0%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHat was the max public with danniella and matthew?\n\n### Context:\nCREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(public) FROM table_26375386_18 WHERE couple = \"Danniella and Matthew\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest enrollment that has Lafayette as the location?\n\n### Context:\nCREATE TABLE table_name_46 (enrollment INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(enrollment) FROM table_name_46 WHERE location = \"lafayette\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on week 5?\n\n### Context:\nCREATE TABLE table_name_4 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_4 WHERE week = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the nominated film 'blood on his hands'?\n\n### Context:\nCREATE TABLE table_name_45 (director_s_ VARCHAR, rank VARCHAR, film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director_s_ FROM table_name_45 WHERE rank = \"nominated\" AND film = \"blood on his hands\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the year for 5 february?\n\n### Context:\nCREATE TABLE table_name_1 (year INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_1 WHERE date = \"5 february\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Appearances, when Postion [F ] is \"Defender\", and when Date to [H ] is \"1938\"?\n\n### Context:\nCREATE TABLE table_name_18 (appearances VARCHAR, position_ VARCHAR, f_ VARCHAR, date_to_ VARCHAR, h_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT appearances FROM table_name_18 WHERE position_[f_] = \"defender\" AND date_to_[h_] = \"1938\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho received gold when the event is time trial details and silver is simon richardson great britain (gbr)?\n\n### Context:\nCREATE TABLE table_name_2 (gold VARCHAR, event VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_2 WHERE event = \"time trial details\" AND silver = \"simon richardson great britain (gbr)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the frequency for the station with the branding of 94dot3 home radio Palawan?\n\n### Context:\nCREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_74 WHERE branding = \"94dot3 home radio palawan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the transfer fee when summer is the transfer window, the type is transfer and the country is Hun?\n\n### Context:\nCREATE TABLE table_name_9 (transfer_fee VARCHAR, country VARCHAR, transfer_window VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_fee FROM table_name_9 WHERE transfer_window = \"summer\" AND type = \"transfer\" AND country = \"hun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the implementation when the netflow version is v5, v8, v9, ipfix?\n\n### Context:\nCREATE TABLE table_1206114_2 (implementation VARCHAR, netflow_version VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT implementation FROM table_1206114_2 WHERE netflow_version = \"v5, v8, v9, IPFIX\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the formats associated with the Atlantic Records label, catalog number 512336?\n\n### Context:\nCREATE TABLE table_name_15 (format_s_ VARCHAR, label VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format_s_ FROM table_name_15 WHERE label = \"atlantic records\" AND catalog = \"512336\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many U.S Viewers, in millions, were for series # 26?\n\n### Context:\nCREATE TABLE table_12159115_3 (us_viewers__millions_ VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__millions_ FROM table_12159115_3 WHERE series__number = 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor club Swansea Uplands RFC, what is the amount of tries against?\n\n### Context:\nCREATE TABLE table_17675675_2 (tries_against VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_against FROM table_17675675_2 WHERE club = \"Swansea Uplands RFC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?\n\n### Context:\nCREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = \"did not qualify\" AND team = \"cruzeiro\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the player that was picked at a number less than 205 from the Michigan State Spartans?\n\n### Context:\nCREATE TABLE table_name_46 (player VARCHAR, pick__number VARCHAR, team_from VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_46 WHERE pick__number < 205 AND team_from = \"michigan state spartans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich away team played on June 9, 2015 with a home team of f1?\n\n### Context:\nCREATE TABLE table_name_34 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_34 WHERE date = \"june 9, 2015\" AND home_team = \"f1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2011 value that has ATP Masters Series in 2007?\n\n### Context:\nCREATE TABLE table_name_34 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2011 FROM table_name_34 WHERE 2007 = \"atp masters series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the chassis for alta\n\n### Context:\nCREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_21977704_1 WHERE constructor = \"Alta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended on 2 may 2007?\n\n### Context:\nCREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_14 WHERE date = \"2 may 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district is incumbent frank chelf from?\n\n### Context:\nCREATE TABLE table_1341884_19 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1341884_19 WHERE incumbent = \"Frank Chelf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Median household income associated with a median family income of $46,616?\n\n### Context:\nCREATE TABLE table_name_56 (median_household_income VARCHAR, median_family_income VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT median_household_income FROM table_name_56 WHERE median_family_income = \"$46,616\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first number in series that had the production code 1ACX03?\n\n### Context:\nCREATE TABLE table_14724369_1 (no_in_series INTEGER, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_14724369_1 WHERE production_code = \"1ACX03\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Bills first downs on Oct. 29 with more the 23 Bills points?\n\n### Context:\nCREATE TABLE table_name_47 (bills_first_downs INTEGER, date VARCHAR, bills_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bills_first_downs) FROM table_name_47 WHERE date = \"oct. 29\" AND bills_points > 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition has a Date of 16/4/01?\n\n### Context:\nCREATE TABLE table_name_31 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_31 WHERE date = \"16/4/01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was home, when the record was 24\u201316\u20136?\n\n### Context:\nCREATE TABLE table_name_77 (home VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_77 WHERE record = \"24\u201316\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points?\n\n### Context:\nCREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Distance has a Time of 2:20.00?\n\n### Context:\nCREATE TABLE table_name_73 (distance VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_name_73 WHERE time = \"2:20.00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine was used when Aguri Suzuki drove the FA13B FA14 Chassis?\n\n### Context:\nCREATE TABLE table_name_31 (engine VARCHAR, chassis VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_31 WHERE chassis = \"fa13b fa14\" AND driver = \"aguri suzuki\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country for the player who had a To Par of +4?\n\n### Context:\nCREATE TABLE table_name_76 (country VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_76 WHERE to_par = \"+4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich irrigation district has 4733 users?\n\n### Context:\nCREATE TABLE table_20018310_1 (irrigation_district VARCHAR, users___number_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT irrigation_district FROM table_20018310_1 WHERE users___number_ = 4733"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest gold number count where a county had over 9 golds and 10 silvers?\n\n### Context:\nCREATE TABLE table_name_87 (gold INTEGER, total VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many colleges did the player picked 57 attend?\n\n### Context:\nCREATE TABLE table_15017024_2 (college VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(college) FROM table_15017024_2 WHERE pick = 57"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was he on when he finished in 11th position?\n\n### Context:\nCREATE TABLE table_24491017_1 (team VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_24491017_1 WHERE position = \"11th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent had the result of W 24-14?\n\n### Context:\nCREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_64 WHERE result = \"w 24-14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Event of the Games of 1950 auckland and a Medal of bronze?\n\n### Context:\nCREATE TABLE table_name_60 (event VARCHAR, games VARCHAR, medal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_60 WHERE games = \"1950 auckland\" AND medal = \"bronze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score for the Thurrock?\n\n### Context:\nCREATE TABLE table_name_99 (score1 VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score1 FROM table_name_99 WHERE opponent = \"thurrock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many viewers tuned in for season 2?\n\n### Context:\nCREATE TABLE table_22347090_4 (us_viewers__million_ VARCHAR, no_in_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_22347090_4 WHERE no_in_season = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nType of primary, and a Call letters of kbjs has what format?\n\n### Context:\nCREATE TABLE table_name_74 (format VARCHAR, type VARCHAR, call_letters VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_74 WHERE type = \"primary\" AND call_letters = \"kbjs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total points that an 1951 Entrant alfa romeo spa have?\n\n### Context:\nCREATE TABLE table_name_70 (points INTEGER, entrant VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_70 WHERE entrant = \"alfa romeo spa\" AND year < 1951"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the quarterfinal week for Austin Anderson?\n\n### Context:\nCREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = \"Austin Anderson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was performer 3 with karen maruyama as performer 2?\n\n### Context:\nCREATE TABLE table_name_67 (performer_3 VARCHAR, performer_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performer_3 FROM table_name_67 WHERE performer_2 = \"karen maruyama\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of appearances by new zealand when they scored 4 goals?\n\n### Context:\nCREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = \"new zealand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much gold received by nation of uzbekistan (uzb)?\n\n### Context:\nCREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_93 WHERE nation = \"uzbekistan (uzb)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow details of all visitors.\n\n### Context:\nCREATE TABLE VISITORS (Tourist_Details VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Tourist_Details FROM VISITORS"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game held that resulted in a score of 9-2?\n\n### Context:\nCREATE TABLE table_name_15 (venue VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_15 WHERE score = \"9-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Type, when Works Number is 75823?\n\n### Context:\nCREATE TABLE table_name_16 (type VARCHAR, works_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_16 WHERE works_number = \"75823\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years was the opponent petr korda?\n\n### Context:\nCREATE TABLE table_name_21 (year VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_21 WHERE opponent = \"petr korda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fewest number of silver medals a nation who ranked below 8 received?\n\n### Context:\nCREATE TABLE table_name_99 (silver INTEGER, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_99 WHERE rank > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n\u00b7m (lb\u00b7ft) @ 1500\u20132000 rpm?\n\n### Context:\nCREATE TABLE table_name_87 (engine VARCHAR, model VARCHAR, torque VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_87 WHERE model = \"2.0 bitdi (cr) dpf\" AND torque = \"n\u00b7m (lb\u00b7ft) @ 1500\u20132000 rpm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least year for start of 17th\n\n### Context:\nCREATE TABLE table_name_13 (year INTEGER, start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_13 WHERE start = \"17th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest points won when the player is aravane reza\u00ef?\n\n### Context:\nCREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) AS won FROM table_24431348_20 WHERE player = \"Aravane Reza\u00ef\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the batting partners with runs of 226?\n\n### Context:\nCREATE TABLE table_11303072_5 (batting_partners VARCHAR, runs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT batting_partners FROM table_11303072_5 WHERE runs = \"226\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played as Team 1 against Lom\u00e9 i?\n\n### Context:\nCREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_1 FROM table_name_8 WHERE team_2 = \"lom\u00e9 i\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tournament was held on 9 Jun 2002?\n\n### Context:\nCREATE TABLE table_name_57 (tournament VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_57 WHERE date = \"9 jun 2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many clf teams have a pick # of 5?\n\n### Context:\nCREATE TABLE table_21321804_1 (cfl_team VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(cfl_team) FROM table_21321804_1 WHERE pick__number = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the number of pets for each student who has any pet and student id.\n\n### Context:\nCREATE TABLE has_pet (stuid VARCHAR); CREATE TABLE student (stuid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*), T1.stuid FROM student AS T1 JOIN has_pet AS T2 ON T1.stuid = T2.stuid GROUP BY T1.stuid"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of records for 30 game\n\n### Context:\nCREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(record) FROM table_23285805_5 WHERE game = 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day in December was the game that resulted in a record of 6-3-1?\n\n### Context:\nCREATE TABLE table_name_64 (december INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(december) FROM table_name_64 WHERE record = \"6-3-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson?\n\n### Context:\nCREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = \"american spirit team johansson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow large was the crowd when Carlton was the away team?\n\n### Context:\nCREATE TABLE table_name_26 (crowd VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_26 WHERE away_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the edition after 2003 when the Third was Tikve\u0161 and Sileks was the runner-up?\n\n### Context:\nCREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = \"tikve\u0161\" AND runner_up = \"sileks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358?\n\n### Context:\nCREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = \"ethiopia\" AND col__m_ = 1728 AND elevation__m_ < 3 OFFSET 358"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest value for int. caps?\n\n### Context:\nCREATE TABLE table_29743928_5 (int_caps INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(int_caps) FROM table_29743928_5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the enrollment (2005) for baccalaureate colleges , for Granite State College?\n\n### Context:\nCREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, type VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT enrollment__2005_ FROM table_2076490_1 WHERE type = \"Baccalaureate college\" AND school = \"Granite State College\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Geust, when Result is 0:9?\n\n### Context:\nCREATE TABLE table_name_45 (geust VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT geust FROM table_name_45 WHERE result = \"0:9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average lane racheal nachula has when the heat is less than 2?\n\n### Context:\nCREATE TABLE table_name_80 (lane INTEGER, heat VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lane) FROM table_name_80 WHERE heat < 2 AND name = \"racheal nachula\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many population values are listed for the community with an area of 10.25 sq.km.?\n\n### Context:\nCREATE TABLE table_171361_1 (population VARCHAR, area_km_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population) FROM table_171361_1 WHERE area_km_2 = \"10.25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Surface has a Date of 1 september 2008?\n\n### Context:\nCREATE TABLE table_name_18 (surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_18 WHERE date = \"1 september 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat displacement & configuration does the car model Panamera 4s have?\n\n### Context:\nCREATE TABLE table_name_68 (displacement_ VARCHAR, _configuration VARCHAR, car_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT displacement_ & _configuration FROM table_name_68 WHERE car_model = \"panamera 4s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many allergies are there?\n\n### Context:\nCREATE TABLE Allergy_type (allergy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT allergy) FROM Allergy_type"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank is associated with Germany?\n\n### Context:\nCREATE TABLE table_14752049_1 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_14752049_1 WHERE country = \"Germany\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Partner of daniella dominikovic?\n\n### Context:\nCREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_66 WHERE partner = \"daniella dominikovic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points?\n\n### Context:\nCREATE TABLE table_name_69 (year INTEGER, entrant VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_69 WHERE entrant = \"scuderia centro sud\" AND points = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date for the palace of auburn hills 14,554\n\n### Context:\nCREATE TABLE table_27700375_11 (date VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_27700375_11 WHERE location_attendance = \"The Palace of Auburn Hills 14,554\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind number of tracks in each genre?\n\n### Context:\nCREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*), T1.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id GROUP BY T1.name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn Silver Bow County, Montana, when the capicity is more than 45 tons, what's the highest rank found?\n\n### Context:\nCREATE TABLE table_name_21 (rank INTEGER, county_and_state VARCHAR, capacity__thousands_of_metric_tons_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_21 WHERE county_and_state = \"silver bow county, montana\" AND capacity__thousands_of_metric_tons_ > 45"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the incumbent when ran william b. oliver (d) unopposed?\n\n### Context:\nCREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1346118_2 WHERE candidates = \"William B. Oliver (D) Unopposed\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the placekicker position with a round above 10?\n\n### Context:\nCREATE TABLE table_name_64 (name VARCHAR, round VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_64 WHERE round > 10 AND position = \"placekicker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat swimsuit score did the state of Virginia contestant achieve?\n\n### Context:\nCREATE TABLE table_12338595_1 (swimsuit VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(swimsuit) FROM table_12338595_1 WHERE state = \"Virginia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the notes for the rowers from denmark?\n\n### Context:\nCREATE TABLE table_name_26 (notes VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_26 WHERE country = \"denmark\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round has a Method of ko, and a Date of 1958?\n\n### Context:\nCREATE TABLE table_name_46 (round INTEGER, method VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_46 WHERE method = \"ko\" AND date = \"1958\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in game 81?\n\n### Context:\nCREATE TABLE table_17311797_10 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_17311797_10 WHERE game = 81"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on week 7?\n\n### Context:\nCREATE TABLE table_name_82 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_82 WHERE week = \"7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most population for seychelles and rank less than 13\n\n### Context:\nCREATE TABLE table_name_8 (population INTEGER, country_territory_entity VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(population) FROM table_name_8 WHERE country_territory_entity = \"seychelles\" AND rank < 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location and attendance of the game when gilbert arenas (9) had the high assists?\n\n### Context:\nCREATE TABLE table_27700530_10 (location_attendance VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_27700530_10 WHERE high_assists = \"Gilbert Arenas (9)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school has more than 533 enrolled and is an IHSAA Football Class of aa?\n\n### Context:\nCREATE TABLE table_name_27 (school VARCHAR, enrollment VARCHAR, ihsaa_football_class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_27 WHERE enrollment > 533 AND ihsaa_football_class = \"aa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat category was The Suite Life on Deck nominated for later than 2010?\n\n### Context:\nCREATE TABLE table_name_62 (category VARCHAR, recipient VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_62 WHERE recipient = \"the suite life on deck\" AND year > 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the team's record on november 10?\n\n### Context:\nCREATE TABLE table_27700530_9 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_27700530_9 WHERE date = \"November 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nListed with a continent of Africa and before 2009 this structure is called what?\n\n### Context:\nCREATE TABLE table_name_83 (structure VARCHAR, year VARCHAR, continent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT structure FROM table_name_83 WHERE year < 2009 AND continent = \"africa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production code of the episode before season 8, with a series number less than 31, and aired on September 21, 1995?\n\n### Context:\nCREATE TABLE table_name_1 (production_code VARCHAR, original_air_date VARCHAR, season__number VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_name_1 WHERE season__number < 8 AND series__number < 31 AND original_air_date = \"september 21, 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the engine class that was built on 1906-08?\n\n### Context:\nCREATE TABLE table_25695027_1 (class VARCHAR, years_built VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_25695027_1 WHERE years_built = \"1906-08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAway result of 0\u20133, and a Season of 1969-70 is what competition?\n\n### Context:\nCREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_48 WHERE away_result = \"0\u20133\" AND season = \"1969-70\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the report with winner of louis wagner\n\n### Context:\nCREATE TABLE table_name_51 (report VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_name_51 WHERE winning_driver = \"louis wagner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Drawn is the lowest one that has a Lost of 5, and Points larger than 4?\n\n### Context:\nCREATE TABLE table_name_32 (drawn INTEGER, lost VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(drawn) FROM table_name_32 WHERE lost = 5 AND points > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has the opponent competing in the final of john mcenroe?\n\n### Context:\nCREATE TABLE table_name_94 (date VARCHAR, opponent_in_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_94 WHERE opponent_in_final = \"john mcenroe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people wrote the episode with 3.40 million U.S viewers?\n\n### Context:\nCREATE TABLE table_26748252_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(written_by) FROM table_26748252_1 WHERE us_viewers__in_millions_ = \"3.40\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goals occurred with Diego Milito in a debut year later than 2008?\n\n### Context:\nCREATE TABLE table_name_40 (goals VARCHAR, name VARCHAR, debut_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals) FROM table_name_40 WHERE name = \"diego milito\" AND debut_year > 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the first aired date when Professor Hubert Whitehead was the role?\n\n### Context:\nCREATE TABLE table_name_30 (first_aired VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_aired FROM table_name_30 WHERE role = \"professor hubert whitehead\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the area in kilometers squared the population density is 137.61?\n\n### Context:\nCREATE TABLE table_14325808_1 (area__km\u00b2_ VARCHAR, density__pop_km\u00b2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_14325808_1 WHERE density__pop_km\u00b2_ = \"137.61\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTimsah arena is in what country?\n\n### Context:\nCREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_32 WHERE stadium = \"timsah arena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich games had Philadelphia as home team?\n\n### Context:\nCREATE TABLE table_name_20 (game VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_20 WHERE home_team = \"philadelphia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is tries 0 and appearance less than 0?\n\n### Context:\nCREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season was won by Anthony Yeh?\n\n### Context:\nCREATE TABLE table_20026849_1 (season VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_20026849_1 WHERE winner = \"Anthony Yeh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result for the 2012 ibjjf world jiu-jitsu championships event when the method was points (4 x 0)?\n\n### Context:\nCREATE TABLE table_name_95 (result VARCHAR, event VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_95 WHERE event = \"2012 ibjjf world jiu-jitsu championships\" AND method = \"points (4 x 0)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen st kilda played as the Away team which date was that?\n\n### Context:\nCREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_10 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Type of Tunnel is the Downhill Tunnel?\n\n### Context:\nCREATE TABLE table_name_78 (type VARCHAR, tunnel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_78 WHERE tunnel = \"downhill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what settlement is the population 1114?\n\n### Context:\nCREATE TABLE table_2562572_19 (settlement VARCHAR, population__2011_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT settlement FROM table_2562572_19 WHERE population__2011_ = 1114"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat digital reaction has hot 100 reaction of 2 (+1)?\n\n### Context:\nCREATE TABLE table_name_89 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hot_digital_songs_reaction FROM table_name_89 WHERE hot_100_reaction = \"2 (+1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for mario somma\n\n### Context:\nCREATE TABLE table_17275810_7 (team VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_17275810_7 WHERE replaced_by = \"Mario Somma\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich battle of the planets where ova (harmony gold dub) is solaris?\n\n### Context:\nCREATE TABLE table_17480471_3 (battle_of_the_planets VARCHAR, ova__harmony_gold_dub_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT battle_of_the_planets FROM table_17480471_3 WHERE ova__harmony_gold_dub_ = \"Solaris\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest years any of the incumbents were first elected? \n\n### Context:\nCREATE TABLE table_1342249_5 (first_elected INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1342249_5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the school founded with an 898 enrollment?\n\n### Context:\nCREATE TABLE table_2076522_2 (founded INTEGER, enrollment__fall_2010_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(founded) FROM table_2076522_2 WHERE enrollment__fall_2010_ = 898"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the listed Location with a # found of 4?\n\n### Context:\nCREATE TABLE table_name_47 (location VARCHAR, _number_found VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_47 WHERE _number_found = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Round smaller than 4, and a College/junior/club team (league) of usa u-18?\n\n### Context:\nCREATE TABLE table_name_48 (player VARCHAR, round VARCHAR, college_junior_club_team__league_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_48 WHERE round < 4 AND college_junior_club_team__league_ = \"usa u-18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner with a mountain stage type on 22 May?\n\n### Context:\nCREATE TABLE table_name_81 (winner VARCHAR, type VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_81 WHERE type = \"mountain stage\" AND date = \"22 may\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the high points when the team was Washington?\n\n### Context:\nCREATE TABLE table_27755603_10 (high_points VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_27755603_10 WHERE team = \"Washington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Time of the match with a Record of 3-3?\n\n### Context:\nCREATE TABLE table_name_30 (time VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_30 WHERE record = \"3-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the highest assists during game 78?\n\n### Context:\nCREATE TABLE table_27721131_11 (high_assists VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_27721131_11 WHERE game = 78"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date is there a score1 of 2 - 4 with the opponent Chelsea under 18s?\n\n### Context:\nCREATE TABLE table_name_69 (date VARCHAR, score1 VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_69 WHERE score1 = \"2 - 4\" AND opponent = \"chelsea under 18s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the status with the opposing team of Scotland?\n\n### Context:\nCREATE TABLE table_name_9 (status VARCHAR, opposing_teams VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_9 WHERE opposing_teams = \"scotland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did the team achieve an overrall record of mu, 21-19?\n\n### Context:\nCREATE TABLE table_16201038_4 (last_5_meetings VARCHAR, overall_record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(last_5_meetings) FROM table_16201038_4 WHERE overall_record = \"MU, 21-19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the content for la sorgente sat 3?\n\n### Context:\nCREATE TABLE table_name_20 (content VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT content FROM table_name_20 WHERE television_service = \"la sorgente sat 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Score listed that has a Result of 1-0?\n\n### Context:\nCREATE TABLE table_name_70 (score VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_70 WHERE result = \"1-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the loss in the game with the record of 65-53?\n\n### Context:\nCREATE TABLE table_name_25 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_25 WHERE record = \"65-53\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the school colors of the University of New Hampshire?\n\n### Context:\nCREATE TABLE table_1221089_1 (colors VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT colors FROM table_1221089_1 WHERE institution = \"University of New Hampshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the ladder position when team is less than 10 and the Finals qualifications were DNQ?\n\n### Context:\nCREATE TABLE table_name_75 (final_ladder_position VARCHAR, finals_qualification VARCHAR, teams VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT final_ladder_position FROM table_name_75 WHERE finals_qualification = \"dnq\" AND teams < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was United States place when the player was Fred Couples?\n\n### Context:\nCREATE TABLE table_name_26 (place VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_26 WHERE country = \"united states\" AND player = \"fred couples\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Venue, when the Score is 56-4?\n\n### Context:\nCREATE TABLE table_name_68 (venue VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_68 WHERE score = \"56-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2nd senior VIII that also has a 4th senior stm?\n\n### Context:\nCREATE TABLE table_name_60 (senior_2nd_viii VARCHAR, senior_iv VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT senior_2nd_viii FROM table_name_60 WHERE senior_iv = \"stm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tyre was used in Kyalami?\n\n### Context:\nCREATE TABLE table_name_81 (tyre VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_81 WHERE circuit = \"kyalami\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record of the game that has a result of w 45\u201317?\n\n### Context:\nCREATE TABLE table_name_31 (record VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_31 WHERE result = \"w 45\u201317\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nationality is the player who went to school at South Florida?\n\n### Context:\nCREATE TABLE table_16494599_1 (nationality VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_16494599_1 WHERE school_club_team = \"South Florida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the time/retired for grid of 17\n\n### Context:\nCREATE TABLE table_name_17 (time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_17 WHERE grid = 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich area has state authority and a roll fewer than 18?\n\n### Context:\nCREATE TABLE table_name_78 (area VARCHAR, authority VARCHAR, roll VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area FROM table_name_78 WHERE authority = \"state\" AND roll < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had a ballet style with original cast?\n\n### Context:\nCREATE TABLE table_name_80 (name VARCHAR, style VARCHAR, status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_80 WHERE style = \"ballet\" AND status = \"original cast\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Season for coach Fisher, and an actual adjusted record of 0\u201311?\n\n### Context:\nCREATE TABLE table_name_45 (season INTEGER, coach VARCHAR, actual_adjusted_record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(season) FROM table_name_45 WHERE coach = \"fisher\" AND actual_adjusted_record = \"0\u201311\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Game is greater than 49, and when Opponent is \"Pittsburgh Ironmen\"?\n\n### Context:\nCREATE TABLE table_name_10 (score VARCHAR, game VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_10 WHERE game > 49 AND opponent = \"pittsburgh ironmen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest pick # after round 11?\n\n### Context:\nCREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_name_33 WHERE round > 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did a game higher than 10 have a score of 99-89?\n\n### Context:\nCREATE TABLE table_name_26 (date VARCHAR, game VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_26 WHERE game > 10 AND score = \"99-89\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total against with 1 draw and less than 8 played?\n\n### Context:\nCREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the california where alaska tennessee\n\n### Context:\nCREATE TABLE table_17425749_1 (california VARCHAR, alaska VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT california FROM table_17425749_1 WHERE alaska = \"Tennessee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was nominated for best supporting actor in the movie Going My Way?\n\n### Context:\nCREATE TABLE table_18638067_1 (actor_actress VARCHAR, film_title_used_in_nomination VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT actor_actress FROM table_18638067_1 WHERE film_title_used_in_nomination = \"Going My Way\" AND category = \"Best Supporting Actor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different roles are there in the club \"Bootup Baltimore\"?\n\n### Context:\nCREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE member_of_club (position VARCHAR, clubid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT t2.position) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid WHERE t1.clubname = \"Bootup Baltimore\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day in october was game number 4 with under 3 points?\n\n### Context:\nCREATE TABLE table_name_18 (october VARCHAR, game VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(october) FROM table_name_18 WHERE game = 4 AND points < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of games tied for teams with under 551 games and a percentage of under 0.5593?\n\n### Context:\nCREATE TABLE table_name_8 (tied INTEGER, pct VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(tied) FROM table_name_8 WHERE pct < 0.5593 AND lost = 551"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of laps for Karl Muggeridge on a grid less than 16?\n\n### Context:\nCREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_74 WHERE rider = \"karl muggeridge\" AND grid < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grand prix with Gerhard Berger as the fastest lap and Michael Schumacher as the pole position?\n\n### Context:\nCREATE TABLE table_name_50 (grand_prix VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grand_prix FROM table_name_50 WHERE fastest_lap = \"gerhard berger\" AND pole_position = \"michael schumacher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the match at venue A with the celtic as the opponent?\n\n### Context:\nCREATE TABLE table_name_41 (date VARCHAR, venue VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_41 WHERE venue = \"a\" AND opponent = \"celtic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich regular season had the playoffs of 0 mls cups?\n\n### Context:\nCREATE TABLE table_name_87 (regular_season VARCHAR, playoffs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT regular_season FROM table_name_87 WHERE playoffs = \"0 mls cups\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when parkgate is at home?\n\n### Context:\nCREATE TABLE table_name_38 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_38 WHERE home_team = \"parkgate\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what Election year was Adalberto Mosaner the Mayor with less than 16,170 Inhabitants?\n\n### Context:\nCREATE TABLE table_name_64 (election INTEGER, mayor VARCHAR, inhabitants VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(election) FROM table_name_64 WHERE mayor = \"adalberto mosaner\" AND inhabitants < 16 OFFSET 170"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho belong to the institution \"University of Oxford\"? Show the first names and last names.\n\n### Context:\nCREATE TABLE authorship (authid VARCHAR, instid VARCHAR); CREATE TABLE authors (fname VARCHAR, lname VARCHAR, authid VARCHAR); CREATE TABLE inst (instid VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT t1.fname, t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN inst AS t3 ON t2.instid = t3.instid WHERE t3.name = \"University of Oxford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Marc's Surname?\n\n### Context:\nCREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surname FROM table_name_38 WHERE first = \"marc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was before 2010 and was a role-playing game?\n\n### Context:\nCREATE TABLE table_name_82 (game VARCHAR, year VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_82 WHERE year < 2010 AND genre = \"role-playing game\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Centerfold model has a Cover model of irina voronina?\n\n### Context:\nCREATE TABLE table_name_81 (centerfold_model VARCHAR, cover_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT centerfold_model FROM table_name_81 WHERE cover_model = \"irina voronina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Week of the game against the Minnesota Vikings?\n\n### Context:\nCREATE TABLE table_name_66 (week INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_66 WHERE opponent = \"minnesota vikings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest total GFR that has 95.80% of the population as Whites, and a TFR total larger than 2.14, in 2006?\n\n### Context:\nCREATE TABLE table_name_64 (gfr_2006 INTEGER, whites_as__percentage_of_pop VARCHAR, tfr_2006 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gfr_2006) FROM table_name_64 WHERE whites_as__percentage_of_pop = \"95.80%\" AND tfr_2006 > 2.14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the points against for november 14\n\n### Context:\nCREATE TABLE table_15607589_2 (points_against VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_against FROM table_15607589_2 WHERE date = \"November 14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the venue when the result is loss and the opponent is st george-illawarra dragons?\n\n### Context:\nCREATE TABLE table_name_58 (venue VARCHAR, result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_58 WHERE result = \"loss\" AND opponent = \"st george-illawarra dragons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest numbered episode in the series?\n\n### Context:\nCREATE TABLE table_28019988_5 (series__number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(series__number) FROM table_28019988_5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the number of female students (with F sex) living in Smith Hall\n\n### Context:\nCREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE dorm (dormid VARCHAR, dorm_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid JOIN dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' AND T1.sex = 'F'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the catalog number for the Grilled Cheese label?\n\n### Context:\nCREATE TABLE table_name_33 (catalog VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalog FROM table_name_33 WHERE label = \"grilled cheese\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich actor plays the character Helga Beimer?\n\n### Context:\nCREATE TABLE table_name_83 (actor VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT actor FROM table_name_83 WHERE character = \"helga beimer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest year when the best finish is 2 and the scoring average is less than 71.24?\n\n### Context:\nCREATE TABLE table_name_51 (year INTEGER, best_finish VARCHAR, scoring_average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_51 WHERE best_finish = \"2\" AND scoring_average < 71.24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least year for evonne goolagong helen gourlay\n\n### Context:\nCREATE TABLE table_2009095_2 (year INTEGER, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_2009095_2 WHERE opponents = \"Evonne Goolagong Helen Gourlay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the imprint when the title is owari no chronicle (ahead series)?\n\n### Context:\nCREATE TABLE table_name_22 (imprint VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT imprint FROM table_name_22 WHERE title = \"owari no chronicle (ahead series)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a High points of hoffman (16)?\n\n### Context:\nCREATE TABLE table_name_58 (record VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_58 WHERE high_points = \"hoffman (16)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party has Peter A. Quinn as a representative?\n\n### Context:\nCREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_44 WHERE representative = \"peter a. quinn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record at the game with a score of 21-16?\n\n### Context:\nCREATE TABLE table_name_77 (record VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_77 WHERE score = \"21-16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score on April 12?\n\n### Context:\nCREATE TABLE table_name_88 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_88 WHERE date = \"april 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the series count at for game 5? \n\n### Context:\nCREATE TABLE table_11963601_11 (series VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_11963601_11 WHERE game = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what Round with an Overall greater than 306 was the pick from the College of Virginia Tech?\n\n### Context:\nCREATE TABLE table_name_66 (round VARCHAR, college VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_66 WHERE college = \"virginia tech\" AND overall > 306"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the scorer when the opponent was aberdeen?\n\n### Context:\nCREATE TABLE table_name_63 (scorers VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT scorers FROM table_name_63 WHERE opponent = \"aberdeen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average no opinion score during 1954 November that is more favorable than 35?\n\n### Context:\nCREATE TABLE table_name_94 (no_opinion INTEGER, date VARCHAR, favorable VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(no_opinion) FROM table_name_94 WHERE date = \"1954 november\" AND favorable > 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many floors are in little Italy?\n\n### Context:\nCREATE TABLE table_name_42 (floors VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(floors) FROM table_name_42 WHERE location = \"little italy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich first election for the labor party is James Sharpe a part of?\n\n### Context:\nCREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_name_28 WHERE party = \"labor\" AND member = \"james sharpe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the year in which the driver was in 1st place.\n\n### Context:\nCREATE TABLE table_25561038_1 (season VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_25561038_1 WHERE position = \"1st\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition occurred after 1980 with a score of 0:5 in Jerusalem?\n\n### Context:\nCREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_51 WHERE year > 1980 AND score = \"0:5\" AND location = \"jerusalem\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the premium associated with tariff code g9?\n\n### Context:\nCREATE TABLE table_10408617_5 (approx_premium VARCHAR, tariff_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT approx_premium FROM table_10408617_5 WHERE tariff_code = \"g9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number conceded for the team that had less than 8 wins, scored 21, and had less than 23 points?\n\n### Context:\nCREATE TABLE table_name_77 (conceded INTEGER, points VARCHAR, wins VARCHAR, scored VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(conceded) FROM table_name_77 WHERE wins < 8 AND scored = 21 AND points < 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen karl ridderbusch is the la roche who is the olivier?\n\n### Context:\nCREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT olivier FROM table_29728787_1 WHERE la_roche = \"Karl Ridderbusch\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away score when they played at Brunswick Street Oval?\n\n### Context:\nCREATE TABLE table_name_92 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_92 WHERE venue = \"brunswick street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the Silver the Year Katie Curtis Unknown won the Bronze?\n\n### Context:\nCREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_28 WHERE bronze = \"katie curtis unknown\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Week, when Result is W 34-21?\n\n### Context:\nCREATE TABLE table_name_89 (week INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(week) FROM table_name_89 WHERE result = \"w 34-21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat wheel arrangement was made in 1910?\n\n### Context:\nCREATE TABLE table_name_1 (wheel_arrangement VARCHAR, year_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wheel_arrangement FROM table_name_1 WHERE year_made = \"1910\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest rank of a company that has 1,715.8 billion in assets? \n\n### Context:\nCREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = \"1,715.8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances? \n\n### Context:\nCREATE TABLE table_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT seasons_by_team FROM table_274117_5 WHERE position = \"OL\" AND number = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day was the high assist Mike Taylor (5)?\n\n### Context:\nCREATE TABLE table_name_95 (date VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_95 WHERE high_assists = \"mike taylor (5)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the frequency for the station with DYBT as its callsign?\n\n### Context:\nCREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_53 WHERE callsign = \"dybt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total round of the 129 pick?\n\n### Context:\nCREATE TABLE table_name_49 (round VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_49 WHERE pick__number = 129"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the authors of submissions and the acceptance results of their submissions.\n\n### Context:\nCREATE TABLE acceptance (Result VARCHAR, Submission_ID VARCHAR); CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Author, T1.Result FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was Motherwell the opponent at Fir Park?\n\n### Context:\nCREATE TABLE table_name_77 (date VARCHAR, opponent VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_77 WHERE opponent = \"motherwell\" AND venue = \"fir park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich attendance has 9 as the tie no.?\n\n### Context:\nCREATE TABLE table_name_43 (attendance VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_43 WHERE tie_no = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Peak with a Project Name that is talakan ph 1?\n\n### Context:\nCREATE TABLE table_name_14 (peak VARCHAR, project_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT peak FROM table_name_14 WHERE project_name = \"talakan ph 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the source of an ENG transfer that paid a \u00a31.5m transfer fee?\n\n### Context:\nCREATE TABLE table_name_88 (source VARCHAR, country VARCHAR, transfer_fee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT source FROM table_name_88 WHERE country = \"eng\" AND transfer_fee = \"\u00a31.5m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much did Jerry Barber score to come in at T9?\n\n### Context:\nCREATE TABLE table_name_79 (score VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_79 WHERE place = \"t9\" AND player = \"jerry barber\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of laps with a Grid larger than 14, a Time/Retired of + 2 laps, and a Driver of helmut marko?\n\n### Context:\nCREATE TABLE table_name_30 (laps INTEGER, driver VARCHAR, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_30 WHERE grid > 14 AND time_retired = \"+ 2 laps\" AND driver = \"helmut marko\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the most common type of competition.\n\n### Context:\nCREATE TABLE competition (Competition_type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Competition_type FROM competition GROUP BY Competition_type ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the % for core moldova being 4.36%\n\n### Context:\nCREATE TABLE table_19260_1 (_percentage VARCHAR, _percentage_core_moldova VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage FROM table_19260_1 WHERE _percentage_core_moldova = \"4.36_percentage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2006 when the 2010 is 27\n\n### Context:\nCREATE TABLE table_name_26 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2006 FROM table_name_26 WHERE 2010 = \"27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest total number of medals for rank 11 and more than 0 silver medals?\n\n### Context:\nCREATE TABLE table_name_25 (total INTEGER, rank VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_25 WHERE rank = \"11\" AND silver > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total react number with a time less than 20.05 and a lane less than 6?\n\n### Context:\nCREATE TABLE table_name_53 (react VARCHAR, time VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(react) FROM table_name_53 WHERE time < 20.05 AND lane < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRegion of eastern england has what investment income?\n\n### Context:\nCREATE TABLE table_name_30 (investment_income VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT investment_income FROM table_name_30 WHERE region = \"eastern england\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the record 21-25?\n\n### Context:\nCREATE TABLE table_name_79 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_79 WHERE record = \"21-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich December has a Record of 21\u20137\u20132, and a Game larger than 30?\n\n### Context:\nCREATE TABLE table_name_59 (december INTEGER, record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(december) FROM table_name_59 WHERE record = \"21\u20137\u20132\" AND game > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average crowd size when the away team was South Melbourne?\n\n### Context:\nCREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_63 WHERE away_team = \"south melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat chassis had an entrant of G.A. Vandervell?\n\n### Context:\nCREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_5 WHERE entrant = \"g.a. vandervell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what facility was Pittsburgh's home game played?\n\n### Context:\nCREATE TABLE table_28298589_4 (site VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT site FROM table_28298589_4 WHERE home_team = \"Pittsburgh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Pole Position for the German Grand Prix\n\n### Context:\nCREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_name_83 WHERE grand_prix = \"german grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the total amount of products ordered before 2018-03-17 07:13:53.\n\n### Context:\nCREATE TABLE customer_orders (order_id VARCHAR, order_date INTEGER); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_date < \"2018-03-17 07:13:53\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team has a 118 Point for?\n\n### Context:\nCREATE TABLE table_name_24 (team VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_24 WHERE points_for = \"118\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT WAS THE SCORE FOR GAME 31?\n\n### Context:\nCREATE TABLE table_15869204_6 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_15869204_6 WHERE game = 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Wickets with a 26.13 average?\n\n### Context:\nCREATE TABLE table_name_8 (wickets VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wickets) FROM table_name_8 WHERE average = 26.13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what Route is the mountain with a Rank less than 33 and an Elevation of 11,312 feet 3448 m?\n\n### Context:\nCREATE TABLE table_name_60 (route INTEGER, rank VARCHAR, elevation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(route) FROM table_name_60 WHERE rank < 33 AND elevation = \"11,312 feet 3448 m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the circuit when Jochen Rindt won?\n\n### Context:\nCREATE TABLE table_name_28 (circuit VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_28 WHERE winning_driver = \"jochen rindt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of Hull number with portugal destination\n\n### Context:\nCREATE TABLE table_name_84 (hull_no INTEGER, destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(hull_no) FROM table_name_84 WHERE destination = \"portugal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2009's 2010 featured the wta premier 5 tournaments?\n\n### Context:\nCREATE TABLE table_name_72 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2009 FROM table_name_72 WHERE 2010 = \"wta premier 5 tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich FCC info has a ERP W smaller than 222, and a Call sign of k297ai?\n\n### Context:\nCREATE TABLE table_name_35 (fcc_info VARCHAR, erp_w VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fcc_info FROM table_name_35 WHERE erp_w < 222 AND call_sign = \"k297ai\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many letters were given to the organization with a founding date of 1997-12-12? \n\n### Context:\nCREATE TABLE table_2538117_12 (letters VARCHAR, founding_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(letters) FROM table_2538117_12 WHERE founding_date = \"1997-12-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the host city in years where the host school was \u00e9cole de technologie sup\u00e9rieure?\n\n### Context:\nCREATE TABLE table_2331549_1 (host_city VARCHAR, host_school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host_city FROM table_2331549_1 WHERE host_school = \"\u00c9cole de technologie sup\u00e9rieure\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the match with a save postponed rescheduled for June 24?\n\n### Context:\nCREATE TABLE table_name_97 (score VARCHAR, save VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_97 WHERE save = \"postponed rescheduled for june 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the Blue Jays record 60-56?\n\n### Context:\nCREATE TABLE table_name_25 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_25 WHERE record = \"60-56\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team won against the New England Patriots 40-21?\n\n### Context:\nCREATE TABLE table_name_14 (winner VARCHAR, loser VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_14 WHERE loser = \"new england patriots\" AND result = \"40-21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat lane has a time of 1:57.71?\n\n### Context:\nCREATE TABLE table_name_95 (lane INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lane) FROM table_name_95 WHERE time = \"1:57.71\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the highest Against that has the Losses larger than 9, and the Byes of 2, and the Draws larger than 0?\n\n### Context:\nCREATE TABLE table_name_56 (against INTEGER, draws VARCHAR, losses VARCHAR, byes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(against) FROM table_name_56 WHERE losses > 9 AND byes = 2 AND draws > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the to par number of the person who won in 2003?\n\n### Context:\nCREATE TABLE table_name_40 (to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_40 WHERE year_s__won = \"2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the opponent when the method is tko (punches) at 4:26 of round 1?\n\n### Context:\nCREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_82 WHERE method = \"tko (punches) at 4:26 of round 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of Team 2 with a Team 1 of Al Qadsia?\n\n### Context:\nCREATE TABLE table_name_4 (team_2 VARCHAR, team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_2 FROM table_name_4 WHERE team_1 = \"al qadsia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the percentage of safari when firefox was 24.66%\n\n### Context:\nCREATE TABLE table_name_10 (safari VARCHAR, firefox VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT safari FROM table_name_10 WHERE firefox = \"24.66%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich country won swimming track & field when lexington won swimming and madison won volleyball\n\n### Context:\nCREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT track_ & _field FROM table_16423070_4 WHERE swimming = \"Lexington\" AND volleyball = \"Madison\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did the Paris Marathon occur?\n\n### Context:\nCREATE TABLE table_name_47 (venue VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_47 WHERE competition = \"paris marathon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Richmond play as an away team?\n\n### Context:\nCREATE TABLE table_name_70 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_70 WHERE away_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson?\n\n### Context:\nCREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_10 WHERE scorers = \"steven, johnston, walters, mccoist, i.ferguson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the atv-002 launch?\n\n### Context:\nCREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launch_date FROM table_name_22 WHERE designation = \"atv-002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many attended game(s) against the boston patriots?\n\n### Context:\nCREATE TABLE table_17779448_1 (attendance VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_17779448_1 WHERE opponent = \"Boston Patriots\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen rashard lewis (24) has the highest amount of points who is the team?\n\n### Context:\nCREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_23249053_11 WHERE high_points = \"Rashard Lewis (24)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the highest division number through the years?\n\n### Context:\nCREATE TABLE table_1990460_1 (division INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(division) FROM table_1990460_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat To par has a Country of united states, and a Score of 67-66-78-77=288?\n\n### Context:\nCREATE TABLE table_name_52 (to_par VARCHAR, country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_52 WHERE country = \"united states\" AND score = 67 - 66 - 78 - 77 = 288"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the period for uruguay\n\n### Context:\nCREATE TABLE table_24565004_19 (period VARCHAR, nationality\u00b2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT period FROM table_24565004_19 WHERE nationality\u00b2 = \"Uruguay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich owner has 84 seats?\n\n### Context:\nCREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT owner FROM table_name_60 WHERE seats = 84"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year has the time of 55:29:20?\n\n### Context:\nCREATE TABLE table_name_16 (year VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_16 WHERE time = \"55:29:20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the captain rank that has some captains in both Cutter and Armed schooner classes.\n\n### Context:\nCREATE TABLE captain (rank VARCHAR, CLASS VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM captain WHERE CLASS = 'Cutter' INTERSECT SELECT rank FROM captain WHERE CLASS = 'Armed schooner'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Player with a Cross Code Debut of RL Test GB v France?\n\n### Context:\nCREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_25 WHERE cross_code_debut = \"rl test gb v france\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent of the game played on November 20, 1995?\n\n### Context:\nCREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_66 WHERE date = \"november 20, 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of cities of markets with low film market estimate bigger than 10000?\n\n### Context:\nCREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the surface on march 2, 1997?\n\n### Context:\nCREATE TABLE table_name_91 (surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_91 WHERE date = \"march 2, 1997\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of air dates for 05 cycle\n\n### Context:\nCREATE TABLE table_16976547_2 (air_dates VARCHAR, cycle_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = \"05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the goals with since less than 2007 and App(GS/Sub) of 97 (69/28)\n\n### Context:\nCREATE TABLE table_name_57 (goals VARCHAR, since VARCHAR, app_gs_sub_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT goals FROM table_name_57 WHERE since < 2007 AND app_gs_sub_ = \"97 (69/28)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title when the series # is 7?\n\n### Context:\nCREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_29747178_2 WHERE series__number = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Start has a 0 Conv, 0 Pens and 8 Tries?\n\n### Context:\nCREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start FROM table_name_54 WHERE conv = \"0\" AND pens = \"0\" AND tries = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game was played on march 2?\n\n### Context:\nCREATE TABLE table_name_4 (game INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_4 WHERE date = \"march 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country of t1 place player wayne grady?\n\n### Context:\nCREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_9 WHERE place = \"t1\" AND player = \"wayne grady\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away score with a record of 7-4, win% of 0.637, and 2010 season?\n\n### Context:\nCREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_22 WHERE record = \"7-4\" AND win__percentage = 0.637 AND season = \"2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many high assists did the Lakers have?\n\n### Context:\nCREATE TABLE table_name_84 (high_assists VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_84 WHERE team = \"lakers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average episode number where jimmy mulville was the 4th performer?\n\n### Context:\nCREATE TABLE table_name_35 (episode INTEGER, performer_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(episode) FROM table_name_35 WHERE performer_4 = \"jimmy mulville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich film or series was nominated in the category of best fansite?\n\n### Context:\nCREATE TABLE table_name_2 (film_or_series VARCHAR, result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film_or_series FROM table_name_2 WHERE result = \"nominated\" AND category = \"best fansite\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the coast guard cross when you recieve the navy distinguished service medal?\n\n### Context:\nCREATE TABLE table_2104176_1 (coast_guard_cross VARCHAR, distinguished_service_cross VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coast_guard_cross FROM table_2104176_1 WHERE distinguished_service_cross = \"Navy Distinguished Service Medal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Player, when Country is \"England\", and when Place is \"T7\"?\n\n### Context:\nCREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_50 WHERE country = \"england\" AND place = \"t7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the celebrity who exited on day 13?\n\n### Context:\nCREATE TABLE table_name_35 (celebrity VARCHAR, exited VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT celebrity FROM table_name_35 WHERE exited = \"day 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND?\n\n### Context:\nCREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_11677691_2 WHERE college = \"South Carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are all the writers of episodes in season 24?\n\n### Context:\nCREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the type of glycosylase that has an E. coli of Muty?\n\n### Context:\nCREATE TABLE table_name_11 (type VARCHAR, e_coli VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_11 WHERE e_coli = \"muty\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a To par of \u20134, and a Player of duffy waldorf?\n\n### Context:\nCREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_30 WHERE to_par = \"\u20134\" AND player = \"duffy waldorf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player had a draft before 1975 and before round 6?\n\n### Context:\nCREATE TABLE table_name_79 (player VARCHAR, draft VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country is ranked number 2 and has less than 5 total medals?\n\n### Context:\nCREATE TABLE table_name_61 (silver VARCHAR, rank VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_61 WHERE rank = 2 AND total < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest production code value in series #10?\n\n### Context:\nCREATE TABLE table_name_14 (production_code INTEGER, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(production_code) FROM table_name_14 WHERE series__number = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps have a Time/Retired of +12.5 secs?\n\n### Context:\nCREATE TABLE table_name_87 (laps VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(laps) FROM table_name_87 WHERE time_retired = \"+12.5 secs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score 1 for the major league soccer all-star game?\n\n### Context:\nCREATE TABLE table_name_20 (score1 VARCHAR, competition_or_tour VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score1 FROM table_name_20 WHERE competition_or_tour = \"major league soccer all-star game\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the player with a Span of 1998-2009?\n\n### Context:\nCREATE TABLE table_name_8 (player VARCHAR, span VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_8 WHERE span = \"1998-2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is nominated for the film Rugrats Go Wild?\n\n### Context:\nCREATE TABLE table_name_44 (winner_nominee_s_ VARCHAR, result VARCHAR, film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner_nominee_s_ FROM table_name_44 WHERE result = \"nominated\" AND film = \"rugrats go wild\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the emails of customers who has filed a complaints of the product with the most complaints.\n\n### Context:\nCREATE TABLE customers (email_address VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.email_address FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_id ORDER BY COUNT(*) LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the writer for the episode with an Original air date of october 9, 2000?\n\n### Context:\nCREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_name_71 WHERE original_air_date = \"october 9, 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people were at Washington's home game against Miami?\n\n### Context:\nCREATE TABLE table_name_31 (attendance VARCHAR, visitor VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_31 WHERE visitor = \"miami\" AND home = \"washington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the score in the final is 3\u20136, 6\u20134, 3\u20136, 4\u20136, who are all the opponents in the final?\n\n### Context:\nCREATE TABLE table_26202847_6 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_in_the_final FROM table_26202847_6 WHERE score_in_the_final = \"3\u20136, 6\u20134, 3\u20136, 4\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere are the headquarters of the company whose sales were 69.2 billion?\n\n### Context:\nCREATE TABLE table_1682026_3 (headquarters VARCHAR, sales__billion_$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT headquarters FROM table_1682026_3 WHERE sales__billion_$_ = \"69.2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many uninterrupted ranks does john dingell have?\n\n### Context:\nCREATE TABLE table_name_87 (uninterrupted_rank VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(uninterrupted_rank) FROM table_name_87 WHERE name = \"john dingell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind all the songs whose name contains the word \"the\".\n\n### Context:\nCREATE TABLE songs (title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM songs WHERE title LIKE '% the %'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average year that the venue was Bokskogens?\n\n### Context:\nCREATE TABLE table_name_16 (year INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_16 WHERE venue = \"bokskogens\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the points average when the tied is greater than 8, less than 82 games and the coach of Bryan Mclay \u2020 Morris Lallo \u2021 Gerry Moore \u2021, and greater than 322 goals?\n\n### Context:\nCREATE TABLE table_name_13 (points INTEGER, goals_against VARCHAR, coach VARCHAR, tied VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_13 WHERE tied > 8 AND games < 82 AND coach = \"bryan mclay \u2020 morris lallo \u2021 gerry moore \u2021\" AND goals_against > 322"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college had the 93 pick?\n\n### Context:\nCREATE TABLE table_name_50 (college VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_50 WHERE pick = 93"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat away team played when the crowd was over 27,463 people?\n\n### Context:\nCREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of the player with a height of 205 and shirt no 8?\n\n### Context:\nCREATE TABLE table_name_14 (position VARCHAR, height VARCHAR, shirt_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_14 WHERE height = 205 AND shirt_no = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner on the Symmons Plains Raceway?\n\n### Context:\nCREATE TABLE table_14016079_1 (winner VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_14016079_1 WHERE circuit = \"Symmons Plains Raceway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the episode that had 3.55 million viewers?\n\n### Context:\nCREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = \"3.55\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDuring the 1st Place (Won the Series), who was the act?\n\n### Context:\nCREATE TABLE table_23429629_4 (act VARCHAR, place_came VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT act FROM table_23429629_4 WHERE place_came = \"1st Place (Won the Series)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record after the game on November 10?\n\n### Context:\nCREATE TABLE table_27755784_6 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_27755784_6 WHERE date = \"November 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the time for buffalo bills\n\n### Context:\nCREATE TABLE table_name_9 (time VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_9 WHERE opponent = \"buffalo bills\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average laps driven by david coulthard?\n\n### Context:\nCREATE TABLE table_name_75 (laps INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(laps) FROM table_name_75 WHERE driver = \"david coulthard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record of the game that had a loss of Stottlemyre (10-12)?\n\n### Context:\nCREATE TABLE table_name_33 (record VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_33 WHERE loss = \"stottlemyre (10-12)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many authors are there?\n\n### Context:\nCREATE TABLE authors (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM authors"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Saffir-Simpson category for the hurricane named Bonnie?\n\n### Context:\nCREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT saffir_simpson_category FROM table_15416002_1 WHERE name = \"Bonnie\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school did the player that is 6-6 go to?\n\n### Context:\nCREATE TABLE table_name_69 (school VARCHAR, height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_69 WHERE height = \"6-6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the role that has a Title of Salud, Dinero y Amor and antagonist in the notes field?\n\n### Context:\nCREATE TABLE table_name_26 (role VARCHAR, notes VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_26 WHERE notes = \"antagonist\" AND title = \"salud, dinero y amor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the incumbent for 1932?\n\n### Context:\nCREATE TABLE table_1342149_13 (incumbent VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1342149_13 WHERE first_elected = 1932"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Song has a Draw of less than 4 with a Percentage of 32.22%?\n\n### Context:\nCREATE TABLE table_name_72 (song VARCHAR, draw VARCHAR, percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_name_72 WHERE draw < 4 AND percentage = \"32.22%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time is it for the southern home team?\n\n### Context:\nCREATE TABLE table_name_82 (time VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_82 WHERE home_team = \"southern\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every year named for the latitude of 66.5N?\n\n### Context:\nCREATE TABLE table_16799784_12 (year_named VARCHAR, latitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_named FROM table_16799784_12 WHERE latitude = \"66.5N\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the percentage of Android use when Windows is 1.15%?\n\n### Context:\nCREATE TABLE table_11381701_3 (android VARCHAR, windows VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT android FROM table_11381701_3 WHERE windows = \"1.15%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was Melbourne's home team opponent?\n\n### Context:\nCREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_90 WHERE away_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the center of the Artsakh province?\n\n### Context:\nCREATE TABLE table_23887174_1 (center VARCHAR, province__ashkharh_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT center FROM table_23887174_1 WHERE province__ashkharh_ = \"Artsakh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the episode number of the episode that aired on August 8, 2005?\n\n### Context:\nCREATE TABLE table_name_17 (episode_number VARCHAR, podcast_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode_number FROM table_name_17 WHERE podcast_date = \"august 8, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent with 16 points?\n\n### Context:\nCREATE TABLE table_name_5 (opponent VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_5 WHERE opponents = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich round has 4 clubs involved?\n\n### Context:\nCREATE TABLE table_name_51 (round VARCHAR, clubs_involved VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_51 WHERE clubs_involved = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player is from Ohio State college?\n\n### Context:\nCREATE TABLE table_11677691_9 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11677691_9 WHERE college = \"Ohio State\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the man of the match for 24th\n\n### Context:\nCREATE TABLE table_17120964_5 (man_of_the_match VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT man_of_the_match FROM table_17120964_5 WHERE date = \"24th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every reason for change for the Washington 3rd District?\n\n### Context:\nCREATE TABLE table_2159571_2 (reason_for_change VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_change FROM table_2159571_2 WHERE district = \"Washington 3rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the position of Greg Fredlund in years after 2008?\n\n### Context:\nCREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_30 WHERE year > 2008 AND player = \"greg fredlund\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho put on the show where the numbers were 227412\n\n### Context:\nCREATE TABLE table_27716091_1 (directed_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_27716091_1 WHERE production_code = 227412"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many elections have resulted in retired democratic hold?\n\n### Context:\nCREATE TABLE table_1341453_34 (party VARCHAR, results VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1341453_34 WHERE results = \"Retired Democratic hold\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did the player who was drafted by Calgary go to?\n\n### Context:\nCREATE TABLE table_28059992_6 (college VARCHAR, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_28059992_6 WHERE cfl_team = \"Calgary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the addresses of the buildings that have apartments with more than 2 bathrooms.\n\n### Context:\nCREATE TABLE Apartment_Buildings (building_address VARCHAR, building_id VARCHAR); CREATE TABLE Apartments (building_id VARCHAR, bathroom_count INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT T1.building_address FROM Apartment_Buildings AS T1 JOIN Apartments AS T2 ON T1.building_id = T2.building_id WHERE T2.bathroom_count > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away Team Score of the Collingwood Home Team?\n\n### Context:\nCREATE TABLE table_name_26 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_26 WHERE away_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value of Ends Lost when Blank Ends is 9.\n\n### Context:\nCREATE TABLE table_1505809_2 (Ends VARCHAR, blank_ends VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Ends AS lost FROM table_1505809_2 WHERE blank_ends = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Decision has a Date of april 25?\n\n### Context:\nCREATE TABLE table_name_85 (decision VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT decision FROM table_name_85 WHERE date = \"april 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Record, when Date is October 31?\n\n### Context:\nCREATE TABLE table_name_37 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_37 WHERE date = \"october 31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest rank for a nation with 29 total medals, over 5 silvers, and under 16 bronze?\n\n### Context:\nCREATE TABLE table_name_71 (rank INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_71 WHERE silver > 5 AND total = 29 AND bronze < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank is the parish with 482.81 km^2?\n\n### Context:\nCREATE TABLE table_171356_2 (census_ranking VARCHAR, area_km_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT census_ranking FROM table_171356_2 WHERE area_km_2 = \"482.81\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nation has a Second of tomas pitonak?\n\n### Context:\nCREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_72 WHERE second = \"tomas pitonak\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the location of quezon city , metro manila what is the athletic nickname?\n\n### Context:\nCREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athletic_nickname FROM table_22171978_1 WHERE location = \"Quezon City , Metro Manila\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the listed year that has a rank smaller than 8 and moving from Olympiacos?\n\n### Context:\nCREATE TABLE table_name_64 (year VARCHAR, rank VARCHAR, moving_from VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_64 WHERE rank < 8 AND moving_from = \"olympiacos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the To par and holds the t8 place of the United States player Tiger Woods?\n\n### Context:\nCREATE TABLE table_name_62 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_62 WHERE country = \"united states\" AND place = \"t8\" AND player = \"tiger woods\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the Game with a Record of 46-22?\n\n### Context:\nCREATE TABLE table_name_17 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_17 WHERE record = \"46-22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was communications and corporate affairs held by Jeff Rotman?\n\n### Context:\nCREATE TABLE table_12113818_1 (year VARCHAR, communications_and_corporate_affairs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_12113818_1 WHERE communications_and_corporate_affairs = \"Jeff Rotman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest rank of rider darren gilpin?\n\n### Context:\nCREATE TABLE table_name_91 (rank INTEGER, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_91 WHERE rider = \"darren gilpin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Record, when Game is \"24\"?\n\n### Context:\nCREATE TABLE table_name_24 (record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_24 WHERE game = 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the placement date of the order whose invoice number is 10?\n\n### Context:\nCREATE TABLE orders (date_order_placed VARCHAR, order_id VARCHAR); CREATE TABLE shipments (order_id VARCHAR, invoice_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.date_order_placed FROM orders AS T1 JOIN shipments AS T2 ON T1.order_id = T2.order_id WHERE T2.invoice_number = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich trainer had a time of 1:10.09 with a year less than 2009?\n\n### Context:\nCREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trainer FROM table_name_34 WHERE year < 2009 AND time = \"1:10.09\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was terry cook picked?\n\n### Context:\nCREATE TABLE table_name_92 (pick INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_92 WHERE player = \"terry cook\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n what's the\u00a0date\u00a0where\u00a0visitor\u00a0is phoenix suns and\u00a0record\u00a0is 31\u201330\n\n### Context:\nCREATE TABLE table_11964047_9 (date VARCHAR, visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_11964047_9 WHERE visitor = \"Phoenix Suns\" AND record = \"31\u201330\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn how many district has a politician took office on 1844-10-14?\n\n### Context:\nCREATE TABLE table_26362472_1 (district VARCHAR, took_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_26362472_1 WHERE took_office = \"1844-10-14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the heat rank for senegal\n\n### Context:\nCREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT heat_rank FROM table_name_22 WHERE country = \"senegal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August?\n\n### Context:\nCREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = \"23' 18.82 97.102mph\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner on 28 December 2007?\n\n### Context:\nCREATE TABLE table_name_59 (winner VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_59 WHERE date = \"28 december 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the youngest employee in the company? List employee's first and last name.\n\n### Context:\nCREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, birth_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_name, last_name FROM employees ORDER BY birth_date DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the date for detroit and game more than 3\n\n### Context:\nCREATE TABLE table_name_53 (date VARCHAR, team VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_53 WHERE team = \"detroit\" AND game > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high capacity that has an average under 489 and a highest over 778?\n\n### Context:\nCREATE TABLE table_name_90 (capacity INTEGER, average VARCHAR, highest VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(capacity) FROM table_name_90 WHERE average < 489 AND highest > 778"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?\n\n### Context:\nCREATE TABLE table_name_32 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold) FROM table_name_32 WHERE silver > 1 AND nation = \"vietnam\" AND bronze < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Place has an English translation of lullaby for my beloved?\n\n### Context:\nCREATE TABLE table_name_58 (place INTEGER, english_translation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(place) FROM table_name_58 WHERE english_translation = \"lullaby for my beloved\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the expansion in the city of San Juan?\n\n### Context:\nCREATE TABLE table_name_31 (year VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_31 WHERE city = \"san juan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of this constellation with an area of 245.375 sq. deg.?\n\n### Context:\nCREATE TABLE table_177766_1 (constellation VARCHAR, area__sqdeg_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constellation FROM table_177766_1 WHERE area__sqdeg_ = \"245.375\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins did team Kolles & Heinz union, with f/laps of 0, have in the Formula Three Euroseries?\n\n### Context:\nCREATE TABLE table_name_16 (wins VARCHAR, team VARCHAR, f_laps VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_16 WHERE f_laps = \"0\" AND series = \"formula three euroseries\" AND team = \"kolles & heinz union\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Land (sqmi) has a GEO ID smaller than 3800587900?\n\n### Context:\nCREATE TABLE table_name_49 (land___sqmi__ INTEGER, geo_id INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(land___sqmi__) FROM table_name_49 WHERE geo_id < 3800587900"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team has a car # before 99, a Toyota, and is driven by Mike Skinner?\n\n### Context:\nCREATE TABLE table_name_1 (team VARCHAR, driver VARCHAR, car__number VARCHAR, make VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_1 WHERE car__number < 99 AND make = \"toyota\" AND driver = \"mike skinner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Trofeo Fast team for roberto visentini\n\n### Context:\nCREATE TABLE table_name_58 (trofeo_fast_team VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trofeo_fast_team FROM table_name_58 WHERE winner = \"roberto visentini\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition took place in a year later than 2009 with team notes?\n\n### Context:\nCREATE TABLE table_name_8 (competition VARCHAR, year VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_8 WHERE year > 2009 AND notes = \"team\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date when Steffi Graf was the opponent in the final and the score was 2\u20136, 0\u20136?\n\n### Context:\nCREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_49 WHERE opponent_in_the_final = \"steffi graf\" AND score_in_the_final = \"2\u20136, 0\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points total are there later than 2003?\n\n### Context:\nCREATE TABLE table_name_99 (points INTEGER, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_99 WHERE year > 2003"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total when the league cup is less than 1, and the fa cup is less than 1?\n\n### Context:\nCREATE TABLE table_name_45 (total INTEGER, league_cup VARCHAR, fa_cup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_45 WHERE league_cup < 1 AND fa_cup < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nationality has a Lane of 5, and a Time of 7:08.04?\n\n### Context:\nCREATE TABLE table_name_36 (nationality VARCHAR, lane VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_36 WHERE lane = 5 AND time = \"7:08.04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Pinyin for \u4f9d\u5170\u53bf?\n\n### Context:\nCREATE TABLE table_name_53 (hanyu_pinyin VARCHAR, hanzi VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hanyu_pinyin FROM table_name_53 WHERE hanzi = \"\u4f9d\u5170\u53bf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of virtual for NBC\n\n### Context:\nCREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(virtual) FROM table_14623167_1 WHERE network = \"NBC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Number Of Episodes, when Notes is \"Moved to run a farm with boyfriend Jake.\"?\n\n### Context:\nCREATE TABLE table_name_74 (number_of_episodes VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number_of_episodes FROM table_name_74 WHERE notes = \"moved to run a farm with boyfriend jake.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe man who received 87,676 votes in Queens won what percentage of the total for the election?\n\n### Context:\nCREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage FROM table_1108394_47 WHERE queens = \"87,676\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates in the Kentucky 4 voting district?\n\n### Context:\nCREATE TABLE table_1342218_17 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1342218_17 WHERE district = \"Kentucky 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the 4 lane person from Canada?\n\n### Context:\nCREATE TABLE table_name_9 (heat INTEGER, lane VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(heat) FROM table_name_9 WHERE lane = 4 AND nationality = \"canada\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many entries are listed under \"current status\" for the WJW-TV ++ Station?\n\n### Context:\nCREATE TABLE table_1353096_2 (current_status VARCHAR, station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(current_status) FROM table_1353096_2 WHERE station = \"WJW-TV ++\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name has the role of midfielder for 1999-2003?\n\n### Context:\nCREATE TABLE table_name_76 (name VARCHAR, role VARCHAR, period VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_76 WHERE role = \"midfielder\" AND period = \"1999-2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and checking balance of the account with the lowest saving balance.\n\n### Context:\nCREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE savings (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.balance, T1.name FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T3.balance LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of playoffs for semifinals\n\n### Context:\nCREATE TABLE table_245694_4 (playoffs VARCHAR, concacaf VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = \"Semifinals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was the game on November 21 played against?\n\n### Context:\nCREATE TABLE table_17326036_5 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_17326036_5 WHERE date = \"November 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's listed for the Station Code that has the Arrival of 02:20?\n\n### Context:\nCREATE TABLE table_name_40 (station_code VARCHAR, arrival VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT station_code FROM table_name_40 WHERE arrival = \"02:20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many parties does the incumbent Donald A. Bailey a member of?\n\n### Context:\nCREATE TABLE table_1341640_39 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1341640_39 WHERE incumbent = \"Donald A. Bailey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Xenon has Neon of 20.1797(6)?\n\n### Context:\nCREATE TABLE table_name_25 (xenon VARCHAR, neon VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT xenon FROM table_name_25 WHERE neon = \"20.1797(6)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Wins which has Points smaller than 10, Losses smaller than 3, and a Scored of 11?\n\n### Context:\nCREATE TABLE table_name_80 (wins INTEGER, scored VARCHAR, points VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_80 WHERE points < 10 AND losses < 3 AND scored = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest pts after 1952 with connaught type a?\n\n### Context:\nCREATE TABLE table_name_79 (pts INTEGER, year VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pts) FROM table_name_79 WHERE year > 1952 AND chassis = \"connaught type a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the director where the role was Fred Ayres?\n\n### Context:\nCREATE TABLE table_name_13 (director VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_13 WHERE role = \"fred ayres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sign has a red border?\n\n### Context:\nCREATE TABLE table_name_42 (text_symbol VARCHAR, border VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT text_symbol FROM table_name_42 WHERE border = \"red\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Week smaller than 15, and an Opponent of at new york jets?\n\n### Context:\nCREATE TABLE table_name_48 (record VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_48 WHERE week < 15 AND opponent = \"at new york jets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Date has a Label of grilled cheese?\n\n### Context:\nCREATE TABLE table_name_25 (date VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_25 WHERE label = \"grilled cheese\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the opponents for mashona washington november 21, 2009\n\n### Context:\nCREATE TABLE table_name_43 (opponents VARCHAR, partner VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_name_43 WHERE partner = \"mashona washington\" AND date = \"november 21, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins did the team with 5 podiums have?\n\n### Context:\nCREATE TABLE table_name_15 (wins VARCHAR, podiums VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_15 WHERE podiums = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich winner has a points classification of Tony Rominger at stage 17?\n\n### Context:\nCREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_72 WHERE points_classification = \"tony rominger\" AND stage = \"17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen mega pass* (senior/disabled) is the type of fare what is the cash fare?\n\n### Context:\nCREATE TABLE table_20803241_1 (cash_fare VARCHAR, type_of_fare VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cash_fare FROM table_20803241_1 WHERE type_of_fare = \"Mega Pass* (Senior/Disabled)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the record when the opponent is akiko inoue?\n\n### Context:\nCREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_37 WHERE opponent = \"akiko inoue\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the aspect ratio of the DVD released on 12/10/2009?\n\n### Context:\nCREATE TABLE table_1180228_1 (aspect_ratio VARCHAR, released VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT aspect_ratio FROM table_1180228_1 WHERE released = \"12/10/2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest total that has 1992 as the year (s) won?\n\n### Context:\nCREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_81 WHERE year_s__won = \"1992\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score for 7 may 2000\n\n### Context:\nCREATE TABLE table_name_18 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_18 WHERE date = \"7 may 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is id of students who registered some courses but the least number of courses in these students?\n\n### Context:\nCREATE TABLE student_course_registrations (student_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT student_id FROM student_course_registrations GROUP BY student_id ORDER BY COUNT(*) LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did an election feature the result robert l. leggett (d) 50.2% albert dehr (r) 49.8%?\n\n### Context:\nCREATE TABLE table_1341672_6 (result VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_1341672_6 WHERE candidates = \"Robert L. Leggett (D) 50.2% Albert Dehr (R) 49.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the episode that was viewed by 2.57 million people in the U.S.?\n\n### Context:\nCREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = \"2.57\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the production in 2010 with 2011 production of 2,240,000?\n\n### Context:\nCREATE TABLE table_name_23 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_23 WHERE 2011 = \"2,240,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the second party that has a conservative first party and second member John Cotes?\n\n### Context:\nCREATE TABLE table_name_95 (second_party VARCHAR, first_party VARCHAR, second_member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT second_party FROM table_name_95 WHERE first_party = \"conservative\" AND second_member = \"john cotes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a To par larger than 3, and a Year(s) won of 1979? Question 1\n\n### Context:\nCREATE TABLE table_name_3 (country VARCHAR, to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_3 WHERE to_par > 3 AND year_s__won = \"1979\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different kickoffs happened when the oppenent was at Rhein Fire?\n\n### Context:\nCREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = \"at Rhein Fire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Country, when Score is \"73-68=141\"?\n\n### Context:\nCREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_60 WHERE score = 73 - 68 = 141"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the episode with the production code 176252?\n\n### Context:\nCREATE TABLE table_14889988_1 (directed_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_14889988_1 WHERE production_code = 176252"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor a Lost of 10 and a Try Bonus of 4, what are the points against them?\n\n### Context:\nCREATE TABLE table_name_54 (points_against VARCHAR, try_bonus VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_against FROM table_name_54 WHERE try_bonus = \"4\" AND lost = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?\n\n### Context:\nCREATE TABLE table_name_27 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bronze FROM table_name_27 WHERE gold = \"choi jun-sang\" AND silver = \"suh jung-kyun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has a license of proprietary (available on inquiry)?\n\n### Context:\nCREATE TABLE table_name_67 (name VARCHAR, license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_67 WHERE license = \"proprietary (available on inquiry)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was St Kilda's home team opponents score?\n\n### Context:\nCREATE TABLE table_name_56 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_56 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week has a Date of October 4, 1992?\n\n### Context:\nCREATE TABLE table_name_78 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(week) FROM table_name_78 WHERE date = \"october 4, 1992\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many lost stats have a played number of less than 8?\n\n### Context:\nCREATE TABLE table_name_1 (lost VARCHAR, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lost) FROM table_name_1 WHERE played < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the game with a PWin% of \u2014, Term [c] of 1987\u20131988, and Win% less than 0.506?\n\n### Context:\nCREATE TABLE table_name_30 (games INTEGER, win_percentage VARCHAR, Pwin_percentage VARCHAR, \u2014 VARCHAR, term_ VARCHAR, c_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(games) FROM table_name_30 WHERE Pwin_percentage = \u2014 AND term_[c_] = \"1987\u20131988\" AND win_percentage < 0.506"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the eula goodnight movie after 1949?\n\n### Context:\nCREATE TABLE table_name_97 (director VARCHAR, year VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_97 WHERE year > 1949 AND role = \"eula goodnight\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place is David Graham in?\n\n### Context:\nCREATE TABLE table_name_47 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_47 WHERE player = \"david graham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many top 10s belong to the team with a start of 7 and an average finish less than 16.7?\n\n### Context:\nCREATE TABLE table_name_69 (top_10 VARCHAR, starts VARCHAR, avg_finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(top_10) FROM table_name_69 WHERE starts = 7 AND avg_finish < 16.7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is High Assists, when High Rebounds is \"Dwight Howard , Rashard Lewis (10)\"?\n\n### Context:\nCREATE TABLE table_name_80 (high_assists VARCHAR, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_80 WHERE high_rebounds = \"dwight howard , rashard lewis (10)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what TV season did the 3rd season air?\n\n### Context:\nCREATE TABLE table_1348989_2 (TV VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT TV AS season FROM table_1348989_2 WHERE season = \"3rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent when he went more than 1 round with a record of 12-7?\n\n### Context:\nCREATE TABLE table_name_46 (opponent VARCHAR, round VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_46 WHERE round > 1 AND record = \"12-7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want to know the away team score for vfl park venue\n\n### Context:\nCREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_82 WHERE venue = \"vfl park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the smallest grid for Time/Retired of +22.687?\n\n### Context:\nCREATE TABLE table_name_52 (grid INTEGER, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_52 WHERE time_retired = \"+22.687\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score for denver\n\n### Context:\nCREATE TABLE table_27722734_11 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_27722734_11 WHERE team = \"Denver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the ezhavas and syrian christians being 26.2\n\n### Context:\nCREATE TABLE table_23214055_2 (ezhavas VARCHAR, syrian_christians VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = \"26.2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when Dundee was the opponent?\n\n### Context:\nCREATE TABLE table_name_74 (result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_74 WHERE opponent = \"dundee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Overs with a Run that is 18?\n\n### Context:\nCREATE TABLE table_name_61 (overs INTEGER, runs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(overs) FROM table_name_61 WHERE runs = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the notes for bydgoszcz, Poland?\n\n### Context:\nCREATE TABLE table_name_37 (notes VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_37 WHERE venue = \"bydgoszcz, poland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the production code by paul lieberstein\n\n### Context:\nCREATE TABLE table_22948559_1 (production_code VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_22948559_1 WHERE written_by = \"Paul Lieberstein\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the power for 1.8 duratorq\n\n### Context:\nCREATE TABLE table_name_91 (power_rpm VARCHAR, model_engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power_rpm FROM table_name_91 WHERE model_engine = \"1.8 duratorq\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat train number is heading to amritsar?\n\n### Context:\nCREATE TABLE table_12095519_1 (train_no VARCHAR, destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT train_no FROM table_12095519_1 WHERE destination = \"Amritsar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich points classification shares a general classification of Bernard Hinault, a Trofeo Fast Tem of Bianchi, was won by Urs Freuler, and was stage 4?\n\n### Context:\nCREATE TABLE table_name_7 (points_classification VARCHAR, stage VARCHAR, winner VARCHAR, general_classification VARCHAR, trofeo_fast_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_classification FROM table_name_7 WHERE general_classification = \"bernard hinault\" AND trofeo_fast_team = \"bianchi\" AND winner = \"urs freuler\" AND stage = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Roll of Orere School with a Decile less than 8 with a State Authority?\n\n### Context:\nCREATE TABLE table_name_98 (roll INTEGER, name VARCHAR, decile VARCHAR, authority VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(roll) FROM table_name_98 WHERE decile < 8 AND authority = \"state\" AND name = \"orere school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Time, when Method is \"submission (knees)\"?\n\n### Context:\nCREATE TABLE table_name_14 (time VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_14 WHERE method = \"submission (knees)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the telugu name \u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 of kannada name \u0c95\u0ca8\u0ccd\u0ca8\u0ca1 utthara \u0c89\u0ca4\u0ccd\u0ca4\u0cb0\n\n### Context:\nCREATE TABLE table_201400_2 (telugu_name_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 VARCHAR, kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT telugu_name_\u0c24\u0c46\u0c32\u0c41\u0c17\u0c41 FROM table_201400_2 WHERE kannada_name_\u0c95\u0ca8\u0ccd\u0ca8\u0ca1 = \"Utthara \u0c89\u0ca4\u0ccd\u0ca4\u0cb0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat teams rank is higher than 4 with a speed of 104.574mph?\n\n### Context:\nCREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_91 WHERE rank > 4 AND speed = \"104.574mph\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the target for the brand mylotarg?\n\n### Context:\nCREATE TABLE table_name_96 (target VARCHAR, brand_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT target FROM table_name_96 WHERE brand_name = \"mylotarg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps did Jos Verstappen do on Grid 2?\n\n### Context:\nCREATE TABLE table_name_43 (laps INTEGER, grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_43 WHERE grid > 2 AND driver = \"jos verstappen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many figures are given for the region's total in 1947?\n\n### Context:\nCREATE TABLE table_12555835_1 (population__region_total_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank is Belarus (BLR), which earned 15 medals total?\n\n### Context:\nCREATE TABLE table_name_44 (rank INTEGER, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_44 WHERE nation = \"belarus (blr)\" AND total < 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average bronze with silver more than 0, total of 6 and gold more than 0\n\n### Context:\nCREATE TABLE table_name_27 (bronze INTEGER, gold VARCHAR, silver VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bronze) FROM table_name_27 WHERE silver > 0 AND total = 6 AND gold > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the rank of the player in lane 6?\n\n### Context:\nCREATE TABLE table_name_73 (rank INTEGER, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_73 WHERE lane = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average frequency in MHz for stations with an ERP W of 170?\n\n### Context:\nCREATE TABLE table_name_54 (frequency_mhz INTEGER, erp_w VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(frequency_mhz) FROM table_name_54 WHERE erp_w = 170"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most silver when bronze is more than 1 and total is more than 48?\n\n### Context:\nCREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the communities name is Balmoral and the area is over 43.51 kilometers squared, what's the total population amount?\n\n### Context:\nCREATE TABLE table_name_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population) FROM table_name_56 WHERE official_name = \"balmoral\" AND area_km_2 > 43.51"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team at princes park?\n\n### Context:\nCREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_54 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Round that has a Time of 6:04?\n\n### Context:\nCREATE TABLE table_name_85 (round INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(round) FROM table_name_85 WHERE time = \"6:04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Object Number for the item with wheels 4-4-0 and a location of Barrow Hill?\n\n### Context:\nCREATE TABLE table_name_95 (objectnumber VARCHAR, location VARCHAR, wheels VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT objectnumber FROM table_name_95 WHERE location = \"barrow hill\" AND wheels = \"4-4-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow minimum, maximum, and average market value for all companies.\n\n### Context:\nCREATE TABLE company (market_value INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(market_value), MAX(market_value), AVG(market_value) FROM company"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the terminini of the highway with an east west direction and remarks that it was replaced by us 59?\n\n### Context:\nCREATE TABLE table_name_19 (termini VARCHAR, direction VARCHAR, remarks VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT termini FROM table_name_19 WHERE direction = \"east west\" AND remarks = \"replaced by us 59\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what round was a left wing drafted?\n\n### Context:\nCREATE TABLE table_name_58 (round VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_58 WHERE position = \"left wing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the state of the city of denver, which has a rank less than 10?\n\n### Context:\nCREATE TABLE table_name_99 (state VARCHAR, rank VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_99 WHERE rank < 10 AND city = \"denver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum number of seasons for any team? \n\n### Context:\nCREATE TABLE table_2522473_1 (seasons INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(seasons) FROM table_2522473_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue did the 2000 tiger cup take place at on November 10, 2000?\n\n### Context:\nCREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_29 WHERE competition = \"2000 tiger cup\" AND date = \"november 10, 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points were there when the try bonus was 2?\n\n### Context:\nCREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_35 WHERE try_bonus = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich suffix has the prefix of isothiocyanato- (-ncs)?\n\n### Context:\nCREATE TABLE table_name_17 (suffix VARCHAR, prefix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT suffix FROM table_name_17 WHERE prefix = \"isothiocyanato- (-ncs)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 2 is the k-band what is the v-band?\n\n### Context:\nCREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT v_band FROM table_186468_1 WHERE k_band = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the tyres for the JBW type 2 chassis?\n\n### Context:\nCREATE TABLE table_name_70 (tyres VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyres FROM table_name_70 WHERE chassis = \"jbw type 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the time of 12:49:08 first set?\n\n### Context:\nCREATE TABLE table_name_7 (year INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_7 WHERE time = \"12:49:08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Week has a TV Time of cbs 1:00pm, and an Attendance of 72,714?\n\n### Context:\nCREATE TABLE table_name_44 (week VARCHAR, tv_time VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_44 WHERE tv_time = \"cbs 1:00pm\" AND attendance = \"72,714\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least number of Silvers with a ranking of less than 4 where the bronze number was larger than 9?\n\n### Context:\nCREATE TABLE table_name_76 (silver INTEGER, rank VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_76 WHERE rank < 4 AND bronze > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place did jacky cupit take when his To par was under 13?\n\n### Context:\nCREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_67 WHERE to_par < 13 AND player = \"jacky cupit\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of nat for total g of 6\n\n### Context:\nCREATE TABLE table_22542179_3 (nat VARCHAR, total_g VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(nat) FROM table_22542179_3 WHERE total_g = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location has a Previous Conference of independents, and a Mascot of hilltoppers?\n\n### Context:\nCREATE TABLE table_name_95 (location VARCHAR, previous_conference VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_95 WHERE previous_conference = \"independents\" AND mascot = \"hilltoppers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Intercontinental Cup 1999 result for the team with a Copa Conmebol 1999 result of runner-up?\n\n### Context:\nCREATE TABLE table_name_63 (intercontinental_cup_1999 VARCHAR, copa_conmebol_1999 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT intercontinental_cup_1999 FROM table_name_63 WHERE copa_conmebol_1999 = \"runner-up\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest total medals when there were 0 gold medals, 0 silver medals, and more than 1 bronze medal?\n\n### Context:\nCREATE TABLE table_name_77 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_77 WHERE bronze > 1 AND silver = 0 AND gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player went to college at Tennessee?\n\n### Context:\nCREATE TABLE table_2508633_3 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_2508633_3 WHERE college = \"Tennessee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the Honda ra168e 1.5 v6 t engine used?\n\n### Context:\nCREATE TABLE table_name_47 (year VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_47 WHERE engine = \"honda ra168e 1.5 v6 t\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the statistic of most assists?\n\n### Context:\nCREATE TABLE table_name_93 (name VARCHAR, statistic VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_93 WHERE statistic = \"most assists\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the location with a record of 50-19?\n\n### Context:\nCREATE TABLE table_name_34 (location VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_34 WHERE record = \"50-19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Average Finals Goals if the Total Goals is less than 1?\n\n### Context:\nCREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Romanization of the Mandarin word whose R\u014dmaji is \u016broncha\n\n### Context:\nCREATE TABLE table_name_81 (romanization VARCHAR, source_language VARCHAR, r\u014dmaji VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT romanization FROM table_name_81 WHERE source_language = \"mandarin\" AND r\u014dmaji = \"\u016broncha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many companies operates airlines in each airport?\n\n### Context:\nCREATE TABLE airport (id VARCHAR); CREATE TABLE flight (Id VARCHAR); CREATE TABLE operate_company (id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.id, COUNT(*) FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id JOIN airport AS T3 ON T2.airport_id = T3.id GROUP BY T3.id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date was associated with the release in Europe on the Wichita Recordings label?\n\n### Context:\nCREATE TABLE table_name_5 (date VARCHAR, region VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_5 WHERE region = \"europe\" AND label = \"wichita recordings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of years for the Houston Rockets 2004-05?\n\n### Context:\nCREATE TABLE table_name_14 (no_s_ INTEGER, years_for_rockets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(no_s_) FROM table_name_14 WHERE years_for_rockets = \"2004-05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Away Team, when Home Team is \"Boston United\"?\n\n### Context:\nCREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_30 WHERE home_team = \"boston united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did Motherwell win?\n\n### Context:\nCREATE TABLE table_name_15 (date VARCHAR, winners VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_15 WHERE winners = \"motherwell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is from Australia, and has a place of t9?\n\n### Context:\nCREATE TABLE table_name_35 (player VARCHAR, place VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_35 WHERE place = \"t9\" AND country = \"australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of Games Played with Losses of 3, and more Wins than 5?\n\n### Context:\nCREATE TABLE table_name_40 (games_played INTEGER, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(games_played) FROM table_name_40 WHERE losses = 3 AND wins > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the note result when the runner finished 19th in 2008?\n\n### Context:\nCREATE TABLE table_name_94 (notes VARCHAR, year VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_94 WHERE year = 2008 AND position = \"19th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat RolePlay actor played the same role Alison Pargeter played in the original production?\n\n### Context:\nCREATE TABLE table_17827271_1 (roleplay VARCHAR, actor_in_original_production VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT roleplay FROM table_17827271_1 WHERE actor_in_original_production = \"Alison Pargeter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the Brazil scorers who scored 3-3?\n\n### Context:\nCREATE TABLE table_name_11 (brazil_scorers VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT brazil_scorers FROM table_name_11 WHERE score = \"3-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was 2010 tournament where the United States received the silver?\n\n### Context:\nCREATE TABLE table_name_18 (venue VARCHAR, silver VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_18 WHERE silver = \"united states\" AND year = 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date(s) was the winning team Prema Powerteam?\n\n### Context:\nCREATE TABLE table_25213146_2 (date VARCHAR, winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_25213146_2 WHERE winning_team = \"Prema Powerteam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the result for district ohio 2\n\n### Context:\nCREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1342013_34 WHERE district = \"Ohio 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the ceremony where the film 'Tummien Perhosten Koti' was submitted?\n\n### Context:\nCREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = \"Tummien perhosten koti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team is from terni?\n\n### Context:\nCREATE TABLE table_name_59 (team VARCHAR, home_city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_59 WHERE home_city = \"terni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the number of \"The Word\" segments for episode number 727?\n\n### Context:\nCREATE TABLE table_25691838_6 (the_w\u00f8rd VARCHAR, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(the_w\u00f8rd) FROM table_25691838_6 WHERE episode__number = 727"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nin what round types did the opponent come from south africa?\n\n### Context:\nCREATE TABLE table_25505246_8 (round VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_25505246_8 WHERE against = \"South Africa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE PLACE WITH THE SCORE 69-71-66-73=279?\n\n### Context:\nCREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_11 WHERE score = 69 - 71 - 66 - 73 = 279"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich rank has more than 1 silver, more than 1 gold, and more than 4 bronze?\n\n### Context:\nCREATE TABLE table_name_25 (rank VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_25 WHERE silver > 1 AND gold > 1 AND bronze > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value for points if rebounds is 6 and blocks is 0?\n\n### Context:\nCREATE TABLE table_25352324_5 (points VARCHAR, rebounds VARCHAR, blocks VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_25352324_5 WHERE rebounds = 6 AND blocks = 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record on the game that was played on october 27?\n\n### Context:\nCREATE TABLE table_name_72 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_72 WHERE date = \"october 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhere did rochdale play as opponent?\n\n### Context:\nCREATE TABLE table_name_77 (venue VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_77 WHERE opponent = \"rochdale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the share for rank 54?\n\n### Context:\nCREATE TABLE table_20522228_2 (share INTEGER, rank__overall_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(share) FROM table_20522228_2 WHERE rank__overall_ = \"54\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's Doug Borden's position?\n\n### Context:\nCREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_23619005_3 WHERE player = \"Doug Borden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Headquarter, when Type is Government-Owned, and when Newspaper/Magazine is Al-Jumhuriya?\n\n### Context:\nCREATE TABLE table_name_11 (headquarter VARCHAR, type VARCHAR, newspaper_magazine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT headquarter FROM table_name_11 WHERE type = \"government-owned\" AND newspaper_magazine = \"al-jumhuriya\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the top 5 genres by number of tracks. List genres name and total tracks.\n\n### Context:\nCREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many lanes have a Nationality of iceland?\n\n### Context:\nCREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lane) FROM table_name_58 WHERE nationality = \"iceland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHat is the decile of the school in Purua?\n\n### Context:\nCREATE TABLE table_name_38 (decile VARCHAR, area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT decile FROM table_name_38 WHERE area = \"purua\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what round was the loss at ufc 118?\n\n### Context:\nCREATE TABLE table_name_92 (round VARCHAR, res VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_92 WHERE res = \"loss\" AND event = \"ufc 118\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThomas J. Lane is the incumbent of how many parties?\n\n### Context:\nCREATE TABLE table_1342013_20 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1342013_20 WHERE incumbent = \"Thomas J. Lane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the bowling style of chris harris?\n\n### Context:\nCREATE TABLE table_11950720_4 (bowling_style VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bowling_style FROM table_11950720_4 WHERE player = \"Chris Harris\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the train destination when it has a calling at Boston, Sleaford, Nottingham Victoria?\n\n### Context:\nCREATE TABLE table_18365784_3 (going_to VARCHAR, calling_at VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT going_to FROM table_18365784_3 WHERE calling_at = \"Boston, Sleaford, Nottingham Victoria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percentage of the vote did McCain win in Waynesboro (city)?\n\n### Context:\nCREATE TABLE table_20524090_1 (mccain_percentage VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mccain_percentage FROM table_20524090_1 WHERE county = \"Waynesboro (city)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many values of r z(arcsecond) are associated with a target datum of Ireland 1965?\n\n### Context:\nCREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = \"Ireland 1965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue hosted the Dixie Derby Girls?\n\n### Context:\nCREATE TABLE table_name_68 (venue VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_68 WHERE club = \"dixie derby girls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes had a broadcast date and run time of 24:43?\n\n### Context:\nCREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = \"24:43\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the range that has the most number of mountains.\n\n### Context:\nCREATE TABLE mountain (Range VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Range FROM mountain GROUP BY Range ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the points for when the total points is 6?\n\n### Context:\nCREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_for FROM table_1676073_13 WHERE points = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many weeks in the top 10 was spent by a song performed by Peter Kay?\n\n### Context:\nCREATE TABLE table_27813010_2 (weeks_in_top_10 INTEGER, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(weeks_in_top_10) FROM table_27813010_2 WHERE artist = \"Peter Kay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich state did Samuel Thatcher of the Federalist party represent?\n\n### Context:\nCREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state_served FROM table_name_27 WHERE party = \"federalist\" AND representative = \"samuel thatcher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the date for tirrana?\n\n### Context:\nCREATE TABLE table_name_18 (date VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_18 WHERE name = \"tirrana\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the ids of the investors who have at least two transactions.\n\n### Context:\nCREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho narrated the lap-by-lap to a 13.4 million audience?\n\n### Context:\nCREATE TABLE table_11691212_2 (lap_by_lap VARCHAR, viewers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lap_by_lap FROM table_11691212_2 WHERE viewers = \"13.4 million\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the location of the game with a Result of 21\u201316?\n\n### Context:\nCREATE TABLE table_name_26 (location VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_26 WHERE result = \"21\u201316\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow card number, name, and hometown for all members in a descending order of level.\n\n### Context:\nCREATE TABLE member (card_number VARCHAR, name VARCHAR, hometown VARCHAR, LEVEL VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT card_number, name, hometown FROM member ORDER BY LEVEL DESC"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Aberdeen team's date of vacancy?\n\n### Context:\nCREATE TABLE table_name_37 (date_of_vacancy VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_vacancy FROM table_name_37 WHERE team = \"aberdeen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the platelet count when partial thromboplastin time and bleeding time are unaffected?\n\n### Context:\nCREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = \"Unaffected\" AND bleeding_time = \"Unaffected\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow did Hamza Kramou fare in the semifinals?\n\n### Context:\nCREATE TABLE table_17427004_7 (semifinals VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semifinals FROM table_17427004_7 WHERE athlete = \"Hamza Kramou\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes had a series number of 95?\n\n### Context:\nCREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the BBC two total viewing 7,530,000?\n\n### Context:\nCREATE TABLE table_103084_4 (year INTEGER, bbc_two_total_viewing VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_103084_4 WHERE bbc_two_total_viewing = \"7,530,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the visitor of the match on July 29?\n\n### Context:\nCREATE TABLE table_name_13 (visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_13 WHERE date = \"july 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the minimum attendance against the New Orleans Saints?\n\n### Context:\nCREATE TABLE table_16028499_2 (attendance INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_16028499_2 WHERE opponent = \"New Orleans Saints\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum power at rpm for the engine named 2.0 TDI that has a 1968cc displacement?\n\n### Context:\nCREATE TABLE table_name_90 (max_power_at_rpm VARCHAR, displacement VARCHAR, engine_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT max_power_at_rpm FROM table_name_90 WHERE displacement = \"1968cc\" AND engine_name = \"2.0 tdi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the July playmate with a December playmate Morgan Fox?\n\n### Context:\nCREATE TABLE table_name_58 (july VARCHAR, december VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT july FROM table_name_58 WHERE december = \"morgan fox\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Nick Price's score?\n\n### Context:\nCREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_20 WHERE player = \"nick price\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the park of the roller coaster with the highest speed.\n\n### Context:\nCREATE TABLE roller_coaster (Park VARCHAR, Speed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Park FROM roller_coaster ORDER BY Speed DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the female talent in 1999?\n\n### Context:\nCREATE TABLE table_name_41 (talent__female_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT talent__female_ FROM table_name_41 WHERE year = 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Games have a Score of 5\u20134, and Points smaller than 49?\n\n### Context:\nCREATE TABLE table_name_96 (game VARCHAR, score VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_name_96 WHERE score = \"5\u20134\" AND points < 49"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2000 Tournament has a 2002 of not tier i, and a 2006 of 2r?\n\n### Context:\nCREATE TABLE table_name_57 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2000 FROM table_name_57 WHERE 2002 = \"not tier i\" AND 2006 = \"2r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the To par of the player with a Finish of T20?\n\n### Context:\nCREATE TABLE table_name_67 (to_par VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_67 WHERE finish = \"t20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does krylja sovetov (russia) play?\n\n### Context:\nCREATE TABLE table_2781227_9 (position VARCHAR, college_junior_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2781227_9 WHERE college_junior_club_team = \"Krylja Sovetov (Russia)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round was the match at Westpac Stadium that had the Newcastle Jets as the away team?\n\n### Context:\nCREATE TABLE table_name_24 (round VARCHAR, venue VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_24 WHERE venue = \"westpac stadium\" AND away = \"newcastle jets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Airport has a Carrier of malaysia airlines?\n\n### Context:\nCREATE TABLE table_name_52 (airport VARCHAR, carriers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airport FROM table_name_52 WHERE carriers = \"malaysia airlines\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow did the game number 50 end?\n\n### Context:\nCREATE TABLE table_23248940_9 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_23248940_9 WHERE game = 50"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is performer 4 on episode 3, where Jim Sweeney was performer 1?\n\n### Context:\nCREATE TABLE table_name_86 (performer_4 VARCHAR, performer_1 VARCHAR, episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performer_4 FROM table_name_86 WHERE performer_1 = \"jim sweeney\" AND episode = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the TO winning team when the TU winning team was Joe Richardson? \n\n### Context:\nCREATE TABLE table_13642023_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_winning_team FROM table_13642023_2 WHERE tu_winning_team = \"Joe Richardson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the quarterfinals when the rank was bronze?\n\n### Context:\nCREATE TABLE table_name_79 (quarterfinals VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT quarterfinals FROM table_name_79 WHERE rank = \"bronze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has a Decision of osgood, and a Score of 3 \u2013 4?\n\n### Context:\nCREATE TABLE table_name_63 (date VARCHAR, decision VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_63 WHERE decision = \"osgood\" AND score = \"3 \u2013 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow different teams in eliminations and the number of eliminations from each team.\n\n### Context:\nCREATE TABLE elimination (Team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Team, COUNT(*) FROM elimination GROUP BY Team"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow scored the most points where the record is 3-0 for the season?\n\n### Context:\nCREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_23285849_5 WHERE record = \"3-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat language is used when the service is sky primafila 10 and the package/option is qualsiasi?\n\n### Context:\nCREATE TABLE table_name_19 (language VARCHAR, package_option VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_name_19 WHERE package_option = \"qualsiasi\" AND television_service = \"sky primafila 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the tries on 14/6/97?\n\n### Context:\nCREATE TABLE table_name_10 (tries VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries FROM table_name_10 WHERE date = \"14/6/97\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in January that was less than 4?\n\n### Context:\nCREATE TABLE table_name_92 (score VARCHAR, january INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_92 WHERE january < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich location has a Score of 3\u20132, and a Record of 3\u20132\u20133?\n\n### Context:\nCREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_31 WHERE score = \"3\u20132\" AND record = \"3\u20132\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Crowd number for the Away team of Richmond?\n\n### Context:\nCREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_41 WHERE away_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the name and results of the battles when the bulgarian commander is not 'Boril'\n\n### Context:\nCREATE TABLE battle (name VARCHAR, RESULT VARCHAR, bulgarian_commander VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, RESULT FROM battle WHERE bulgarian_commander <> 'Boril'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the game with a Loss of Kiprusoff (2\u20132)?\n\n### Context:\nCREATE TABLE table_name_50 (score VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_50 WHERE loss = \"kiprusoff (2\u20132)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Wins has a Byes larger than 0?\n\n### Context:\nCREATE TABLE table_name_65 (wins INTEGER, byes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_name_65 WHERE byes > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4?\n\n### Context:\nCREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < \"4\" AND rank = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Airport in Singapore?\n\n### Context:\nCREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airport FROM table_name_77 WHERE country = \"singapore\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest overall year?\n\n### Context:\nCREATE TABLE table_16677738_1 (year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_16677738_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nParts Plus sponsors what driver?\n\n### Context:\nCREATE TABLE table_name_21 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = \"parts plus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the crowd size for the game with a score of 101-105?\n\n### Context:\nCREATE TABLE table_name_13 (crowd VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_13 WHERE score = \"101-105\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the verb meaning of the word with part 3 \"sufun\"?\n\n### Context:\nCREATE TABLE table_1745843_8 (verb_meaning VARCHAR, part_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT verb_meaning FROM table_1745843_8 WHERE part_3 = \"sufun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow old is Daniel Morton\n\n### Context:\nCREATE TABLE table_13498403_1 (barrier INTEGER, trainer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(barrier) FROM table_13498403_1 WHERE trainer = \"Daniel Morton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat bike has 26 as the grid?\n\n### Context:\nCREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bike FROM table_name_20 WHERE grid = 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the home team that played Carlton?\n\n### Context:\nCREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_86 WHERE away_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Sales (billion $) which have a Company of exxonmobil?\n\n### Context:\nCREATE TABLE table_name_70 (sales__billion_$_ VARCHAR, company VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sales__billion_$_ FROM table_name_70 WHERE company = \"exxonmobil\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho won womens doubles in 2010\n\n### Context:\nCREATE TABLE table_20361783_1 (womens_doubles VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT womens_doubles FROM table_20361783_1 WHERE year = 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game happening at Halton Stadium?\n\n### Context:\nCREATE TABLE table_13328239_4 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_13328239_4 WHERE venue = \"Halton Stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city did Yugoslavia play against Poland in?\n\n### Context:\nCREATE TABLE table_name_58 (city VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_58 WHERE opponent = \"poland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the ids and details of events that have more than one participants?\n\n### Context:\nCREATE TABLE EVENTS (event_id VARCHAR, event_details VARCHAR, Event_ID VARCHAR); CREATE TABLE Participants_in_Events (Event_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.event_id, T1.event_details FROM EVENTS AS T1 JOIN Participants_in_Events AS T2 ON T1.Event_ID = T2.Event_ID GROUP BY T1.Event_ID HAVING COUNT(*) > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich member has Cook as the electorate?\n\n### Context:\nCREATE TABLE table_name_16 (member VARCHAR, electorate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT member FROM table_name_16 WHERE electorate = \"cook\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho had the high points on november 20?\n\n### Context:\nCREATE TABLE table_name_61 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_name_61 WHERE date = \"november 20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the match with Jeff Monson as opponent?\n\n### Context:\nCREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_96 WHERE opponent = \"jeff monson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nationality has a year larger than 2009 with a position of power forward?\n\n### Context:\nCREATE TABLE table_name_32 (nationality VARCHAR, year VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_32 WHERE year > 2009 AND position = \"power forward\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the class of w269ax\n\n### Context:\nCREATE TABLE table_name_90 (class VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_90 WHERE call_sign = \"w269ax\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen david o'doherty and katherine parkinson are both on the davids team when is the first broadcast?\n\n### Context:\nCREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_broadcast FROM table_23575917_6 WHERE davids_team = \"David O'Doherty and Katherine Parkinson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time that is networked has an ad freq of 20 minutes until 7pm?\n\n### Context:\nCREATE TABLE table_name_13 (time VARCHAR, local_networked VARCHAR, ad_freq VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_13 WHERE local_networked = \"networked\" AND ad_freq = \"20 minutes until 7pm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the 2005 (78th) year ceremony?\n\n### Context:\nCREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_22073745_1 WHERE year__ceremony_ = \"2005 (78th)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record at the game with a result of W 13-12 after week 4?\n\n### Context:\nCREATE TABLE table_name_10 (record VARCHAR, week VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_10 WHERE week > 4 AND result = \"w 13-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Trial Phase, when Expected End Date is June 2007?\n\n### Context:\nCREATE TABLE table_name_59 (trial_phase VARCHAR, expected_end_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trial_phase FROM table_name_59 WHERE expected_end_date = \"june 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team score of the Ghantoot Racing and Polo Club Ground?\n\n### Context:\nCREATE TABLE table_name_25 (home_team VARCHAR, ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_25 WHERE ground = \"ghantoot racing and polo club\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho constructed stefan johansson's car with a grid under 14?\n\n### Context:\nCREATE TABLE table_name_52 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_52 WHERE grid < 14 AND driver = \"stefan johansson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the full name (first and last name) and salary for all employees who does not have any value for commission?\n\n### Context:\nCREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR, commission_pct VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_name, last_name, salary FROM employees WHERE commission_pct = \"null\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of silver medals for a nation with fewer than 1 bronze?\n\n### Context:\nCREATE TABLE table_name_51 (silver INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_51 WHERE bronze < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the die size(mm 2) for model sgx531?\n\n### Context:\nCREATE TABLE table_1439045_5 (die_size__mm_2___ VARCHAR, model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT die_size__mm_2___[1] FROM table_1439045_5 WHERE model = \"SGX531\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is Southern Vermont College located?\n\n### Context:\nCREATE TABLE table_1973816_2 (location VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_1973816_2 WHERE institution = \"Southern Vermont College\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the air date where there were 5.72 million viewers?\n\n### Context:\nCREATE TABLE table_23483182_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_23483182_1 WHERE us_viewers__million_ = \"5.72\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day did he play on hard with tom mercer?\n\n### Context:\nCREATE TABLE table_name_69 (date VARCHAR, surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_69 WHERE surface = \"hard\" AND partner = \"tom mercer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Expected End Date, when Trial Start Date is Nov 2007?\n\n### Context:\nCREATE TABLE table_name_65 (expected_end_date VARCHAR, trial_start_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT expected_end_date FROM table_name_65 WHERE trial_start_date = \"nov 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the exit date of the player who transferred to Portsmouth?\n\n### Context:\nCREATE TABLE table_name_58 (exit_date VARCHAR, to_club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT exit_date FROM table_name_58 WHERE to_club = \"portsmouth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the nurse has the most appointments?\n\n### Context:\nCREATE TABLE nurse (name VARCHAR, employeeid VARCHAR); CREATE TABLE appointment (prepnurse VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A?\n\n### Context:\nCREATE TABLE table_name_28 (bore_ VARCHAR, _stroke VARCHAR, carburetor VARCHAR, vin_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bore_ & _stroke FROM table_name_28 WHERE carburetor = \"4-barrel\" AND vin_code = \"a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich set 3 has a Set 1 of 19-25, and a Set 2 of 19-25?\n\n### Context:\nCREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_3 FROM table_name_9 WHERE set_1 = \"19-25\" AND set_2 = \"19-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of rebounds of the san antonio spurs?\n\n### Context:\nCREATE TABLE table_name_48 (high_rebounds VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_48 WHERE team = \"san antonio spurs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?\n\n### Context:\nCREATE TABLE table_name_65 (romaji_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT romaji_title FROM table_name_65 WHERE tv_station = \"fuji tv\" AND average_ratings = \"12.41%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Bob Tway's To par?\n\n### Context:\nCREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_27 WHERE player = \"bob tway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game has valiquette as the decision, with @ los angeles kings as the opponent?\n\n### Context:\nCREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_96 WHERE decision = \"valiquette\" AND opponent = \"@ los angeles kings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent in the game that was attended by 42,000 people?\n\n### Context:\nCREATE TABLE table_name_19 (opponent_number VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_number FROM table_name_19 WHERE attendance = \"42,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date is St Kilda the away team?\n\n### Context:\nCREATE TABLE table_name_31 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_31 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Phil Crane, democrat or republican \n\n### Context:\nCREATE TABLE table_1341663_14 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1341663_14 WHERE incumbent = \"Phil Crane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many fans attended the game at Bye?\n\n### Context:\nCREATE TABLE table_name_53 (attendance VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_53 WHERE game_site = \"bye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the rank if the time was 5:54.57 and FB in notes?\n\n### Context:\nCREATE TABLE table_name_30 (rank VARCHAR, notes VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_30 WHERE notes = \"fb\" AND time = \"5:54.57\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Construction that has a Listed 09/08/1983, and a Name of cecil lindsey?\n\n### Context:\nCREATE TABLE table_name_49 (construction_completed VARCHAR, listed VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT construction_completed FROM table_name_49 WHERE listed = \"09/08/1983\" AND name = \"cecil lindsey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Jump 2 of the person that has a Jump 3 of 7.77?\n\n### Context:\nCREATE TABLE table_name_62 (jump_2 VARCHAR, jump_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT jump_2 FROM table_name_62 WHERE jump_3 = \"7.77\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the directed/undirected for mfinder, which has an induced/non-induced of induced and an exact counting method?\n\n### Context:\nCREATE TABLE table_name_13 (directed___undirected VARCHAR, name VARCHAR, induced___non_induced VARCHAR, counting_method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed___undirected FROM table_name_13 WHERE induced___non_induced = \"induced\" AND counting_method = \"exact\" AND name = \"mfinder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Result has a Round of 6?\n\n### Context:\nCREATE TABLE table_name_88 (result VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_88 WHERE round = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich top ten, having less than 12 cuts less than 2 top five, and events smaller than 14, is the highest?\n\n### Context:\nCREATE TABLE table_name_92 (top_10 INTEGER, events VARCHAR, cuts_made VARCHAR, top_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(top_10) FROM table_name_92 WHERE cuts_made < 12 AND top_5 < 2 AND events < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which period did Stanislav Chistov get a penalty?\n\n### Context:\nCREATE TABLE table_name_9 (period VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT period FROM table_name_9 WHERE player = \"stanislav chistov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor entries with fewer than 28 played, with 45 goals against and points 1 of 33, what is the average drawn?\n\n### Context:\nCREATE TABLE table_name_45 (drawn INTEGER, played VARCHAR, points_1 VARCHAR, goals_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(drawn) FROM table_name_45 WHERE points_1 = \"33\" AND goals_against = 45 AND played < 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many picks did Central State have before round 2?\n\n### Context:\nCREATE TABLE table_name_29 (pick VARCHAR, school VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick) FROM table_name_29 WHERE school = \"central state\" AND round < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has an IEF 2011 of 45.3?\n\n### Context:\nCREATE TABLE table_name_46 (country VARCHAR, ief_2011 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_46 WHERE ief_2011 = \"45.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team has nc position for 2010 season?\n\n### Context:\nCREATE TABLE table_23338693_1 (team VARCHAR, position VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_23338693_1 WHERE position = \"NC\" AND season = 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?\n\n### Context:\nCREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich To par has a Place of t4, and wayne grady is in?\n\n### Context:\nCREATE TABLE table_name_87 (to_par VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_87 WHERE place = \"t4\" AND player = \"wayne grady\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat points have 1 for drawn, and 16 as a try bonus?\n\n### Context:\nCREATE TABLE table_name_22 (points_for VARCHAR, drawn VARCHAR, try_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_for FROM table_name_22 WHERE drawn = \"1\" AND try_bonus = \"16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode directed by Charles Beeson?\n\n### Context:\nCREATE TABLE table_24649082_1 (title VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_24649082_1 WHERE directed_by = \"Charles Beeson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich type of locomotive was built in 1923?\n\n### Context:\nCREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_46 WHERE built = 1923"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many July 1, 2013 projections have a Rank of 27?\n\n### Context:\nCREATE TABLE table_name_58 (_2013_projection VARCHAR, july_1 VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(july_1), _2013_projection FROM table_name_58 WHERE rank = \"27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the game where real espana was the home team?\n\n### Context:\nCREATE TABLE table_name_90 (score VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_90 WHERE home = \"real espana\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the team with a finish of 19?\n\n### Context:\nCREATE TABLE table_name_48 (team VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_48 WHERE finish = \"19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the B.P. of club Halifax?\n\n### Context:\nCREATE TABLE table_19179465_1 (bp VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bp FROM table_19179465_1 WHERE club = \"Halifax\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the supporting actress in 1943?\n\n### Context:\nCREATE TABLE table_24225238_1 (supporting_actress VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT supporting_actress FROM table_24225238_1 WHERE year = 1943"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Yards has a Attempts of 247\n\n### Context:\nCREATE TABLE table_name_74 (yards VARCHAR, attempts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT yards FROM table_name_74 WHERE attempts = \"247\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the nationality for the player in Round 1?\n\n### Context:\nCREATE TABLE table_name_11 (nationality VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_11 WHERE round = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the dominant religion (2002) of the Mala Remeta settlement?\n\n### Context:\nCREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = \"Mala Remeta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lost is the highest one that has a Drawn smaller than 4, and a Played smaller than 9?\n\n### Context:\nCREATE TABLE table_name_93 (lost INTEGER, drawn VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lost) FROM table_name_93 WHERE drawn < 4 AND played < 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Silver medals did the Nation with 10 or more Bronze receive?\n\n### Context:\nCREATE TABLE table_name_73 (silver INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_73 WHERE bronze > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest to par number for Justin Leonard when the total is less than 297?\n\n### Context:\nCREATE TABLE table_name_27 (to_par INTEGER, player VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(to_par) FROM table_name_27 WHERE player = \"justin leonard\" AND total < 297"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Whakamaru school's authority?\n\n### Context:\nCREATE TABLE table_name_32 (authority VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT authority FROM table_name_32 WHERE name = \"whakamaru school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year is the highest one that has a Work of the clone, and an Award of contigo award?\n\n### Context:\nCREATE TABLE table_name_8 (year INTEGER, work VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_8 WHERE work = \"the clone\" AND award = \"contigo award\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team did carlos cardus drive for in 1983 when he got less than 21 points?\n\n### Context:\nCREATE TABLE table_name_69 (team VARCHAR, points VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_69 WHERE points < 21 AND year = 1983"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game when they were 2-1?\n\n### Context:\nCREATE TABLE table_20746062_1 (result VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_20746062_1 WHERE record = \"2-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith Lindsay Lee-Waters as a partner, what was the final score?\n\n### Context:\nCREATE TABLE table_name_90 (score_in_the_final VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_in_the_final FROM table_name_90 WHERE partner = \"lindsay lee-waters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did car 20 score?\n\n### Context:\nCREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_65 WHERE car_no = \"20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat province has an election after 2009?\n\n### Context:\nCREATE TABLE table_name_55 (province VARCHAR, election INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT province FROM table_name_55 WHERE election > 2009"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many flights do we have?\n\n### Context:\nCREATE TABLE Flight (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM Flight"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Type has a Date smaller than 1943, and a Builder of alco schenectady, and a Number larger than 822, and Works number of 59867?\n\n### Context:\nCREATE TABLE table_name_46 (type VARCHAR, works_number VARCHAR, number VARCHAR, date VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_46 WHERE date < 1943 AND builder = \"alco schenectady\" AND number > 822 AND works_number = 59867"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen phonetic realisation is [[[|u]]], what is the variant with niqqud?\n\n### Context:\nCREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT variant__with_niqqud__ FROM table_name_84 WHERE phonetic_realisation = \"[[[|u]]]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the Semifinalists, when the Week is May 12?\n\n### Context:\nCREATE TABLE table_name_52 (semifinalists VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semifinalists FROM table_name_52 WHERE week = \"may 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most lanes used that had a winner from Ireland?\n\n### Context:\nCREATE TABLE table_name_83 (lane INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_83 WHERE country = \"ireland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the event that had a prize of z\u0142 1,226,711?\n\n### Context:\nCREATE TABLE table_name_22 (event VARCHAR, prize VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_22 WHERE prize = \"z\u0142 1,226,711\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game played on 30 May 2004?\n\n### Context:\nCREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_6 WHERE date = \"30 may 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has the Res of win with the Event of extreme fighting 1?\n\n### Context:\nCREATE TABLE table_name_30 (record VARCHAR, res VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_30 WHERE res = \"win\" AND event = \"extreme fighting 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWere there Bulletins to all contacts of the proprietary license created by Microsoft with no transport layer of security?\n\n### Context:\nCREATE TABLE table_name_43 (bulletins_to_all_contacts VARCHAR, creator VARCHAR, transport_layer_security VARCHAR, license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bulletins_to_all_contacts FROM table_name_43 WHERE transport_layer_security = \"no\" AND license = \"proprietary\" AND creator = \"microsoft\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen grid is less than 7, laps are greater than 17, and time/retired is + 1:35.6, who is the constructor?\n\n### Context:\nCREATE TABLE table_name_84 (constructor VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_84 WHERE laps > 17 AND grid < 7 AND time_retired = \"+ 1:35.6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the week 4 game?\n\n### Context:\nCREATE TABLE table_17927935_1 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_17927935_1 WHERE week = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Home team score when away team is hawthorn?\n\n### Context:\nCREATE TABLE table_name_70 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_70 WHERE away_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat character did naoko watanabe play\n\n### Context:\nCREATE TABLE table_name_82 (character_name VARCHAR, voice_actor__japanese_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT character_name FROM table_name_82 WHERE voice_actor__japanese_ = \"naoko watanabe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games were on December 5?\n\n### Context:\nCREATE TABLE table_name_80 (game INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(game) FROM table_name_80 WHERE date = \"december 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value for % 40-59 if % 60-74 is 12,40%?\n\n### Context:\nCREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = \"12,40%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Tournament has a Partner of mart\u00edn rodr\u00edguez?\n\n### Context:\nCREATE TABLE table_name_19 (tournament VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_19 WHERE partner = \"mart\u00edn rodr\u00edguez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the number of Laps with a Grid of more than 3 and Time of 39:24.967?\n\n### Context:\nCREATE TABLE table_name_8 (laps INTEGER, grid VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_8 WHERE grid > 3 AND time = \"39:24.967\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opposing team when the game was played on the Shea Stadium?\n\n### Context:\nCREATE TABLE table_17386066_2 (opponent VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_17386066_2 WHERE stadium = \"Shea stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of episodes listed with a production code of 306?\n\n### Context:\nCREATE TABLE table_18424435_4 (_number VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(_number) FROM table_18424435_4 WHERE production_code = 306"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Place of the couple with a Rank smaller than 7 and 514.55 Points?\n\n### Context:\nCREATE TABLE table_name_22 (placings INTEGER, rank VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(placings) FROM table_name_22 WHERE rank < 7 AND points = 514.55"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the league when the fa cup is qr4 and the fa trophy is qf?\n\n### Context:\nCREATE TABLE table_name_46 (league VARCHAR, fa_cup VARCHAR, fa_trophy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_name_46 WHERE fa_cup = \"qr4\" AND fa_trophy = \"qf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team does Joe Deane play for?\n\n### Context:\nCREATE TABLE table_name_20 (team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_20 WHERE player = \"joe deane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Outcome is Winner, and when Opponent is Angela Haynes?\n\n### Context:\nCREATE TABLE table_name_69 (score VARCHAR, outcome VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_69 WHERE outcome = \"winner\" AND opponent = \"angela haynes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Visiting Team is on december 23?\n\n### Context:\nCREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_59 WHERE date = \"december 23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Born-Died, when Name is Maliq Bushati?\n\n### Context:\nCREATE TABLE table_name_27 (born_died VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT born_died FROM table_name_27 WHERE name = \"maliq bushati\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the id of the courses that do not have any prerequisite?\n\n### Context:\nCREATE TABLE prereq (course_id VARCHAR); CREATE TABLE course (course_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT course_id FROM course EXCEPT SELECT course_id FROM prereq"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSwimmer Jiao Liuyang has what for the sum of lane?\n\n### Context:\nCREATE TABLE table_name_50 (lane VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lane) FROM table_name_50 WHERE name = \"jiao liuyang\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn how many different categories is the value of C_{low} 35.5?\n\n### Context:\nCREATE TABLE table_1942366_9 (category VARCHAR, low VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(category) FROM table_1942366_9 WHERE STRUCT(low) = \"35.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Venue of the Competition on 2001-05-05?\n\n### Context:\nCREATE TABLE table_name_38 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_38 WHERE date = \"2001-05-05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the low lap total that has a Time or Retired of accident?\n\n### Context:\nCREATE TABLE table_name_35 (laps INTEGER, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_35 WHERE time_retired = \"accident\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich T.C. has a Win of 1, and a Race of 21?\n\n### Context:\nCREATE TABLE table_name_40 (tc VARCHAR, wins VARCHAR, races VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tc FROM table_name_40 WHERE wins = 1 AND races = 21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the number of winning tickets that have 180.00 as the prize (eur)?\n\n### Context:\nCREATE TABLE table_20195922_3 (number_of_winning_tickets VARCHAR, prize__eur_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number_of_winning_tickets FROM table_20195922_3 WHERE prize__eur_ = \"180.00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat series had the title rank of various?\n\n### Context:\nCREATE TABLE table_name_20 (series VARCHAR, title_rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_name_20 WHERE title_rank = \"various\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the channels is wxyzrstuvpq, what is the horizontal order?\n\n### Context:\nCREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT horizontal_order FROM table_233830_1 WHERE channels = \"WXYZRSTUVPQ\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game played that had Rochdale as the away team?\n\n### Context:\nCREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_95 WHERE away_team = \"rochdale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Draw(s), when Televotes is greater than 1761, when Song is \"Ils Sont L\u00e0\", and when Place is less than 2?\n\n### Context:\nCREATE TABLE table_name_9 (draw VARCHAR, place VARCHAR, televotes VARCHAR, song VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(draw) FROM table_name_9 WHERE televotes > 1761 AND song = \"ils sont l\u00e0\" AND place < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the bachelorette of the season that premiered on May 24, 2010?\n\n### Context:\nCREATE TABLE table_name_37 (bachelorette VARCHAR, premiered VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bachelorette FROM table_name_37 WHERE premiered = \"may 24, 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the patient who has the most recent undergoing treatment?\n\n### Context:\nCREATE TABLE undergoes (patient VARCHAR, dateundergoes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT patient FROM undergoes ORDER BY dateundergoes LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Lap Length of the race with a Grand Prix Fia Category?\n\n### Context:\nCREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lap_length FROM table_name_50 WHERE category = \"grand prix fia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat NHL team does Rob White play on?\n\n### Context:\nCREATE TABLE table_name_45 (nhl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_name_45 WHERE player = \"rob white\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the lowest closed for capacity of 62,439\n\n### Context:\nCREATE TABLE table_name_34 (closed INTEGER, capacity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(closed) FROM table_name_34 WHERE capacity = 62 OFFSET 439"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere the audience share is 8%, what is the original airing?\n\n### Context:\nCREATE TABLE table_name_60 (original_airing VARCHAR, audience_share__average_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_airing FROM table_name_60 WHERE audience_share__average_ = \"8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Melbourne's home venue?\n\n### Context:\nCREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_32 WHERE home_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Against have Played smaller than 18?\n\n### Context:\nCREATE TABLE table_name_54 (against VARCHAR, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(against) FROM table_name_54 WHERE played < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat;s the total of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404?\n\n### Context:\nCREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich lowest played has a Position of 2, and Goals against larger than 53?\n\n### Context:\nCREATE TABLE table_name_6 (played INTEGER, position VARCHAR, goals_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(played) FROM table_name_6 WHERE position = 2 AND goals_against > 53"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for 2010 when 2007 is a and 2004 is 2r?\n\n### Context:\nCREATE TABLE table_name_97 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_97 WHERE 2007 = \"a\" AND 2004 = \"2r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 1983 has a Tournament of wimbledon?\n\n### Context:\nCREATE TABLE table_name_2 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1983 FROM table_name_2 WHERE tournament = \"wimbledon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want to see the result for venue of n and attendance more than 20,664\n\n### Context:\nCREATE TABLE table_name_17 (result VARCHAR, venue VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_17 WHERE venue = \"n\" AND attendance > 20 OFFSET 664"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the Delmar school what is the division record?\n\n### Context:\nCREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division_record FROM table_name_93 WHERE school = \"delmar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAlireza Rouzbahani did not advance to the quarterfinal in what event?\n\n### Context:\nCREATE TABLE table_name_29 (event VARCHAR, quarterfinal VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_29 WHERE quarterfinal = \"did not advance\" AND athlete = \"alireza rouzbahani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of enrollment of the course named \"Spanish\"?\n\n### Context:\nCREATE TABLE Student_Course_Enrolment (date_of_enrolment VARCHAR, course_id VARCHAR); CREATE TABLE Courses (course_id VARCHAR, course_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.date_of_enrolment FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = \"Spanish\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich round has the mv agusta f4 1000 mt?\n\n### Context:\nCREATE TABLE table_name_75 (rounds VARCHAR, motorcycle VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rounds FROM table_name_75 WHERE motorcycle = \"mv agusta f4 1000 mt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat album is 4:53 long?\n\n### Context:\nCREATE TABLE table_name_74 (album VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT album FROM table_name_74 WHERE length = \"4:53\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the minimum\u00a0rockhampton\n\n### Context:\nCREATE TABLE table_12570207_1 (rockhampton INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rockhampton) FROM table_12570207_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Zone is the lowest when Managed By Southern and has Platforms under 2?\n\n### Context:\nCREATE TABLE table_name_88 (zone INTEGER, managed_by VARCHAR, platforms VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(zone) FROM table_name_88 WHERE managed_by = \"southern\" AND platforms < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nanquan has a Nandao larger than 9.49, and a Rank of 4?\n\n### Context:\nCREATE TABLE table_name_76 (nanquan VARCHAR, nandao VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nanquan FROM table_name_76 WHERE nandao > 9.49 AND rank = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich street is 12.2 miles long?\n\n### Context:\nCREATE TABLE table_10568553_1 (street_names VARCHAR, milepost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT street_names FROM table_10568553_1 WHERE milepost = \"12.2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bronzes have a total less than 11, with 11 as the rank, and a gold less than 1?\n\n### Context:\nCREATE TABLE table_name_81 (bronze VARCHAR, gold VARCHAR, total VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_81 WHERE total < \"11\" AND rank = \"11\" AND gold < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many KEI catagories are listed when the economic incentive regime is 2.56? \n\n### Context:\nCREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = \"2.56\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRecord of 3\u20133 has what result?\n\n### Context:\nCREATE TABLE table_name_83 (result VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_83 WHERE record = \"3\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Club which has a Founded larger than 1875, and a Sport of football?\n\n### Context:\nCREATE TABLE table_name_73 (club VARCHAR, founded VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_73 WHERE founded > 1875 AND sport = \"football\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the player for 68-68-75-74=285\n\n### Context:\nCREATE TABLE table_name_69 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_69 WHERE score = 68 - 68 - 75 - 74 = 285"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the venue that has conv of 5 players on 20 points\n\n### Context:\nCREATE TABLE table_name_12 (venue VARCHAR, conv VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_12 WHERE conv = \"5 players on 20 points\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the away team when the crowd was larger than 8,000?\n\n### Context:\nCREATE TABLE table_name_83 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_83 WHERE crowd > 8 OFFSET 000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the station name with greatest number of trains.\n\n### Context:\nCREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich IHSAA Class has a Mascot of tigers?\n\n### Context:\nCREATE TABLE table_name_32 (ihsaa_class VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ihsaa_class FROM table_name_32 WHERE mascot = \"tigers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the region 1 for episode number 13\n\n### Context:\nCREATE TABLE table_171320_3 (region_1 VARCHAR, ep__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region_1 FROM table_171320_3 WHERE ep__number = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the league cup for northern ireland\n\n### Context:\nCREATE TABLE table_22357065_1 (league VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league AS Cup FROM table_22357065_1 WHERE nation = \"Northern Ireland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow publishers with a book published in 1989 and a book in 1990.\n\n### Context:\nCREATE TABLE book_club (publisher VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT publisher FROM book_club WHERE YEAR = 1989 INTERSECT SELECT publisher FROM book_club WHERE YEAR = 1990"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 5th is the regular season what is the highest season?\n\n### Context:\nCREATE TABLE table_1939235_1 (division INTEGER, regular_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(division) FROM table_1939235_1 WHERE regular_season = \"5th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nQuotient of 97 350,333 has how many votes?\n\n### Context:\nCREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT votes FROM table_name_45 WHERE quotient = \"97 350,333\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Best Actor has a Best Director of takeshi kitano for outrage beyond?\n\n### Context:\nCREATE TABLE table_name_44 (best_actor VARCHAR, best_director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best_actor FROM table_name_44 WHERE best_director = \"takeshi kitano for outrage beyond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production code for the episode that originally aired on January 8, 1993?\n\n### Context:\nCREATE TABLE table_2409041_5 (production_code INTEGER, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(production_code) FROM table_2409041_5 WHERE original_air_date = \"January 8, 1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the latest debut in Europe for Henrik Larsson, with less than 108 games?\n\n### Context:\nCREATE TABLE table_name_57 (debut_in_europe INTEGER, player VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = \"henrik larsson\" AND games < 108"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the eastern #2 for western #2 of oakland\n\n### Context:\nCREATE TABLE table_name_23 (eastern__number2 VARCHAR, western__number2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT eastern__number2 FROM table_name_23 WHERE western__number2 = \"oakland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original air date for episode number 96 in the series?\n\n### Context:\nCREATE TABLE table_26866299_1 (original_airdate VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_airdate FROM table_26866299_1 WHERE series__number = 96"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was al landis first elected\n\n### Context:\nCREATE TABLE table_29486189_4 (first_elected VARCHAR, representative VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_29486189_4 WHERE representative = \"Al Landis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIN WHAT STAGE DID ALEXANDER VINOKOUROV WON THE GENERAL CLASSIFICATION?\n\n### Context:\nCREATE TABLE table_11667521_17 (stage__winner_ VARCHAR, general_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stage__winner_ FROM table_11667521_17 WHERE general_classification = \"Alexander Vinokourov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Player, when Previous Team (League) is \"Medicine Hat Tigers ( WHL )\", and when Year is less than 2002?\n\n### Context:\nCREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_90 WHERE previous_team__league_ = \"medicine hat tigers ( whl )\" AND year < 2002"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest rank for new zealand?\n\n### Context:\nCREATE TABLE table_name_23 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_23 WHERE country = \"new zealand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the number of wickets is 29, what was the economy?\n\n### Context:\nCREATE TABLE table_28797906_3 (economy VARCHAR, wickets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT economy FROM table_28797906_3 WHERE wickets = 29"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich entrant had a chassis of March CG891?\n\n### Context:\nCREATE TABLE table_name_20 (entrant VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_20 WHERE chassis = \"march cg891\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pos has a Dutch Cup of winner, and a Tier larger than 1?\n\n### Context:\nCREATE TABLE table_name_1 (pos INTEGER, dutch_cup VARCHAR, tier VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pos) FROM table_name_1 WHERE dutch_cup = \"winner\" AND tier > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round was adelaide united the opposition with an attendance of 18,345?\n\n### Context:\nCREATE TABLE table_name_32 (round VARCHAR, opposition VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_32 WHERE opposition = \"adelaide united\" AND attendance = \"18,345\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat launched has mariner 4 as the spacecraft?\n\n### Context:\nCREATE TABLE table_name_17 (launched VARCHAR, spacecraft VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launched FROM table_name_17 WHERE spacecraft = \"mariner 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Sprints classification has the Points classification, Mark Cavendish and Team classification, Caisse D'epargne?\n\n### Context:\nCREATE TABLE table_name_18 (sprints_classification VARCHAR, points_classification VARCHAR, team_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sprints_classification FROM table_name_18 WHERE points_classification = \"mark cavendish\" AND team_classification = \"caisse d'epargne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich location had a round of 3, and an Opponent of matt horwich?\n\n### Context:\nCREATE TABLE table_name_9 (location VARCHAR, round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_9 WHERE round < 3 AND opponent = \"matt horwich\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the constellation for declination for \u00b045\u2032 and right ascension of 07h58m\n\n### Context:\nCREATE TABLE table_name_56 (constellation VARCHAR, declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constellation FROM table_name_56 WHERE declination___j2000__ = \"\u00b045\u2032\" AND right_ascension___j2000__ = \"07h58m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the race with a 10f distance and mollison as the winner or 2nd?\n\n### Context:\nCREATE TABLE table_name_12 (race VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_12 WHERE distance = \"10f\" AND winner_or_2nd = \"mollison\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n15 albums were released in the UK during which year?\n\n### Context:\nCREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_25 WHERE uk_albums = \"15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the episode that had 9.89 million U.S. viewers?\n\n### Context:\nCREATE TABLE table_24648983_1 (title VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_24648983_1 WHERE us_viewers__million_ = \"9.89\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps did Chuck Stevenson have with a grid of less than 11?\n\n### Context:\nCREATE TABLE table_name_35 (laps VARCHAR, driver VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(laps) FROM table_name_35 WHERE driver = \"chuck stevenson\" AND grid < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Visitor of buffalo sabres and a Record of 1-3?\n\n### Context:\nCREATE TABLE table_name_48 (score VARCHAR, visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_48 WHERE visitor = \"buffalo sabres\" AND record = \"1-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Games for the Player from Lietuvos Rytas Vilnius with less the 43 Rebounds?\n\n### Context:\nCREATE TABLE table_name_68 (games INTEGER, team VARCHAR, rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(games) FROM table_name_68 WHERE team = \"lietuvos rytas vilnius\" AND rebounds < 43"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Country has a Player of nick faldo?\n\n### Context:\nCREATE TABLE table_name_74 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_74 WHERE player = \"nick faldo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tournament had a final score of 6\u20133, 6\u20132?\n\n### Context:\nCREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_65 WHERE score_in_the_final = \"6\u20133, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is 2010 when 2009 is w and 2007 is qf?\n\n### Context:\nCREATE TABLE table_name_8 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_8 WHERE 2009 = \"w\" AND 2007 = \"qf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of wins a tournament with 1 cuts made, a top-25 less than 1, and less than 2 events has?\n\n### Context:\nCREATE TABLE table_name_82 (wins INTEGER, events VARCHAR, cuts_made VARCHAR, top_25 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_name_82 WHERE cuts_made = 1 AND top_25 < 1 AND events < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the\u00a0district with\u00a0incumbent\u00a0being sam hobbs\n\n### Context:\nCREATE TABLE table_1342270_3 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1342270_3 WHERE incumbent = \"Sam Hobbs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Surface has a Tournament of olbia?\n\n### Context:\nCREATE TABLE table_name_62 (surface VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_62 WHERE tournament = \"olbia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat purses had a winners share equal to $428650?\n\n### Context:\nCREATE TABLE table_1520559_1 (purse___$__ VARCHAR, winners_share__$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT purse___$__ FROM table_1520559_1 WHERE winners_share__$_ = 428650"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the country of release is EU, what is the label name?\n\n### Context:\nCREATE TABLE table_name_39 (label VARCHAR, country_of_release VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_39 WHERE country_of_release = \"eu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the latitude for 3809935740\n\n### Context:\nCREATE TABLE table_18600760_8 (latitude VARCHAR, geo_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT latitude FROM table_18600760_8 WHERE geo_id = 3809935740"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Home team in Tie #23?\n\n### Context:\nCREATE TABLE table_name_80 (home_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_80 WHERE tie_no = 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Team, when Circuit is Phillip Island Grand Prix Circuit?\n\n### Context:\nCREATE TABLE table_name_1 (team VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_1 WHERE circuit = \"phillip island grand prix circuit\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points for the simtek s951 chassis?\n\n### Context:\nCREATE TABLE table_name_92 (points VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_92 WHERE chassis = \"simtek s951\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first class team of the player born on 23 February 1973?\n\n### Context:\nCREATE TABLE table_name_70 (first_class_team VARCHAR, date_of_birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_class_team FROM table_name_70 WHERE date_of_birth = \"23 february 1973\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest labour panel when the university of dublin is less than 2 and the agricultural panel is greater than 5?\n\n### Context:\nCREATE TABLE table_name_46 (labour_panel INTEGER, university_of_dublin VARCHAR, agricultural_panel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(labour_panel) FROM table_name_46 WHERE university_of_dublin < 2 AND agricultural_panel > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the numbers of the players currently playing for Ironi Nahariya?\n\n### Context:\nCREATE TABLE table_12962773_2 (no VARCHAR, current_club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_12962773_2 WHERE current_club = \"Ironi Nahariya\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of students who took some course offered by Statistics department.\n\n### Context:\nCREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE takes (course_id VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.name FROM course AS T1 JOIN takes AS T2 ON T1.course_id = T2.course_id JOIN student AS T3 ON T2.id = T3.id WHERE T1.dept_name = 'Statistics'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opposing Teams is on 06/02/1988?\n\n### Context:\nCREATE TABLE table_name_18 (opposing_teams VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opposing_teams FROM table_name_18 WHERE date = \"06/02/1988\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has a score of 74-74-73-70=291?\n\n### Context:\nCREATE TABLE table_name_72 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_72 WHERE score = 74 - 74 - 73 - 70 = 291"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names of those who made less than 3 wins in 15 matches?\n\n### Context:\nCREATE TABLE table_name_90 (name VARCHAR, wins VARCHAR, matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_90 WHERE wins < 3 AND matches < 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the points for rank 12?\n\n### Context:\nCREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_13 WHERE rank = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow ids for all students who live in CHI.\n\n### Context:\nCREATE TABLE Student (StuID VARCHAR, city_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT StuID FROM Student WHERE city_code = \"CHI\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has a series premier of unknown and mbc action as their TV network?\n\n### Context:\nCREATE TABLE table_name_27 (country VARCHAR, series_premiere VARCHAR, tv_network_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_27 WHERE series_premiere = \"unknown\" AND tv_network_s_ = \"mbc action\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHome of kings had what score?\n\n### Context:\nCREATE TABLE table_name_64 (score VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_64 WHERE home = \"kings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat year did naga bonar take place\n\n### Context:\nCREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year__ceremony_ FROM table_name_82 WHERE original_title = \"naga bonar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of draws when there is 1 Win, and less than 1728 against matches?\n\n### Context:\nCREATE TABLE table_name_41 (draws VARCHAR, wins VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(draws) FROM table_name_41 WHERE wins = 1 AND against < 1728"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Reuben Foster's college?\n\n### Context:\nCREATE TABLE table_name_59 (college VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_59 WHERE player = \"reuben foster\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest wins in a season less than 1915 with a 7th finish and 0.429 win %?\n\n### Context:\nCREATE TABLE table_name_74 (wins INTEGER, reds_season VARCHAR, finish VARCHAR, win_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_74 WHERE finish = \"7th\" AND win_percentage > 0.429 AND reds_season < 1915"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average money when the score was 68-69-68-72=277?\n\n### Context:\nCREATE TABLE table_name_97 (money___ INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(money___) AS $__ FROM table_name_97 WHERE score = 68 - 69 - 68 - 72 = 277"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich details of journey had simon hoggart as a narrator?\n\n### Context:\nCREATE TABLE table_name_48 (details_of_journey VARCHAR, narrator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT details_of_journey FROM table_name_48 WHERE narrator = \"simon hoggart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest BR number with a SECR number of 765?\n\n### Context:\nCREATE TABLE table_name_39 (br_no INTEGER, secr_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(br_no) FROM table_name_39 WHERE secr_no = 765"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich operators offer a genre of music?\n\n### Context:\nCREATE TABLE table_1837570_1 (operator VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT operator FROM table_1837570_1 WHERE genre = \"music\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of gold medals for Canada with more than 7 bronze medals?\n\n### Context:\nCREATE TABLE table_name_31 (gold INTEGER, nation VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_31 WHERE nation = \"canada\" AND bronze > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the grade studying in room 105.\n\n### Context:\nCREATE TABLE list (grade VARCHAR, classroom VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT grade FROM list WHERE classroom = 105"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of laps for grid 20?\n\n### Context:\nCREATE TABLE table_name_53 (laps INTEGER, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_53 WHERE grid = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the losses by the Montreal Hockey Club, who have more than 15 Goals Against?\n\n### Context:\nCREATE TABLE table_name_56 (losses INTEGER, team VARCHAR, goals_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(losses) FROM table_name_56 WHERE team = \"montreal hockey club\" AND goals_against > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different lead margins were stated in the poll administered on September 11, 2008?\n\n### Context:\nCREATE TABLE table_17538810_10 (lead_margin VARCHAR, dates_administered VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lead_margin) FROM table_17538810_10 WHERE dates_administered = \"September 11, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week number saw a w 31-16 result?\n\n### Context:\nCREATE TABLE table_name_21 (week INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_21 WHERE result = \"w 31-16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different items appear in the enrollment column that joined in 1931, 1949 1?\n\n### Context:\nCREATE TABLE table_261941_1 (enrollment VARCHAR, joined VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(enrollment) FROM table_261941_1 WHERE joined = \"1931, 1949 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year has a Match of 63?\n\n### Context:\nCREATE TABLE table_name_82 (year VARCHAR, match VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_82 WHERE match = 63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1990\u20131991 Team when the Birthplace shows as new york?\n\n### Context:\nCREATE TABLE table_name_23 (birthplace VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = \"new york\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many womens doubles had champions the years broddi kristj\u00e1nsson dr\u00edfa har\u00f0ard\u00f3ttir won mixed doubles\n\n### Context:\nCREATE TABLE table_14903999_1 (womens_doubles VARCHAR, mixed_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(womens_doubles) FROM table_14903999_1 WHERE mixed_doubles = \"Broddi Kristj\u00e1nsson Dr\u00edfa Har\u00f0ard\u00f3ttir\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round was Bill Hill drafted?\n\n### Context:\nCREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT choice FROM table_10360656_1 WHERE player_name = \"Bill Hill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the album that has Popup has the original label?\n\n### Context:\nCREATE TABLE table_name_25 (album_title VARCHAR, original_label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT album_title FROM table_name_25 WHERE original_label = \"popup\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the round of 32 during the 56kg when the quarterfinals, semifinals, and finals did not advance?\n\n### Context:\nCREATE TABLE table_name_10 (round_of_32 VARCHAR, event VARCHAR, quarterfinals VARCHAR, finals VARCHAR, semifinals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round_of_32 FROM table_name_10 WHERE finals = \"did not advance\" AND semifinals = \"did not advance\" AND quarterfinals = \"did not advance\" AND event = \"56kg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Away team footscray played on the Date of 19 july 1980, what was the amount of people in the Crowd?\n\n### Context:\nCREATE TABLE table_name_1 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_1 WHERE date = \"19 july 1980\" AND away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of a pick more than 5 at Washington College?\n\n### Context:\nCREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_45 WHERE pick__number > 5 AND college = \"washington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Russian has a Ratio of 40?\n\n### Context:\nCREATE TABLE table_name_60 (russian VARCHAR, ratio VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT russian FROM table_name_60 WHERE ratio = \"40\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the birth place of the prime minister who served George V and entered office on 23 October 1922?\n\n### Context:\nCREATE TABLE table_name_83 (birth_place VARCHAR, monarchs_served VARCHAR, entered_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT birth_place FROM table_name_83 WHERE monarchs_served = \"george v\" AND entered_office = \"23 october 1922\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record in the 2 round fight that ended by submission (injury)?\n\n### Context:\nCREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_70 WHERE round = \"2\" AND method = \"submission (injury)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the date that has a week larger than 3 and a result of w 28-27\n\n### Context:\nCREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_26 WHERE week > 3 AND result = \"w 28-27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nBand of am, and a Frequency of 0 846 has what purpose?\n\n### Context:\nCREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT purpose FROM table_name_18 WHERE band = \"am\" AND frequency = \"0 846\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT COUNTRY HAS THE HIGHEST BRONZE COUNT, MORE THAN 1 SILVER METAL, AND LESS THAN 1ST PLACE?\n\n### Context:\nCREATE TABLE table_name_46 (bronze INTEGER, silver VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_46 WHERE silver > 1 AND rank > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the frequency of the processor with an sSpec number of sl3bn(kc0)sl3e9(kc0)?\n\n### Context:\nCREATE TABLE table_name_79 (frequency VARCHAR, sspec_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_79 WHERE sspec_number = \"sl3bn(kc0)sl3e9(kc0)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\navailable subnets leading total is?\n\n### Context:\nCREATE TABLE table_149426_4 (available_subnets INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(available_subnets) FROM table_149426_4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total points listed that includes P listed Tyres after 1986?\n\n### Context:\nCREATE TABLE table_name_76 (points INTEGER, tyres VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_76 WHERE tyres = \"p\" AND year > 1986"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Bleeding has a Condition of congenital afibrinogenemia?\n\n### Context:\nCREATE TABLE table_name_75 (bleeding_time VARCHAR, condition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bleeding_time FROM table_name_75 WHERE condition = \"congenital afibrinogenemia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich losing team had a score of 24-12?\n\n### Context:\nCREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losingteam FROM table_11236195_2 WHERE score = \"24-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average grid with more than 23 laps?\n\n### Context:\nCREATE TABLE table_name_78 (grid INTEGER, laps INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(grid) FROM table_name_78 WHERE laps > 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of losses for the team with 1 draw and 34 tries against?\n\n### Context:\nCREATE TABLE table_name_49 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lost FROM table_name_49 WHERE drawn = \"1\" AND tries_against = \"34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date when the Lakers were the home team?\n\n### Context:\nCREATE TABLE table_name_1 (date VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_1 WHERE home = \"lakers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest played amount when there are 2 draws and an against of more than 73?\n\n### Context:\nCREATE TABLE table_name_66 (played INTEGER, drawn VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(played) FROM table_name_66 WHERE drawn = 2 AND against > 73"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion?\n\n### Context:\nCREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = \"ontario hockey league\" AND nationality = \"united states\" AND team_from = \"brampton battalion\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game for April 16?\n\n### Context:\nCREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_62 WHERE date = \"april 16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the high points in the game played on December 2?\n\n### Context:\nCREATE TABLE table_22871316_6 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_22871316_6 WHERE date = \"December 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the highest Capacity that has the Team of torpedo?\n\n### Context:\nCREATE TABLE table_name_66 (capacity INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(capacity) FROM table_name_66 WHERE team = \"torpedo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the sum of total where the rank is over 9 and the gold is less than 1?\n\n### Context:\nCREATE TABLE table_name_58 (total VARCHAR, rank VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_58 WHERE rank > 9 AND gold < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest game number when the team is Houston? \n\n### Context:\nCREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_17326036_7 WHERE team = \"Houston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the summary for the episode with a coach named Rebecca Star?\n\n### Context:\nCREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode AS Summary FROM table_2140071_13 WHERE coach = \"Rebecca Star\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rounds did Alex Ardoin achieved a fastest lap?\n\n### Context:\nCREATE TABLE table_25459168_2 (round VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_25459168_2 WHERE fastest_lap = \"Alex Ardoin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent for december 8\n\n### Context:\nCREATE TABLE table_17924362_1 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_17924362_1 WHERE date = \"December 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank was the country with no bronze but at least 1 silver medals?\n\n### Context:\nCREATE TABLE table_name_57 (rank INTEGER, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_57 WHERE bronze < 1 AND silver > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Oberliga S\u00fcdwest has an Oberliga Bayern of fc schweinfurt 05?\n\n### Context:\nCREATE TABLE table_name_82 (oberliga_s\u00fcdwest VARCHAR, oberliga_bayern VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT oberliga_s\u00fcdwest FROM table_name_82 WHERE oberliga_bayern = \"fc schweinfurt 05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of # Of Prefectural Votes, when % Of Prefectural Vote is 48.4%, and when # Of Seats Won is greater than 61?\n\n### Context:\nCREATE TABLE table_name_37 (_number_of_prefectural_votes VARCHAR, _percentage_of_prefectural_vote VARCHAR, _number_of_seats_won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(_number_of_prefectural_votes) FROM table_name_37 WHERE _percentage_of_prefectural_vote = \"48.4%\" AND _number_of_seats_won > 61"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score of game 26?\n\n### Context:\nCREATE TABLE table_name_64 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_64 WHERE game = 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many weeks in total were games played at Cleveland Browns Stadium?\n\n### Context:\nCREATE TABLE table_name_81 (week VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_81 WHERE stadium = \"cleveland browns stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bonus points were won by 5?\n\n### Context:\nCREATE TABLE table_17510803_2 (bonus_points VARCHAR, won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bonus_points FROM table_17510803_2 WHERE won = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Week has a Result of w 20-13?\n\n### Context:\nCREATE TABLE table_name_20 (week INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_20 WHERE result = \"w 20-13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest To par of gary player, with more than 145 total?\n\n### Context:\nCREATE TABLE table_name_8 (to_par INTEGER, player VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(to_par) FROM table_name_8 WHERE player = \"gary player\" AND total > 145"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Weight has a Power of kw (hp) at 1,800rpm, and a Name of 9 nc?\n\n### Context:\nCREATE TABLE table_name_98 (weight VARCHAR, power VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT weight FROM table_name_98 WHERE power = \"kw (hp) at 1,800rpm\" AND name = \"9 nc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the material of the surface in noida , uttar pradesh, india\n\n### Context:\nCREATE TABLE table_29127804_3 (surface VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_29127804_3 WHERE location = \"Noida , Uttar Pradesh, India\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the pole position at the japanese grand prix when the fastest lap is damon hill\n\n### Context:\nCREATE TABLE table_name_62 (pole_position VARCHAR, fastest_lap VARCHAR, grand_prix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_name_62 WHERE fastest_lap = \"damon hill\" AND grand_prix = \"japanese grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Silver, when Notes is \"6.24km, 23controls\"?\n\n### Context:\nCREATE TABLE table_name_86 (silver VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_86 WHERE notes = \"6.24km, 23controls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many schools did Bubba Starling attend?\n\n### Context:\nCREATE TABLE table_11677100_17 (school VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(school) FROM table_11677100_17 WHERE player = \"Bubba Starling\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the final in which Melanie South played with partner Ksenia Lykina during the Kurume Cup tournament?\n\n### Context:\nCREATE TABLE table_name_59 (score VARCHAR, partner VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_59 WHERE partner = \"ksenia lykina\" AND tournament = \"kurume\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest crowd size when Carlton was the away team.\n\n### Context:\nCREATE TABLE table_name_65 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_65 WHERE away_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many gold medals for the school with less than 1 total?\n\n### Context:\nCREATE TABLE table_name_43 (gold_medals VARCHAR, total_medals INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold_medals) FROM table_name_43 WHERE total_medals < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the reason for change pennsylvania 13th\n\n### Context:\nCREATE TABLE table_225102_4 (reason_for_change VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_change FROM table_225102_4 WHERE district = \"Pennsylvania 13th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the surface on june 11, 1995\n\n### Context:\nCREATE TABLE table_name_70 (surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_70 WHERE date = \"june 11, 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the 27 arrow match event, what's the sum of all scores for that event?\n\n### Context:\nCREATE TABLE table_name_63 (score INTEGER, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(score) FROM table_name_63 WHERE event = \"27 arrow match\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the partner at the Australian Open, Melbourne when the score was 2\u20136, 7\u20135, 6\u20132, 4\u20136, 3\u20136?\n\n### Context:\nCREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT partner FROM table_name_6 WHERE championship = \"australian open, melbourne\" AND score = \"2\u20136, 7\u20135, 6\u20132, 4\u20136, 3\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich result has a recipients and nominees of outstanding achievement in drama with 1995 as the year?\n\n### Context:\nCREATE TABLE table_name_87 (result VARCHAR, recipients_and_nominees VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_87 WHERE recipients_and_nominees = \"outstanding achievement in drama\" AND year = 1995"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat title episode did Paris Barclay direct?\n\n### Context:\nCREATE TABLE table_20726262_2 (title VARCHAR, directedby VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_20726262_2 WHERE directedby = \"Paris Barclay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the partner count when the opponents in the final was forget leconte?\n\n### Context:\nCREATE TABLE table_22597626_17 (partner VARCHAR, opponents_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(partner) FROM table_22597626_17 WHERE opponents_in_the_final = \"Forget Leconte\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the winner for london tournament\n\n### Context:\nCREATE TABLE table_name_93 (winner VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_93 WHERE tournament = \"london\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the game earlier than 69 with a record of 4\u201356?\n\n### Context:\nCREATE TABLE table_name_41 (score VARCHAR, game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_41 WHERE game < 69 AND record = \"4\u201356\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the most # that aired on september 29, 2008?\n\n### Context:\nCREATE TABLE table_11235334_2 (_number INTEGER, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number) FROM table_11235334_2 WHERE air_date = \"September 29, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the year that has a character named Wu Ji Wei (\u7121\u6975\u5a01)?\n\n### Context:\nCREATE TABLE table_name_27 (year INTEGER, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_27 WHERE character = \"wu ji wei (\u7121\u6975\u5a01)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the episode(s) aired in the U.S. on 4 april 2008, what were the names?\n\n### Context:\nCREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_10935205_1 WHERE us_airdate = \"4 April 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team does mario andretti play pole position for?\n\n### Context:\nCREATE TABLE table_name_9 (winning_team VARCHAR, pole_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_name_9 WHERE pole_position = \"mario andretti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest round where a back named Ed Cody can be found?\n\n### Context:\nCREATE TABLE table_name_53 (round INTEGER, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_53 WHERE position = \"back\" AND player = \"ed cody\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Record of 29\u201347?\n\n### Context:\nCREATE TABLE table_name_4 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_4 WHERE record = \"29\u201347\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every CFL team with pick#1?\n\n### Context:\nCREATE TABLE table_28059992_1 (cfl_team VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cfl_team FROM table_28059992_1 WHERE pick__number = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the company with estimated revenue of 33.3 billion headquartered?\n\n### Context:\nCREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = \"33.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many ends won catagories are listed when there are 8 stolen ends? \n\n### Context:\nCREATE TABLE table_25714995_2 (Ends VARCHAR, stolen_ends VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(Ends) AS won FROM table_25714995_2 WHERE stolen_ends = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich series episode has a netflix figure of s04e21?\n\n### Context:\nCREATE TABLE table_name_45 (series_ep VARCHAR, netflix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series_ep FROM table_name_45 WHERE netflix = \"s04e21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho from Conquest Racing had the best time of 1:34.748 in Qual 1?\n\n### Context:\nCREATE TABLE table_name_4 (best VARCHAR, team VARCHAR, qual_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best FROM table_name_4 WHERE team = \"conquest racing\" AND qual_1 = \"1:34.748\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many votes did the security guard get?\n\n### Context:\nCREATE TABLE table_name_78 (votes VARCHAR, occupation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT votes FROM table_name_78 WHERE occupation = \"security guard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich ship was sunk at 01:00?\n\n### Context:\nCREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name_of_ship FROM table_name_96 WHERE fate = \"sunk at\" AND time = \"01:00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow project ids and the number of documents in each project.\n\n### Context:\nCREATE TABLE Documents (project_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT project_id, COUNT(*) FROM Documents GROUP BY project_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average position of Eesti P\u00f5levkivi J\u00f5hvi when they had less than 13 points and worse than a -12 goal differential?\n\n### Context:\nCREATE TABLE table_name_54 (position INTEGER, points VARCHAR, goals_ VARCHAR, __ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(position) FROM table_name_54 WHERE points < 13 AND goals_ + __ > -12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 1546 is inns of court and chancery what is the finsbury division?\n\n### Context:\nCREATE TABLE table_16677738_1 (finsbury_division VARCHAR, inns_of_court_and_chancery VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finsbury_division FROM table_16677738_1 WHERE inns_of_court_and_chancery = 1546"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the high rebounds for 17-33\n\n### Context:\nCREATE TABLE table_23274514_7 (high_rebounds VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_23274514_7 WHERE record = \"17-33\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the tie no when Wrexham was the away team?\n\n### Context:\nCREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_97 WHERE away_team = \"wrexham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Times have a Reaction Time larger than 0.17500000000000002, and a Lane of 3?\n\n### Context:\nCREATE TABLE table_name_62 (time VARCHAR, reaction_time VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(time) FROM table_name_62 WHERE reaction_time > 0.17500000000000002 AND lane = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Engine has a Year that's Larger than 2006 and Power of BHP (KW)?\n\n### Context:\nCREATE TABLE table_name_8 (engine VARCHAR, year VARCHAR, power VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_8 WHERE year > 2006 AND power = \"bhp (kw)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average when the highest score is 151?\n\n### Context:\nCREATE TABLE table_28846752_4 (average VARCHAR, highest_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT average FROM table_28846752_4 WHERE highest_score = \"151\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Visitor has a Score of 0-4?\n\n### Context:\nCREATE TABLE table_name_78 (visitor VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_78 WHERE score = \"0-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?\n\n### Context:\nCREATE TABLE table_name_58 (starts INTEGER, money_list_rank VARCHAR, top_25 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(starts) FROM table_name_58 WHERE money_list_rank = \"108\" AND top_25 > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the year for willie goggin\n\n### Context:\nCREATE TABLE table_225880_1 (year VARCHAR, runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_225880_1 WHERE runner_s__up = \"Willie Goggin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many songs are there?\n\n### Context:\nCREATE TABLE Songs (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM Songs"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Byes that has Ballarat FL of Sunbury against more than 1167?\n\n### Context:\nCREATE TABLE table_name_70 (byes INTEGER, ballarat_fl VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(byes) FROM table_name_70 WHERE ballarat_fl = \"sunbury\" AND against > 1167"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of ends when the transfer fee was dkk 14m?\n\n### Context:\nCREATE TABLE table_name_80 (ends VARCHAR, transfer_fee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(ends) FROM table_name_80 WHERE transfer_fee = \"dkk 14m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the highest Decile for roll more than 325 and area of warkworth\n\n### Context:\nCREATE TABLE table_name_70 (decile INTEGER, roll VARCHAR, area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(decile) FROM table_name_70 WHERE roll > 325 AND area = \"warkworth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won that game on 24 July 2010?\n\n### Context:\nCREATE TABLE table_name_26 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_26 WHERE date = \"24 july 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the titles of items that received both a rating higher than 8 and a rating below 5.\n\n### Context:\nCREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat US Country released an album of singles only in 1967?\n\n### Context:\nCREATE TABLE table_name_30 (us_country VARCHAR, album VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_country FROM table_name_30 WHERE album = \"singles only\" AND year = 1967"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the earliest year anybody joined the hockey league? \n\n### Context:\nCREATE TABLE table_16384648_2 (joined_tschl INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(joined_tschl) FROM table_16384648_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the full name of the staff member who has rented a film to a customer with the first name April and the last name Burns?\n\n### Context:\nCREATE TABLE customer (customer_id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE rental (staff_id VARCHAR, customer_id VARCHAR); CREATE TABLE staff (first_name VARCHAR, last_name VARCHAR, staff_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T1.first_name, T1.last_name FROM staff AS T1 JOIN rental AS T2 ON T1.staff_id = T2.staff_id JOIN customer AS T3 ON T2.customer_id = T3.customer_id WHERE T3.first_name = 'APRIL' AND T3.last_name = 'BURNS'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat race has a Pole Position of Jacques Laffite?\n\n### Context:\nCREATE TABLE table_name_25 (race VARCHAR, pole_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_25 WHERE pole_position = \"jacques laffite\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the bronze number for the nation with less than 0 gold?\n\n### Context:\nCREATE TABLE table_name_53 (bronze INTEGER, gold INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bronze) FROM table_name_53 WHERE gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date for result loss for duke\n\n### Context:\nCREATE TABLE table_21092444_1 (date VARCHAR, result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_21092444_1 WHERE result = \"Loss\" AND opponent = \"Duke\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was lieutenant governor to the governor that left office on October 16, 2000?\n\n### Context:\nCREATE TABLE table_name_90 (Lieutenant VARCHAR, left_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Lieutenant AS governor FROM table_name_90 WHERE left_office = \"october 16, 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many video out connections does the sounddock portable have?\n\n### Context:\nCREATE TABLE table_24384861_1 (video_out VARCHAR, version VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(video_out) FROM table_24384861_1 WHERE version = \"SoundDock Portable\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the original names of the districts where the population in the 2010 census was 210450?\n\n### Context:\nCREATE TABLE table_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_name FROM table_1104312_5 WHERE population_at_2010_census = 210450"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the greatest number of losses when the against is 1465 and there are more than 7 wins?\n\n### Context:\nCREATE TABLE table_name_80 (losses INTEGER, against VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_name_80 WHERE against = 1465 AND wins > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the capacity of the mine that is operated by Cyprus Amax minerals?\n\n### Context:\nCREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = \"cyprus amax minerals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank when time is 11.15 and lane is bigger than 7 with notes Q, PB?\n\n### Context:\nCREATE TABLE table_name_76 (rank INTEGER, lane VARCHAR, notes VARCHAR, time___sec__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_76 WHERE notes = \"q, pb\" AND time___sec__ = 11.15 AND lane > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ICAO when the IATA shows mfm?\n\n### Context:\nCREATE TABLE table_name_2 (icao VARCHAR, iata VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT icao FROM table_name_2 WHERE iata = \"mfm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the torque of 1.2 petrol?\n\n### Context:\nCREATE TABLE table_name_49 (torque VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT torque FROM table_name_49 WHERE name = \"1.2 petrol\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Liberal leader has Seats won smaller than 100, and Seats in House of 215, and a % of popular vote of 43.1%?\n\n### Context:\nCREATE TABLE table_name_86 (liberal_leader VARCHAR, _percentage_of_popular_vote VARCHAR, seats_won VARCHAR, seats_in_house VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT liberal_leader FROM table_name_86 WHERE seats_won < 100 AND seats_in_house = 215 AND _percentage_of_popular_vote = \"43.1%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total enrollment at Laville?\n\n### Context:\nCREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(enrollment) FROM table_name_97 WHERE school = \"laville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average draw that has a lost less than 4, gwardia bydgoszcz as the team, with a match greater than 5?\n\n### Context:\nCREATE TABLE table_name_14 (draw INTEGER, match VARCHAR, lost VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(draw) FROM table_name_14 WHERE lost < 4 AND team = \"gwardia bydgoszcz\" AND match > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the PCT when the total number of games is less than 944?\n\n### Context:\nCREATE TABLE table_name_84 (pct VARCHAR, total_games INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT pct FROM table_name_84 WHERE total_games < 944"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue has g1 as the group?\n\n### Context:\nCREATE TABLE table_name_45 (venue VARCHAR, group VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_45 WHERE group = \"g1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player had a total of 152?\n\n### Context:\nCREATE TABLE table_name_60 (player VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_60 WHERE total = \"152\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the FCC information of 104.5 fm frequency?\n\n### Context:\nCREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fcc_info FROM table_name_68 WHERE frequency_mhz = \"104.5 fm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the kitmaker for the team that Uwe Rapolder is the head coach of.\n\n### Context:\nCREATE TABLE table_name_84 (kitmaker VARCHAR, head_coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kitmaker FROM table_name_84 WHERE head_coach = \"uwe rapolder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0report\u00a0with\u00a0fastest lap\u00a0being felipe massa and\u00a0winning driver\u00a0being jenson button\n\n### Context:\nCREATE TABLE table_12161822_5 (report VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_12161822_5 WHERE fastest_lap = \"Felipe Massa\" AND winning_driver = \"Jenson Button\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the accreditation level for the approved (awarded 05.12.12) date?\n\n### Context:\nCREATE TABLE table_name_72 (accreditation_level VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accreditation_level FROM table_name_72 WHERE date = \"approved (awarded 05.12.12)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Wednesday has a Saturday of \u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0d?\n\n### Context:\nCREATE TABLE table_name_23 (wednesday VARCHAR, saturday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wednesday FROM table_name_23 WHERE saturday = \"\u0f42\u0f5f\u0f60\u0f0b\u0f66\u0fa4\u0f7a\u0f53\u0f0b\u0f54\u0f0d\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlease show the most common occupation of players.\n\n### Context:\nCREATE TABLE player (Occupation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Occupation FROM player GROUP BY Occupation ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of the year with a Team of johnson city yankees, and a Finish of 6th?\n\n### Context:\nCREATE TABLE table_name_33 (year INTEGER, team VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_33 WHERE team = \"johnson city yankees\" AND finish = \"6th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n what's the\u00a0swimsuit\u00a0where\u00a0average\u00a0is 8.670\n\n### Context:\nCREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT swimsuit FROM table_12094609_1 WHERE average = \"8.670\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nationality has a Date of 8 may 1942?\n\n### Context:\nCREATE TABLE table_name_39 (nationality VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_39 WHERE date = \"8 may 1942\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0result\u00a0with\u00a0opponent\u00a0being cleveland browns\n\n### Context:\nCREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_14951643_1 WHERE opponent = \"Cleveland Browns\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player placed t6 for the United States with a score of 67-69=136?\n\n### Context:\nCREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_71 WHERE country = \"united states\" AND place = \"t6\" AND score = 67 - 69 = 136"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Chinese name that has a 31 average?\n\n### Context:\nCREATE TABLE table_11926114_1 (chinese_title VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chinese_title FROM table_11926114_1 WHERE average = 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the ratings of TBS of Episode 10 and had a Japanese title of Scandal?\n\n### Context:\nCREATE TABLE table_name_76 (average_ratings VARCHAR, japanese_title VARCHAR, tv_station VARCHAR, episodes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT average_ratings FROM table_name_76 WHERE tv_station = \"tbs\" AND episodes = \"10\" AND japanese_title = \"scandal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the points number when 20 shows for played, and lost is 0?\n\n### Context:\nCREATE TABLE table_name_19 (points_for VARCHAR, played VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_for FROM table_name_19 WHERE played = \"20\" AND lost = \"0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates when Shirley Chisholm was the incumbent?\n\n### Context:\nCREATE TABLE table_1341663_33 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341663_33 WHERE incumbent = \"Shirley Chisholm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season has the champion of Nicolas Kiesa?\n\n### Context:\nCREATE TABLE table_name_84 (season VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_84 WHERE champion = \"nicolas kiesa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRecord of 89-67 had what loss?\n\n### Context:\nCREATE TABLE table_name_16 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_16 WHERE record = \"89-67\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the state of the college which player Charles is attending.\n\n### Context:\nCREATE TABLE tryout (cName VARCHAR, pID VARCHAR); CREATE TABLE player (pID VARCHAR, pName VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName JOIN player AS T3 ON T2.pID = T3.pID WHERE T3.pName = 'Charles'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Total has a Rank of 4, and a Silver larger than 2?\n\n### Context:\nCREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_11 WHERE rank = \"4\" AND silver > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many status' are there with a population of 90565?\n\n### Context:\nCREATE TABLE table_22815568_2 (status VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(status) FROM table_22815568_2 WHERE population = 90565"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the highest attempts that have net yards less than 631, and 2 for the touchdowns?\n\n### Context:\nCREATE TABLE table_name_53 (attempts INTEGER, net_yards VARCHAR, touchdowns VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attempts) FROM table_name_53 WHERE net_yards < 631 AND touchdowns = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the number where the player was jimmy demaret\n\n### Context:\nCREATE TABLE table_262383_1 (runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 54 AS _holes FROM table_262383_1 WHERE runner_s__up = \"Jimmy Demaret\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number is Tony Dixon?\n\n### Context:\nCREATE TABLE table_name_22 (number VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number FROM table_name_22 WHERE name = \"tony dixon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Kana of the Province with a Korean name of Chungcheong-Namdo?\n\n### Context:\nCREATE TABLE table_name_2 (kana VARCHAR, korean_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kana FROM table_name_2 WHERE korean_name = \"chungcheong-namdo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the composer of the song with a length of 6:24?\n\n### Context:\nCREATE TABLE table_name_85 (composer_s_ VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT composer_s_ FROM table_name_85 WHERE length = \"6:24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average laps completed by riders with times of +2:11.524?\n\n### Context:\nCREATE TABLE table_name_90 (laps INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(laps) FROM table_name_90 WHERE time = \"+2:11.524\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich car won the 1.4litre to 1.8litre award in 2001?\n\n### Context:\nCREATE TABLE table_name_17 (category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2001 FROM table_name_17 WHERE category = \"1.4litre to 1.8litre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team captain when the shirt sponser is quick?\n\n### Context:\nCREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = \"Quick\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the gold with total larger than 33\n\n### Context:\nCREATE TABLE table_name_46 (gold VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_46 WHERE total > 33"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the density in places where the 2011 census gives a population of 5402?\n\n### Context:\nCREATE TABLE table_14325808_1 (density__pop_km\u00b2_ VARCHAR, population__2011_census_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT density__pop_km\u00b2_ FROM table_14325808_1 WHERE population__2011_census_ = 5402"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is the film hi no tsugi ha rekishi from?\n\n### Context:\nCREATE TABLE table_name_21 (country VARCHAR, film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_21 WHERE film = \"hi no tsugi ha rekishi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Visitor with a Score with 4 \u2013 3?\n\n### Context:\nCREATE TABLE table_name_35 (visitor VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_35 WHERE score = \"4 \u2013 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the games for men's 5000 metres\n\n### Context:\nCREATE TABLE table_name_18 (games VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT games FROM table_name_18 WHERE event = \"men's 5000 metres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Against has Draws of 2, and Losses smaller than 4?\n\n### Context:\nCREATE TABLE table_name_17 (against INTEGER, draws VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(against) FROM table_name_17 WHERE draws = 2 AND losses < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of lane(s) for swimmers from Sweden with a 50m split of faster than 26.25?\n\n### Context:\nCREATE TABLE table_name_24 (lane INTEGER, nationality VARCHAR, split__50m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lane) FROM table_name_24 WHERE nationality = \"sweden\" AND split__50m_ < 26.25"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Report for the Monaco race?\n\n### Context:\nCREATE TABLE table_name_32 (report VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_name_32 WHERE location = \"monaco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent in the final had a partner of Katarina Srebotnik and a championship of wimbledon (4)?\n\n### Context:\nCREATE TABLE table_name_63 (opponents_in_the_final VARCHAR, partner VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents_in_the_final FROM table_name_63 WHERE partner = \"katarina srebotnik\" AND championship = \"wimbledon (4)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Place of winger, and a Player of evgeny afanasiev?\n\n### Context:\nCREATE TABLE table_name_49 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = \"winger\" AND player = \"evgeny afanasiev\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe episode written by Rebecca Dameron aired on what date? \n\n### Context:\nCREATE TABLE table_11111116_6 (original_air_date VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_11111116_6 WHERE written_by = \"Rebecca Dameron\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Bronze, when Nation is \"South Africa\", and when Total is less than 20?\n\n### Context:\nCREATE TABLE table_name_73 (bronze INTEGER, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_73 WHERE nation = \"south africa\" AND total < 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many neighborhoods have a station proposed at a Hospital?\n\n### Context:\nCREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = \"Hospital\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the crowd was greater than 19,498 who was the away team?\n\n### Context:\nCREATE TABLE table_name_5 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_5 WHERE crowd > 19 OFFSET 498"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was My Lord What a Mornin' recorded?\n\n### Context:\nCREATE TABLE table_name_55 (recording_date VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT recording_date FROM table_name_55 WHERE title = \"my lord what a mornin'\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the bts retail price (regulated) for tariff code g10?\n\n### Context:\nCREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = \"g10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of assists for the second rank when there were less than 2 games?\n\n### Context:\nCREATE TABLE table_name_71 (assists INTEGER, rank VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(assists) FROM table_name_71 WHERE rank = 2 AND games < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of tracks whose genre is Rock?\n\n### Context:\nCREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = \"Rock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the week 4 opponent for the year with a week 10 opponent of Michigan State (8-2)?\n\n### Context:\nCREATE TABLE table_name_30 (week_4_sept_21 VARCHAR, week_10_nov_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_4_sept_21 FROM table_name_30 WHERE week_10_nov_2 = \"michigan state (8-2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the 3rd place team at Pardubice?\n\n### Context:\nCREATE TABLE table_name_41 (venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 3 AS rd_place FROM table_name_41 WHERE venue = \"pardubice\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the sum of Laps that has the Manufacturer of kawasaki, and the Grid smaller than 7?\n\n### Context:\nCREATE TABLE table_name_88 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_88 WHERE manufacturer = \"kawasaki\" AND grid < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode had a run time of 24:25?\n\n### Context:\nCREATE TABLE table_1579922_1 (episode VARCHAR, run_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_1579922_1 WHERE run_time = \"24:25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich method has the record of 11-1?\n\n### Context:\nCREATE TABLE table_name_4 (method VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_4 WHERE record = \"11-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has an Opera usage percentage of 5.1% and Internet Explorer usage of 59.5%?\n\n### Context:\nCREATE TABLE table_name_64 (date VARCHAR, opera VARCHAR, internet_explorer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_64 WHERE opera = \"5.1%\" AND internet_explorer = \"59.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest silver rank with a total of 27?\n\n### Context:\nCREATE TABLE table_name_65 (silver INTEGER, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_65 WHERE total = 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat 2010 has a 2006 less than 6.9, a 2008 greater than 1.6, and 2 for 2007?\n\n### Context:\nCREATE TABLE table_name_21 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_21 WHERE 2006 < 6.9 AND 2008 > 1.6 AND 2007 = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many teams were in the series championnat de france formula renault 2.0?\n\n### Context:\nCREATE TABLE table_26124171_1 (team VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_26124171_1 WHERE series = \"Championnat de France Formula Renault 2.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was Milwaukee's opponent?\n\n### Context:\nCREATE TABLE table_name_98 (opponent VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_98 WHERE city = \"milwaukee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many flights have a velocity larger than 200?\n\n### Context:\nCREATE TABLE flight (velocity INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM flight WHERE velocity > 200"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away captain at Waca Ground?\n\n### Context:\nCREATE TABLE table_name_60 (away_captain VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_captain FROM table_name_60 WHERE venue = \"waca ground\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the vacator when south carolina 4th is the district?\n\n### Context:\nCREATE TABLE table_225100_4 (vacator VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vacator FROM table_225100_4 WHERE district = \"South Carolina 4th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year at the US Open Cup quarterfinals, were the playoffs in the semifinals for the USL second division?\n\n### Context:\nCREATE TABLE table_1939202_2 (year VARCHAR, us_open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_1939202_2 WHERE league = \"USL Second division\" AND playoffs = \"Semifinals\" AND us_open_cup = \"Quarterfinals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number value has the Other transliteration of muoy roy?\n\n### Context:\nCREATE TABLE table_name_90 (value VARCHAR, other VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT value FROM table_name_90 WHERE other = \"muoy roy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the prothrombin time of von willebrand disease? \n\n### Context:\nCREATE TABLE table_238124_1 (prothrombin_time VARCHAR, condition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(prothrombin_time) FROM table_238124_1 WHERE condition = \"Von Willebrand disease\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the bullet weight with a 12,000 cup max pressure?\n\n### Context:\nCREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bullet_weight FROM table_name_98 WHERE max_pressure = \"12,000 cup\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Gold has a Nation of malaysia, and a Silver smaller than 0?\n\n### Context:\nCREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_47 WHERE nation = \"malaysia\" AND silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games were played on March 15?\n\n### Context:\nCREATE TABLE table_17323042_9 (game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_17323042_9 WHERE date = \"March 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0candidates\u00a0with\u00a0district being california 7\n\n### Context:\nCREATE TABLE table_1342359_5 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(candidates) FROM table_1342359_5 WHERE district = \"California 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Country, when Class is \"15 meters\", and when Qualifying Grand Prix is \"Soaring Grand Prix Of United Kingdom\"?\n\n### Context:\nCREATE TABLE table_name_43 (country VARCHAR, class VARCHAR, qualifying_grand_prix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_43 WHERE class = \"15 meters\" AND qualifying_grand_prix = \"soaring grand prix of united kingdom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes are directed by ricardo mendez matta?\n\n### Context:\nCREATE TABLE table_26866519_1 (season__number VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season__number) FROM table_26866519_1 WHERE director = \"Ricardo Mendez Matta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result when the competition was the 2006 fifa world cup qualifier, and a Venue of warner park sporting complex, bassaterre?\n\n### Context:\nCREATE TABLE table_name_32 (result VARCHAR, competition VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_32 WHERE competition = \"2006 fifa world cup qualifier\" AND venue = \"warner park sporting complex, bassaterre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Attendance when Vida is the Away team?\n\n### Context:\nCREATE TABLE table_name_25 (attendance INTEGER, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_25 WHERE away = \"vida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of spectators for time more than 20.05 and team #2 of estonia\n\n### Context:\nCREATE TABLE table_name_66 (spectators INTEGER, time___cest__ VARCHAR, team__number2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(spectators) FROM table_name_66 WHERE time___cest__ > 20.05 AND team__number2 = \"estonia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game played after week 15?\n\n### Context:\nCREATE TABLE table_name_86 (date VARCHAR, week INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_86 WHERE week > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the episode written by Michael Price?\n\n### Context:\nCREATE TABLE table_2701851_2 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_2701851_2 WHERE written_by = \"Michael Price\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?\n\n### Context:\nCREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away team with Newcastle United as the Home team?\n\n### Context:\nCREATE TABLE table_name_42 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_42 WHERE home_team = \"newcastle united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the weight of the shell that reached its maximum height at 40\u00b0 in 12.6 seconds?\n\n### Context:\nCREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40\u00b0__seconds_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40\u00b0__seconds_ = 12.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the away side at windy hill?\n\n### Context:\nCREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_35 WHERE venue = \"windy hill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the first elected for the republican party?\n\n### Context:\nCREATE TABLE table_name_82 (first_elected VARCHAR, party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_name_82 WHERE party = \"republican\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the geust with a 0:1 result?\n\n### Context:\nCREATE TABLE table_name_65 (geust VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT geust FROM table_name_65 WHERE result = \"0:1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nationality has a School/Club Team of louisiana state?\n\n### Context:\nCREATE TABLE table_name_63 (nationality VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_63 WHERE school_club_team = \"louisiana state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on may 19?\n\n### Context:\nCREATE TABLE table_name_77 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_77 WHERE date = \"may 19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season had a viewer rank of #4?\n\n### Context:\nCREATE TABLE table_name_58 (season VARCHAR, viewer_rank___number_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_name_58 WHERE viewer_rank___number_ = \"#4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent for the 2011 season with a decision of W?\n\n### Context:\nCREATE TABLE table_name_11 (opponent VARCHAR, decision VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_11 WHERE decision = \"w\" AND season = \"2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2nd leg for team 1 of hamburg\n\n### Context:\nCREATE TABLE table_name_90 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_name_90 WHERE team_1 = \"hamburg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the method of the match with chris ade as the opponent?\n\n### Context:\nCREATE TABLE table_name_70 (method VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_70 WHERE opponent = \"chris ade\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the 1990 world cup qualifying competition?\n\n### Context:\nCREATE TABLE table_name_55 (result VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_55 WHERE competition = \"1990 world cup qualifying\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich city has a resolution that is negotiated exile in Austria?\n\n### Context:\nCREATE TABLE table_18299148_1 (city VARCHAR, resolution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_18299148_1 WHERE resolution = \"Negotiated exile in Austria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the gymnast with a floor score of 14.800?\n\n### Context:\nCREATE TABLE table_name_83 (gymnast VARCHAR, floor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gymnast FROM table_name_83 WHERE floor = \"14.800\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich company had a market value less than $5.59 billion, assets greater than $27.46 billion, and a rank above 39?\n\n### Context:\nCREATE TABLE table_name_87 (name VARCHAR, assets__bn$_ VARCHAR, market_value__bn$_ VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_87 WHERE market_value__bn$_ < 5.59 AND rank > 39 AND assets__bn$_ > 27.46"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location has Floors smaller than 27, and a Building of 150 elgin?\n\n### Context:\nCREATE TABLE table_name_71 (location VARCHAR, floors VARCHAR, building VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_71 WHERE floors < 27 AND building = \"150 elgin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what track is the Argent mortgage Indy 300 held? \n\n### Context:\nCREATE TABLE table_2454550_1 (track VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT track FROM table_2454550_1 WHERE race_name = \"Argent Mortgage Indy 300\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score 1 of Tie no 6?\n\n### Context:\nCREATE TABLE table_name_46 (score_1 VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_1 FROM table_name_46 WHERE tie_no = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho wrote episode 14?\n\n### Context:\nCREATE TABLE table_17810099_3 (writer_s_ VARCHAR, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT writer_s_ FROM table_17810099_3 WHERE episode__number = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest season with driver Farad Bathena?\n\n### Context:\nCREATE TABLE table_name_34 (season INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(season) FROM table_name_34 WHERE driver = \"farad bathena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year Introduced has a Memory (GB) of 0.125\u20132?\n\n### Context:\nCREATE TABLE table_name_26 (year_introduced INTEGER, memory__gb_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year_introduced) FROM table_name_26 WHERE memory__gb_ = \"0.125\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the highest assists during the game on February 22?\n\n### Context:\nCREATE TABLE table_name_28 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_28 WHERE date = \"february 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Tries against has a Try diff of \u201317 and Points for smaller than 80?\n\n### Context:\nCREATE TABLE table_name_30 (tries_against VARCHAR, try_diff VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(tries_against) FROM table_name_30 WHERE try_diff = \"\u201317\" AND points_for < 80"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent\n\n### Context:\nCREATE TABLE table_27877656_7 (opponent VARCHAR, edition VARCHAR, opponent_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_27877656_7 WHERE edition = \"2009 Europe/Africa Group IIIB\" AND opponent_team = \"Armenia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe U.S. airdate of 4 april 2008 had a production code of what?\n\n### Context:\nCREATE TABLE table_10935205_1 (production_code INTEGER, us_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(production_code) FROM table_10935205_1 WHERE us_airdate = \"4 April 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country did the project, Bonga SW; Aparo with a shell operator take place?\n\n### Context:\nCREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_53 WHERE operator = \"shell\" AND project_name = \"bonga sw; aparo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does Barry Richter play?\n\n### Context:\nCREATE TABLE table_name_57 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_57 WHERE player = \"barry richter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much money did Ben Crenshaw earn?\n\n### Context:\nCREATE TABLE table_name_58 (money___$__ VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT money___$__ FROM table_name_58 WHERE player = \"ben crenshaw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many blocks have a weight greater than 82, and a height less than 199?\n\n### Context:\nCREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of all physicians and their primary affiliated departments' names.\n\n### Context:\nCREATE TABLE department (name VARCHAR, DepartmentID VARCHAR); CREATE TABLE affiliated_with (physician VARCHAR, department VARCHAR, PrimaryAffiliation VARCHAR); CREATE TABLE physician (name VARCHAR, EmployeeID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.EmployeeID = T2.physician JOIN department AS T3 ON T2.department = T3.DepartmentID WHERE T2.PrimaryAffiliation = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grid associated with a Time/Retired of + 1 lap, and under 7 points?\n\n### Context:\nCREATE TABLE table_name_99 (grid INTEGER, time_retired VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_99 WHERE time_retired = \"+ 1 lap\" AND points < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 1989, when 1982 is \"SF\"?\n\n### Context:\nCREATE TABLE table_name_37 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1989 FROM table_name_37 WHERE 1982 = \"sf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the GPU frequency that has ultra-low power in cores?\n\n### Context:\nCREATE TABLE table_name_87 (gpu_frequency VARCHAR, cores VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gpu_frequency FROM table_name_87 WHERE cores = \"ultra-low power\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the oldest year that the location was at Guangzhou?\n\n### Context:\nCREATE TABLE table_name_1 (year INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_1 WHERE location = \"guangzhou\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFrom writer Denne Bart Petitclerc, what is the maximum season number?\n\n### Context:\nCREATE TABLE table_19852975_4 (season__number INTEGER, writer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season__number) FROM table_19852975_4 WHERE writer_s_ = \"Denne Bart Petitclerc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition was the World Championships before 2011?\n\n### Context:\nCREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_38 WHERE competition = \"world championships\" AND year < 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did the player who played DE go to?\n\n### Context:\nCREATE TABLE table_26996293_1 (college VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_26996293_1 WHERE position = \"DE\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the pick number for Peter Moore of the Montreal Alouettes?\n\n### Context:\nCREATE TABLE table_name_74 (pick__number VARCHAR, cfl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick__number FROM table_name_74 WHERE cfl_team = \"montreal alouettes\" AND player = \"peter moore\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nfind the name of the program that was launched most recently.\n\n### Context:\nCREATE TABLE program (name VARCHAR, launch VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM program ORDER BY launch DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the network(s) for tv1?\n\n### Context:\nCREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_1601792_4 WHERE television_station = \"TV1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is To Par, when Year(s) Won is \"1968 , 1971\"?\n\n### Context:\nCREATE TABLE table_name_99 (to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_99 WHERE year_s__won = \"1968 , 1971\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the name of eipsode 618?\n\n### Context:\nCREATE TABLE table_17624965_1 (title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_17624965_1 WHERE production_code = 618"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of fin pos for 12 points of accident\n\n### Context:\nCREATE TABLE table_17304308_1 (fin_pos VARCHAR, points VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(fin_pos) FROM table_17304308_1 WHERE points = \"12\" AND time_retired = \"Accident\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year did Shelley Winters win?\n\n### Context:\nCREATE TABLE table_name_13 (year VARCHAR, actress VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_13 WHERE actress = \"shelley winters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich IHSAA Class has a Mascot of bulldogs?\n\n### Context:\nCREATE TABLE table_name_10 (ihsaa_class VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ihsaa_class FROM table_name_10 WHERE mascot = \"bulldogs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has 15.0% as the 2012?\n\n### Context:\nCREATE TABLE table_name_87 (score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_87 WHERE 2012 = \"15.0%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Venue of bucharest?\n\n### Context:\nCREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_3 WHERE venue = \"bucharest\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was republican incumbent Joseph McKenna first elected?\n\n### Context:\nCREATE TABLE table_name_28 (first_elected VARCHAR, party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_name_28 WHERE party = \"republican\" AND incumbent = \"joseph mckenna\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest numbered pick from round 7?\n\n### Context:\nCREATE TABLE table_name_67 (pick INTEGER, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_67 WHERE round = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich city has an ICAO of Oejn?\n\n### Context:\nCREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_61 WHERE icao = \"oejn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen frederick remann (r) is the vacator what is the reason for vacancy?\n\n### Context:\nCREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, vacator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_vacancy FROM table_2417445_4 WHERE vacator = \"Frederick Remann (R)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has a Score of 6\u20134, 6\u20133?\n\n### Context:\nCREATE TABLE table_name_48 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_48 WHERE score = \"6\u20134, 6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich number was Patrick O'Bryant?\n\n### Context:\nCREATE TABLE table_10015132_14 (no VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_10015132_14 WHERE player = \"Patrick O'Bryant\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCrawley Town as the home team has what as the tie no?\n\n### Context:\nCREATE TABLE table_name_77 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_77 WHERE home_team = \"crawley town\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen there are more than 126 errors, more than 551 kills, and more than 40 assists for the 2007 season, what is the total of Solo Blocks?\n\n### Context:\nCREATE TABLE table_name_24 (solo_blocks INTEGER, assists VARCHAR, season VARCHAR, errors VARCHAR, kills VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(solo_blocks) FROM table_name_24 WHERE errors > 126 AND kills > 551 AND season = \"2007\" AND assists > 40"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich college has 41 picks?\n\n### Context:\nCREATE TABLE table_name_86 (college VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_86 WHERE pick__number = 41"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game on September 14, 2008?\n\n### Context:\nCREATE TABLE table_name_88 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_88 WHERE date = \"september 14, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the director for the film title Eldra?\n\n### Context:\nCREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_26385848_1 WHERE film_title = \"Eldra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the gamecenter that has attendance of 65,212\n\n### Context:\nCREATE TABLE table_name_17 (gamecenter VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gamecenter FROM table_name_17 WHERE attendance = \"65,212\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Poles with a Season that is larger than 2009?\n\n### Context:\nCREATE TABLE table_name_60 (poles INTEGER, season INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(poles) FROM table_name_60 WHERE season > 2009"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the transmission when the engine is 2.0l, and acceleration 0\u2013100km/h (0\u201362mph) is 10.5 s?\n\n### Context:\nCREATE TABLE table_name_99 (transmission VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transmission FROM table_name_99 WHERE engine = \"2.0l\" AND acceleration_0_100km_h__0_62mph_ = \"10.5 s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest pick of the houston oilers NFL club, which has a round greater than 10?\n\n### Context:\nCREATE TABLE table_name_87 (pick INTEGER, nfl_club VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_87 WHERE nfl_club = \"houston oilers\" AND round > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away team when the FootyTAB winner was st. george?\n\n### Context:\nCREATE TABLE table_name_13 (away_team VARCHAR, footytab_winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_13 WHERE footytab_winner = \"st. george\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 2009, when Year is \"Highest Mean Annual Temperature\"?\n\n### Context:\nCREATE TABLE table_name_31 (year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2009 FROM table_name_31 WHERE year = \"highest mean annual temperature\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich players college was Baylor?\n\n### Context:\nCREATE TABLE table_name_82 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_82 WHERE college = \"baylor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goals did a player from France have?\n\n### Context:\nCREATE TABLE table_name_6 (goals VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT goals FROM table_name_6 WHERE country = \"france\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Benito Cheng's Pick number?\n\n### Context:\nCREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick FROM table_name_75 WHERE player = \"benito cheng\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?\n\n### Context:\nCREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_24853015_1 WHERE class_d_winner = \"Roy Salvadori\" AND class_b_winner = \"Alan Hutcheson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times was the points 18?\n\n### Context:\nCREATE TABLE table_name_69 (place VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(place) FROM table_name_69 WHERE points = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the enrollment for the colors green & black?\n\n### Context:\nCREATE TABLE table_261927_1 (enrollment VARCHAR, colors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT enrollment FROM table_261927_1 WHERE colors = \"Green & Black\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the co-driver for the 6th position and more than 159 laps?\n\n### Context:\nCREATE TABLE table_name_36 (co_driver VARCHAR, position VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT co_driver FROM table_name_36 WHERE position = \"6th\" AND laps > 159"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the 2011 US Open when the 2007 was F?\n\n### Context:\nCREATE TABLE table_name_59 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2011 FROM table_name_59 WHERE 2007 = \"f\" AND tournament = \"us open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the winning team of the South Pacific Trophy?\n\n### Context:\nCREATE TABLE table_name_22 (winning_team VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_name_22 WHERE name = \"south pacific trophy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place was Bill Glasson in?\n\n### Context:\nCREATE TABLE table_name_49 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_49 WHERE player = \"bill glasson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the roles of the Bionic Woman?\n\n### Context:\nCREATE TABLE table_name_4 (role VARCHAR, program VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_4 WHERE program = \"the bionic woman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the km2 area for the population of 311?\n\n### Context:\nCREATE TABLE table_name_46 (area__km_2__ INTEGER, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(area__km_2__) FROM table_name_46 WHERE population = 311"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the match at the tournament in canada f7, toronto?\n\n### Context:\nCREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_87 WHERE tournament = \"canada f7, toronto\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college has a pick smaller than 87 for the position of tackle?\n\n### Context:\nCREATE TABLE table_name_73 (college VARCHAR, position VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_73 WHERE position = \"tackle\" AND pick < 87"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the round results when Hanne Skak Jensen faced Austria?\n\n### Context:\nCREATE TABLE table_25505246_7 (result VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_25505246_7 WHERE against = \"Austria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has a place of chernivtsi, and a race winners of etienne bax / kaspars stupelis? What\n\n### Context:\nCREATE TABLE table_name_29 (date VARCHAR, place VARCHAR, race_winners VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_29 WHERE place = \"chernivtsi\" AND race_winners = \"etienne bax / kaspars stupelis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least silver when gold is less than 0\n\n### Context:\nCREATE TABLE table_name_41 (silver INTEGER, gold INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_41 WHERE gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Number of Households, when Per Capita Income is \"$25,557\", and when Population is less than \"22,330\"?\n\n### Context:\nCREATE TABLE table_name_57 (number_of_households INTEGER, per_capita_income VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_households) FROM table_name_57 WHERE per_capita_income = \"$25,557\" AND population < 22 OFFSET 330"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich city includes the Target Center arena?\n\n### Context:\nCREATE TABLE table_name_62 (city VARCHAR, home_arena VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_62 WHERE home_arena = \"target center\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich socket goes with the item with release price of $378 and turbo of 6/6/8/9?\n\n### Context:\nCREATE TABLE table_name_75 (socket VARCHAR, release_price___usd__ VARCHAR, turbo VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_name_75 WHERE release_price___usd__ = \"$378\" AND turbo = \"6/6/8/9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place was the scorer of 67-74-73=214?\n\n### Context:\nCREATE TABLE table_name_92 (place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_92 WHERE score = 67 - 74 - 73 = 214"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins does the driver with 217 points have?\n\n### Context:\nCREATE TABLE table_name_44 (wins VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_44 WHERE points = 217"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does Jamar Chaney play?\n\n### Context:\nCREATE TABLE table_name_45 (position VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_45 WHERE name = \"jamar chaney\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week has December 19, 2004 as the date?\n\n### Context:\nCREATE TABLE table_name_33 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_33 WHERE date = \"december 19, 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest round with a place of t15 in a year earlier than 1998?\n\n### Context:\nCREATE TABLE table_name_15 (round_1 INTEGER, place VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round_1) FROM table_name_15 WHERE place = \"t15\" AND year < 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the loss of sparks (0\u20131)?\n\n### Context:\nCREATE TABLE table_name_43 (date VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_43 WHERE loss = \"sparks (0\u20131)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many runs are there when the highest score is 228*?\n\n### Context:\nCREATE TABLE table_28846752_4 (runs INTEGER, highest_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(runs) FROM table_28846752_4 WHERE highest_score = \"228*\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Visitor has a Home of calgary, and a Date of april 17?\n\n### Context:\nCREATE TABLE table_name_72 (visitor VARCHAR, home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_72 WHERE home = \"calgary\" AND date = \"april 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did the Cincinnati Bengals' player come from?\n\n### Context:\nCREATE TABLE table_12165999_1 (college VARCHAR, afl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_12165999_1 WHERE afl_team = \"Cincinnati Bengals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest round number for donnie caraway?\n\n### Context:\nCREATE TABLE table_name_6 (round INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_6 WHERE name = \"donnie caraway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance when South Melbourne played as the home team?\n\n### Context:\nCREATE TABLE table_name_21 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_21 WHERE home_team = \"south melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which date was the position less than 4 at Piraeus?\n\n### Context:\nCREATE TABLE table_name_27 (date VARCHAR, pos VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_27 WHERE pos < 4 AND venue = \"piraeus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the share of Episode 1?\n\n### Context:\nCREATE TABLE table_name_84 (share VARCHAR, episode_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT share FROM table_name_84 WHERE episode_no = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goal ratios have rank of 2 with more than 44 games?\n\n### Context:\nCREATE TABLE table_name_46 (goal_ratio VARCHAR, rank VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goal_ratio) FROM table_name_46 WHERE rank = 2 AND games > 44"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue when melbourne is the away team?\n\n### Context:\nCREATE TABLE table_name_25 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_25 WHERE away_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the q1+q2 time in which q1 is 1:18.574?\n\n### Context:\nCREATE TABLE table_1924975_1 (q1 VARCHAR, q2_time VARCHAR, q1_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = \"1:18.574\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich state includes the city of Storrs?\n\n### Context:\nCREATE TABLE table_name_25 (state VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_25 WHERE city = \"storrs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Outcome of the Match played after 2003 with a Score of 6\u20130, 6\u20133?\n\n### Context:\nCREATE TABLE table_name_88 (outcome VARCHAR, year VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_88 WHERE year > 2003 AND score = \"6\u20130, 6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for the match that was only 2:48 long?\n\n### Context:\nCREATE TABLE table_name_63 (res VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_63 WHERE time = \"2:48\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the home team of Richmond play?\n\n### Context:\nCREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_89 WHERE home_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich round has a record of 5-3 (1)?\n\n### Context:\nCREATE TABLE table_name_51 (round INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_51 WHERE record = \"5-3 (1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the landesliga sud for sg quelle f\u00fcrth\n\n### Context:\nCREATE TABLE table_20181270_3 (landesliga_s\u00fcd VARCHAR, bayernliga VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT landesliga_s\u00fcd FROM table_20181270_3 WHERE bayernliga = \"SG Quelle F\u00fcrth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the role for BBC1?\n\n### Context:\nCREATE TABLE table_name_20 (role VARCHAR, broadcaster VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_20 WHERE broadcaster = \"bbc1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when the hight points is Monta Ellis (29)?\n\n### Context:\nCREATE TABLE table_27755784_8 (score VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_27755784_8 WHERE high_points = \"Monta Ellis (29)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat driver has 5 as the zan 2?\n\n### Context:\nCREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_69 WHERE zan_2 = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow long was the great manchester run?\n\n### Context:\nCREATE TABLE table_26166836_1 (distance VARCHAR, road_race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_26166836_1 WHERE road_race = \"Great Manchester Run\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat the B Score when the total is 16.125 and the position is less than 7?\n\n### Context:\nCREATE TABLE table_name_10 (b_score INTEGER, position VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(b_score) FROM table_name_10 WHERE position < 7 AND total = 16.125"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pos has a Car # smaller than 18, and a Driver of mike skinner?\n\n### Context:\nCREATE TABLE table_name_91 (pos INTEGER, car__number VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pos) FROM table_name_91 WHERE car__number < 18 AND driver = \"mike skinner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest loss for the Tacuary team?\n\n### Context:\nCREATE TABLE table_14871601_1 (losses INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_14871601_1 WHERE team = \"Tacuary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the urban sub-area with an East Dunbartonshire council area and a population of 19,020?\n\n### Context:\nCREATE TABLE table_name_70 (urban_sub_area VARCHAR, council_area VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT urban_sub_area FROM table_name_70 WHERE council_area = \"east dunbartonshire\" AND population = \"19,020\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning to par score of the 1993 PGA Championship?\n\n### Context:\nCREATE TABLE table_name_4 (to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_4 WHERE year_s__won = \"1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the uniform number of the player whose last name is Wiltshire?\n\n### Context:\nCREATE TABLE table_name_25 (uni_number INTEGER, surname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(uni_number) FROM table_name_25 WHERE surname = \"wiltshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Stella Farentino's current relationship status?\n\n### Context:\nCREATE TABLE table_24143253_2 (current_marital_status VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_marital_status FROM table_24143253_2 WHERE name = \"Stella Farentino\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round pick was pick number 101 who plays defensive back?\n\n### Context:\nCREATE TABLE table_name_92 (round VARCHAR, position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_92 WHERE position = \"defensive back\" AND pick__number = \"101\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the team captain of the Bolton Wanderers?\n\n### Context:\nCREATE TABLE table_name_60 (captain VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_name_60 WHERE team = \"bolton wanderers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE SOURCE WITH A TYPE OF TRANSFER AND MEX?\n\n### Context:\nCREATE TABLE table_name_14 (source VARCHAR, type VARCHAR, nat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT source FROM table_name_14 WHERE type = \"transfer\" AND nat = \"mex\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen divisional finals are the playoffs what is the regular season?\n\n### Context:\nCREATE TABLE table_1986692_1 (regular_season VARCHAR, playoffs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT regular_season FROM table_1986692_1 WHERE playoffs = \"divisional Finals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did kingfisher east bengal fc win?\n\n### Context:\nCREATE TABLE table_12303563_1 (winners INTEGER, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(winners) FROM table_12303563_1 WHERE nation = \"Kingfisher East Bengal FC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the type of lithium when rubidium is nabr (1.9)?\n\n### Context:\nCREATE TABLE table_name_54 (lithium VARCHAR, rubidium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lithium FROM table_name_54 WHERE rubidium = \"nabr (1.9)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is at rank 13 with 23 total points?\n\n### Context:\nCREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_35 WHERE total_points = \"23\" AND rank = \"13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of points for a total pld less than 38?\n\n### Context:\nCREATE TABLE table_name_24 (total_pts VARCHAR, total_pld INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_pts) FROM table_name_24 WHERE total_pld < 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank is Highest for Yoshiazuma?\n\n### Context:\nCREATE TABLE table_name_44 (highest_rank VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT highest_rank FROM table_name_44 WHERE name = \"yoshiazuma\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Grid for the honda cbr1000rr, with 18 laps and a time of +1:12.884?\n\n### Context:\nCREATE TABLE table_name_45 (grid INTEGER, time VARCHAR, bike VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(grid) FROM table_name_45 WHERE bike = \"honda cbr1000rr\" AND laps = 18 AND time = \"+1:12.884\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat geographical region is contestant laura jim\u00e9nez ynoa from?\n\n### Context:\nCREATE TABLE table_24192031_2 (geographical_regions VARCHAR, contestant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT geographical_regions FROM table_24192031_2 WHERE contestant = \"Laura Jim\u00e9nez Ynoa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the race at the Symmons Plains Raceway?\n\n### Context:\nCREATE TABLE table_22905641_2 (date VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_22905641_2 WHERE circuit = \"Symmons Plains Raceway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the reward when immunity went to martin and finish is 13th voted out 8th jury member day 46?\n\n### Context:\nCREATE TABLE table_25016824_2 (reward VARCHAR, immunity VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reward FROM table_25016824_2 WHERE immunity = \"Martin\" AND finish = \"13th voted Out 8th Jury Member Day 46\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the loss for 48-37\n\n### Context:\nCREATE TABLE table_name_54 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_54 WHERE record = \"48-37\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year was Leo E. Allen first elected?\n\n### Context:\nCREATE TABLE table_1342249_13 (first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_1342249_13 WHERE incumbent = \"Leo E. Allen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov?\n\n### Context:\nCREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(capacity) FROM table_name_14 WHERE stadium = \"kadrioru stadium\" AND current_manager = \"sergei ratnikov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0na -350-\u00a0with\u00a0title and source\u00a0being paper wars: cannon fodder\n\n### Context:\nCREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT na__350_ FROM table_13663434_1 WHERE title_and_source = \"Paper Wars: Cannon Fodder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the category Anuya Bhagvath was nominated for at vijay award?\n\n### Context:\nCREATE TABLE table_name_39 (ceremony VARCHAR, name VARCHAR, award VARCHAR, outcome VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ceremony FROM table_name_39 WHERE award = \"vijay award\" AND outcome = \"nominated\" AND name = \"anuya bhagvath\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many viewers in millions did the Alison McDonald episode get?\n\n### Context:\nCREATE TABLE table_26961951_4 (us_viewers__million_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_26961951_4 WHERE written_by = \"Alison McDonald\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the visitor was toronto maple leafs on march 22?\n\n### Context:\nCREATE TABLE table_name_53 (score VARCHAR, visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_53 WHERE visitor = \"toronto maple leafs\" AND date = \"march 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat catalogue has a length of 2:10?\n\n### Context:\nCREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalogue FROM table_name_82 WHERE time = \"2:10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest founding date? \n\n### Context:\nCREATE TABLE table_2076490_1 (founded INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(founded) FROM table_2076490_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Block does Northamptonshire Area have?\n\n### Context:\nCREATE TABLE table_name_25 (block VARCHAR, area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT block FROM table_name_25 WHERE area = \"northamptonshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Competition in Main Article of Bradford Bulls 1997 have Robbie Paul as Captain with less than 5 Lost?\n\n### Context:\nCREATE TABLE table_name_54 (competition VARCHAR, main_article VARCHAR, captain VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_54 WHERE captain = \"robbie paul\" AND lost < 5 AND main_article = \"bradford bulls 1997\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many faculty members have 20 years of experience? \n\n### Context:\nCREATE TABLE table_17384764_1 (designation VARCHAR, experience VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(designation) FROM table_17384764_1 WHERE experience = \"20 years\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the competition with opponents of Sv Werder Bremen and a score of 1-2?\n\n### Context:\nCREATE TABLE table_name_37 (competition VARCHAR, opponents VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_37 WHERE opponents = \"sv werder bremen\" AND score = \"1-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team were the bills playing where their first down was 23?\n\n### Context:\nCREATE TABLE table_16677887_2 (opponent VARCHAR, bills_first_downs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_16677887_2 WHERE bills_first_downs = 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the minimum points against if the opponent is Port Adelaide?\n\n### Context:\nCREATE TABLE table_25229283_4 (points_against INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points_against) FROM table_25229283_4 WHERE opponent = \"Port Adelaide\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times were the candidates thomas h. hubbard (dr) 51.5% simeon ford (f) 48.4%?\n\n### Context:\nCREATE TABLE table_2668347_14 (party VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_2668347_14 WHERE candidates = \"Thomas H. Hubbard (DR) 51.5% Simeon Ford (F) 48.4%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did Renger Van Der Zande have the pole position at Donington Park?\n\n### Context:\nCREATE TABLE table_21373283_3 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_21373283_3 WHERE pole_position = \"Renger van der Zande\" AND circuit = \"Donington Park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of stage for lloyd mondory\n\n### Context:\nCREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(stage) FROM table_22713796_14 WHERE mountains_classification = \"Lloyd Mondory\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the High assists when jalen rose (22) had the high points?\n\n### Context:\nCREATE TABLE table_name_35 (high_assists VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_35 WHERE high_points = \"jalen rose (22)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich award ceremony took place on May 15, 1965?\n\n### Context:\nCREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ceremony FROM table_name_91 WHERE date = \"may 15, 1965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest amount of people to turn out at a game with the away team as collingwood?\n\n### Context:\nCREATE TABLE table_name_93 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_93 WHERE away_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn district Pennsylvania 11, what was the total numbers of results?\n\n### Context:\nCREATE TABLE table_1805191_39 (results VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(results) FROM table_1805191_39 WHERE district = \"Pennsylvania 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of goals for mauricio pochettino\n\n### Context:\nCREATE TABLE table_24565004_17 (goals\u00b9 VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals\u00b9) FROM table_24565004_17 WHERE name = \"Mauricio Pochettino\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell the Lost that has the Try BP of 10, and the Club of uwic rfc?\n\n### Context:\nCREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lost FROM table_name_50 WHERE try_bp = \"10\" AND club = \"uwic rfc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the mean week number when attendance was 63,263?\n\n### Context:\nCREATE TABLE table_name_88 (week INTEGER, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_88 WHERE attendance = 63 OFFSET 263"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest Attendance with a Loss of darling (0\u20131)?\n\n### Context:\nCREATE TABLE table_name_35 (attendance INTEGER, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_35 WHERE loss = \"darling (0\u20131)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of honorary professors in the economics department with 1 lecturer?\n\n### Context:\nCREATE TABLE table_name_9 (honorary_professors INTEGER, lecturers VARCHAR, department VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(honorary_professors) FROM table_name_9 WHERE lecturers = 1 AND department = \"economics\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many division southwest was there when division east was babi\n\n### Context:\nCREATE TABLE table_17881033_1 (division_southwest VARCHAR, division_east VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(division_southwest) FROM table_17881033_1 WHERE division_east = \"Babi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Place of 3?\n\n### Context:\nCREATE TABLE table_name_18 (score VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_18 WHERE place = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points were scored by car number 10 that ended with a collision?\n\n### Context:\nCREATE TABLE table_name_20 (points VARCHAR, time_retired VARCHAR, car_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_20 WHERE time_retired = \"collision\" AND car_no = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height for shanghai x-1 financial building?\n\n### Context:\nCREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_m___feet FROM table_name_97 WHERE name = \"shanghai x-1 financial building\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points has a Team of s\u00e3o paulo athletic, and a Position larger than 5?\n\n### Context:\nCREATE TABLE table_name_15 (points INTEGER, team VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_15 WHERE team = \"s\u00e3o paulo athletic\" AND position > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn channel 32, when the power is 32 kW horizontal, what is the modulation?\n\n### Context:\nCREATE TABLE table_name_91 (modulation VARCHAR, power VARCHAR, channel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT modulation FROM table_name_91 WHERE power = \"32 kw horizontal\" AND channel = 32"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many licenses have version 1.2.2.0?\n\n### Context:\nCREATE TABLE table_15038373_1 (license VARCHAR, version VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(license) FROM table_15038373_1 WHERE version = \"1.2.2.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Bianca Manalo won Miss Universe Philippines who was the second runner-up?\n\n### Context:\nCREATE TABLE table_name_46 (second_runner_up VARCHAR, miss_universe_philippines VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT second_runner_up FROM table_name_46 WHERE miss_universe_philippines = \"bianca manalo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the torque formula for the 1.6 Duratec ti-vct model/engine?\n\n### Context:\nCREATE TABLE table_1212189_1 (torque__nm__rpm VARCHAR, model_engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT torque__nm__rpm FROM table_1212189_1 WHERE model_engine = \"1.6 Duratec Ti-VCT\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value of D 43 \u221a when the value of D 42 \u221a is d 42 \u221a?\n\n### Context:\nCREATE TABLE table_name_58 (d_43_\u221a VARCHAR, d_42_\u221a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_43_\u221a FROM table_name_58 WHERE d_42_\u221a = \"d 42 \u221a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what Week was the Result W 34\u201324?\n\n### Context:\nCREATE TABLE table_name_22 (week INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_22 WHERE result = \"w 34\u201324\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Location, when Circuit is August 16?\n\n### Context:\nCREATE TABLE table_name_1 (location VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_1 WHERE circuit = \"august 16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least ends won for pf being 78\n\n### Context:\nCREATE TABLE table_25107064_2 (Ends INTEGER, pf VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(Ends) AS won FROM table_25107064_2 WHERE pf = 78"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich album awarded Paul McGuinness a Lifetime Achievement Award?\n\n### Context:\nCREATE TABLE table_name_20 (album VARCHAR, lifetime_achievement_award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT album FROM table_name_20 WHERE lifetime_achievement_award = \"paul mcguinness\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the finalist in Miami?\n\n### Context:\nCREATE TABLE table_name_7 (finalist VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finalist FROM table_name_7 WHERE tournament = \"miami\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?\n\n### Context:\nCREATE TABLE table_name_35 (score VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_35 WHERE opponents = \"diego junqueira gabriel trujillo-soler\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Attendance has a Result of 1-0, and a Venue of A, and an Opponent of newcastle united?\n\n### Context:\nCREATE TABLE table_name_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_77 WHERE result = \"1-0\" AND venue = \"a\" AND opponent = \"newcastle united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the product with the highest height? Give me the catalog entry name.\n\n### Context:\nCREATE TABLE catalog_contents (catalog_entry_name VARCHAR, height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalog_entry_name FROM catalog_contents ORDER BY height DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has a DCSF number of 3373?\n\n### Context:\nCREATE TABLE table_name_19 (name VARCHAR, dcsf_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_19 WHERE dcsf_number = 3373"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins does he get when he starts at 10?\n\n### Context:\nCREATE TABLE table_2169966_1 (wins VARCHAR, starts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_2169966_1 WHERE starts = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Nominated Work earlier than 2003?\n\n### Context:\nCREATE TABLE table_name_85 (nominated_work VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT nominated_work FROM table_name_85 WHERE year < 2003"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Surface has a Score of 6\u20134, 6\u20132?\n\n### Context:\nCREATE TABLE table_name_65 (surface VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_65 WHERE score = \"6\u20134, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did vijay singh score with a +5 to par?\n\n### Context:\nCREATE TABLE table_name_92 (score VARCHAR, to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_92 WHERE to_par = \"+5\" AND player = \"vijay singh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the replaced by when the date of vacancy is 27 december 2010?\n\n### Context:\nCREATE TABLE table_26998135_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT replaced_by FROM table_26998135_2 WHERE date_of_vacancy = \"27 December 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses for teams with more than 0 byes?\n\n### Context:\nCREATE TABLE table_name_43 (losses VARCHAR, byes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_43 WHERE byes > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of March that has 25-10-9 record and a Game more than 44?\n\n### Context:\nCREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(march) FROM table_name_94 WHERE record = \"25-10-9\" AND game > 44"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich display has an ISO range of 80-800, and 0.8 Seconds/Frame?\n\n### Context:\nCREATE TABLE table_name_21 (display VARCHAR, iso_range VARCHAR, seconds_frame VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT display FROM table_name_21 WHERE iso_range = \"80-800\" AND seconds_frame = 0.8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum capacity of the Otkrytie Arena stadium?\n\n### Context:\nCREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = \"Otkrytie Arena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich winning team has Iowa city as the site, and december 3, 2006 as the date?\n\n### Context:\nCREATE TABLE table_name_42 (winning_team VARCHAR, site VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_name_42 WHERE site = \"iowa city\" AND date = \"december 3, 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the most rebounds and how many did he have during the game on June 11?\n\n### Context:\nCREATE TABLE table_name_41 (high_rebounds VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_41 WHERE date = \"june 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the role for Challenge TV?\n\n### Context:\nCREATE TABLE table_name_55 (role VARCHAR, broadcaster VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_55 WHERE broadcaster = \"challenge tv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance at the game played at Moorabbin Oval?\n\n### Context:\nCREATE TABLE table_name_78 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_78 WHERE venue = \"moorabbin oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?\n\n### Context:\nCREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of heat for Chinyere Pigot?\n\n### Context:\nCREATE TABLE table_name_94 (heat VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(heat) FROM table_name_94 WHERE name = \"chinyere pigot\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many users are logged in?\n\n### Context:\nCREATE TABLE users (user_login VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM users WHERE user_login = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average December, when Game is \"36\"?\n\n### Context:\nCREATE TABLE table_name_39 (december INTEGER, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(december) FROM table_name_39 WHERE game = 36"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat studio is director David Fincher from?\n\n### Context:\nCREATE TABLE table_name_95 (studio VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT studio FROM table_name_95 WHERE director = \"david fincher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the championship Miami , United States, what is the score in the final?\n\n### Context:\nCREATE TABLE table_26202788_7 (score_in_the_final VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_in_the_final FROM table_26202788_7 WHERE championship = \"Miami , United States\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the English translation of the Japanese title of the game Ranma \u00bd: Chougi Rambuhen?\n\n### Context:\nCREATE TABLE table_12744399_1 (english_title_translation VARCHAR, japanese_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english_title_translation FROM table_12744399_1 WHERE japanese_title = \"Ranma \u00bd: Chougi Rambuhen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest lane for nisha millet?\n\n### Context:\nCREATE TABLE table_name_16 (lane INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_16 WHERE name = \"nisha millet\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the day Number and date of all the documents?\n\n### Context:\nCREATE TABLE All_documents (Date_Stored VARCHAR, date_stored VARCHAR); CREATE TABLE Ref_calendar (day_Number VARCHAR, calendar_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.day_Number, T1.Date_Stored FROM All_documents AS T1 JOIN Ref_calendar AS T2 ON T1.date_stored = T2.calendar_date"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the type that ends in 2009?\n\n### Context:\nCREATE TABLE table_name_32 (type VARCHAR, ends VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_32 WHERE ends = \"2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the match were the opponent in the final was james cerretani todd perry?\n\n### Context:\nCREATE TABLE table_name_95 (score VARCHAR, opponents_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_95 WHERE opponents_in_the_final = \"james cerretani todd perry\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Grid has a Rider of ryuichi kiyonari?\n\n### Context:\nCREATE TABLE table_name_91 (grid INTEGER, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_91 WHERE rider = \"ryuichi kiyonari\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the % asian american for 23526\n\n### Context:\nCREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = 23526"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the loss to for the film Chicago?\n\n### Context:\nCREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lost_to FROM table_name_74 WHERE film = \"chicago\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is listed in new points when status is second round lost to xavier malisse?\n\n### Context:\nCREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(new_points) FROM table_29572583_19 WHERE status = \"Second round lost to Xavier Malisse\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the positions with both players having more than 20 points and less than 10 points.\n\n### Context:\nCREATE TABLE player (POSITION VARCHAR, Points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT POSITION FROM player WHERE Points > 20 INTERSECT SELECT POSITION FROM player WHERE Points < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Partial thromboplastin time has a Prothrombin time of prolonged and a Condition of factor v deficiency?\n\n### Context:\nCREATE TABLE table_name_76 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, condition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT partial_thromboplastin_time FROM table_name_76 WHERE prothrombin_time = \"prolonged\" AND condition = \"factor v deficiency\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production number for episode 23?\n\n### Context:\nCREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(prod__number) FROM table_2370579_1 WHERE episode__number = 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich FIS Nordic World Ski Championships has Winter Olympics of 1960?\n\n### Context:\nCREATE TABLE table_name_44 (fis_nordic_world_ski_championships VARCHAR, winter_olympics VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fis_nordic_world_ski_championships FROM table_name_44 WHERE winter_olympics = \"1960\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue features collingwood as the home side?\n\n### Context:\nCREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_47 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on 19/08/2012?\n\n### Context:\nCREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_30 WHERE date = \"19/08/2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Result, when Losses is \"Did Not Qualify\"?\n\n### Context:\nCREATE TABLE table_name_41 (result VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_41 WHERE losses = \"did not qualify\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe qual of totals took place during what year?\n\n### Context:\nCREATE TABLE table_name_61 (year VARCHAR, qual VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_61 WHERE qual = \"totals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the course on 1 June?\n\n### Context:\nCREATE TABLE table_name_10 (course VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT course FROM table_name_10 WHERE date = \"1 june\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest date with Great Expectations label with LP format?\n\n### Context:\nCREATE TABLE table_name_92 (date INTEGER, label VARCHAR, format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(date) FROM table_name_92 WHERE label = \"great expectations\" AND format = \"lp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date for the home detroit and visitor was chicago?\n\n### Context:\nCREATE TABLE table_name_82 (date VARCHAR, home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_82 WHERE home = \"detroit\" AND visitor = \"chicago\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho led the most laps when brandon wagner had the fastest lap?\n\n### Context:\nCREATE TABLE table_29690363_3 (most_laps_led VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT most_laps_led FROM table_29690363_3 WHERE fastest_lap = \"Brandon Wagner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest episode number where john bird was the 4th performer?\n\n### Context:\nCREATE TABLE table_name_48 (episode INTEGER, performer_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(episode) FROM table_name_48 WHERE performer_4 = \"john bird\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the theatre for aaron jablonski schuyler grogan with performances more than 49\n\n### Context:\nCREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT theatre FROM table_name_31 WHERE performances > 49 AND role = \"aaron jablonski schuyler grogan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is shown on Friday when Tuesday is Jay Mohr Sports?\n\n### Context:\nCREATE TABLE table_name_25 (friday VARCHAR, tuesday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT friday FROM table_name_25 WHERE tuesday = \"jay mohr sports\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points have Drawn of 1, and a Played larger than 14?\n\n### Context:\nCREATE TABLE table_name_95 (points INTEGER, drawn VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_95 WHERE drawn = 1 AND played > 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins of average has cuts made less than 0?\n\n### Context:\nCREATE TABLE table_name_79 (wins INTEGER, cuts_made INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(wins) FROM table_name_79 WHERE cuts_made < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich region has the format CD and label MCA?\n\n### Context:\nCREATE TABLE table_name_15 (region VARCHAR, format VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_15 WHERE format = \"cd\" AND label = \"mca\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the emission rating in California for the vehicle that was rated 80 g/mi (50 g/km) in Alaska and 250 g/mi (155 g/km) in the Southeast ?\n\n### Context:\nCREATE TABLE table_16105186_2 (california__san_francisco_ VARCHAR, alaska___juneau__ VARCHAR, southeast__atlanta_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT california__san_francisco_ FROM table_16105186_2 WHERE alaska___juneau__ = \"80 g/mi (50 g/km)\" AND southeast__atlanta_ = \"250 g/mi (155 g/km)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the average rank for dharma productions before 2013\n\n### Context:\nCREATE TABLE table_name_43 (rank INTEGER, studio_s_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_43 WHERE studio_s_ = \"dharma productions\" AND year < 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the points against when drawn is drawn?\n\n### Context:\nCREATE TABLE table_name_96 (points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_against FROM table_name_96 WHERE \"drawn\" = \"drawn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Played has a Points difference of +261?\n\n### Context:\nCREATE TABLE table_name_50 (played VARCHAR, points_difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_name_50 WHERE points_difference = \"+261\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith what type of chambering is the F bolt n (lbf) and the P max (bar) 3900?\n\n### Context:\nCREATE TABLE table_26967904_1 (chambering VARCHAR, f_bolt VARCHAR, p_max___bar__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chambering FROM table_26967904_1 WHERE f_bolt = \"N (lbf)\" AND p_max___bar__ = 3900"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner in 2007?\n\n### Context:\nCREATE TABLE table_name_49 (winner VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_49 WHERE date = 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average crowd size for games with hawthorn as the home side?\n\n### Context:\nCREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_8 WHERE home_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat event is on 18 December 2009?\n\n### Context:\nCREATE TABLE table_name_59 (event VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_59 WHERE date = \"18 december 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Goals Against, when Points is greater than 25, when Club is \"SD Indautxu\", and when Position is greater than 3?\n\n### Context:\nCREATE TABLE table_name_21 (goals_against INTEGER, position VARCHAR, points VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goals_against) FROM table_name_21 WHERE points > 25 AND club = \"sd indautxu\" AND position > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the name of the song in Amma Cheppindi?\n\n### Context:\nCREATE TABLE table_name_84 (song_title VARCHAR, movie VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song_title FROM table_name_84 WHERE movie = \"amma cheppindi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?\n\n### Context:\nCREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is ranked higher than 5?\n\n### Context:\nCREATE TABLE table_name_29 (country VARCHAR, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_29 WHERE rank > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many were in Attendance on the Date May 29?\n\n### Context:\nCREATE TABLE table_name_83 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_83 WHERE date = \"may 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location of the Saints having 1979- as Years in GFL?\n\n### Context:\nCREATE TABLE table_name_37 (location VARCHAR, years_in_gfl VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_37 WHERE years_in_gfl = \"1979-\" AND nickname = \"saints\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Australian, when British is \"a\u026a, \u026a, \u0259\"?\n\n### Context:\nCREATE TABLE table_name_12 (australian VARCHAR, british VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT australian FROM table_name_12 WHERE british = \"a\u026a, \u026a, \u0259\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date does visiting team Minnesota score higher than 47 points?\n\n### Context:\nCREATE TABLE table_name_34 (date VARCHAR, points VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_34 WHERE points > 47 AND visitor = \"minnesota\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat method was there in round 1 when the location was Aruba?\n\n### Context:\nCREATE TABLE table_name_25 (method VARCHAR, round VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_25 WHERE round = \"1\" AND location = \"aruba\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place is Fred Funk in?\n\n### Context:\nCREATE TABLE table_name_30 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_30 WHERE player = \"fred funk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did Essendon play as the home team?\n\n### Context:\nCREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_70 WHERE home_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the capacity for the torque of n\u00b7m (lb\u00b7ft) @4150\n\n### Context:\nCREATE TABLE table_name_90 (capacity VARCHAR, torque__nm__rpm VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capacity FROM table_name_90 WHERE torque__nm__rpm = \"n\u00b7m (lb\u00b7ft) @4150\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many policies are listed for the customer named \"Dayana Robel\"?\n\n### Context:\nCREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = \"Dayana Robel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people voted for others in the county where McCain got 65.5% of the votes?\n\n### Context:\nCREATE TABLE table_20453681_1 (others VARCHAR, mccain_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT others FROM table_20453681_1 WHERE mccain_percentage = \"65.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlay-by-play of sean grande, and a Flagship Station of wrko involved what color commentator?\n\n### Context:\nCREATE TABLE table_name_99 (color_commentator_s_ VARCHAR, play_by_play VARCHAR, flagship_station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT color_commentator_s_ FROM table_name_99 WHERE play_by_play = \"sean grande\" AND flagship_station = \"wrko\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away team at the match where the crowd was larger than 30,000?\n\n### Context:\nCREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Car Model has the Manufacturer of Saab, and Driver Dean Randle?\n\n### Context:\nCREATE TABLE table_name_35 (car_model VARCHAR, manufacturer VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT car_model FROM table_name_35 WHERE manufacturer = \"saab\" AND driver = \"dean randle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game against North Carolina?\n\n### Context:\nCREATE TABLE table_name_10 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_10 WHERE opponent = \"north carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1993 value of the 1996 atp masters series?\n\n### Context:\nCREATE TABLE table_name_15 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1993 FROM table_name_15 WHERE 1996 = \"atp masters series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat United States player has a score of 69-73-68=210?\n\n### Context:\nCREATE TABLE table_name_72 (player VARCHAR, country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_72 WHERE score = 69 - 73 - 68 = 210 AND country = \"united states\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat city is the toamasina airport in?\n\n### Context:\nCREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_42 WHERE airport = \"toamasina airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of the top 3 departments that provide the largest amount of courses?\n\n### Context:\nCREATE TABLE course (dept_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dept_name FROM course GROUP BY dept_name ORDER BY COUNT(*) DESC LIMIT 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich rank is Austria?\n\n### Context:\nCREATE TABLE table_name_42 (rank VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_42 WHERE nation = \"austria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich language is the most popular on the Asian continent?\n\n### Context:\nCREATE TABLE country (Code VARCHAR, Continent VARCHAR); CREATE TABLE countrylanguage (Language VARCHAR, CountryCode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Language FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Continent = \"Asia\" GROUP BY T2.Language ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat driver was the winner when constructor was Maserati at the Monaco grand prix?\n\n### Context:\nCREATE TABLE table_name_36 (winning_driver VARCHAR, constructor VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_36 WHERE constructor = \"maserati\" AND race = \"monaco grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record in the game where the opponent wasd the atlanta falcons?\n\n### Context:\nCREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_40 WHERE opponent = \"atlanta falcons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nGame site of candlestick park had what opponent?\n\n### Context:\nCREATE TABLE table_name_57 (opponent VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_57 WHERE game_site = \"candlestick park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?\n\n### Context:\nCREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE HOME TEAM WITH A TIE OF 14?\n\n### Context:\nCREATE TABLE table_name_21 (home_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_21 WHERE tie_no = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the status of eliminated of anton dela paz\n\n### Context:\nCREATE TABLE table_name_15 (status VARCHAR, eliminated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_15 WHERE eliminated = \"anton dela paz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's sawyer hannay's total pick number?\n\n### Context:\nCREATE TABLE table_name_39 (pick__number VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_name_39 WHERE player = \"sawyer hannay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the GDP (nominal) with Population of 5,125,693?\n\n### Context:\nCREATE TABLE table_name_16 (gdp_per_capita__nominal_ VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE population = \"5,125,693\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the label for a CD released in 2004?\n\n### Context:\nCREATE TABLE table_name_25 (label VARCHAR, media VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_25 WHERE media = \"cd\" AND release_date = 2004"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOf all players with an overall rating greater than 80, how many are right-footed and left-footed?\n\n### Context:\nCREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mission for switzerland as a resident County?\n\n### Context:\nCREATE TABLE table_name_16 (mission VARCHAR, resident_country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mission FROM table_name_16 WHERE resident_country = \"switzerland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of japanese for amagasaki\n\n### Context:\nCREATE TABLE table_1585609_2 (japanese VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(japanese) FROM table_1585609_2 WHERE name = \"Amagasaki\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games had 2 goals scored?\n\n### Context:\nCREATE TABLE table_name_89 (games_played INTEGER, goals_scored VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(games_played) FROM table_name_89 WHERE goals_scored = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDate of october 10, 1965 had what lowest attendance?\n\n### Context:\nCREATE TABLE table_name_59 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_59 WHERE date = \"october 10, 1965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of the grid when there was a Time/Retired of engine and less than 9 laps?\n\n### Context:\nCREATE TABLE table_name_25 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_25 WHERE time_retired = \"engine\" AND laps < 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nreturn the smallest salary for every departments.\n\n### Context:\nCREATE TABLE employees (department_id VARCHAR, salary INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(salary), department_id FROM employees GROUP BY department_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the class when the frequency is 560 AM?\n\n### Context:\nCREATE TABLE table_name_57 (class VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_57 WHERE frequency = \"560 am\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest #?\n\n### Context:\nCREATE TABLE table_11964047_10 (_number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(_number) FROM table_11964047_10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the to total number of par with laurie ayton?\n\n### Context:\nCREATE TABLE table_name_99 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(to_par) FROM table_name_99 WHERE player = \"laurie ayton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the high assists for december 13\n\n### Context:\nCREATE TABLE table_22654073_7 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_22654073_7 WHERE date = \"December 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many championships were there where the score was 4\u20136, 7\u20136 (7\u20135) , [5\u201310]?\n\n### Context:\nCREATE TABLE table_29163303_4 (championship VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(championship) FROM table_29163303_4 WHERE score = \"4\u20136, 7\u20136 (7\u20135) , [5\u201310]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow far did the pilot go when averaging 124.1km/h?\n\n### Context:\nCREATE TABLE table_name_44 (distance VARCHAR, speed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_name_44 WHERE speed = \"124.1km/h\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player who played for the Miami Sol and went to school at North Carolina State?\n\n### Context:\nCREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_62 WHERE new_wnba_team = \"miami sol\" AND college_country_team = \"north carolina state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest child sex ratio in groups where employment is 31.3%?\n\n### Context:\nCREATE TABLE table_10710364_2 (sex_ratio__child_ INTEGER, work_participation___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(sex_ratio__child_) FROM table_10710364_2 WHERE work_participation___percentage_ = \"31.3%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the HDTV when documentaries are the content?\n\n### Context:\nCREATE TABLE table_name_84 (hdtv VARCHAR, content VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hdtv FROM table_name_84 WHERE content = \"documentaries\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many starts are there?\n\n### Context:\nCREATE TABLE table_23239946_3 (starts INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(starts) FROM table_23239946_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grid total when there are 37 laps?\n\n### Context:\nCREATE TABLE table_name_57 (grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(grid) FROM table_name_57 WHERE laps = 37"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest lap count for Walker Racing with a grid larger than 15?\n\n### Context:\nCREATE TABLE table_name_34 (laps INTEGER, team VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_34 WHERE team = \"walker racing\" AND grid > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of all stores in Khanewal District.\n\n### Context:\nCREATE TABLE district (district_id VARCHAR, district_name VARCHAR); CREATE TABLE store_district (store_id VARCHAR, district_id VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id JOIN district AS t3 ON t2.district_id = t3.district_id WHERE t3.district_name = \"Khanewal District\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Position/ Eliminated, when Age\u00b9 is less than 22, and when Full Name is \"Muhammad Fairul Azreen Bin Mohd Zahid\"?\n\n### Context:\nCREATE TABLE table_name_29 (position__eliminated VARCHAR, age\u00b9 VARCHAR, full_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position__eliminated FROM table_name_29 WHERE age\u00b9 < 22 AND full_name = \"muhammad fairul azreen bin mohd zahid\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the Georgia 6 district, what is the elected party?\n\n### Context:\nCREATE TABLE table_1341663_11 (party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1341663_11 WHERE district = \"Georgia 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode number in the series was viewed by 13.66 million people in the U.S.?\n\n### Context:\nCREATE TABLE table_25668962_1 (no_in_series INTEGER, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_25668962_1 WHERE us_viewers__million_ = \"13.66\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the athlete with a wind of 1.8?\n\n### Context:\nCREATE TABLE table_name_45 (athlete VARCHAR, wind VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_45 WHERE wind = \"1.8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich retitled network has a Show of supermarket sweep?\n\n### Context:\nCREATE TABLE table_name_92 (retitled_as_same VARCHAR, show VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT retitled_as_same FROM table_name_92 WHERE show = \"supermarket sweep\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat stadiums had an attendance of 8,256?\n\n### Context:\nCREATE TABLE table_14425454_1 (ground VARCHAR, crowd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ground FROM table_14425454_1 WHERE crowd = \"8,256\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many were first elected when the incumbent was Morgan M. Moulder?\n\n### Context:\nCREATE TABLE table_1342198_25 (first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(first_elected) FROM table_1342198_25 WHERE incumbent = \"Morgan M. Moulder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location of the race on 11 November?\n\n### Context:\nCREATE TABLE table_name_14 (location VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_14 WHERE date = \"11 november\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the Holy Cross of Davao College campus located?\n\n### Context:\nCREATE TABLE table_name_42 (province_region VARCHAR, home_campus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province_region FROM table_name_42 WHERE home_campus = \"holy cross of davao college\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the voting order when bunny carr was the commentator?\n\n### Context:\nCREATE TABLE table_name_50 (voting_order INTEGER, commentator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(voting_order) FROM table_name_50 WHERE commentator = \"bunny carr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record for the Orangemen when they played against Army?\n\n### Context:\nCREATE TABLE table_23346983_1 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_23346983_1 WHERE opponent = \"Army\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich From club has a Date of 20 oct. 2008?\n\n### Context:\nCREATE TABLE table_name_49 (from_club VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT from_club FROM table_name_49 WHERE date = \"20 oct. 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThere were 68 worcs f-c matches played on Chester Road North Ground.\n\n### Context:\nCREATE TABLE table_1156428_2 (worcs_f_c_matches VARCHAR, name_of_ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT worcs_f_c_matches FROM table_1156428_2 WHERE name_of_ground = \"Chester Road North Ground\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum altitude (mslm) in all the commons?\n\n### Context:\nCREATE TABLE table_1449169_1 (altitude__mslm_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(altitude__mslm_) FROM table_1449169_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nfind the name of people whose height is lower than the average.\n\n### Context:\nCREATE TABLE people (name VARCHAR, height INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT name FROM people WHERE height < (SELECT AVG(height) FROM people)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat area has less than 0.97 mil in population and is on the east?\n\n### Context:\nCREATE TABLE table_name_95 (area__km\u00b2_ VARCHAR, pop__km\u00b2 VARCHAR, _english_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_name_95 WHERE pop__km\u00b2 < 0.97 AND _english_ = \"east\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest overall number of hurricanes?\n\n### Context:\nCREATE TABLE table_2930244_3 (number_of_hurricanes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(number_of_hurricanes) FROM table_2930244_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAvg/G that has a GP-GS of 13\u201313, and a Effic smaller than 114.23 has what total of numbers?\n\n### Context:\nCREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = \"13\u201313\" AND effic < 114.23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the position for pick of 146\n\n### Context:\nCREATE TABLE table_name_7 (position VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_7 WHERE pick = \"146\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value for area if change% is -3.6?\n\n### Context:\nCREATE TABLE table_26321719_1 (area__km\u00b2_ VARCHAR, change___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_26321719_1 WHERE change___percentage_ = \"-3.6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the number of laps led by the driver with a finish position of 14?\n\n### Context:\nCREATE TABLE table_name_38 (laps VARCHAR, fin_pos VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps AS Led FROM table_name_38 WHERE fin_pos = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Opponent, when Location is \"Boston Garden\", when Game is greater than 1, and when Score is \"115-105\"?\n\n### Context:\nCREATE TABLE table_name_91 (opponent VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_91 WHERE location = \"boston garden\" AND game > 1 AND score = \"115-105\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was the premiere when a 3.3 millions of North American watched the episode whose writer was Rob Wright?\n\n### Context:\nCREATE TABLE table_21313498_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_21313498_1 WHERE us_viewers__millions_ = \"3.3\" AND written_by = \"Rob Wright\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did the team play charlotte?\n\n### Context:\nCREATE TABLE table_17058116_6 (record VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(record) FROM table_17058116_6 WHERE team = \"Charlotte\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class has *alanaz as Part 4?\n\n### Context:\nCREATE TABLE table_name_62 (class VARCHAR, part_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_62 WHERE part_4 = \"*alanaz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games have a Record of 7\u20136\u20133, and Points smaller than 17?\n\n### Context:\nCREATE TABLE table_name_74 (game VARCHAR, record VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_name_74 WHERE record = \"7\u20136\u20133\" AND points < 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat District has a Location of villupuram?\n\n### Context:\nCREATE TABLE table_name_53 (district VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_53 WHERE location = \"villupuram\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat high assists have uic pavilion 3,520 as the location/attendance?\n\n### Context:\nCREATE TABLE table_name_31 (high_assists VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_31 WHERE location_attendance = \"uic pavilion 3,520\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred?\n\n### Context:\nCREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = \"john hoan trinh doan / st. john hoan\" AND canonised > 1988"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the game was 80?\n\n### Context:\nCREATE TABLE table_22879323_10 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_22879323_10 WHERE game = 80"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the rider of Scot Racing team with a Honda constructor and rounds 6-17?\n\n### Context:\nCREATE TABLE table_name_88 (rider VARCHAR, rounds VARCHAR, constructor VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_88 WHERE constructor = \"honda\" AND team = \"scot racing team\" AND rounds = \"6-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho constructed the car that had a grid of 6?\n\n### Context:\nCREATE TABLE table_name_29 (constructor VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_29 WHERE grid = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the champion that drove the car with the Ford engine in 1971?\n\n### Context:\nCREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champion FROM table_name_28 WHERE engine = \"ford\" AND season = \"1971\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum manhunt beauty contest?\n\n### Context:\nCREATE TABLE table_30018460_1 (manhunt_international INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(manhunt_international) FROM table_30018460_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lambda function without a pseudorandom number generation, no s default argument, no functions, and no eval function?\n\n### Context:\nCREATE TABLE table_name_10 (lambda_functions VARCHAR, eval_function VARCHAR, functions VARCHAR, pseudorandom_number_generation VARCHAR, s_default_argument VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lambda_functions FROM table_name_10 WHERE pseudorandom_number_generation = \"no\" AND s_default_argument = \"no\" AND functions = \"no\" AND eval_function = \"no\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many vap values are associated with 140469 valid votes?\n\n### Context:\nCREATE TABLE table_2683116_1 (vap VARCHAR, valid_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(vap) FROM table_2683116_1 WHERE valid_votes = 140469"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Total that has a Gold of 0, when the rank is less than 16, the nation is Georgia and there is more than 2 for Bronze?\n\n### Context:\nCREATE TABLE table_name_70 (total INTEGER, bronze VARCHAR, nation VARCHAR, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_70 WHERE gold = 0 AND rank < 16 AND nation = \"georgia\" AND bronze > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the match where the opponent in the final was james cerretani todd perry?\n\n### Context:\nCREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_5 WHERE opponents_in_the_final = \"james cerretani todd perry\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n what was the drawn when the tries for was 46?\n\n### Context:\nCREATE TABLE table_12792876_3 (drawn VARCHAR, tries_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drawn FROM table_12792876_3 WHERE tries_for = \"46\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of all the points won by Peter Whitehead in an alta f2 Chassis?\n\n### Context:\nCREATE TABLE table_name_41 (points INTEGER, entrant VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_41 WHERE entrant = \"peter whitehead\" AND chassis = \"alta f2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich week's game had an attendance of 90,138?\n\n### Context:\nCREATE TABLE table_name_37 (week VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_37 WHERE attendance = \"90,138\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the incumbent for pennsylvania 15\n\n### Context:\nCREATE TABLE table_1342013_37 (incumbent VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1342013_37 WHERE district = \"Pennsylvania 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Against when the drawn is more than 2 and the Difference of- 17, and a Played smaller than 20?\n\n### Context:\nCREATE TABLE table_name_88 (against INTEGER, played VARCHAR, drawn VARCHAR, difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(against) FROM table_name_88 WHERE drawn > 2 AND difference = \"- 17\" AND played < 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many stations are transmitted on frequency 7 uhf?\n\n### Context:\nCREATE TABLE table_1601792_4 (transmitted VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(transmitted) FROM table_1601792_4 WHERE frequency = \"7 UHF\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Set 2 with a Date that is jun 29?\n\n### Context:\nCREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_2 FROM table_name_98 WHERE date = \"jun 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many heats does Julia Wilkinson have?\n\n### Context:\nCREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(heat) FROM table_name_88 WHERE name = \"julia wilkinson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat all capacities have turbines between 50-60?\n\n### Context:\nCREATE TABLE table_26387382_1 (capacity__mw_ VARCHAR, turbines VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capacity__mw_ FROM table_26387382_1 WHERE turbines = \"50-60\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWWhich rder had a vehicle manufactured by kr211v?\n\n### Context:\nCREATE TABLE table_name_26 (rider VARCHAR, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_26 WHERE manufacturer = \"kr211v\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was seat no 6 when seat no 1 and seat no 5 were jacques lachapelle and donald s. dutton\n\n### Context:\nCREATE TABLE table_2231241_1 (seat_no_6 VARCHAR, seat_no_1 VARCHAR, seat_no_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT seat_no_6 FROM table_2231241_1 WHERE seat_no_1 = \"Jacques Lachapelle\" AND seat_no_5 = \"Donald S. Dutton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of high rebounds for l 92\u201396 (ot)\n\n### Context:\nCREATE TABLE table_22879262_14 (high_rebounds VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = \"L 92\u201396 (OT)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record on April 1?\n\n### Context:\nCREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_44 WHERE date = \"april 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the School/Club team of the player from the United States that play'de guard?\n\n### Context:\nCREATE TABLE table_name_53 (school_club_team VARCHAR, nationality VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_name_53 WHERE nationality = \"united states\" AND position = \"guard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum t20 on green lane?\n\n### Context:\nCREATE TABLE table_1176371_1 (t20_matches INTEGER, name_of_ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(t20_matches) FROM table_1176371_1 WHERE name_of_ground = \"Green Lane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many outcomes were there for matches played with Chuck McKinley on grass in 1962?\n\n### Context:\nCREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(outcome) FROM table_2215159_2 WHERE surface = \"Grass\" AND partner = \"Chuck McKinley\" AND year = 1962"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which city was the berlin marathon?\n\n### Context:\nCREATE TABLE table_26166836_1 (location VARCHAR, road_race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_26166836_1 WHERE road_race = \"Berlin Marathon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the tournament for dominican republic\n\n### Context:\nCREATE TABLE table_25938117_1 (tournament VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_25938117_1 WHERE location = \"Dominican Republic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode where the original air date is july20,2007?\n\n### Context:\nCREATE TABLE table_25716399_1 (written_by VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_25716399_1 WHERE original_air_date = \"July20,2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the girl on week 1 that preceded week 2's Kamila Sulewska?\n\n### Context:\nCREATE TABLE table_name_12 (week_1 VARCHAR, week_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_1 FROM table_name_12 WHERE week_2 = \"kamila sulewska\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat club has a played number of 19, and the lost of 14?\n\n### Context:\nCREATE TABLE table_name_93 (club VARCHAR, played VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_93 WHERE played = \"19\" AND lost = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Length of feet 9inches (m), and a Builder of portland terminal company?\n\n### Context:\nCREATE TABLE table_name_3 (date INTEGER, length VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(date) FROM table_name_3 WHERE length = \"feet 9inches (m)\" AND builder = \"portland terminal company\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the University that is also called Owls?\n\n### Context:\nCREATE TABLE table_19210115_1 (location VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_19210115_1 WHERE nickname = \"Owls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the county where produces the most number of wines with score higher than 90.\n\n### Context:\nCREATE TABLE WINE (Appelation VARCHAR, Score INTEGER); CREATE TABLE APPELLATIONS (County VARCHAR, Appelation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.County FROM APPELLATIONS AS T1 JOIN WINE AS T2 ON T1.Appelation = T2.Appelation WHERE T2.Score > 90 GROUP BY T1.County ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the amount of fog where the rain is 1 109?\n\n### Context:\nCREATE TABLE table_name_50 (fog__days_year_ INTEGER, rain__mm_year_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(fog__days_year_) FROM table_name_50 WHERE rain__mm_year_ = \"1 109\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game on May 15 and how many were in attendance? \n\n### Context:\nCREATE TABLE table_11963601_11 (location_attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_11963601_11 WHERE date = \"May 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Gross Revenue (1979) of the Venue, lyceum theatre?\n\n### Context:\nCREATE TABLE table_name_83 (gross_revenue__1979_ VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gross_revenue__1979_ FROM table_name_83 WHERE venue = \"lyceum theatre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the High points when date was February 11?\n\n### Context:\nCREATE TABLE table_name_55 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_name_55 WHERE date = \"february 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the participle when the verbal noun is i-bil-tze?\n\n### Context:\nCREATE TABLE table_12784134_1 (participle VARCHAR, verbal_noun VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT participle FROM table_12784134_1 WHERE verbal_noun = \"i-bil-tze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the presenter of the episode broadcast in the UK on 1996-09-25?\n\n### Context:\nCREATE TABLE table_name_45 (presenter VARCHAR, uk_broadcast_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT presenter FROM table_name_45 WHERE uk_broadcast_date = \"1996-09-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grid total for bruce mclaren with over 73 laps?\n\n### Context:\nCREATE TABLE table_name_14 (grid INTEGER, laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_14 WHERE laps > 73 AND driver = \"bruce mclaren\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat grid for denny hulme?\n\n### Context:\nCREATE TABLE table_name_12 (grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_12 WHERE driver = \"denny hulme\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the up/down at the venue that hosted 7 games?\n\n### Context:\nCREATE TABLE table_1161065_28 (up_down VARCHAR, hosted VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT up_down FROM table_1161065_28 WHERE hosted = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number of directors whose episodes have been seen by 9.14 million viewers?\n\n### Context:\nCREATE TABLE table_12919003_3 (director VARCHAR, viewers_millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(director) FROM table_12919003_3 WHERE viewers_millions_ = \"9.14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position in table when the date of vacancy was 4 january 2011?\n\n### Context:\nCREATE TABLE table_26914854_3 (position_in_table VARCHAR, date_of_vacancy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position_in_table FROM table_26914854_3 WHERE date_of_vacancy = \"4 January 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest expenditures on R&D for Poland after 2011?\n\n### Context:\nCREATE TABLE table_name_94 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_94 WHERE country_region = \"poland\" AND year > 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat 2006 has grand slam tournaments of 2005?\n\n### Context:\nCREATE TABLE table_name_27 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2006 FROM table_name_27 WHERE 2005 = \"grand slam tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Enterprise for teh memory modules: hot replacement Feature that has a Datacenter of Yes?\n\n### Context:\nCREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT enterprise FROM table_name_1 WHERE datacenter = \"yes\" AND features = \"memory modules: hot replacement\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production when engine is 2.7l, and acceleration 0\u2013100km/h (0\u201362mph) is 8.5 s?\n\n### Context:\nCREATE TABLE table_name_5 (production VARCHAR, engine VARCHAR, acceleration_0_100km_h__0_62mph_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production FROM table_name_5 WHERE engine = \"2.7l\" AND acceleration_0_100km_h__0_62mph_ = \"8.5 s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had more than 15 losses in 1988?\n\n### Context:\nCREATE TABLE table_name_23 (team_name VARCHAR, losses VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_name FROM table_name_23 WHERE losses > 15 AND season = \"1988\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game played when their record was 9-1-0?\n\n### Context:\nCREATE TABLE table_name_10 (location VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_10 WHERE record = \"9-1-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest pick number of the CFL's Toronto Argonauts?\n\n### Context:\nCREATE TABLE table_name_36 (pick__number INTEGER, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_name_36 WHERE cfl_team = \"toronto argonauts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Electricity Grid started its Commercial Operation of 24.03.1973?\n\n### Context:\nCREATE TABLE table_name_17 (electricity_grid VARCHAR, commercial_operation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT electricity_grid FROM table_name_17 WHERE commercial_operation = \"24.03.1973\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the change with share of 2.9%\n\n### Context:\nCREATE TABLE table_name_71 (change VARCHAR, share VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT change FROM table_name_71 WHERE share = \"2.9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the winning score before 1959, with runner-up Jackie Pung?\n\n### Context:\nCREATE TABLE table_name_87 (winning_score VARCHAR, year VARCHAR, runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = \"jackie pung\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Silver has a Golf of Li AO?\n\n### Context:\nCREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_20 WHERE gold = \"li ao\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the NBA draft for ohio state?\n\n### Context:\nCREATE TABLE table_name_58 (nba_draft VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nba_draft FROM table_name_58 WHERE college = \"ohio state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue of the team race that was after 2008?\n\n### Context:\nCREATE TABLE table_name_23 (venue VARCHAR, year VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_23 WHERE year > 2008 AND notes = \"team\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich report shows that Frank Lockhart was a winning driver?\n\n### Context:\nCREATE TABLE table_name_79 (report VARCHAR, winning_drivers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_name_79 WHERE winning_drivers = \"frank lockhart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was the host on september 11?\n\n### Context:\nCREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host_team FROM table_name_37 WHERE date = \"september 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat song is it that artist morena camilleri does and has more than 38 points\n\n### Context:\nCREATE TABLE table_name_46 (song VARCHAR, points VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_name_46 WHERE points > 38 AND artist = \"morena camilleri\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game with a score of 4-1?\n\n### Context:\nCREATE TABLE table_name_65 (result VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_65 WHERE score = \"4-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich grid did less than 20 laps in a time of +58.353?\n\n### Context:\nCREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_82 WHERE time = \"+58.353\" AND laps < 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many papers are published in total?\n\n### Context:\nCREATE TABLE papers (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM papers"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest points of British Racing after 1963?\n\n### Context:\nCREATE TABLE table_name_90 (points INTEGER, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_90 WHERE year > 1963"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith a rank of 2 what is the second quarter?\n\n### Context:\nCREATE TABLE table_name_69 (second_quarter VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT second_quarter FROM table_name_69 WHERE rank = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most rank for wins outdoor larger than 1 and wins indoor less than 0\n\n### Context:\nCREATE TABLE table_name_87 (rank INTEGER, wins__outdoor_ VARCHAR, wins__indoor_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_87 WHERE wins__outdoor_ > 1 AND wins__indoor_ < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Total number of medals for the Nation with 7 or less Bronze medals and 1 Silver medal with a Rank of 9 or larger?\n\n### Context:\nCREATE TABLE table_name_90 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_90 WHERE bronze < 7 AND silver = 1 AND rank > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?\n\n### Context:\nCREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the tie no when Watford was the away team?\n\n### Context:\nCREATE TABLE table_name_62 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_62 WHERE away_team = \"watford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of rounds when method is tko (punches) and time is 0:40?\n\n### Context:\nCREATE TABLE table_name_22 (round VARCHAR, method VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_22 WHERE method = \"tko (punches)\" AND time = \"0:40\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the average score and average staff number of all shops?\n\n### Context:\nCREATE TABLE shop (num_of_staff INTEGER, score INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(num_of_staff), AVG(score) FROM shop"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT ARE THE NAMES OF THE MENS DOUBLES WHEN THE WOMENS DOUBLES WAS PIRET HAMER HELEN REINO?\n\n### Context:\nCREATE TABLE table_14903627_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_doubles FROM table_14903627_1 WHERE womens_doubles = \"Piret Hamer Helen Reino\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the republican when hillary clinton was the democrat and the sample size was more than 1087 with a margin of error of 2.6?\n\n### Context:\nCREATE TABLE table_name_47 (republican VARCHAR, margin_of_error VARCHAR, sample_size VARCHAR, democrat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT republican FROM table_name_47 WHERE sample_size > 1087 AND democrat = \"hillary clinton\" AND margin_of_error = 2.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was being played on Nov 23, 2006?\n\n### Context:\nCREATE TABLE table_name_79 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_79 WHERE date = \"nov 23, 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the September 3 game?\n\n### Context:\nCREATE TABLE table_name_15 (location VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_15 WHERE date = \"september 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the gold medal in 1998?\n\n### Context:\nCREATE TABLE table_name_15 (gold VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_15 WHERE year = 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all artist names who didn't have an exhibition in 2004.\n\n### Context:\nCREATE TABLE exhibition (artist_id VARCHAR, year VARCHAR); CREATE TABLE artist (name VARCHAR); CREATE TABLE artist (name VARCHAR, artist_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM artist EXCEPT SELECT T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id = T2.artist_id WHERE T1.year = 2004"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the loaction attendance that has a game greater than 35, with January 30 as the date?\n\n### Context:\nCREATE TABLE table_name_24 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_24 WHERE game > 35 AND date = \"january 30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Home Team, when Tie No is 4?\n\n### Context:\nCREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_49 WHERE tie_no = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average amount of silver medals Montenegro, who has less than 15 bronze and more than 11 total medals, has?\n\n### Context:\nCREATE TABLE table_name_87 (silver INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_87 WHERE bronze < 15 AND nation = \"montenegro\" AND total > 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the result for already famous\n\n### Context:\nCREATE TABLE table_21790203_1 (result VARCHAR, film_title_used_in_nomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_21790203_1 WHERE film_title_used_in_nomination = \"Already Famous\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest mark of the rank 8 record?\n\n### Context:\nCREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(mark) FROM table_name_34 WHERE rank = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nReport the name of all campuses in Los Angeles county.\n\n### Context:\nCREATE TABLE campuses (campus VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT campus FROM campuses WHERE county = \"Los Angeles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Region has a Date of early september 1999?\n\n### Context:\nCREATE TABLE table_name_15 (region VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_15 WHERE date = \"early september 1999\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat team played on july 9\n\n### Context:\nCREATE TABLE table_name_72 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_72 WHERE date = \"july 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the first cap associated with 39 caps and under 33 goals?\n\n### Context:\nCREATE TABLE table_name_29 (first_cap VARCHAR, goals VARCHAR, caps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_cap FROM table_name_29 WHERE goals < 33 AND caps = 39"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn 11 July 2003, which athlete performed?\n\n### Context:\nCREATE TABLE table_name_53 (athlete VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_53 WHERE date = \"11 july 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many regions had an incarceration rate for females of 63?\n\n### Context:\nCREATE TABLE table_25042332_31 (incarceration_rate_total VARCHAR, incarceration_rate_female VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(incarceration_rate_total) FROM table_25042332_31 WHERE incarceration_rate_female = 63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many cities are in Australia?\n\n### Context:\nCREATE TABLE country (country_id VARCHAR, country VARCHAR); CREATE TABLE city (country_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM city AS T1 JOIN country AS T2 ON T1.country_id = T2.country_id WHERE T2.country = 'Australia'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class has an identifier of CBUA-FM?\n\n### Context:\nCREATE TABLE table_name_50 (class VARCHAR, identifier VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_50 WHERE identifier = \"cbua-fm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest crowd at corio oval?\n\n### Context:\nCREATE TABLE table_name_20 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_20 WHERE venue = \"corio oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the counting method for a network-centric basis?\n\n### Context:\nCREATE TABLE table_name_89 (counting_method VARCHAR, basis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT counting_method FROM table_name_89 WHERE basis = \"network-centric\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Geelong play a home game?\n\n### Context:\nCREATE TABLE table_name_74 (venue VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_74 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was Patty Fendick an opponent?\n\n### Context:\nCREATE TABLE table_name_95 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_95 WHERE opponent = \"patty fendick\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the 2nd round 2nd leg?\n\n### Context:\nCREATE TABLE table_name_63 (date VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_63 WHERE round = \"2nd round 2nd leg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many runners up for the team with under 1 win and a Years runner-up of 1985 , 1996?\n\n### Context:\nCREATE TABLE table_name_9 (runners_up VARCHAR, winners VARCHAR, years_runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runners_up FROM table_name_9 WHERE winners < 1 AND years_runner_up = \"1985 , 1996\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Location/Attendance of palace of auburn hills 8,108?\n\n### Context:\nCREATE TABLE table_name_22 (record VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_22 WHERE location_attendance = \"palace of auburn hills 8,108\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20?\n\n### Context:\nCREATE TABLE table_name_76 (pick INTEGER, player VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_76 WHERE player = \"marc lewis (lhp)\" AND round < 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location of the gold medal match?\n\n### Context:\nCREATE TABLE table_name_30 (location VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_30 WHERE competition = \"gold medal match\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rewards are there for air date October 6, 2005?\n\n### Context:\nCREATE TABLE table_1893276_2 (reward VARCHAR, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reward FROM table_1893276_2 WHERE air_date = \"October 6, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat i/o buses are associated with the LGA 1155 socket, a code name of Sandy Bridge (desktop) and a brand name of Core i3-21xx?\n\n### Context:\nCREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR, socket VARCHAR, codename__main_article_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT i_o_bus FROM table_24538587_11 WHERE socket = \"LGA 1155\" AND codename__main_article_ = \"Sandy Bridge (Desktop)\" AND brand_name__list_ = \"Core i3-21xx\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Medal had a Games of 2008 beijing, and a Sport of taekwondo?\n\n### Context:\nCREATE TABLE table_name_48 (medal VARCHAR, games VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT medal FROM table_name_48 WHERE games = \"2008 beijing\" AND sport = \"taekwondo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many kinds of enzymes are there?\n\n### Context:\nCREATE TABLE enzyme (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM enzyme"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the campus fee of \"San Francisco State University\" in year 2000?\n\n### Context:\nCREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE csu_fees (campusfee VARCHAR, campus VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.campusfee FROM csu_fees AS t1 JOIN campuses AS t2 ON t1.campus = t2.id WHERE t2.campus = \"San Francisco State University\" AND t1.year = 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which venue did 0 pens and 1 try occur?\n\n### Context:\nCREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_70 WHERE pens = \"0\" AND tries = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the partner for the tournament in Lyon, France?\n\n### Context:\nCREATE TABLE table_name_29 (partnering VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT partnering FROM table_name_29 WHERE tournament = \"lyon, france\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of poles when the fastest laps are less than 0?\n\n### Context:\nCREATE TABLE table_name_52 (poles INTEGER, fastest_laps INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(poles) FROM table_name_52 WHERE fastest_laps < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nScore of 119-115 (ot) involved what location?\n\n### Context:\nCREATE TABLE table_name_16 (location VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_16 WHERE score = \"119-115 (ot)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the high reobounds for april 7\n\n### Context:\nCREATE TABLE table_17058178_11 (high_rebounds VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_17058178_11 WHERE date = \"April 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich High rebounds have High points of chris bosh (34)?\n\n### Context:\nCREATE TABLE table_name_29 (high_rebounds VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_29 WHERE high_points = \"chris bosh (34)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the person born on 3 May 1446 cease to be countess?\n\n### Context:\nCREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ceased_to_be_countess FROM table_name_19 WHERE birth = \"3 may 1446\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country was the golfer with a score of 72-72-72=216 representing?\n\n### Context:\nCREATE TABLE table_name_78 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_78 WHERE score = 72 - 72 - 72 = 216"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the gpu frequency when the part number is cw8064701470702?\n\n### Context:\nCREATE TABLE table_name_50 (gpu_frequency VARCHAR, part_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gpu_frequency FROM table_name_50 WHERE part_number_s_ = \"cw8064701470702\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the host year of city \"Taizhou ( Zhejiang )\"?\n\n### Context:\nCREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE hosting_city (year VARCHAR, host_city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.year FROM city AS T1 JOIN hosting_city AS T2 ON T1.city_id = T2.host_city WHERE T1.city = \"Taizhou ( Zhejiang )\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn the date of April 22, which city was a visitor?\n\n### Context:\nCREATE TABLE table_name_5 (visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_5 WHERE date = \"april 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich highest pick number's name was Adam Podlesh, when the overall was less than 101?\n\n### Context:\nCREATE TABLE table_name_2 (pick__number INTEGER, name VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_name_2 WHERE name = \"adam podlesh\" AND overall < 101"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn 1990-2005 what is the lowest Start with Convs smaller than 2?\n\n### Context:\nCREATE TABLE table_name_93 (start INTEGER, span VARCHAR, conv VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(start) FROM table_name_93 WHERE span = \"1990-2005\" AND conv < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the total apps of player benayoun, who has a PL G greater than 0 and more than 9 CL apps?\n\n### Context:\nCREATE TABLE table_name_28 (total_apps INTEGER, cl_apps VARCHAR, pl_g VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total_apps) FROM table_name_28 WHERE pl_g > 0 AND player = \"benayoun\" AND cl_apps > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the home team for carlton away team\n\n### Context:\nCREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_77 WHERE away_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the person(s) who were canonised before 1988 beatified?\n\n### Context:\nCREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT beatified FROM table_name_17 WHERE canonised < 1988"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the rocket a TBD with a satellite of GPS IIIA-1?\n\n### Context:\nCREATE TABLE table_name_16 (date VARCHAR, rocket VARCHAR, satellite VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_16 WHERE rocket = \"tbd\" AND satellite = \"gps iiia-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?\n\n### Context:\nCREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = \"68th\" AND date = \"may 1, 1923\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSum of m. night shyamalan ranks?\n\n### Context:\nCREATE TABLE table_name_41 (rank INTEGER, director_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_41 WHERE director_s_ = \"m. night shyamalan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all information in the item table.\n\n### Context:\nCREATE TABLE item (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT * FROM item"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the result for 1979-01-17\n\n### Context:\nCREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_5 WHERE date = \"1979-01-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did eleonor magdalene of the palatinate-neuburg become duchess?\n\n### Context:\nCREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT became_duchess FROM table_name_77 WHERE name = \"eleonor magdalene of the palatinate-neuburg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat opponent played on 1/13/1974?\n\n### Context:\nCREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_6 WHERE date = \"1/13/1974\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n what's the\u00a0the mole\u00a0with\u00a0airdate\u00a0being 5 january 2012\n\n### Context:\nCREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(the_mole) FROM table_13036251_1 WHERE airdate = \"5 January 2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the ship 'Wyandotte' launched?\n\n### Context:\nCREATE TABLE table_name_45 (launched VARCHAR, ship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launched FROM table_name_45 WHERE ship = \"wyandotte\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWas the result of the supercheap auto bathurst 1000 reported?\n\n### Context:\nCREATE TABLE table_20884160_1 (report VARCHAR, race_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_20884160_1 WHERE race_title = \"Supercheap Auto Bathurst 1000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game with a result of 3\u20132?\n\n### Context:\nCREATE TABLE table_name_3 (date VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_3 WHERE result = \"3\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat conference has 2009 as the season, with super leg final as the format?\n\n### Context:\nCREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conference FROM table_name_8 WHERE season = 2009 AND format = \"super leg final\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the distinct positions of pilots older than 30.\n\n### Context:\nCREATE TABLE pilot (POSITION VARCHAR, Age INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT POSITION FROM pilot WHERE Age > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of games with more than 18 loses, a Total League, and more than 317 draws?\n\n### Context:\nCREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = \"total\" AND draw > 317"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the manhattan for richmond 35%?\n\n### Context:\nCREATE TABLE table_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manhattan FROM table_1108394_24 WHERE richmond_[staten_is] = \"35_percentage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average total for teams with over 3 bronzes and over 8 golds?\n\n### Context:\nCREATE TABLE table_name_33 (total INTEGER, bronze VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_33 WHERE bronze > 3 AND gold > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time was there when the bike was Ducati 999 F06 and the grid number was 15?\n\n### Context:\nCREATE TABLE table_name_93 (time VARCHAR, bike VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_93 WHERE bike = \"ducati 999 f06\" AND grid = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the match with deportes savio as the away team?\n\n### Context:\nCREATE TABLE table_name_57 (score VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_57 WHERE away = \"deportes savio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least score for interview with a preliminaries score less than 9.4, evening gown score less than 9.55, and swimsuit score more than 9.18 in New York?\n\n### Context:\nCREATE TABLE table_name_79 (interview INTEGER, swimsuit VARCHAR, country VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(interview) FROM table_name_79 WHERE preliminaries < 9.4 AND evening_gown < 9.55 AND country = \"new york\" AND swimsuit > 9.18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat make was the car driven by Jeff Gordon?\n\n### Context:\nCREATE TABLE table_27940569_1 (make VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT make FROM table_27940569_1 WHERE driver = \"Jeff Gordon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Game has a Location of Philadelphia Spectrum and an Opponent of New York Knicks?\n\n### Context:\nCREATE TABLE table_name_91 (game VARCHAR, location VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_91 WHERE location = \"philadelphia spectrum\" AND opponent = \"new york knicks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original air date for the episode with production code 1wab06?\n\n### Context:\nCREATE TABLE table_20726262_2 (originalairdate VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT originalairdate FROM table_20726262_2 WHERE production_code = \"1WAB06\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grid number with less than 52 laps and a Time/Retired of collision, and a Constructor of arrows - supertec?\n\n### Context:\nCREATE TABLE table_name_42 (grid VARCHAR, constructor VARCHAR, laps VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(grid) FROM table_name_42 WHERE laps < 52 AND time_retired = \"collision\" AND constructor = \"arrows - supertec\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the Rome to Florence course?\n\n### Context:\nCREATE TABLE table_name_44 (date VARCHAR, course VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_44 WHERE course = \"rome to florence\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of households with a median household income of $31,176, and a population of 25,607?\n\n### Context:\nCREATE TABLE table_name_30 (number_of_households INTEGER, median_household_income VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_households) FROM table_name_30 WHERE median_household_income = \"$31,176\" AND population < 25 OFFSET 607"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number for report july 23\n\n### Context:\nCREATE TABLE table_2267857_1 (report VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(report) FROM table_2267857_1 WHERE date = \"July 23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the college of the afl team of buffalo bills?\n\n### Context:\nCREATE TABLE table_12165135_1 (college VARCHAR, afl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_12165135_1 WHERE afl_team = \"Buffalo Bills\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time for the match that had a a home team of HKSSF?\n\n### Context:\nCREATE TABLE table_name_17 (time VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_17 WHERE home_team = \"hkssf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nType FJ/RN/SC is associated with what class?\n\n### Context:\nCREATE TABLE table_21538523_1 (class VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_21538523_1 WHERE type = \"FJ/RN/SC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Features have Yes listed under Datacenter?\n\n### Context:\nCREATE TABLE table_name_18 (features VARCHAR, datacenter VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT features FROM table_name_18 WHERE datacenter = \"yes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the horse with faults of 0 when the total is 4.1\n\n### Context:\nCREATE TABLE table_name_15 (horse VARCHAR, faults VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT horse FROM table_name_15 WHERE faults = \"0\" AND total = 4.1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Score that's got a listing of December that larger than 8 and Record of 25-8-3?\n\n### Context:\nCREATE TABLE table_name_14 (score VARCHAR, december VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_14 WHERE december > 8 AND record = \"25-8-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOpponent of @ edmonton oilers, and a Game larger than 1, and a Series of oilers lead 3\u20132 had what score?\n\n### Context:\nCREATE TABLE table_name_30 (score VARCHAR, series VARCHAR, opponent VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_30 WHERE opponent = \"@ edmonton oilers\" AND game > 1 AND series = \"oilers lead 3\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the series # on airdate September 21, 2002?\n\n### Context:\nCREATE TABLE table_2655016_9 (series__number VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series__number FROM table_2655016_9 WHERE original_air_date = \"September 21, 2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nationality of the swimmer with a rank over 2 with a time of 55.77?\n\n### Context:\nCREATE TABLE table_name_47 (nationality VARCHAR, rank VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_47 WHERE rank > 2 AND time = \"55.77\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest stage where mountains classifications was awarded to Peter Stetina? \n\n### Context:\nCREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = \"Peter Stetina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the polling average in July 2009 was 7.2%, what was it in May 2009?\n\n### Context:\nCREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = \"7.2%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent was played on week 9?\n\n### Context:\nCREATE TABLE table_name_46 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_46 WHERE week = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Poles have Races smaller than 4?\n\n### Context:\nCREATE TABLE table_name_59 (poles INTEGER, races INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(poles) FROM table_name_59 WHERE races < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team was founded in 1970?\n\n### Context:\nCREATE TABLE table_name_48 (team VARCHAR, founded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_48 WHERE founded = \"1970\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest year of the album with the release title death valley?\n\n### Context:\nCREATE TABLE table_name_98 (year_of_release INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year_of_release) FROM table_name_98 WHERE title = \"death valley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years was Lebanon the nationality?\n\n### Context:\nCREATE TABLE table_name_82 (years_in_orlando VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_in_orlando FROM table_name_82 WHERE nationality = \"lebanon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all distinct country for artists?\n\n### Context:\nCREATE TABLE artist (country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT country FROM artist"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Package/Option, when HDTV is no, when Language is Italian, and when Television service is cartello promozionale sky hd?\n\n### Context:\nCREATE TABLE table_name_43 (package_option VARCHAR, television_service VARCHAR, hdtv VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT package_option FROM table_name_43 WHERE hdtv = \"no\" AND language = \"italian\" AND television_service = \"cartello promozionale sky hd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away with a Time that is 14:00?\n\n### Context:\nCREATE TABLE table_name_28 (away VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_28 WHERE time = \"14:00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nfind the highest support percentage, lowest consider rate and oppose rate of all candidates.\n\n### Context:\nCREATE TABLE candidate (support_rate INTEGER, consider_rate INTEGER, oppose_rate INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(support_rate), MIN(consider_rate), MIN(oppose_rate) FROM candidate"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Player, when Score is \"71-69-72-72=284\"?\n\n### Context:\nCREATE TABLE table_name_42 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_42 WHERE score = 71 - 69 - 72 - 72 = 284"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games have a score of 85-92?\n\n### Context:\nCREATE TABLE table_name_36 (game VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_name_36 WHERE score = \"85-92\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average drawn of the team with a difference of 4 and more than 13 losses?\n\n### Context:\nCREATE TABLE table_name_30 (drawn INTEGER, difference VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(drawn) FROM table_name_30 WHERE difference = \"4\" AND lost > 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Silver, when Total is less than 1?\n\n### Context:\nCREATE TABLE table_name_84 (silver INTEGER, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(silver) FROM table_name_84 WHERE total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the became consort for marriage of 4 april 1721\n\n### Context:\nCREATE TABLE table_name_92 (became_consort VARCHAR, marriage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT became_consort FROM table_name_92 WHERE marriage = \"4 april 1721\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was Quantum Research's poll conducted?\n\n### Context:\nCREATE TABLE table_20683381_2 (date_of_opinion_poll VARCHAR, conductor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_opinion_poll FROM table_20683381_2 WHERE conductor = \"Quantum Research\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the h when c max is 99\n\n### Context:\nCREATE TABLE table (h VARCHAR, c__max_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT h FROM table WHERE c__max_ = 99"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ngc number when the object type is lenticular galaxy and the constellation is hydra?\n\n### Context:\nCREATE TABLE table_name_12 (ngc_number INTEGER, object_type VARCHAR, constellation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(ngc_number) FROM table_name_12 WHERE object_type = \"lenticular galaxy\" AND constellation = \"hydra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the storm name and max speed which affected the greatest number of regions?\n\n### Context:\nCREATE TABLE storm (name VARCHAR, max_speed VARCHAR, storm_id VARCHAR); CREATE TABLE affected_region (storm_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, T1.max_speed FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is set 3 on week 6?\n\n### Context:\nCREATE TABLE table_name_1 (set_3 VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_3 FROM table_name_1 WHERE week = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the year with a kurtis kraft 500a chassis?\n\n### Context:\nCREATE TABLE table_name_86 (year INTEGER, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_86 WHERE chassis = \"kurtis kraft 500a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0percentage of votes\u00a0with\u00a0number of deputies\u00a0being 112\n\n### Context:\nCREATE TABLE table_13746866_2 (percentage_of_votes VARCHAR, number_of_deputies VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percentage_of_votes FROM table_13746866_2 WHERE number_of_deputies = 112"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the highest year for result of 9th\n\n### Context:\nCREATE TABLE table_name_98 (year INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_98 WHERE result = \"9th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?\n\n### Context:\nCREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT scores FROM table_23292220_13 WHERE seans_team = \"Louie Spence and Joe Wilkinson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Bronze has a Nation of spain?\n\n### Context:\nCREATE TABLE table_name_99 (bronze INTEGER, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_99 WHERE nation = \"spain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52?\n\n### Context:\nCREATE TABLE table_name_28 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(draws) FROM table_name_28 WHERE goals_against < 47 AND position < 13 AND goals_for = 52"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of the model with three parallel printer ports?\n\n### Context:\nCREATE TABLE table_1300080_1 (model_number VARCHAR, printer_ports VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_number FROM table_1300080_1 WHERE printer_ports = \"Three Parallel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was a two-way tie (8) the high rebound?\n\n### Context:\nCREATE TABLE table_name_3 (date VARCHAR, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_3 WHERE high_rebounds = \"two-way tie (8)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Home team of yeovil town won 5\u20133 on penalties?\n\n### Context:\nCREATE TABLE table_name_82 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_82 WHERE home_team = \"yeovil town won 5\u20133 on penalties\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most Champ Car wins for any driver with a USAC record of 2?\n\n### Context:\nCREATE TABLE table_19524523_1 (champ_car_world_series__2004_2007_ INTEGER, usac__1956_1995_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(champ_car_world_series__2004_2007_) FROM table_19524523_1 WHERE usac__1956_1995_ = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor\n\n### Context:\nCREATE TABLE table_255812_1 (income_class__2007_ VARCHAR, mayor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT income_class__2007_ FROM table_255812_1 WHERE mayor = \"Ma. Ester A. Hamor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat league is Sun Source in?\n\n### Context:\nCREATE TABLE table_name_6 (league_division VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league_division FROM table_name_6 WHERE club = \"sun source\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Wins is the highest one that has a Country of united states, and a Player of andy bean, and a Rank smaller than 4?\n\n### Context:\nCREATE TABLE table_name_66 (wins INTEGER, rank VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_name_66 WHERE country = \"united states\" AND player = \"andy bean\" AND rank < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Servedby has a Local authority [a ] of thurrock, and a Station of ockendon?\n\n### Context:\nCREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT servedby FROM table_name_1 WHERE local_authority_[a_] = \"thurrock\" AND station = \"ockendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the athlete when the rank is less than 13, time more than 11.13, country is bahamas and the heat more than 2?\n\n### Context:\nCREATE TABLE table_name_33 (athlete VARCHAR, heat VARCHAR, country VARCHAR, rank VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_33 WHERE rank < 13 AND time > 11.13 AND country = \"bahamas\" AND heat > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat total number of Overalls has a round that was smaller than 1?\n\n### Context:\nCREATE TABLE table_name_86 (overall VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(overall) FROM table_name_86 WHERE round < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich title has a US release of august 1996?\n\n### Context:\nCREATE TABLE table_name_56 (title VARCHAR, us_release VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_56 WHERE us_release = \"august 1996\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a To par of \u201313?\n\n### Context:\nCREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_12 WHERE to_par = \"\u201313\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the cast members of episode 3-04?\n\n### Context:\nCREATE TABLE table_2570269_3 (cast VARCHAR, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cast FROM table_2570269_3 WHERE episode__number = \"3-04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest amount of gold a team with less than 2 total medals, ranked 17, and more than 0 silver medals, has?\n\n### Context:\nCREATE TABLE table_name_62 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_62 WHERE total < 2 AND rank = 17 AND silver > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0airport\u00a0with\u00a0total passengers 2009\u00a0being 157933\n\n### Context:\nCREATE TABLE table_13836704_4 (airport VARCHAR, total_passengers_2009 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airport FROM table_13836704_4 WHERE total_passengers_2009 = 157933"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total wins does Ballarat FL of East point have when the against is greater than 1000?\n\n### Context:\nCREATE TABLE table_name_61 (wins VARCHAR, ballarat_fl VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_61 WHERE ballarat_fl = \"east point\" AND against > 1000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Record has an Event of Pride Shockwave 2004?\n\n### Context:\nCREATE TABLE table_name_22 (record VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_22 WHERE event = \"pride shockwave 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the 2003 result for the falkirk council?\n\n### Context:\nCREATE TABLE table_name_97 (council VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2003 AS _result FROM table_name_97 WHERE council = \"falkirk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the player with score of 73-69-74-71=287\n\n### Context:\nCREATE TABLE table_name_12 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_12 WHERE score = 73 - 69 - 74 - 71 = 287"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen has a Score of 0\u20131, and a Tie no of 3?\n\n### Context:\nCREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_12 WHERE score = \"0\u20131\" AND tie_no = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nation has 0 as the silver, 1 as the bronze, with 18 as the rank?\n\n### Context:\nCREATE TABLE table_name_84 (nation VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_84 WHERE silver = 0 AND bronze = 1 AND rank = \"18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the pennant when the builder is yarrow, scotstoun?\n\n### Context:\nCREATE TABLE table_name_23 (pennant VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pennant FROM table_name_23 WHERE builder = \"yarrow, scotstoun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat club had a score of 18.1?\n\n### Context:\nCREATE TABLE table_name_87 (club VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_87 WHERE score = \"18.1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on 20/6/97?\n\n### Context:\nCREATE TABLE table_name_83 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_83 WHERE date = \"20/6/97\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the Beaudesert suburb club founded\n\n### Context:\nCREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT founded FROM table_name_95 WHERE suburb = \"beaudesert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nElevation of 12,183 feet 3713 m is what average route?\n\n### Context:\nCREATE TABLE table_name_12 (route INTEGER, elevation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(route) FROM table_name_12 WHERE elevation = \"12,183 feet 3713 m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many economy stats for the player with 2/19 BBI?\n\n### Context:\nCREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = \"2/19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the gp/gs in 2003 when the total points was \"did not play\"?\n\n### Context:\nCREATE TABLE table_name_96 (gp_gs VARCHAR, total_points VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gp_gs FROM table_name_96 WHERE total_points = \"did not play\" AND year = \"2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName who directed the production code 1l10\n\n### Context:\nCREATE TABLE table_25604014_9 (directed_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_25604014_9 WHERE production_code = \"1L10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height in meters for a building in Frankfurt that is 850 feet tall?\n\n### Context:\nCREATE TABLE table_name_66 (height__m_ VARCHAR, city VARCHAR, height__ft_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height__m_ FROM table_name_66 WHERE city = \"frankfurt\" AND height__ft_ = 850"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged\n\n### Context:\nCREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = \"prolonged\" AND platelet_count = \"unaffected\" AND bleeding_time = \"prolonged\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Home Team, when Date is \"28 January 1984\", and when Tie No is \"4\"?\n\n### Context:\nCREATE TABLE table_name_65 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_65 WHERE date = \"28 january 1984\" AND tie_no = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names of products whose availability equals to 1?\n\n### Context:\nCREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many records were there when opponents were 9?\n\n### Context:\nCREATE TABLE table_22815265_1 (record VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(record) FROM table_22815265_1 WHERE opponents = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Release date has a sSpec number of sr0pk(e1)?\n\n### Context:\nCREATE TABLE table_name_55 (release_date VARCHAR, sspec_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_55 WHERE sspec_number = \"sr0pk(e1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Timo Lehkonen's highest pick number?\n\n### Context:\nCREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_2850912_5 WHERE player = \"Timo Lehkonen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team with position G?\n\n### Context:\nCREATE TABLE table_name_94 (team VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_94 WHERE position = \"g\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which game did the opponent score more than 103 and the record was 1-3?\n\n### Context:\nCREATE TABLE table_name_32 (game INTEGER, record VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_32 WHERE record = \"1-3\" AND opponents > 103"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Main span of the Qincaobei Bridge\n\n### Context:\nCREATE TABLE table_name_64 (main_span_feet VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT main_span_feet FROM table_name_64 WHERE name = \"qincaobei bridge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011?\n\n### Context:\nCREATE TABLE table_name_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = \"$333,100\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRam Vaswani was a winner on what date?\n\n### Context:\nCREATE TABLE table_name_91 (date VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_91 WHERE winner = \"ram vaswani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich College/Junior/Club Team (League) did the player in round 6 play for?\n\n### Context:\nCREATE TABLE table_name_98 (college_junior_club_team__league_ VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_98 WHERE round = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the category of most popular star with a result of won for 2007, what was the award?\n\n### Context:\nCREATE TABLE table_name_27 (award VARCHAR, year VARCHAR, result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT award FROM table_name_27 WHERE result = \"won\" AND category = \"most popular star\" AND year = 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich band plays Self Versus Self - Immersion?\n\n### Context:\nCREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT band FROM table_name_17 WHERE album_or_song = \"self versus self - immersion\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team plays in Goa, Salcette?\n\n### Context:\nCREATE TABLE table_name_63 (home_venue VARCHAR, state VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_venue FROM table_name_63 WHERE state = \"goa\" AND city = \"salcette\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score against fabrice martin?\n\n### Context:\nCREATE TABLE table_name_66 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_66 WHERE opponent = \"fabrice martin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nationality has a Position of left wing?\n\n### Context:\nCREATE TABLE table_name_99 (nationality VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_99 WHERE position = \"left wing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the record of the UCS 2 - Battle at the Barn when the round was n/a?\n\n### Context:\nCREATE TABLE table_name_7 (record VARCHAR, round VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_7 WHERE round = \"n/a\" AND event = \"ucs 2 - battle at the barn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning percent of Notre Dame in 1905?\n\n### Context:\nCREATE TABLE table_name_86 (pct VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pct FROM table_name_86 WHERE years = \"1905\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every team with location attendance of Arco Arena 17,014?\n\n### Context:\nCREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_27902171_5 WHERE location_attendance = \"ARCO Arena 17,014\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Catalog is EPC 81436?\n\n### Context:\nCREATE TABLE table_name_97 (date VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_97 WHERE catalog = \"epc 81436\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf team two is Lan\u00fas, what was the total number of points?\n\n### Context:\nCREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_16795394_3 WHERE team__number2 = \"Lan\u00fas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOf all the contestants who got voted, what is the contestant number and name of the contestant who got least votes?\n\n### Context:\nCREATE TABLE votes (contestant_number VARCHAR); CREATE TABLE contestants (contestant_number VARCHAR, contestant_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.contestant_number, T1.contestant_name FROM contestants AS T1 JOIN votes AS T2 ON T1.contestant_number = T2.contestant_number GROUP BY T1.contestant_number ORDER BY COUNT(*) LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Gold that also has Bronze of Kim Sun-Bin?\n\n### Context:\nCREATE TABLE table_name_61 (gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_61 WHERE bronze = \"kim sun-bin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat couple had a total of 8?\n\n### Context:\nCREATE TABLE table_26375386_16 (couple VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT couple FROM table_26375386_16 WHERE total = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the nickname with age of 4.9\n\n### Context:\nCREATE TABLE table_name_73 (nickname VARCHAR, age___ma__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nickname FROM table_name_73 WHERE age___ma__ = \"4.9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was held against a team with a 6-3 record against the Cowboys?\n\n### Context:\nCREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_22801331_1 WHERE record = \"6-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Constructor for the Trac Racing Team?\n\n### Context:\nCREATE TABLE table_name_56 (constructor VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_56 WHERE team = \"trac racing team\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the outcome of the match with score 4\u20136, 3\u20136, 2\u20136?\n\n### Context:\nCREATE TABLE table_22839669_1 (outcome VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_22839669_1 WHERE score_in_the_final = \"4\u20136, 3\u20136, 2\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat event had a time of 6:37.73?\n\n### Context:\nCREATE TABLE table_name_42 (event VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_42 WHERE time = \"6:37.73\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record after game 51 on 1/27/1974?\n\n### Context:\nCREATE TABLE table_name_87 (record VARCHAR, game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_87 WHERE game > 51 AND date = \"1/27/1974\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Kent State University's are there?\n\n### Context:\nCREATE TABLE table_26351260_1 (location VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location) FROM table_26351260_1 WHERE institution = \"Kent State University\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many figures are provided for December 28 for Rosario?\n\n### Context:\nCREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(december_28) FROM table_29217650_1 WHERE movies = \"Rosario\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the position for 0 podiums and carlin team\n\n### Context:\nCREATE TABLE table_24587026_1 (position VARCHAR, podiums VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_24587026_1 WHERE podiums = 0 AND team = \"Carlin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game hosted at Queen's Park Oval?\n\n### Context:\nCREATE TABLE table_name_30 (result VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_30 WHERE venue = \"queen's park oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat year was william francis stevenson first elected?\n\n### Context:\nCREATE TABLE table_1342370_39 (first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_1342370_39 WHERE incumbent = \"William Francis Stevenson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the overall record for the Pandas in the 2003-04 season? \n\n### Context:\nCREATE TABLE table_27069503_2 (overall VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall FROM table_27069503_2 WHERE season = \"2003-04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Champion has a Third of blaho blahoyeve, and a Season of 1995-96?\n\n### Context:\nCREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champion FROM table_name_64 WHERE third = \"blaho blahoyeve\" AND season = \"1995-96\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the package/option for Italy when the language is italian?\n\n### Context:\nCREATE TABLE table_name_24 (package_option VARCHAR, country VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT package_option FROM table_name_24 WHERE country = \"italy\" AND language = \"italian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Attendance was 4,516, what was the Record?\n\n### Context:\nCREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_72 WHERE attendance = \"4,516\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294\n\n### Context:\nCREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = \"+0.294\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the driver that has Laps of 10\n\n### Context:\nCREATE TABLE table_name_59 (driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_59 WHERE laps = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the s default argument without a pseudorandom number generation and no eval function?\n\n### Context:\nCREATE TABLE table_name_37 (s_default_argument VARCHAR, pseudorandom_number_generation VARCHAR, eval_function VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT s_default_argument FROM table_name_37 WHERE pseudorandom_number_generation = \"no\" AND eval_function = \"no\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has a Construction of 1873, foochow navy yard?\n\n### Context:\nCREATE TABLE table_name_33 (characters VARCHAR, construction VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT characters FROM table_name_33 WHERE construction = \"1873, foochow navy yard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich result has a Record of 16-6?\n\n### Context:\nCREATE TABLE table_name_20 (res VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_20 WHERE record = \"16-6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest date at Los Angeles with a game less than 62?\n\n### Context:\nCREATE TABLE table_name_88 (date INTEGER, location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(date) FROM table_name_88 WHERE location_attendance = \"los angeles\" AND game < 62"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average building year for Superb?\n\n### Context:\nCREATE TABLE table_name_75 (built INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(built) FROM table_name_75 WHERE name = \"superb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was holly hunter a nominee?\n\n### Context:\nCREATE TABLE table_name_30 (year__ceremony_ VARCHAR, result VARCHAR, actor_actress VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year__ceremony_ FROM table_name_30 WHERE result = \"nominee\" AND actor_actress = \"holly hunter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Silver has the Location of Guangzhou?\n\n### Context:\nCREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_17 WHERE location = \"guangzhou\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the home team when the away team is bolton wanderers?\n\n### Context:\nCREATE TABLE table_name_12 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_12 WHERE away_team = \"bolton wanderers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wears the jersey number 20 and has the position of SG?\n\n### Context:\nCREATE TABLE table_name_5 (player VARCHAR, position VARCHAR, jersey_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_5 WHERE position = \"sg\" AND jersey_number_s_ = \"20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the opponent on 18 january 1993?\n\n### Context:\nCREATE TABLE table_name_23 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_23 WHERE date = \"18 january 1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team got a draft pick player from McGill?\n\n### Context:\nCREATE TABLE table_25085059_3 (cfl_team VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cfl_team FROM table_25085059_3 WHERE college = \"McGill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the pronunciation for \u50b3\n\n### Context:\nCREATE TABLE table_name_83 (pronunciation_a VARCHAR, word VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pronunciation_a FROM table_name_83 WHERE word = \"\u50b3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the driver who had a final position of 14?\n\n### Context:\nCREATE TABLE table_name_19 (driver VARCHAR, fin_pos VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_19 WHERE fin_pos = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the episode that was written by Michael Rauch?\n\n### Context:\nCREATE TABLE table_23117208_5 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_23117208_5 WHERE written_by = \"Michael Rauch\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which yearly change was there a capacity of 78.4% and a rank smaller than 3?\n\n### Context:\nCREATE TABLE table_name_31 (annual_change VARCHAR, rank VARCHAR, capacity_in_use VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT annual_change FROM table_name_31 WHERE rank < 3 AND capacity_in_use = \"78.4%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat university is houston dynamo affiliated with?\n\n### Context:\nCREATE TABLE table_25518547_4 (affiliation VARCHAR, mls_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT affiliation FROM table_25518547_4 WHERE mls_team = \"Houston Dynamo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the name of the county where 54.6% voted for Bush?\n\n### Context:\nCREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_1304443_2 WHERE bush_percentage = \"54.6%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time has jules croft as the rider?\n\n### Context:\nCREATE TABLE table_name_15 (time VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_15 WHERE rider = \"jules croft\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the International Gold Cup take place?\n\n### Context:\nCREATE TABLE table_name_69 (date VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_69 WHERE name = \"international gold cup\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the movie when John Wayne played the role of John Travers?\n\n### Context:\nCREATE TABLE table_name_54 (director VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_54 WHERE role = \"john travers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season has an away 2-0?\n\n### Context:\nCREATE TABLE table_name_33 (season VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_33 WHERE away = \"2-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the result for new york 8\n\n### Context:\nCREATE TABLE table_19753079_35 (result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_19753079_35 WHERE district = \"New York 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points have a Name of denis kornilov?\n\n### Context:\nCREATE TABLE table_name_69 (points INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_69 WHERE name = \"denis kornilov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the played number is less than 8 and against is 23, what is the least amount of points?\n\n### Context:\nCREATE TABLE table_name_76 (points INTEGER, against VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_76 WHERE against = 23 AND played < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many in the introduced section had Fokker as a manufacturer, a quantity of 5, and retired later than 1999?\n\n### Context:\nCREATE TABLE table_name_94 (introduced INTEGER, retired VARCHAR, manufacturer VARCHAR, quantity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(introduced) FROM table_name_94 WHERE manufacturer = \"fokker\" AND quantity = 5 AND retired > 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition has may 5, 2001 as the date?\n\n### Context:\nCREATE TABLE table_name_25 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_25 WHERE date = \"may 5, 2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many pairs of numbers are under record on April 12?\n\n### Context:\nCREATE TABLE table_13557843_8 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(record) FROM table_13557843_8 WHERE date = \"April 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the wicket ranking for the match featuring partners Mohammad Azharuddin and Ajay Jadeja and also a fielding team of Sri Lanka?\n\n### Context:\nCREATE TABLE table_name_93 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wicket FROM table_name_93 WHERE batting_partners = \"mohammad azharuddin and ajay jadeja\" AND fielding_team = \"sri lanka\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the Texan's play on Week 4?\n\n### Context:\nCREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_37 WHERE week = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the game for 23 april when batting 2nd is england 5/113 (19)?\n\n### Context:\nCREATE TABLE table_name_62 (game INTEGER, date VARCHAR, batting_2nd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_62 WHERE date = \"23 april\" AND batting_2nd = \"england 5/113 (19)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Branding of Frequency 00 94.5?\n\n### Context:\nCREATE TABLE table_name_70 (branding VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT branding FROM table_name_70 WHERE frequency = \"00 94.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was Class AA in School Year 1994-95?\n\n### Context:\nCREATE TABLE table_name_26 (class_aA VARCHAR, school_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class_aA FROM table_name_26 WHERE school_year = \"1994-95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the frequency for katherine?\n\n### Context:\nCREATE TABLE table_name_99 (frequency VARCHAR, area_served VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_99 WHERE area_served = \"katherine\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat region does the University of California, Los Angeles play in?\n\n### Context:\nCREATE TABLE table_name_37 (region VARCHAR, state VARCHAR, host VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_37 WHERE state = \"california\" AND host = \"university of california, los angeles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the current streak against TCU?\n\n### Context:\nCREATE TABLE table_15740666_4 (current_streak VARCHAR, kansas_state_vs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_streak FROM table_15740666_4 WHERE kansas_state_vs = \"TCU\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many average points did svg burgkirchen have with a loss smaller than 6?\n\n### Context:\nCREATE TABLE table_name_12 (points INTEGER, name VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_12 WHERE name = \"svg burgkirchen\" AND lost < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the pole position for jerez?\n\n### Context:\nCREATE TABLE table_name_39 (pole_position VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_name_39 WHERE location = \"jerez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of Matches for Vits Rimkus with a Rank of less than 3?\n\n### Context:\nCREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(matches) FROM table_name_2 WHERE name = \"vits rimkus\" AND rank < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the opponent Germany?\n\n### Context:\nCREATE TABLE table_name_96 (location VARCHAR, opponenent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_96 WHERE opponenent = \"germany\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest population in regions where the average family size is 2.8 people?\n\n### Context:\nCREATE TABLE table_16048129_5 (number_of_people INTEGER, average_family_size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_people) FROM table_16048129_5 WHERE average_family_size = \"2.8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lost has a Position of 4, and a Drawn smaller than 3?\n\n### Context:\nCREATE TABLE table_name_4 (lost INTEGER, position VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lost) FROM table_name_4 WHERE position = 4 AND drawn < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score with a Hoe that is etobicoke kangaroos?\n\n### Context:\nCREATE TABLE table_name_60 (score VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_60 WHERE home = \"etobicoke kangaroos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the winner when Goran Ivani\u0161evi\u0107 was in third place?\n\n### Context:\nCREATE TABLE table_name_65 (winner VARCHAR, third_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_65 WHERE third_place = \"goran ivani\u0161evi\u0107\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Version, when Genre is \"Action\", and when Title is \"Hairball\"?\n\n### Context:\nCREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT version FROM table_name_39 WHERE genre = \"action\" AND title = \"hairball\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the number of orchestras whose record format is \"CD\" or \"DVD\".\n\n### Context:\nCREATE TABLE orchestra (Major_Record_Format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM orchestra WHERE Major_Record_Format = \"CD\" OR Major_Record_Format = \"DVD\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what Date was Rafael Nadal the Opponent?\n\n### Context:\nCREATE TABLE table_name_37 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_37 WHERE opponent = \"rafael nadal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers?\n\n### Context:\nCREATE TABLE table_name_12 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_12 WHERE time = \"7:00pm\" AND location = \"scotiabank place\" AND opponent = \"philadelphia flyers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRound 1 of beat lee janzen 3&2, and a Year smaller than 1998 has what total number of place?\n\n### Context:\nCREATE TABLE table_name_40 (place VARCHAR, round_1 VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(place) FROM table_name_40 WHERE round_1 = \"beat lee janzen 3&2\" AND year < 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Yards has a Long smaller than 3?\n\n### Context:\nCREATE TABLE table_name_2 (yards INTEGER, long INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(yards) FROM table_name_2 WHERE long < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the IATA for the city of Amsterdam?\n\n### Context:\nCREATE TABLE table_name_23 (iata VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT iata FROM table_name_23 WHERE city = \"amsterdam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production code for episode #78?\n\n### Context:\nCREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prod_code FROM table_2623498_5 WHERE episode__number = \"78\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many members of the military died in the conflict that had a total of 531 casualties?\n\n### Context:\nCREATE TABLE table_name_38 (military_deaths VARCHAR, total_casualties VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT military_deaths FROM table_name_38 WHERE total_casualties = \"531\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest round for the welterweight class with a preliminary card?\n\n### Context:\nCREATE TABLE table_name_11 (round INTEGER, weight_class VARCHAR, card VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_11 WHERE weight_class = \"welterweight\" AND card = \"preliminary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the socket for the pentium dual-core t2410?\n\n### Context:\nCREATE TABLE table_11602313_4 (socket VARCHAR, model_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_11602313_4 WHERE model_number = \"Pentium Dual-Core T2410\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses for the coach that coached 19 games?\n\n### Context:\nCREATE TABLE table_14594528_6 (losses VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losses FROM table_14594528_6 WHERE games = 19"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDuring which round was the final cornerback drafted for the New England Patriots in 2005?\n\n### Context:\nCREATE TABLE table_name_7 (round INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_7 WHERE position = \"cornerback\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seats does the election with the outcome of election of minority in parliament and 186,226 PNC votes have?\n\n### Context:\nCREATE TABLE table_name_86 (seats VARCHAR, outcome_of_election VARCHAR, number_of_pnc_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT seats FROM table_name_86 WHERE outcome_of_election = \"minority in parliament\" AND number_of_pnc_votes = \"186,226\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of material collected for justice league of america by george p\u00e9rez, vol. 2\n\n### Context:\nCREATE TABLE table_19534677_1 (material_collected VARCHAR, volume_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(material_collected) FROM table_19534677_1 WHERE volume_title = \"Justice League of America by George P\u00e9rez, Vol. 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat signal quality does the KCAL-DT channel have?\n\n### Context:\nCREATE TABLE table_name_96 (signal_quality VARCHAR, station_call_letters VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT signal_quality FROM table_name_96 WHERE station_call_letters = \"kcal-dt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team of the game with Warriors as the visitor team?\n\n### Context:\nCREATE TABLE table_name_35 (home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_35 WHERE visitor = \"warriors\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score for the match with a partnering of Tessa Price?\n\n### Context:\nCREATE TABLE table_name_48 (score_in_the_final VARCHAR, partnering VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_in_the_final FROM table_name_48 WHERE partnering = \"tessa price\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of points associated with 165 laps?\n\n### Context:\nCREATE TABLE table_name_12 (points VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_12 WHERE laps = 165"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least number of tropical cyclones when the strongest storm was Tiffany and less than 10 tropical lows.\n\n### Context:\nCREATE TABLE table_name_88 (Severe INTEGER, strongest_storm VARCHAR, tropical_lows VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(Severe) AS tropical_cyclones FROM table_name_88 WHERE strongest_storm = \"tiffany\" AND tropical_lows > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of total for 3 gold and rank less than 3\n\n### Context:\nCREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the longitude for the shock that occured on 2010-01-09?\n\n### Context:\nCREATE TABLE table_25675509_1 (longitude VARCHAR, date__yyyy_mm_dd_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT longitude FROM table_25675509_1 WHERE date__yyyy_mm_dd_ = \"2010-01-09\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names of the workshop groups that have bookings with status code \"stop\"?\n\n### Context:\nCREATE TABLE Bookings (Workshop_Group_ID VARCHAR, Status_Code VARCHAR); CREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR, Workshop_Group_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Store_Name FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = \"stop\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the save for braves for may 15\n\n### Context:\nCREATE TABLE table_name_86 (save VARCHAR, opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT save FROM table_name_86 WHERE opponent = \"braves\" AND date = \"may 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest total number of medals for a team ranked smaller than 1 and had 20 gold medals?\n\n### Context:\nCREATE TABLE table_name_40 (total INTEGER, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_name_40 WHERE gold = 20 AND rank < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are all the candidates vying for Henry B. Gonzalez' seat?\n\n### Context:\nCREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341586_44 WHERE incumbent = \"Henry B. Gonzalez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow old was the conservative party member that left the house in 2001?\n\n### Context:\nCREATE TABLE table_name_43 (age_on_leaving VARCHAR, political_party VARCHAR, left_house VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT age_on_leaving FROM table_name_43 WHERE political_party = \"conservative\" AND left_house = \"2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the winning driver of the race with no race as the winning manufacturer?\n\n### Context:\nCREATE TABLE table_name_66 (winning_driver VARCHAR, winning_manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_66 WHERE winning_manufacturer = \"no race\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the first names of teachers whose email address contains the word \"man\".\n\n### Context:\nCREATE TABLE Teachers (first_name VARCHAR, email_address VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_name FROM Teachers WHERE email_address LIKE '%man%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week shows for december 31, 1993?\n\n### Context:\nCREATE TABLE table_name_25 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_25 WHERE date = \"december 31, 1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich committees have delegates from both democratic party and liberal party?\n\n### Context:\nCREATE TABLE election (Committee VARCHAR, Party VARCHAR); CREATE TABLE party (Party_ID VARCHAR, Party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = \"Democratic\" INTERSECT SELECT T1.Committee FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T2.Party = \"Liberal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThere is a building at 800 Boylston Street, how many floors does it have?\n\n### Context:\nCREATE TABLE table_name_81 (floors INTEGER, street_address VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(floors) FROM table_name_81 WHERE street_address = \"800 boylston street\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Arena has Points larger than 28, and a Date of december 14?\n\n### Context:\nCREATE TABLE table_name_2 (arena VARCHAR, points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT arena FROM table_name_2 WHERE points > 28 AND date = \"december 14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the semi-final television commentator status in 1962 with an unknown spokesperson?\n\n### Context:\nCREATE TABLE table_name_54 (semi_final_television_commentator VARCHAR, spokesperson VARCHAR, year_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semi_final_television_commentator FROM table_name_54 WHERE spokesperson = \"unknown\" AND year_s_ = 1962"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which day were the subtotal hours 9:30?\n\n### Context:\nCREATE TABLE table_name_9 (date VARCHAR, sub_total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_9 WHERE sub_total = \"9:30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original airdate of the episode with production number 2x03?\n\n### Context:\nCREATE TABLE table_26293875_3 (original_airdate VARCHAR, prod_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_airdate FROM table_26293875_3 WHERE prod_no = \"2x03\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year that has a win less than 1, yamaha as the team, with points greater than 2?\n\n### Context:\nCREATE TABLE table_name_30 (year INTEGER, points VARCHAR, wins VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_30 WHERE wins < 1 AND team = \"yamaha\" AND points > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the appointment date for VFL Wolfsburg?\n\n### Context:\nCREATE TABLE table_name_72 (date_of_appointment VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_name_72 WHERE team = \"vfl wolfsburg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Lost when the points were dissolved?\n\n### Context:\nCREATE TABLE table_name_61 (lost VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lost FROM table_name_61 WHERE points = \"dissolved\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had fa cup goals of 0, league cup goals less than 2, and total goals of 2?\n\n### Context:\nCREATE TABLE table_name_83 (name VARCHAR, total_goals VARCHAR, fa_cup_goals VARCHAR, league_cup_goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_83 WHERE fa_cup_goals = 0 AND league_cup_goals < 2 AND total_goals = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of quantity rebuilt if the type is 1B N2T and the railway number is 88, 118?\n\n### Context:\nCREATE TABLE table_name_4 (quantity_rebuilt VARCHAR, type VARCHAR, railway_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(quantity_rebuilt) FROM table_name_4 WHERE type = \"1b n2t\" AND railway_number_s_ = \"88, 118\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game at Collingwood?\n\n### Context:\nCREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_59 WHERE away_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE SNATCH WITH TOTAL KG SMALLER THAN 318, AND CLEAN JERK LARGER THAN 175?\n\n### Context:\nCREATE TABLE table_name_45 (snatch INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(snatch) FROM table_name_45 WHERE total__kg_ < 318 AND clean_ & _jerk > 175"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the game in which P. Pierce (31) scored the most points, what was the final score?\n\n### Context:\nCREATE TABLE table_name_93 (score VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_93 WHERE high_points = \"p. pierce (31)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the earliest year when the author is reki kawahara?\n\n### Context:\nCREATE TABLE table_name_42 (year INTEGER, author VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_42 WHERE author = \"reki kawahara\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the student IDs and numbers of friends corresponding to each.\n\n### Context:\nCREATE TABLE Friend (student_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT student_id, COUNT(*) FROM Friend GROUP BY student_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has 0 points in 1974?\n\n### Context:\nCREATE TABLE table_name_3 (entrant VARCHAR, points VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_3 WHERE points = 0 AND year = 1974"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1?\n\n### Context:\nCREATE TABLE table_name_49 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat has the lowest number of wins with GA smaller than 39, more than 2 losses, and ties greater than 0?\n\n### Context:\nCREATE TABLE table_name_17 (wins INTEGER, ties VARCHAR, goals_against VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_17 WHERE goals_against < 39 AND losses > 2 AND ties > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the IDs of customers whose name contains \"Diana\".\n\n### Context:\nCREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT customer_id FROM customers WHERE customer_name LIKE \"%Diana%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow man teams had a total weight of 57.5?\n\n### Context:\nCREATE TABLE table_2581397_3 (group VARCHAR, weight__kg_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(group) FROM table_2581397_3 WHERE weight__kg_ = \"57.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Programming has a Channel of 35.4?\n\n### Context:\nCREATE TABLE table_name_14 (programming VARCHAR, channel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT programming FROM table_name_14 WHERE channel = 35.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position did the player who was with the grizzlies from 2007-2009 play?\n\n### Context:\nCREATE TABLE table_name_89 (position VARCHAR, years_for_grizzlies VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_89 WHERE years_for_grizzlies = \"2007-2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest division in the playoffs and did not qualify for the Open Cup in 2002?\n\n### Context:\nCREATE TABLE table_name_91 (division INTEGER, year VARCHAR, playoffs VARCHAR, open_cup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(division) FROM table_name_91 WHERE playoffs = \"did not qualify\" AND open_cup = \"did not qualify\" AND year = \"2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many intro dates have the price of 686\u20ac?\n\n### Context:\nCREATE TABLE table_29778616_1 (intro_date VARCHAR, price VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(intro_date) FROM table_29778616_1 WHERE price = \"686\u20ac\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the matchup having attendance of 354?\n\n### Context:\nCREATE TABLE table_name_25 (score VARCHAR, att VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_25 WHERE att = 354"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number episode in the season was watched by 0.49 million U.S. viewers? \n\n### Context:\nCREATE TABLE table_26914076_4 (_number INTEGER, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number) FROM table_26914076_4 WHERE us_viewers__millions_ = \"0.49\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the party with the incumbent jim demint?\n\n### Context:\nCREATE TABLE table_1341423_40 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1341423_40 WHERE incumbent = \"Jim DeMint\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season has a Games listed of 10?\n\n### Context:\nCREATE TABLE table_name_39 (season VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_39 WHERE games = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original air date of the episode written by Karen Felix and Don Woodard?\n\n### Context:\nCREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_11630008_8 WHERE written_by = \"Karen Felix and Don Woodard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many no outs are there for an average of 43.70?\n\n### Context:\nCREATE TABLE table_20367820_16 (not_out VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT not_out FROM table_20367820_16 WHERE average = \"43.70\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank has a Reaction of 0.198, and a Time smaller than 46.3?\n\n### Context:\nCREATE TABLE table_name_98 (rank INTEGER, react VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_98 WHERE react = 0.198 AND time < 46.3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat french open tournament happened in 2010 and has a 2004 1r?\n\n### Context:\nCREATE TABLE table_name_58 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_58 WHERE 2004 = \"1r\" AND tournament = \"french open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many places according to the 2011 census of whatever population have an area of 132.79 kilometers squared?\n\n### Context:\nCREATE TABLE table_14325808_1 (population__2011_census_ VARCHAR, area__km\u00b2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population__2011_census_) FROM table_14325808_1 WHERE area__km\u00b2_ = \"132.79\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest season that has a position over 12?\n\n### Context:\nCREATE TABLE table_name_80 (season INTEGER, position INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(season) FROM table_name_80 WHERE position > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the scores for games where the home team is Adelaide?\n\n### Context:\nCREATE TABLE table_16387953_1 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_16387953_1 WHERE home_team = \"Adelaide\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Winner, when Win # is greater than 1, and when Points is less than 94?\n\n### Context:\nCREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich entrant had a constructor of benetton - playlife?\n\n### Context:\nCREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_62 WHERE constructor = \"benetton - playlife\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the January playmate with a March playmate Alexandria Karlsen?\n\n### Context:\nCREATE TABLE table_name_59 (january VARCHAR, march VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT january FROM table_name_59 WHERE march = \"alexandria karlsen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the championship Indian Wells, United States (2), who are the opponents in the final?\n\n### Context:\nCREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = \"Indian Wells, United States (2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date for circuit of interlagos\n\n### Context:\nCREATE TABLE table_name_50 (date VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_50 WHERE circuit = \"interlagos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the weight(lbs) when born is april 6, 1954 detroit, mi?\n\n### Context:\nCREATE TABLE table_1198175_1 (weight_lbs_ VARCHAR, born VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT weight_lbs_ FROM table_1198175_1 WHERE born = \"April 6, 1954 Detroit, MI\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ERP W number where the frequency is smaller than 91.1?\n\n### Context:\nCREATE TABLE table_name_6 (erp_w INTEGER, frequency_mhz INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(erp_w) FROM table_name_6 WHERE frequency_mhz < 91.1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat event is before 1964 and has an athlete of l\u00e1szl\u00f3 t\u00e1bori gunnar nielsen?\n\n### Context:\nCREATE TABLE table_name_79 (event VARCHAR, year VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_79 WHERE year < 1964 AND athlete = \"l\u00e1szl\u00f3 t\u00e1bori gunnar nielsen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the location for Arras Paul Arras?\n\n### Context:\nCREATE TABLE table_name_24 (location VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_24 WHERE opponent = \"arras paul arras\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0current club\u00a0with\u00a0player\u00a0being felipe reyes\n\n### Context:\nCREATE TABLE table_12962773_5 (current_club VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_club FROM table_12962773_5 WHERE player = \"Felipe Reyes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the game in which Manchester United was the home team?\n\n### Context:\nCREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_85 WHERE home_team = \"manchester united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPerformer 1 of greg proops, and a Date of 25 august 1995 is what performer 4?\n\n### Context:\nCREATE TABLE table_name_76 (performer_4 VARCHAR, performer_1 VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performer_4 FROM table_name_76 WHERE performer_1 = \"greg proops\" AND date = \"25 august 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Jillian Evans highest number of seats?\n\n### Context:\nCREATE TABLE table_name_45 (number_of_seats INTEGER, leader VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_seats) FROM table_name_45 WHERE leader = \"jillian evans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's greatest attendance on May 7?\n\n### Context:\nCREATE TABLE table_name_89 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_89 WHERE date = \"may 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number eliminated for the person with a time of 12:38?\n\n### Context:\nCREATE TABLE table_name_15 (eliminated VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT eliminated AS by FROM table_name_15 WHERE time = \"12:38\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of PTS when there is a PCT smaller than 0.1?\n\n### Context:\nCREATE TABLE table_name_11 (pts INTEGER, pct INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the location attendance when the series is 4-3?\n\n### Context:\nCREATE TABLE table_name_38 (location_attendance VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_38 WHERE series = \"4-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich number is the player from Minnesota?\n\n### Context:\nCREATE TABLE table_11545282_12 (no INTEGER, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no) FROM table_11545282_12 WHERE school_club_team = \"Minnesota\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type had a beginning term of December 8, 1980\n\n### Context:\nCREATE TABLE table_1602620_1 (type VARCHAR, term_began VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_1602620_1 WHERE term_began = \"December 8, 1980\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine was introduced in 1935?\n\n### Context:\nCREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_66 WHERE introduced = \"1935\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the series number of the episode with season number 2?\n\n### Context:\nCREATE TABLE table_19236587_4 (series_no INTEGER, season_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(series_no) FROM table_19236587_4 WHERE season_no = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average round for Club team of garmisch-partenkirchen riessersee sc (germany 2)?\n\n### Context:\nCREATE TABLE table_name_64 (round INTEGER, club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_64 WHERE club_team = \"garmisch-partenkirchen riessersee sc (germany 2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat vfl club(s) did players who played 23 cfl games play for?\n\n### Context:\nCREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, vfl_games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vfl_club_s_ FROM table_16527640_2 WHERE vfl_games = 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the latest year of release for the greatest hits title?\n\n### Context:\nCREATE TABLE table_name_71 (year_of_release INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year_of_release) FROM table_name_71 WHERE title = \"greatest hits\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTkkm o te ara rima has a decile less than 4 in what years?\n\n### Context:\nCREATE TABLE table_name_36 (years VARCHAR, decile VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_36 WHERE decile < 4 AND name = \"tkkm o te ara rima\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat record has the score 111-89?\n\n### Context:\nCREATE TABLE table_name_75 (record VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_75 WHERE score = \"111-89\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game with a result of w 14\u20136?\n\n### Context:\nCREATE TABLE table_name_60 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_60 WHERE result = \"w 14\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all the Store_Name of drama workshop groups.\n\n### Context:\nCREATE TABLE Drama_Workshop_Groups (Store_Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Store_Name FROM Drama_Workshop_Groups"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many gold medals for bellbrook HS with less than 1 silver?\n\n### Context:\nCREATE TABLE table_name_73 (gold_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold_medals) FROM table_name_73 WHERE ensemble = \"bellbrook hs\" AND silver_medals < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore?\n\n### Context:\nCREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = \"$49.95\" AND artist = \"w.h.j. blakemore\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the most laps when grid is 16?\n\n### Context:\nCREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_93 WHERE grid = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the high assist total when the team was 0-1?\n\n### Context:\nCREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_27902171_4 WHERE record = \"0-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the position for stanley havili\n\n### Context:\nCREATE TABLE table_26533354_8 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_26533354_8 WHERE player = \"Stanley Havili\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many assets in billions US$, for the company that ranked 1532 overall in 2013?\n\n### Context:\nCREATE TABLE table_23950611_2 (assets__bil_usd__ VARCHAR, rank__all__2013 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT assets__bil_usd__ FROM table_23950611_2 WHERE rank__all__2013 = 1532"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho scored highest rebounds high points is charlie villanueva (32)\n\n### Context:\nCREATE TABLE table_17058116_7 (high_rebounds VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_17058116_7 WHERE high_points = \"Charlie Villanueva (32)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Origin of Programming for the Network MTV India?\n\n### Context:\nCREATE TABLE table_name_43 (origin_of_programming VARCHAR, network VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT origin_of_programming FROM table_name_43 WHERE network = \"mtv india\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on June 12?\n\n### Context:\nCREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_76 WHERE date = \"june 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOne2one is the shirt sponsor for the captain of what team?\n\n### Context:\nCREATE TABLE table_name_79 (captain VARCHAR, shirt_sponsor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_name_79 WHERE shirt_sponsor = \"one2one\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow is the marriage of who became queen on 30 October 1816 husband's accession?\n\n### Context:\nCREATE TABLE table_name_84 (marriage VARCHAR, became_queen VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT marriage FROM table_name_84 WHERE became_queen = \"30 october 1816 husband's accession\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the english transliteration of late dew?\n\n### Context:\nCREATE TABLE table_name_60 (english_transliteration VARCHAR, english_translation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english_transliteration FROM table_name_60 WHERE english_translation = \"late dew\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average attendance on 18 October 2000?\n\n### Context:\nCREATE TABLE table_name_51 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_51 WHERE date = \"18 october 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Home has a Visitor of ny rangers, and a Series of flyers win 4\u20133?\n\n### Context:\nCREATE TABLE table_name_42 (home VARCHAR, visitor VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_42 WHERE visitor = \"ny rangers\" AND series = \"flyers win 4\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is rank of the year 1956?\n\n### Context:\nCREATE TABLE table_name_63 (rank VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_63 WHERE year = \"1956\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the population for 2011 for \u0441\u0440\u043f\u0441\u043a\u0430 \u0446\u0440\u045a\u0430\n\n### Context:\nCREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population__2011_ FROM table_2562572_37 WHERE cyrillic_name_other_names = \"\u0421\u0440\u043f\u0441\u043a\u0430 \u0426\u0440\u045a\u0430\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many ages for player Amy Cato?\n\n### Context:\nCREATE TABLE table_24501530_1 (age VARCHAR, candidate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(age) FROM table_24501530_1 WHERE candidate = \"Amy Cato\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the name is Patrick Grappin, what is the nationality?\n\n### Context:\nCREATE TABLE table_24565004_8 (nationality\u00b2 VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality\u00b2 FROM table_24565004_8 WHERE name = \"Patrick Grappin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Venue against the Bracknell Bees?\n\n### Context:\nCREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_9 WHERE opponent = \"bracknell bees\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich music has the notes of AKA Africa Uncensored?\n\n### Context:\nCREATE TABLE table_name_61 (music VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT music FROM table_name_61 WHERE notes = \"aka africa uncensored\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nQuestion does not make sense since there was no record of 88-74\n\n### Context:\nCREATE TABLE table_name_77 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_77 WHERE record = \"88-74\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the title of all the albums of the artist \"AC/DC\".\n\n### Context:\nCREATE TABLE ARTIST (ArtistId VARCHAR, Name VARCHAR); CREATE TABLE ALBUM (ArtistId VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = \"AC/DC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the general foods pga seniors' championship tournament?\n\n### Context:\nCREATE TABLE table_name_66 (date VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_66 WHERE tournament = \"general foods pga seniors' championship\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance when Nuneaton Borough was the home team?\n\n### Context:\nCREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_44 WHERE home_team = \"nuneaton borough\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team when Melbourne was the away team?\n\n### Context:\nCREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_98 WHERE away_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor each nomination, show the name of the artwork and name of the festival where it is nominated.\n\n### Context:\nCREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Name, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the week when the result was l 38-17\n\n### Context:\nCREATE TABLE table_name_61 (week VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_61 WHERE result = \"l 38-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times have Central Crossing won the OCC Championship?\n\n### Context:\nCREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(occ_championships) FROM table_name_96 WHERE school = \"central crossing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team of the game where Footscray is the away team?\n\n### Context:\nCREATE TABLE table_name_52 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_52 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the award for 1998 with Representative Work of city beat?\n\n### Context:\nCREATE TABLE table_name_78 (award VARCHAR, year VARCHAR, representative_work VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT award FROM table_name_78 WHERE year = 1998 AND representative_work = \"city beat\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all the log ids and their descriptions from the problem logs.\n\n### Context:\nCREATE TABLE problem_log (problem_log_id VARCHAR, log_entry_description VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT problem_log_id, log_entry_description FROM problem_log"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the number of attendance that has a result of l 35-17\n\n### Context:\nCREATE TABLE table_name_4 (attendance VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_4 WHERE result = \"l 35-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season did he have 7 appearances?\n\n### Context:\nCREATE TABLE table_name_91 (season VARCHAR, apps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_91 WHERE apps = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the gene name for methylobacterium nodulans\n\n### Context:\nCREATE TABLE table_27155678_2 (gene_name VARCHAR, genus_species VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gene_name FROM table_27155678_2 WHERE genus_species = \"Methylobacterium nodulans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the visitor with a record of 14\u201317\u20135?\n\n### Context:\nCREATE TABLE table_name_54 (visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_54 WHERE record = \"14\u201317\u20135\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest year when Ubisoft Montreal was the developer (s)?\n\n### Context:\nCREATE TABLE table_name_38 (year INTEGER, developer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_38 WHERE developer_s_ = \"ubisoft montreal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho received the bronze in 2011?\n\n### Context:\nCREATE TABLE table_name_71 (bronze VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bronze FROM table_name_71 WHERE year = \"2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years was the jersey number(s) smaller than 3?\n\n### Context:\nCREATE TABLE table_name_1 (years VARCHAR, jersey_number_s_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_1 WHERE jersey_number_s_ < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the Hindu with Jewish of source: uk 2001 census\n\n### Context:\nCREATE TABLE table_name_87 (hindu VARCHAR, jewish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hindu FROM table_name_87 WHERE jewish = \"source: uk 2001 census\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Game has a Record of 4\u20132\u20131, and Points larger than 9?\n\n### Context:\nCREATE TABLE table_name_19 (game INTEGER, record VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(game) FROM table_name_19 WHERE record = \"4\u20132\u20131\" AND points > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of played when the position is less than 4, and the team is Witton Albion?\n\n### Context:\nCREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = \"witton albion\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the round of the player who plays linebacker and has a pick # greater than 251?\n\n### Context:\nCREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(round) FROM table_name_38 WHERE position = \"linebacker\" AND pick__number > 251"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the zip code in which the average mean visibility is lower than 10.\n\n### Context:\nCREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the number of people who is under 40 for each gender.\n\n### Context:\nCREATE TABLE Person (gender VARCHAR, age INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*), gender FROM Person WHERE age < 40 GROUP BY gender"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the class AA with class A of rule and school year of 1995-96\n\n### Context:\nCREATE TABLE table_name_52 (class_aA VARCHAR, class_a VARCHAR, school_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class_aA FROM table_name_52 WHERE class_a = \"rule\" AND school_year = \"1995-96\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many dismissals in a game with 191 innings\n\n### Context:\nCREATE TABLE table_19769948_26 (dismissals VARCHAR, innings VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(dismissals) FROM table_19769948_26 WHERE innings = 191"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat gender is the team that has a decile of 5 and in the Dalefield area?\n\n### Context:\nCREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gender FROM table_name_95 WHERE decile = 5 AND area = \"dalefield\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE RELIGION WITH A SCHEDULED TRIBE OF 0.90%?\n\n### Context:\nCREATE TABLE table_name_43 (religion VARCHAR, scheduled_tribe VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT religion FROM table_name_43 WHERE scheduled_tribe = \"0.90%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho got the first position when Ehime Shimanami got the third position?\n\n### Context:\nCREATE TABLE table_21632864_1 (champions VARCHAR, third_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champions FROM table_21632864_1 WHERE third_place = \"Ehime Shimanami\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the largest amount of wins Texas has? \n\n### Context:\nCREATE TABLE table_16225511_2 (wins INTEGER, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_16225511_2 WHERE school = \"Texas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the round number for March 22?\n\n### Context:\nCREATE TABLE table_name_92 (round VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_92 WHERE date = \"march 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year that had a value less than 2,575 in Inglewood?\n\n### Context:\nCREATE TABLE table_name_27 (year INTEGER, inglewood INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_27 WHERE inglewood < 2 OFFSET 575"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?\n\n### Context:\nCREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = \"1.0\" AND cell_type = \"median giant fiber\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2011 number (,000) when the status is separated?\n\n### Context:\nCREATE TABLE table_273617_6 (status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2011 AS _number__, 000 AS _ FROM table_273617_6 WHERE status = \"Separated\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team of the game on April 20?\n\n### Context:\nCREATE TABLE table_name_95 (home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_95 WHERE date = \"april 20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height of the Tides with less than 34 floors?\n\n### Context:\nCREATE TABLE table_name_68 (height_feet___m VARCHAR, floors VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_feet___m FROM table_name_68 WHERE floors < 34 AND name = \"the tides\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponents in the final on January 5, 2003, on a hard surface?\n\n### Context:\nCREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents_in_the_final FROM table_name_19 WHERE surface = \"hard\" AND date = \"january 5, 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tie no has Watford as the date?\n\n### Context:\nCREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_92 WHERE date = \"watford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat surface has indian wells as the championship, with winner as the outcome?\n\n### Context:\nCREATE TABLE table_name_63 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_63 WHERE championship = \"indian wells\" AND outcome = \"winner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of party in the arkansas 1 district\n\n### Context:\nCREATE TABLE table_1341930_5 (party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1341930_5 WHERE district = \"Arkansas 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Commissioned, when Laid Down is \"6 September 2003\"?\n\n### Context:\nCREATE TABLE table_name_78 (commissioned VARCHAR, laid_down VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT commissioned FROM table_name_78 WHERE laid_down = \"6 september 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho direcred the episode with production code 7d03?\n\n### Context:\nCREATE TABLE table_25604014_5 (directed_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_25604014_5 WHERE production_code = \"7D03\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many entries are there for class when the prior experience is shasta h.s.\n\n### Context:\nCREATE TABLE table_14342210_13 (class VARCHAR, prior_experience VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(class) FROM table_14342210_13 WHERE prior_experience = \"Shasta H.S.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Accreditation Type, when the Accreditation Level is Joyn, and when the Hardware Model is Nokia 700?\n\n### Context:\nCREATE TABLE table_name_72 (accreditation_type VARCHAR, accreditation_level VARCHAR, hardware_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accreditation_type FROM table_name_72 WHERE accreditation_level = \"joyn\" AND hardware_model = \"nokia 700\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Match No., when Date is 2008-03-21, and when Time is 16:00?\n\n### Context:\nCREATE TABLE table_name_92 (match_no INTEGER, date VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(match_no) FROM table_name_92 WHERE date = \"2008-03-21\" AND time = \"16:00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date in which the time was 2:16.08?\n\n### Context:\nCREATE TABLE table_name_31 (date VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_31 WHERE time = \"2:16.08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich owner has a description of Mark 1 pos and is dated 1956?\n\n### Context:\nCREATE TABLE table_name_18 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT owner_s_ FROM table_name_18 WHERE date = 1956 AND description = \"mark 1 pos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the names, color descriptions and product descriptions of products with category \"Herbs\".\n\n### Context:\nCREATE TABLE Ref_colors (color_description VARCHAR, color_code VARCHAR); CREATE TABLE products (product_name VARCHAR, product_description VARCHAR, color_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.product_name, T2.color_description, T1.product_description FROM products AS T1 JOIN Ref_colors AS T2 ON T1.color_code = T2.color_code WHERE product_category_code = \"Herbs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest weight wth a Result of \u2013, and a Distance of 7f?\n\n### Context:\nCREATE TABLE table_name_37 (weight INTEGER, result VARCHAR, distance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(weight) FROM table_name_37 WHERE result = \"\u2013\" AND distance = \"7f\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's was the 2008 during the Year End Ranking?\n\n### Context:\nCREATE TABLE table_name_44 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_44 WHERE tournament = \"year end ranking\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the fight with Tony Halme?\n\n### Context:\nCREATE TABLE table_name_27 (res VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_27 WHERE opponent = \"tony halme\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the position of the person whose hometown is Queens, NY?\n\n### Context:\nCREATE TABLE table_name_45 (position VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_45 WHERE hometown = \"queens, ny\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the match on a hard surface with a score of 6\u20134, 2\u20136, 3\u20136?\n\n### Context:\nCREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_83 WHERE surface = \"hard\" AND score = \"6\u20134, 2\u20136, 3\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the percentage for Russian?\n\n### Context:\nCREATE TABLE table_name_90 (percentage___percentage_ VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percentage___percentage_ FROM table_name_90 WHERE language = \"russian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the number of distinct amenities.\n\n### Context:\nCREATE TABLE dorm_amenity (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM dorm_amenity"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes were there in season 19?\n\n### Context:\nCREATE TABLE table_17355820_1 (title VARCHAR, season__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_17355820_1 WHERE season__number = 19"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters?\n\n### Context:\nCREATE TABLE table_name_99 (first_elected INTEGER, district VARCHAR, committee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(first_elected) FROM table_name_99 WHERE district = \"06.0 6\" AND committee = \"economic matters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum Col (m) when 3,046 is the Prominence (m)?\n\n### Context:\nCREATE TABLE table_name_94 (col__m_ INTEGER, prominence__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(col__m_) FROM table_name_94 WHERE prominence__m_ = 3 OFFSET 046"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game played at Lake Oval?\n\n### Context:\nCREATE TABLE table_name_56 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_56 WHERE venue = \"lake oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Team, when High Points is \"Tracy McGrady (24)\"?\n\n### Context:\nCREATE TABLE table_name_49 (team VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_49 WHERE high_points = \"tracy mcgrady (24)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Country, when City is \"Zamboanga\"?\n\n### Context:\nCREATE TABLE table_name_82 (country VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_82 WHERE city = \"zamboanga\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank associated with the team that has more than 2 wins and has greater than 204 points?\n\n### Context:\nCREATE TABLE table_name_34 (rank VARCHAR, wins VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_34 WHERE wins > 2 AND points > 204"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many matches were played that average goals scored 1.25?\n\n### Context:\nCREATE TABLE table_27708484_3 (matches_played VARCHAR, average_goals_scored_per_match VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(matches_played) FROM table_27708484_3 WHERE average_goals_scored_per_match = \"1.25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Championship has a League Cup smaller than 0?\n\n### Context:\nCREATE TABLE table_name_14 (championship INTEGER, league_cup INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(championship) FROM table_name_14 WHERE league_cup < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the most assists and how many did they have in game 35?\n\n### Context:\nCREATE TABLE table_27744844_7 (high_assists VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_27744844_7 WHERE game = 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did Charles Jarrott report?\n\n### Context:\nCREATE TABLE table_18893428_1 (report VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(report) FROM table_18893428_1 WHERE driver = \"Charles Jarrott\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 2008, when 2006 is \"1R\"?\n\n### Context:\nCREATE TABLE table_name_70 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_70 WHERE 2006 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE POSITION WITH BOSTON RED SOX FOR COREY JENKINS?\n\n### Context:\nCREATE TABLE table_name_44 (position VARCHAR, team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_44 WHERE team = \"boston red sox\" AND player = \"corey jenkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich season is it when Milouska was the show's mole ?\n\n### Context:\nCREATE TABLE table_178242_7 (season VARCHAR, the_mole VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_178242_7 WHERE the_mole = \"Milouska\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nbefore week 12 what was the attendance on 1983-11-21?\n\n### Context:\nCREATE TABLE table_name_22 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_22 WHERE date = \"1983-11-21\" AND week < 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what City/town was their institution founded in 1860?\n\n### Context:\nCREATE TABLE table_name_34 (city__town VARCHAR, year_founded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city__town FROM table_name_34 WHERE year_founded = 1860"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Home with an Away that is toronto rebels?\n\n### Context:\nCREATE TABLE table_name_94 (home VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_94 WHERE away = \"toronto rebels\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow big was the crowd when Richmond was the away team?\n\n### Context:\nCREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_28 WHERE away_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when there were 27,321 in attendance?\n\n### Context:\nCREATE TABLE table_name_20 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_20 WHERE attendance = \"27,321\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much do the tickets cost for August 7, 1987?\n\n### Context:\nCREATE TABLE table_18277458_2 (ticket_price_s_ VARCHAR, date_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ticket_price_s_ FROM table_18277458_2 WHERE date_s_ = \"August 7, 1987\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Home team score has a Home team of geelong?\n\n### Context:\nCREATE TABLE table_name_47 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_47 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750\u2009km?\n\n### Context:\nCREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = \"france\" AND pacing = \"tandem paced\" AND distance = \"951.750 km\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game was a Platformer?\n\n### Context:\nCREATE TABLE table_name_90 (game VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_90 WHERE genre = \"platformer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the average age of members of the club \"Hopkins Student Enterprises\".\n\n### Context:\nCREATE TABLE club (clubid VARCHAR, clubname VARCHAR); CREATE TABLE student (age INTEGER, stuid VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = \"Hopkins Student Enterprises\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Weight, when Position is \"Forward/Center\", when Player is \"Othella Harrington\", and when Number is less than 32?\n\n### Context:\nCREATE TABLE table_name_90 (weight VARCHAR, number VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(weight) FROM table_name_90 WHERE position = \"forward/center\" AND player = \"othella harrington\" AND number < 32"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the runner-up when champion is 0, 4th place is 0 and rank is 6?\n\n### Context:\nCREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_up FROM table_name_18 WHERE champion = \"0\" AND fourth_place = \"0\" AND rank = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest attendance at the game against chicago when conklin made the decision?\n\n### Context:\nCREATE TABLE table_name_21 (attendance INTEGER, decision VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_21 WHERE decision = \"conklin\" AND visitor = \"chicago\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Year, when Rank is greater than 85?\n\n### Context:\nCREATE TABLE table_name_28 (year INTEGER, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_28 WHERE rank > 85"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the home team score for the game played at Princes Park?\n\n### Context:\nCREATE TABLE table_name_3 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_3 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes aired on October 17, 2007?\n\n### Context:\nCREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = \"October 17, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average and maximum number of total passengers for train stations in London or Glasgow?\n\n### Context:\nCREATE TABLE station (total_passengers INTEGER, LOCATION VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total_passengers), MAX(total_passengers) FROM station WHERE LOCATION = 'London' OR LOCATION = 'Glasgow'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance when the record was 77-54?\n\n### Context:\nCREATE TABLE table_name_90 (attendance INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_90 WHERE record = \"77-54\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the name of the processor for model x33x0?\n\n### Context:\nCREATE TABLE table_24101118_1 (processor VARCHAR, model__list_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT processor FROM table_24101118_1 WHERE model__list_ = \"X33x0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the league for 1994\n\n### Context:\nCREATE TABLE table_name_16 (league VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_name_16 WHERE year = \"1994\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position with 0 points in Season of 2007\u201308?\n\n### Context:\nCREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pos FROM table_name_37 WHERE points = \"0\" AND season = \"2007\u201308\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record on 6 April 2008?\n\n### Context:\nCREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_20 WHERE date = \"6 april 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for 2010 Employees (Total) when the employer is University of Alberta?\n\n### Context:\nCREATE TABLE table_name_1 (employer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(2010 AS _employees__total_) FROM table_name_1 WHERE employer = \"university of alberta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Time, when Event is \"GCM: Demolition 1\"?\n\n### Context:\nCREATE TABLE table_name_85 (time VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_85 WHERE event = \"gcm: demolition 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2009 for 2007 of 2r and tournament of wimbledon\n\n### Context:\nCREATE TABLE table_name_35 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2009 FROM table_name_35 WHERE 2007 = \"2r\" AND tournament = \"wimbledon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Attendance has an Opponent of oxford united?\n\n### Context:\nCREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_58 WHERE opponent = \"oxford united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFrequency of 1.2 ghz, and a Release price ( USD ) of $70 is what socket?\n\n### Context:\nCREATE TABLE table_name_91 (socket VARCHAR, frequency VARCHAR, release_price___usd__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_name_91 WHERE frequency = \"1.2 ghz\" AND release_price___usd__ = \"$70\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total capacity (MW) of the farm that is noted as being under construction?\n\n### Context:\nCREATE TABLE table_name_17 (capacity__mw_ VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(capacity__mw_) FROM table_name_17 WHERE notes = \"under construction\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a To par of \u20133, and a Player of santiago luna?\n\n### Context:\nCREATE TABLE table_name_69 (score VARCHAR, to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_69 WHERE to_par = \"\u20133\" AND player = \"santiago luna\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when high points is from pierce (30)?\n\n### Context:\nCREATE TABLE table_11959669_6 (score VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_11959669_6 WHERE high_points = \"Pierce (30)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the episode that was directed by Christian i. nyby ii originally air on?\n\n### Context:\nCREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_29583441_1 WHERE directed_by = \"Christian I. Nyby II\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of golds in athletics associated with over 42 silvers?\n\n### Context:\nCREATE TABLE table_name_66 (gold INTEGER, sport VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_66 WHERE sport = \"athletics\" AND silver > 42"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the decile of the school with a roll larger than 513?\n\n### Context:\nCREATE TABLE table_name_36 (decile INTEGER, roll INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(decile) FROM table_name_36 WHERE roll > 513"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the runner-up when the winning score was \u201328 (66-67-68-64-67=332)?\n\n### Context:\nCREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_s__up FROM table_name_81 WHERE winning_score = \u201328(66 - 67 - 68 - 64 - 67 = 332)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the id and first name of the student that has the most number of assessment notes?\n\n### Context:\nCREATE TABLE Students (first_name VARCHAR, student_id VARCHAR); CREATE TABLE Assessment_Notes (student_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.student_id, T2.first_name FROM Assessment_Notes AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAccording to the August 2008 poll that reported 36% New Demcratic, what percentage aligned with the Liberal party?\n\n### Context:\nCREATE TABLE table_name_37 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT liberal FROM table_name_37 WHERE new_democratic = \"36%\" AND dates = \"august 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the names of customers who have once canceled the purchase of the product \"food\" (the item status is \"Cancel\").\n\n### Context:\nCREATE TABLE orders (customer_id VARCHAR, order_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_item_status VARCHAR, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 JOIN order_items AS T3 JOIN products AS T4 ON T1.customer_id = T2.customer_id AND T2.order_id = T3.order_id AND T3.product_id = T4.product_id WHERE T3.order_item_status = \"Cancel\" AND T4.product_name = \"food\" GROUP BY T1.customer_id HAVING COUNT(*) >= 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game that had a first prize of $161,480?\n\n### Context:\nCREATE TABLE table_name_64 (date VARCHAR, first_prize VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_64 WHERE first_prize = \"$161,480\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round has kim eun-ha as an Opponent?\n\n### Context:\nCREATE TABLE table_name_37 (round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_37 WHERE opponent = \"kim eun-ha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number for fox news channel\n\n### Context:\nCREATE TABLE table_15887683_8 (n\u00b0 VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT n\u00b0 FROM table_15887683_8 WHERE television_service = \"Fox News Channel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest rank for PSV - FC Barcelona?\n\n### Context:\nCREATE TABLE table_name_64 (rank INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_64 WHERE team = \"psv - fc barcelona\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen were the Avenging Angels founded?\n\n### Context:\nCREATE TABLE table_255188_1 (founded INTEGER, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(founded) FROM table_255188_1 WHERE nickname = \"Avenging Angels\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat runner-up has 1925 as the year?\n\n### Context:\nCREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_up FROM table_name_6 WHERE year = \"1925\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average crowd attendance for the Junction Oval venue?\n\n### Context:\nCREATE TABLE table_name_36 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_36 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year for Faces?\n\n### Context:\nCREATE TABLE table_name_61 (year INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_61 WHERE title = \"faces\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPilot of g.v. alfyorov, and a Record description of altitude with kg (lb) payload, and a Type of mi-10 involved what date?\n\n### Context:\nCREATE TABLE table_name_39 (date VARCHAR, type VARCHAR, pilot VARCHAR, record_description VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_39 WHERE pilot = \"g.v. alfyorov\" AND record_description = \"altitude with kg (lb) payload\" AND type = \"mi-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the high schooler who has the greatest number of likes?\n\n### Context:\nCREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat monarch(s) did Stanley Baldwin (1st ministry) serve?\n\n### Context:\nCREATE TABLE table_name_18 (monarchs_served VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT monarchs_served FROM table_name_18 WHERE name = \"stanley baldwin (1st ministry)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Opponent in Final is \"Guy Forget\"?\n\n### Context:\nCREATE TABLE table_name_64 (date VARCHAR, opponent_in_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_64 WHERE opponent_in_final = \"guy forget\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich is the number of the season episode whose premiere was in january 3, 1997?\n\n### Context:\nCREATE TABLE table_228973_3 (no_in_season VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_season) FROM table_228973_3 WHERE original_air_date = \"January 3, 1997\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the team that held the race title of Mallala?\n\n### Context:\nCREATE TABLE table_name_47 (team VARCHAR, race_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_47 WHERE race_title = \"mallala\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the musical nominee with award \"Bob Fosse\" or \"Cleavant Derricks\".\n\n### Context:\nCREATE TABLE musical (Nominee VARCHAR, Award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Nominee FROM musical WHERE Award = \"Tony Award\" OR Award = \"Cleavant Derricks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Position is Ryan Russell?\n\n### Context:\nCREATE TABLE table_name_6 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_6 WHERE player = \"ryan russell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the outcome of the August 20, 2007 match?\n\n### Context:\nCREATE TABLE table_name_29 (outcome VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_29 WHERE date = \"august 20, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the branding for the station located in san jose del monte?\n\n### Context:\nCREATE TABLE table_27588823_2 (branding VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT branding FROM table_27588823_2 WHERE location = \"San Jose Del Monte\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho finished 3rd in Oslo?\n\n### Context:\nCREATE TABLE table_name_74 (third VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third FROM table_name_74 WHERE venue = \"oslo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the Cyclones get 46 points?\n\n### Context:\nCREATE TABLE table_23184448_3 (date VARCHAR, cyclones_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_23184448_3 WHERE cyclones_points = 46"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich surfaces have the final score of 6\u20131, 6\u20137 (2\u20137) , 7\u20136 (7\u20135) , 7\u20136 (10\u20138)?\n\n### Context:\nCREATE TABLE table_22834834_3 (surface VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_22834834_3 WHERE score_in_the_final = \"6\u20131, 6\u20137 (2\u20137) , 7\u20136 (7\u20135) , 7\u20136 (10\u20138)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind all the songs that do not have a back vocal.\n\n### Context:\nCREATE TABLE songs (title VARCHAR, songid VARCHAR); CREATE TABLE vocals (songid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid = t2.songid WHERE TYPE = \"back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat two players had the highest rebounds for the October 14 game?\n\n### Context:\nCREATE TABLE table_27733258_2 (high_rebounds VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_27733258_2 WHERE date = \"October 14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the item with a label of Sony BMG, Epic and a Catalog number 5187482?\n\n### Context:\nCREATE TABLE table_name_82 (date VARCHAR, label VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_82 WHERE label = \"sony bmg, epic\" AND catalog = \"5187482\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many data are on points for if the percentage is 94.29?\n\n### Context:\nCREATE TABLE table_25229283_4 (points_for VARCHAR, percentage___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points_for) FROM table_25229283_4 WHERE percentage___percentage_ = \"94.29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won at course Forl\u00ec to Carpi?\n\n### Context:\nCREATE TABLE table_name_47 (winner VARCHAR, course VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_47 WHERE course = \"forl\u00ec to carpi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the launch pad for 25 december 2010 10:34\n\n### Context:\nCREATE TABLE table_name_16 (launch_pad VARCHAR, launch_date_time__utc_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = \"25 december 2010 10:34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho many dates are in position 9 and the sellout is 81%?\n\n### Context:\nCREATE TABLE table_16331025_2 (dates__mdy_ VARCHAR, position VARCHAR, sellout___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(dates__mdy_) FROM table_16331025_2 WHERE position = 9 AND sellout___percentage_ = \"81%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat surface was used when she played with Remi Tezuka?\n\n### Context:\nCREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_76 WHERE partner = \"remi tezuka\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player played for years 2000-02\n\n### Context:\nCREATE TABLE table_11545282_18 (player VARCHAR, years_for_jazz VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11545282_18 WHERE years_for_jazz = \"2000-02\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of taking office for Giorgia Meloni?\n\n### Context:\nCREATE TABLE table_name_28 (took_office VARCHAR, minister VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT took_office FROM table_name_28 WHERE minister = \"giorgia meloni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many judges points did the couple ranked at number 5 have?\n\n### Context:\nCREATE TABLE table_19744915_22 (judges INTEGER, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(judges) FROM table_19744915_22 WHERE rank = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Set 2 with a Total of 45\u201312, and a Set 3 with 15\u20132?\n\n### Context:\nCREATE TABLE table_name_6 (set_2 VARCHAR, total VARCHAR, set_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_2 FROM table_name_6 WHERE total = \"45\u201312\" AND set_3 = \"15\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Name of the D Player born on 1983-07-19?\n\n### Context:\nCREATE TABLE table_name_46 (name VARCHAR, pos VARCHAR, date_of_birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_46 WHERE pos = \"d\" AND date_of_birth = \"1983-07-19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the Piston's record at 23-47?\n\n### Context:\nCREATE TABLE table_22822559_8 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_22822559_8 WHERE record = \"23-47\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho went on a rampage in Baghdad?\n\n### Context:\nCREATE TABLE table_name_85 (perpetrator VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT perpetrator FROM table_name_85 WHERE location = \"baghdad\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the sum of year for edition more than 4 and winners of new york red bulls\n\n### Context:\nCREATE TABLE table_name_93 (year INTEGER, edition VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_93 WHERE edition > 4 AND winner = \"new york red bulls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS Val-de-Marne WITH Seine-Saint-Denis of 4.0%?\n\n### Context:\nCREATE TABLE table_name_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = \"4.0%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Title Playoff, when Total is less than 3, and when League is greater than \"2\"?\n\n### Context:\nCREATE TABLE table_name_93 (title_playoff INTEGER, total VARCHAR, league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(title_playoff) FROM table_name_93 WHERE total < 3 AND league > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the class with rank of 89th\n\n### Context:\nCREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_12 WHERE rank = \"89th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's Manchu (M\u00f6llendorff) with the Wi Xing Correltation of \u5357 South, along with Wuu Wuupin of ting44?\n\n### Context:\nCREATE TABLE table_name_48 (manchu___m\u00f6llendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manchu___m\u00f6llendorff__ FROM table_name_48 WHERE wu_xing_correlations = \"\u5357 south\" AND wuu_wuupin = \"ting44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Jim Colbert's score?\n\n### Context:\nCREATE TABLE table_name_72 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_72 WHERE player = \"jim colbert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date with an Away that is broadview hawks?\n\n### Context:\nCREATE TABLE table_name_5 (date VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_5 WHERE away = \"broadview hawks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the format of the single, I Can't Stay?\n\n### Context:\nCREATE TABLE table_name_6 (format VARCHAR, single VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_6 WHERE single = \"i can't stay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith a 0-2 series, what is the high points?\n\n### Context:\nCREATE TABLE table_name_23 (high_points VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_name_23 WHERE series = \"0-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps were ridden in the race that had a Time/Retired of +37.351?\n\n### Context:\nCREATE TABLE table_name_24 (laps VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(laps) FROM table_name_24 WHERE time_retired = \"+37.351\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many states-first place are there for the office of Governor?\n\n### Context:\nCREATE TABLE table_20246201_9 (states___first_place VARCHAR, office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(states___first_place) FROM table_20246201_9 WHERE office = \"Governor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest shot % with ends won larger than 29 and ends lost smaller than 26?\n\n### Context:\nCREATE TABLE table_name_1 (shot_pct INTEGER, ends_won VARCHAR, ends_lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(shot_pct) FROM table_name_1 WHERE ends_won > 29 AND ends_lost < 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Margin in 1953 when Patty Berg was Runner(s)-up?\n\n### Context:\nCREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT margin FROM table_name_29 WHERE runner_s__up = \"patty berg\" AND year = 1953"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFirst elected in 1807 1817 in what district?\n\n### Context:\nCREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_2668336_17 WHERE first_elected = \"1807 1817\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the aggregate for the tie with a team 2 of Irtysh?\n\n### Context:\nCREATE TABLE table_name_58 (agg VARCHAR, team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT agg FROM table_name_58 WHERE team_2 = \"irtysh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the rank when silver is less than 0?\n\n### Context:\nCREATE TABLE table_name_6 (rank INTEGER, silver INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_6 WHERE silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the tie resulting from Sheffield Wednesday's game?\n\n### Context:\nCREATE TABLE table_name_56 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_56 WHERE home_team = \"sheffield wednesday\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Pashto word for the Malayalam word \u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02 vyazham?\n\n### Context:\nCREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pashto FROM table_name_76 WHERE malayalam = \"\u0d35\u0d4d\u0d2f\u0d3e\u0d34\u0d02 vyazham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and rank points of the winner who won the most times.\n\n### Context:\nCREATE TABLE matches (winner_name VARCHAR, winner_rank_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner_name, winner_rank_points FROM matches GROUP BY winner_name ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Bangladeshis were admitted when 714 Nepalis and 13,575 Pakistanis were admitted?\n\n### Context:\nCREATE TABLE table_name_23 (bangladeshis_admitted INTEGER, nepalis_admitted VARCHAR, pakistanis_admitted VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bangladeshis_admitted) FROM table_name_23 WHERE nepalis_admitted = 714 AND pakistanis_admitted > 13 OFFSET 575"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition, federation, or league are the Tennessee Titans a member of?\n\n### Context:\nCREATE TABLE table_name_7 (competition_ VARCHAR, _federation_ VARCHAR, _or_league VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition_, _federation_, _or_league FROM table_name_7 WHERE team = \"tennessee titans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most goals for josep samitier\n\n### Context:\nCREATE TABLE table_name_8 (goals INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goals) FROM table_name_8 WHERE name = \"josep samitier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has serial of 11c?\n\n### Context:\nCREATE TABLE table_name_28 (date VARCHAR, serial VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_28 WHERE serial = \"11c\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away team when 6 was the tie no?\n\n### Context:\nCREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_69 WHERE tie_no = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the GP winner with a place of genk, with race winners ben adriaenssen / ben van den bogaart?\n\n### Context:\nCREATE TABLE table_name_30 (gp_winner VARCHAR, place VARCHAR, race_winners VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gp_winner FROM table_name_30 WHERE place = \"genk\" AND race_winners = \"ben adriaenssen / ben van den bogaart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the census ranking for the Perth parish?\n\n### Context:\nCREATE TABLE table_176524_2 (census_ranking VARCHAR, official_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT census_ranking FROM table_176524_2 WHERE official_name = \"Perth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses against the Rajasthan Royals with more than 0 ties?\n\n### Context:\nCREATE TABLE table_name_57 (lost VARCHAR, opposition VARCHAR, tied VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lost) FROM table_name_57 WHERE opposition = \"rajasthan royals\" AND tied > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team score when played at mcg?\n\n### Context:\nCREATE TABLE table_name_24 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_24 WHERE venue = \"mcg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average against has a lost less than 1?\n\n### Context:\nCREATE TABLE table_name_78 (against INTEGER, lost INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(against) FROM table_name_78 WHERE lost < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest value for Draws, when South West DFL is \"Tyrendarra\", and when Byes is greater than 0?\n\n### Context:\nCREATE TABLE table_name_68 (draws INTEGER, south_west_dfl VARCHAR, byes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(draws) FROM table_name_68 WHERE south_west_dfl = \"tyrendarra\" AND byes > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank for China?\n\n### Context:\nCREATE TABLE table_name_96 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_96 WHERE country = \"china\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rider finished with a speed of 80.18mph?\n\n### Context:\nCREATE TABLE table_name_61 (rider VARCHAR, speed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_61 WHERE speed = \"80.18mph\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest population (2008) created earlier than 1857, and the county was Sinoe?\n\n### Context:\nCREATE TABLE table_name_69 (population__2008_ INTEGER, created VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(population__2008_) FROM table_name_69 WHERE created < 1857 AND county = \"sinoe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich rd. took place at Hockenheimring?\n\n### Context:\nCREATE TABLE table_1137718_2 (rd INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rd) FROM table_1137718_2 WHERE location = \"Hockenheimring\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city is Jaffna Airport in?\n\n### Context:\nCREATE TABLE table_name_25 (city VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_25 WHERE airport = \"jaffna airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many models produced where the plant is castle bromwich?\n\n### Context:\nCREATE TABLE table_250309_1 (models_produced VARCHAR, plant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(models_produced) FROM table_250309_1 WHERE plant = \"Castle Bromwich\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the Indians play a game with a record of 28-41?\n\n### Context:\nCREATE TABLE table_name_66 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_66 WHERE record = \"28-41\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the choice tv actor: drama category?\n\n### Context:\nCREATE TABLE table_name_22 (result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_22 WHERE category = \"choice tv actor: drama\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?\n\n### Context:\nCREATE TABLE table_name_96 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_96 WHERE manufacturer = \"aprilia\" AND rider = \"sandro cortese\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2008 population in \ud568\ud765 (Ham Hyung)?\n\n### Context:\nCREATE TABLE table_name_55 (population__2008_ INTEGER, korean VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(population__2008_) FROM table_name_55 WHERE korean = \"\ud568\ud765\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat award has a year earlier than 2004 and the episode shows \u2014?\n\n### Context:\nCREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT award FROM table_name_90 WHERE year < 2004 AND episode = \"\u2014\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?\n\n### Context:\nCREATE TABLE table_name_22 (fcsl_team VARCHAR, mlb_team VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fcsl_team FROM table_name_22 WHERE mlb_team = \"toronto blue jays\" AND round = \"4th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the call sign for the translator with an ERP W larger than 10?\n\n### Context:\nCREATE TABLE table_name_38 (call_sign VARCHAR, erp_w INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT call_sign FROM table_name_38 WHERE erp_w > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number in season is the episode directed by Gene Stupnitsky?\n\n### Context:\nCREATE TABLE table_17482534_1 (no_in_season VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_season FROM table_17482534_1 WHERE directed_by = \"Gene Stupnitsky\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich engine has a Chassis of lotus 44 f2?\n\n### Context:\nCREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_24 WHERE chassis = \"lotus 44 f2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the 2008 of 2001 olympic games\n\n### Context:\nCREATE TABLE table_name_69 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_69 WHERE 2011 = \"olympic games\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the date that Morocco has an Against along with a surface of hard?\n\n### Context:\nCREATE TABLE table_name_46 (date VARCHAR, against VARCHAR, surface VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_46 WHERE against = \"morocco\" AND surface = \"hard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the method of resolution when Mikhail Ilyukhin's record was 4-0?\n\n### Context:\nCREATE TABLE table_name_92 (method VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_92 WHERE record = \"4-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the having things for privacy, intimate spaces of togetherness\n\n### Context:\nCREATE TABLE table_name_99 (having__things_ VARCHAR, interacting__settings_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT having__things_ FROM table_name_99 WHERE interacting__settings_ = \"privacy, intimate spaces of togetherness\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the score of misa eguchi eri hozumi\n\n### Context:\nCREATE TABLE table_name_62 (score VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_62 WHERE opponents = \"misa eguchi eri hozumi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average new council number when the election result is smaller than 0?\n\n### Context:\nCREATE TABLE table_name_57 (new_council INTEGER, election_result INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(new_council) FROM table_name_57 WHERE election_result < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the scoreboard for total being 23.5\n\n### Context:\nCREATE TABLE table_21234111_6 (scoreboard VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT scoreboard FROM table_21234111_6 WHERE total = \"23.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the reward eliminated hilca\n\n### Context:\nCREATE TABLE table_24233848_2 (reward VARCHAR, eliminated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reward FROM table_24233848_2 WHERE eliminated = \"Hilca\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhose is the manufacturer for team Ranier-Lundy? \n\n### Context:\nCREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_2268216_1 WHERE team = \"Ranier-Lundy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Goals scored that has more than 45 Points?\n\n### Context:\nCREATE TABLE table_name_74 (goals_scored VARCHAR, points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals_scored) FROM table_name_74 WHERE points > 45"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many values reflect the overall record of the team coached by Frank Beamer?\n\n### Context:\nCREATE TABLE table_28744929_2 (overall_record VARCHAR, head_coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(overall_record) FROM table_28744929_2 WHERE head_coach = \"Frank Beamer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen santiago del estero is the hometown who is the contestant?\n\n### Context:\nCREATE TABLE table_18626383_2 (contestant VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT contestant FROM table_18626383_2 WHERE hometown = \"Santiago del Estero\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich section is in the 6th position?\n\n### Context:\nCREATE TABLE table_name_8 (section VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT section FROM table_name_8 WHERE position = \"6th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many average 100s were there for Tim Bresnan?\n\n### Context:\nCREATE TABLE table_name_51 (player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(100 AS s) FROM table_name_51 WHERE player = \"tim bresnan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the fewest Laps for Huub Rothengatter and grid less than 24\n\n### Context:\nCREATE TABLE table_name_88 (laps INTEGER, driver VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_88 WHERE driver = \"huub rothengatter\" AND grid < 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average goals less than 41 that goalkeeper Claudio Bravo had?\n\n### Context:\nCREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = \"claudio bravo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place is player Brad Faxon from?\n\n### Context:\nCREATE TABLE table_name_33 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_33 WHERE player = \"brad faxon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percentage of Slovenes lived in the village of Roach in 1951?\n\n### Context:\nCREATE TABLE table_name_31 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percent_of_slovenes_1951 FROM table_name_31 WHERE village__german_ = \"roach\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)?\n\n### Context:\nCREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT volume FROM table_name_49 WHERE isbn = \"978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the incumbent for texas 19?\n\n### Context:\nCREATE TABLE table_1341663_44 (incumbent VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1341663_44 WHERE district = \"Texas 19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the try bonus for when tries against is 43?\n\n### Context:\nCREATE TABLE table_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT try_bonus FROM table_13741576_4 WHERE tries_against = \"43\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average decile for te puru school?\n\n### Context:\nCREATE TABLE table_name_84 (decile INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(decile) FROM table_name_84 WHERE name = \"te puru school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the director that had a recipient of Redbag Pictures Ltd?\n\n### Context:\nCREATE TABLE table_name_54 (director_s_ VARCHAR, recipient VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director_s_ FROM table_name_54 WHERE recipient = \"redbag pictures ltd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich week was the game held at Kingdome on October 13, 1991?\n\n### Context:\nCREATE TABLE table_name_71 (week INTEGER, game_site VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_71 WHERE game_site = \"kingdome\" AND date = \"october 13, 1991\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the census division for the city named Kenora?\n\n### Context:\nCREATE TABLE table_21284653_1 (census_division VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT census_division FROM table_21284653_1 WHERE name = \"Kenora\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Railway number(s) has a Year(s) of manufacture of 1899\u20131907?\n\n### Context:\nCREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = \"1899\u20131907\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Result, when Date is \"2000-05-23\"?\n\n### Context:\nCREATE TABLE table_name_57 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_57 WHERE date = \"2000-05-23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the college/junior club team for john campbell\n\n### Context:\nCREATE TABLE table_1965650_3 (college_junior_club_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_1965650_3 WHERE player = \"John Campbell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the rangers' record on Game 14?\n\n### Context:\nCREATE TABLE table_name_44 (record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_44 WHERE game = 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa?\n\n### Context:\nCREATE TABLE table_name_64 (frequency VARCHAR, voltage VARCHAR, part_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_64 WHERE voltage = \"1.6v\" AND part_number_s_ = \"kp80524kx300256kc80524kx300256pmg30002002aa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the pick of the guard position player?\n\n### Context:\nCREATE TABLE table_name_99 (pick INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pick) FROM table_name_99 WHERE position = \"guard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Anna Khlistunova's Nationality?\n\n### Context:\nCREATE TABLE table_name_20 (nationality VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_20 WHERE name = \"anna khlistunova\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which song was the score 6.5 + 6.0 + 6.0 + 5.5 = 24.0?\n\n### Context:\nCREATE TABLE table_name_25 (song VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_name_25 WHERE score = 6.5 + 6.0 + 6.0 + 5.5 = 24.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many overalls has 1 combined and 24 downhills?\n\n### Context:\nCREATE TABLE table_name_9 (overall VARCHAR, combined VARCHAR, downhill VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall FROM table_name_9 WHERE combined = \"1\" AND downhill = \"24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Mark, when Lane is less than 5, and when React is 0.217?\n\n### Context:\nCREATE TABLE table_name_88 (mark VARCHAR, lane VARCHAR, react VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mark FROM table_name_88 WHERE lane < 5 AND react = 0.217"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the different nationalities and the number of journalists of each nationality.\n\n### Context:\nCREATE TABLE journalist (Nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Nationality, COUNT(*) FROM journalist GROUP BY Nationality"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many appearances did Gary Depalma make when he scored less than 30 goals?\n\n### Context:\nCREATE TABLE table_name_75 (appearances VARCHAR, goals VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT appearances FROM table_name_75 WHERE goals < 30 AND name = \"gary depalma\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result for Thirst in 2010 at the Green Globe Film Awards?\n\n### Context:\nCREATE TABLE table_name_91 (result VARCHAR, group VARCHAR, film_series VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_91 WHERE film_series = \"thirst\" AND year = 2010 AND group = \"green globe film awards\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat kansas vs. that has w 2 as the current streak, and 31 as games played?\n\n### Context:\nCREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kansas_state_vs FROM table_name_85 WHERE current_streak = \"w 2\" AND games_played = \"31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat F Player was previously with the New York Knicks?\n\n### Context:\nCREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_73 WHERE pos = \"f\" AND previous_team = \"new york knicks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho lost with a time of 2:42?\n\n### Context:\nCREATE TABLE table_name_9 (loss VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_9 WHERE time = \"2:42\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Result has a Game of game 1?\n\n### Context:\nCREATE TABLE table_name_86 (result VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_86 WHERE game = \"game 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho are the candidates for district new york 10?\n\n### Context:\nCREATE TABLE table_2668347_14 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_2668347_14 WHERE district = \"New York 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the director of the episode written by Russell T Davies and James Moran?\n\n### Context:\nCREATE TABLE table_name_67 (director VARCHAR, writer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_67 WHERE writer = \"russell t davies and james moran\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat horse was shown by with Britta N\u00e4pel and got less than 71.909?\n\n### Context:\nCREATE TABLE table_name_61 (horse VARCHAR, athlete VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT horse FROM table_name_61 WHERE athlete = \"britta n\u00e4pel\" AND result < 71.909"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the Seahawks play when the listed attendance was 61615?\n\n### Context:\nCREATE TABLE table_13258876_2 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_13258876_2 WHERE attendance = 61615"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRetrieve the open and close dates of all the policies associated with the customer whose name contains \"Diana\"\n\n### Context:\nCREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customers_policies (date_opened VARCHAR, date_closed VARCHAR, customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t2.date_opened, t2.date_closed FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name LIKE \"%Diana%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the nationality when the heat is less than 3 and the time is 2:35.31?\n\n### Context:\nCREATE TABLE table_name_81 (nationality VARCHAR, heat VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_81 WHERE heat < 3 AND time = \"2:35.31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the hometown of Cody Zeller?\n\n### Context:\nCREATE TABLE table_name_83 (hometown VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_name_83 WHERE player = \"cody zeller\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bronze medals were won in 1998?\n\n### Context:\nCREATE TABLE table_name_27 (bronze VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bronze FROM table_name_27 WHERE year = \"1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on the September 3 game?\n\n### Context:\nCREATE TABLE table_name_38 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_38 WHERE date = \"september 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0record\u00a0with\u00a0result\u00a0being w 21\u20137\n\n### Context:\nCREATE TABLE table_14951643_1 (record VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_14951643_1 WHERE result = \"W 21\u20137\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years does Our Lady Sacred Heart School, which is state integrated, have?\n\n### Context:\nCREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_47 WHERE authority = \"state integrated\" AND name = \"our lady sacred heart school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the finalist when the winner was First Vienna FC?\n\n### Context:\nCREATE TABLE table_name_83 (finalist VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finalist FROM table_name_83 WHERE winner = \"first vienna fc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf podiums are 26, what's the lowest WChmp?\n\n### Context:\nCREATE TABLE table_name_49 (wchmp INTEGER, podiums VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wchmp) FROM table_name_49 WHERE podiums = 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Player is \"Jeff Maggert\"?\n\n### Context:\nCREATE TABLE table_name_76 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_76 WHERE player = \"jeff maggert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the opening when white is Anand with fewer than 61 moves for a result of \u00bd\u2013\u00bd?\n\n### Context:\nCREATE TABLE table_name_83 (opening VARCHAR, result VARCHAR, white VARCHAR, moves VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opening FROM table_name_83 WHERE white = \"anand\" AND moves < 61 AND result = \"\u00bd\u2013\u00bd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the names of poker players ordered by the final tables made in ascending order.\n\n### Context:\nCREATE TABLE poker_player (People_ID VARCHAR, Final_Table_Made VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Name FROM people AS T1 JOIN poker_player AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Final_Table_Made"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of bonus points when there are 2 drawn and the points against is 599?\n\n### Context:\nCREATE TABLE table_name_83 (bonus_points VARCHAR, drawn VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bonus_points FROM table_name_83 WHERE drawn = \"2\" AND points_against = \"599\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date is Footscray the away team?\n\n### Context:\nCREATE TABLE table_name_59 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_59 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winning team for circuit zolder?\n\n### Context:\nCREATE TABLE table_name_46 (winning_team VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_name_46 WHERE circuit = \"circuit zolder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Launched has Time elapsed of 1991 days (5 yr, 5 mo, 12 d)?\n\n### Context:\nCREATE TABLE table_name_31 (launched VARCHAR, time_elapsed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launched FROM table_name_31 WHERE time_elapsed = \"1991 days (5 yr, 5 mo, 12 d)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had a year entering the league under 2009, located in Bath?\n\n### Context:\nCREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = \"bath\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the player is Marcelo, what is the minimum R?\n\n### Context:\nCREATE TABLE table (r INTEGER, player VARCHAR, Marcelo VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(r) FROM table WHERE player = Marcelo"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has todd hamilton as the player?\n\n### Context:\nCREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_90 WHERE player = \"todd hamilton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the constructor of driver Alexander Wurz?\n\n### Context:\nCREATE TABLE table_name_84 (constructor VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_84 WHERE driver = \"alexander wurz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the manufacturer is Yamaha, and the laps driven were under 32, what's the average of all grid sizes with that criteria?\n\n### Context:\nCREATE TABLE table_name_76 (grid INTEGER, laps VARCHAR, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(grid) FROM table_name_76 WHERE laps < 32 AND manufacturer = \"yamaha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Notes after 1983 have a Position of 18th?\n\n### Context:\nCREATE TABLE table_name_64 (notes VARCHAR, year VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_64 WHERE year > 1983 AND position = \"18th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the term of Bruce Biers Kendall whose hometown is Anchorage?\n\n### Context:\nCREATE TABLE table_name_6 (term VARCHAR, hometown VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT term FROM table_name_6 WHERE hometown = \"anchorage\" AND name = \"bruce biers kendall\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had a qualifying 2 time of 1:01.093?\n\n### Context:\nCREATE TABLE table_name_11 (team VARCHAR, qual_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_11 WHERE qual_2 = \"1:01.093\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen bmw activee is the vehicle type what is the u.s national average electric mix?\n\n### Context:\nCREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, vehicle VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_national_average_electric_mix FROM table_24620684_2 WHERE vehicle = \"BMW ActiveE\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a Pinnacle height of metres (ft) and a Name of azeri tv tower?\n\n### Context:\nCREATE TABLE table_name_37 (country VARCHAR, pinnacle_height VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_37 WHERE pinnacle_height = \"metres (ft)\" AND name = \"azeri tv tower\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average grid that has a Constructor of brm, tony maggs, and a Laps larger than 102?\n\n### Context:\nCREATE TABLE table_name_16 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(grid) FROM table_name_16 WHERE constructor = \"brm\" AND driver = \"tony maggs\" AND laps > 102"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the place that has a census ranking of 1,229 of 5,008?\n\n### Context:\nCREATE TABLE table_name_63 (official_name VARCHAR, census_ranking VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT official_name FROM table_name_63 WHERE census_ranking = \"1,229 of 5,008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Class for the ERP W of more than 2 and the call sign of w223au?\n\n### Context:\nCREATE TABLE table_name_50 (class VARCHAR, erp_w VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_50 WHERE erp_w > 2 AND call_sign = \"w223au\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the publisher of the book titled daughters of an emerald dusk?\n\n### Context:\nCREATE TABLE table_20193855_2 (publisher VARCHAR, book_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT publisher FROM table_20193855_2 WHERE book_title = \"Daughters of an Emerald Dusk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the incumbent for first elected 1958\n\n### Context:\nCREATE TABLE table_1341577_22 (incumbent VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1341577_22 WHERE first_elected = 1958"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent?\n\n### Context:\nCREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT assists FROM table_name_90 WHERE competition = \"k-league\" AND total_gs > 20 AND team = \"pohang steelers\" AND opponent = \"chunnam dragons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the air date of episode 5?\n\n### Context:\nCREATE TABLE table_name_33 (air_date VARCHAR, episode_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT air_date FROM table_name_33 WHERE episode_number = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number has 2008 as the season?\n\n### Context:\nCREATE TABLE table_name_38 (number VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number FROM table_name_38 WHERE season = \"2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Sp of the 2nd Position?\n\n### Context:\nCREATE TABLE table_22265261_1 (sp VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(sp) FROM table_22265261_1 WHERE position = \"2nd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number of games with more than 20 points for the 1976 season?\n\n### Context:\nCREATE TABLE table_name_89 (games VARCHAR, season VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(games) FROM table_name_89 WHERE season = \"1976\" AND points > 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates when Lamar S. Smith was incumbent?\n\n### Context:\nCREATE TABLE table_1341577_44 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341577_44 WHERE incumbent = \"Lamar S. Smith\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?\n\n### Context:\nCREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT szdsz FROM table_name_60 WHERE jobbik = \"5%\" AND fidesz = \"68%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the highest silver for table tennis and bronze more than 0\n\n### Context:\nCREATE TABLE table_name_18 (silver INTEGER, sport VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_18 WHERE sport = \"table tennis\" AND bronze > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points total for san lorenzo?\n\n### Context:\nCREATE TABLE table_14460085_3 (points VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_14460085_3 WHERE team = \"San Lorenzo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen h.264 is 9.0, how much is vp9 ( webm )\n\n### Context:\nCREATE TABLE table_26099252_1 (vp9___webm__ VARCHAR, h264 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vp9___webm__ FROM table_26099252_1 WHERE h264 = \"9.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name is in the number 2 spot when Ethan is in the number 6 spot and Mason is in the number 3 spot?\n\n### Context:\nCREATE TABLE table_name_7 (no_2 VARCHAR, no_6 VARCHAR, no_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_2 FROM table_name_7 WHERE no_6 = \"ethan\" AND no_3 = \"mason\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Social Sec Leeds has Fixtures Sec of n/a, and a General Sec of n/a, and the Season of 2005\u20132006?\n\n### Context:\nCREATE TABLE table_name_23 (social_sec_leeds VARCHAR, season VARCHAR, fixtures_sec VARCHAR, general_sec VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT social_sec_leeds FROM table_name_23 WHERE fixtures_sec = \"n/a\" AND general_sec = \"n/a\" AND season = \"2005\u20132006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich round 5 Grand Prix had Daijiro Hiura at pole position? \n\n### Context:\nCREATE TABLE table_18303274_1 (grand_prix VARCHAR, pole_position VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grand_prix FROM table_18303274_1 WHERE pole_position = \"Daijiro Hiura\" AND round = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the order number for 1960s\n\n### Context:\nCREATE TABLE table_19508635_1 (order__number VARCHAR, theme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT order__number FROM table_19508635_1 WHERE theme = \"1960s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school/club team has a player named Mark Sanford? \n\n### Context:\nCREATE TABLE table_15463188_17 (school_club_team VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_15463188_17 WHERE name = \"Mark Sanford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many circuits had a winning team of #1 patr\u00f3n highcroft racing ang gtc winning team #81 alex job racing ?\n\n### Context:\nCREATE TABLE table_24037660_2 (circuit VARCHAR, lmp_winning_team VARCHAR, gtc_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(circuit) FROM table_24037660_2 WHERE lmp_winning_team = \"#1 Patr\u00f3n Highcroft Racing\" AND gtc_winning_team = \"#81 Alex Job Racing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPoints of 26, and a Rank smaller than 27 had what sum of wins?\n\n### Context:\nCREATE TABLE table_name_82 (wins INTEGER, points VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(wins) FROM table_name_82 WHERE points = 26 AND rank < 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich manufacturer has more than 28 laps and less than 9 grids with jeremy mcwilliams?\n\n### Context:\nCREATE TABLE table_name_53 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_name_53 WHERE laps < 28 AND grid < 9 AND rider = \"jeremy mcwilliams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when Philadelphia was the visitor with a Record of 7\u20134\u20130?\n\n### Context:\nCREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_79 WHERE visitor = \"philadelphia\" AND record = \"7\u20134\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the athlete in the 56kg event having a did not advance in the finals?\n\n### Context:\nCREATE TABLE table_name_65 (athlete VARCHAR, finals VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_65 WHERE finals = \"did not advance\" AND event = \"56kg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the activity that has the most faculty members involved in?\n\n### Context:\nCREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the measure where the yes% is 44.06%?\n\n### Context:\nCREATE TABLE table_256286_39 (description VARCHAR, _percentage_yes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT description FROM table_256286_39 WHERE _percentage_yes = \"44.06%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years have a final score of 6\u20133, 6\u20132?\n\n### Context:\nCREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = \"6\u20133, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Team has a Year of 2000?\n\n### Context:\nCREATE TABLE table_name_45 (team VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_45 WHERE year = 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat record has detroit as the home and mtl. maroons as the visitor?\n\n### Context:\nCREATE TABLE table_name_99 (record VARCHAR, home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_99 WHERE home = \"detroit\" AND visitor = \"mtl. maroons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance?\n\n### Context:\nCREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = \"64,949\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Took Office that has a Party of democrat, under the name of John Hancock\n\n### Context:\nCREATE TABLE table_name_30 (took_office VARCHAR, party VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT took_office FROM table_name_30 WHERE party = \"democrat\" AND name = \"john hancock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is jos\u00e9 mar\u00eda olaz\u00e1bal's country?\n\n### Context:\nCREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_39 WHERE player = \"jos\u00e9 mar\u00eda olaz\u00e1bal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of games played associated with a first game in 1997 and over 0 games drawn?\n\n### Context:\nCREATE TABLE table_name_48 (played INTEGER, first_game VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(played) FROM table_name_48 WHERE first_game = 1997 AND drawn > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode whose original airdate is April 23, 2010?\n\n### Context:\nCREATE TABLE table_26982362_2 (title VARCHAR, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_26982362_2 WHERE original_airdate = \"April 23, 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRecord of 3-3-1 had what lowest game?\n\n### Context:\nCREATE TABLE table_name_81 (game INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_81 WHERE record = \"3-3-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the nationality for Nicholas III?\n\n### Context:\nCREATE TABLE table_name_97 (nationality VARCHAR, elevator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_97 WHERE elevator = \"nicholas iii\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Source has a Clinton of 39% and a Undecided of 7%?\n\n### Context:\nCREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT source FROM table_name_94 WHERE clinton = \"39%\" AND undecided = \"7%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the population and life expectancies in Brazil?\n\n### Context:\nCREATE TABLE country (Population VARCHAR, LifeExpectancy VARCHAR, Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Population, LifeExpectancy FROM country WHERE Name = \"Brazil\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the tournament played on a hard surface and ending with a score of Walkover, who was the Finals opponent?\n\n### Context:\nCREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, surface VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_in_the_final FROM table_name_69 WHERE surface = \"hard\" AND score = \"walkover\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the volume:issue of Sheryl Crow with 3 weeks on top?\n\n### Context:\nCREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = \"3\" AND artist = \"sheryl crow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many frequency figures are given for next station service pattern?\n\n### Context:\nCREATE TABLE table_1612760_1 (frequency__per_hour_ VARCHAR, service_pattern VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(frequency__per_hour_) FROM table_1612760_1 WHERE service_pattern = \"Next station\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all different home cities.\n\n### Context:\nCREATE TABLE driver (home_city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT home_city FROM driver"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is wang li duan cheng located?\n\n### Context:\nCREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_3 WHERE authors = \"wang li duan cheng\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record for the Ko (head kick) method?\n\n### Context:\nCREATE TABLE table_name_24 (record VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_24 WHERE method = \"ko (head kick)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhas is the released date of the memory type ddr2-667?\n\n### Context:\nCREATE TABLE table_name_42 (released VARCHAR, memory_type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT released FROM table_name_42 WHERE memory_type = \"ddr2-667\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the runner-up in the Michelob Light Open at Kingsmill?\n\n### Context:\nCREATE TABLE table_name_93 (runner_s__up VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_s__up FROM table_name_93 WHERE tournament = \"michelob light open at kingsmill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the resale category for the provider NetCologne?\n\n### Context:\nCREATE TABLE table_1773908_3 (resale VARCHAR, provider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT resale FROM table_1773908_3 WHERE provider = \"Netcologne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the world ranking in 2011 having more than 142 countries sampled, and more than a 3 for ranking in Latin America?\n\n### Context:\nCREATE TABLE table_name_87 (world_ranking__1_ VARCHAR, countries_sampled VARCHAR, year_of_publication VARCHAR, ranking_in_latin_america__2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT world_ranking__1_ FROM table_name_87 WHERE year_of_publication = \"2011\" AND ranking_in_latin_america__2_ > 3 AND countries_sampled > 142"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the share of votes in the 2008 (1) election?\n\n### Context:\nCREATE TABLE table_name_99 (share_of_votes VARCHAR, election VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT share_of_votes FROM table_name_99 WHERE election = \"2008 (1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did Goal 24 take place?\n\n### Context:\nCREATE TABLE table_name_76 (date VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_76 WHERE goal = 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were they playing when Bird (1-4) had a loss?\n\n### Context:\nCREATE TABLE table_name_42 (opponent VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_42 WHERE loss = \"bird (1-4)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Claude Harmon's Place?\n\n### Context:\nCREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_37 WHERE player = \"claude harmon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time of the bout that ended in a TKO (strikes)?\n\n### Context:\nCREATE TABLE table_name_83 (time VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_83 WHERE method = \"tko (strikes)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location for a year later than 2012?\n\n### Context:\nCREATE TABLE table_name_82 (location VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_82 WHERE year > 2012"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many students are enrolled in the class taught by some professor from the accounting department?\n\n### Context:\nCREATE TABLE enroll (class_code VARCHAR); CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE course (crs_code VARCHAR, dept_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN course AS T3 ON T1.crs_code = T3.crs_code JOIN department AS T4 ON T3.dept_code = T4.dept_code WHERE T4.dept_name = 'Accounting'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the tournament for kathy horvath opponent\n\n### Context:\nCREATE TABLE table_name_95 (tournament VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_95 WHERE opponent = \"kathy horvath\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent with a points for of 177?\n\n### Context:\nCREATE TABLE table_25229283_4 (opponent VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_25229283_4 WHERE points_for = 177"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Opponent, when Date is 8 April 1999?\n\n### Context:\nCREATE TABLE table_name_18 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_18 WHERE date = \"8 april 1999\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest heat of the Lakeside race?\n\n### Context:\nCREATE TABLE table_name_65 (heat INTEGER, race_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(heat) FROM table_name_65 WHERE race_title = \"lakeside\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nationality is the player from the Philadelphia Flyers?\n\n### Context:\nCREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_1473672_3 WHERE nhl_team = \"Philadelphia Flyers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game attended by 45,000?\n\n### Context:\nCREATE TABLE table_name_73 (opponent_number VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_number FROM table_name_73 WHERE attendance = \"45,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2003 statistic for general cargo?\n\n### Context:\nCREATE TABLE table_name_94 (product VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2003 FROM table_name_94 WHERE product = \"general cargo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team's score at princes park?\n\n### Context:\nCREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_85 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most serial number for feb 1994\n\n### Context:\nCREATE TABLE table_29002641_1 (Serial INTEGER, scrapped VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(Serial) AS number FROM table_29002641_1 WHERE scrapped = \"Feb 1994\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of\u00a0opponent\u00a0where\u00a0date\u00a0is november 23, 1980\n\n### Context:\nCREATE TABLE table_11406866_2 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(opponent) FROM table_11406866_2 WHERE date = \"November 23, 1980\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the min total pts for team dennis conner\n\n### Context:\nCREATE TABLE table_21471897_2 (total_pts INTEGER, team_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total_pts) FROM table_21471897_2 WHERE team_name = \"Team Dennis Conner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silver medals were won by the participant(s) that had more than 12 gold medals and 11 bronze medals?\n\n### Context:\nCREATE TABLE table_name_54 (silver VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_54 WHERE gold > 12 AND bronze = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?\n\n### Context:\nCREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_16 WHERE score = \"3-0\" AND set_3 = \"25-18\" AND set_2 = \"25-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich chemical class uses the example Chloroethane (ethyl chloride)?\n\n### Context:\nCREATE TABLE table_name_90 (chemical_class VARCHAR, example VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chemical_class FROM table_name_90 WHERE example = \"chloroethane (ethyl chloride)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and id of the item with the highest average rating.\n\n### Context:\nCREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rating) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average Rd number for dane jackson with a pick number over 44?\n\n### Context:\nCREATE TABLE table_name_2 (rd__number INTEGER, player VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rd__number) FROM table_name_2 WHERE player = \"dane jackson\" AND pick__number > 44"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat 20-29 was in season 2008?\n\n### Context:\nCREATE TABLE table_name_69 (season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 20 AS _29 FROM table_name_69 WHERE season = \"2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2010 of the Grand Slam Tournaments in 2011?\n\n### Context:\nCREATE TABLE table_name_66 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_66 WHERE 2011 = \"grand slam tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest number of goals for a game held at Hannover?\n\n### Context:\nCREATE TABLE table_name_27 (goal INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goal) FROM table_name_27 WHERE venue = \"hannover\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many opponents are at Minnesota Vikings?\n\n### Context:\nCREATE TABLE table_18847736_2 (opponents INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(opponents) FROM table_18847736_2 WHERE opponent = \"at Minnesota Vikings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team at Gold Coast Convention Centre?\n\n### Context:\nCREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_8 WHERE venue = \"gold coast convention centre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the surface when the round is gii play-offs and the edition is 2009 fed cup europe/africa group ii?\n\n### Context:\nCREATE TABLE table_name_65 (surface VARCHAR, round VARCHAR, edition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_65 WHERE round = \"gii play-offs\" AND edition = \"2009 fed cup europe/africa group ii\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponent has a Type of ud and a Round of 10 on 2008-06-11?\n\n### Context:\nCREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_65 WHERE type = \"ud\" AND round = \"10\" AND date = \"2008-06-11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a Score of 69-74=143?\n\n### Context:\nCREATE TABLE table_name_66 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_66 WHERE score = 69 - 74 = 143"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on clay surface when partnered with Horacio Zeballos?\n\n### Context:\nCREATE TABLE table_name_23 (opponents VARCHAR, surface VARCHAR, partnering VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_name_23 WHERE surface = \"clay\" AND partnering = \"horacio zeballos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Year, when Start is \"11\"?\n\n### Context:\nCREATE TABLE table_name_42 (year INTEGER, start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_42 WHERE start = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the whole of Drawn that has a Lost of 4?\n\n### Context:\nCREATE TABLE table_name_33 (drawn INTEGER, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(drawn) FROM table_name_33 WHERE lost = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the game played at the Delta Center?\n\n### Context:\nCREATE TABLE table_name_9 (date VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_9 WHERE location = \"delta center\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat chassis did Gordon Johncock use with his cosworth engine?\n\n### Context:\nCREATE TABLE table_name_73 (chassis VARCHAR, engine VARCHAR, drivers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_73 WHERE engine = \"cosworth\" AND drivers = \"gordon johncock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total score / week of the contestant who placed in the bottom 2 on august 14?\n\n### Context:\nCREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total_score_week FROM table_18278508_6 WHERE date_performed = \"August 14\" AND position = \"Bottom 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the D 46 \u221a with a D 41 \u221a with d 38 \u221a?\n\n### Context:\nCREATE TABLE table_name_94 (d_46_\u221a VARCHAR, d_41_\u221a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_46_\u221a FROM table_name_94 WHERE d_41_\u221a = \"d 38 \u221a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest amount of laps when the class was v8 and the entrant was diet-coke racing?\n\n### Context:\nCREATE TABLE table_name_13 (laps INTEGER, class VARCHAR, entrant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_13 WHERE class = \"v8\" AND entrant = \"diet-coke racing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the college for dl\n\n### Context:\nCREATE TABLE table_28059992_2 (college VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_28059992_2 WHERE position = \"DL\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the To Par that has Tommy Bolt with a Place of t6?\n\n### Context:\nCREATE TABLE table_name_6 (to_par VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_6 WHERE place = \"t6\" AND player = \"tommy bolt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Opponent Team is Belgium, and when Opponent is Kirsten Flipkens?\n\n### Context:\nCREATE TABLE table_name_83 (score VARCHAR, opponent_team VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_83 WHERE opponent_team = \"belgium\" AND opponent = \"kirsten flipkens\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team when the Tie no is 1?\n\n### Context:\nCREATE TABLE table_name_32 (home_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_32 WHERE tie_no = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many number of screenings have an opening film of the journey of vaan nguyen?\n\n### Context:\nCREATE TABLE table_18220102_1 (number_of_screening VARCHAR, opening_film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(number_of_screening) FROM table_18220102_1 WHERE opening_film = \"The Journey of Vaan Nguyen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich institutions can be categorized as private/united church of christ?\n\n### Context:\nCREATE TABLE table_261895_1 (institution VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT institution FROM table_261895_1 WHERE type = \"Private/United Church of Christ\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum number of games when the season is more recent than 2001 and the average is less than 10,838?\n\n### Context:\nCREATE TABLE table_name_90 (games INTEGER, season VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(games) FROM table_name_90 WHERE season > 2001 AND average < 10 OFFSET 838"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many airports are there in each country?\n\n### Context:\nCREATE TABLE airport (country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*), country FROM airport GROUP BY country"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat group info is available for the 56.5 kg weight?\n\n### Context:\nCREATE TABLE table_1358608_2 (group VARCHAR, weight__kg_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT group FROM table_1358608_2 WHERE weight__kg_ = \"56.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Extras for Farveez Maharoof, with more than 4 wickets?\n\n### Context:\nCREATE TABLE table_name_79 (extras INTEGER, name VARCHAR, wickets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(extras) FROM table_name_79 WHERE name = \"farveez maharoof\" AND wickets > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the 1986 FIFA World Cup?\n\n### Context:\nCREATE TABLE table_name_19 (date VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_19 WHERE competition = \"1986 fifa world cup\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of laps in 1949?\n\n### Context:\nCREATE TABLE table_name_15 (laps INTEGER, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(laps) FROM table_name_15 WHERE year = \"1949\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the N117/2400 IEC3 associated with an N100IEC3 of 25?\n\n### Context:\nCREATE TABLE table_name_10 (n117_2400_iec3 VARCHAR, n100_iec3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT n117_2400_iec3 FROM table_name_10 WHERE n100_iec3 = \"25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich governor took office on January 8, 1877?\n\n### Context:\nCREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT governor FROM table_name_88 WHERE took_office = \"january 8, 1877\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date during week 13?\n\n### Context:\nCREATE TABLE table_name_70 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_70 WHERE week = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat 1957 engine has a Chassis of connaught type b?\n\n### Context:\nCREATE TABLE table_name_71 (engine VARCHAR, chassis VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_71 WHERE chassis = \"connaught type b\" AND year > 1957"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWha is the rank for 52 574 avg. att?\n\n### Context:\nCREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_49 WHERE avgatt = \"52 574\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat format was used for Mobil 1?\n\n### Context:\nCREATE TABLE table_name_21 (format VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_21 WHERE catalog = \"mobil 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country does charles coody play for?\n\n### Context:\nCREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_21 WHERE player = \"charles coody\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat consoles was Shenmue released on?\n\n### Context:\nCREATE TABLE table_12887260_1 (console VARCHAR, franchise_or_game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT console FROM table_12887260_1 WHERE franchise_or_game = \"Shenmue\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much freedom can did the people of Guinea experience in 2013?\n\n### Context:\nCREATE TABLE table_1604579_2 (freedom_in_the_world_2013 VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT freedom_in_the_world_2013 FROM table_1604579_2 WHERE country = \"Guinea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Team (B), when S No is greater than 17?\n\n### Context:\nCREATE TABLE table_name_10 (team__b_ VARCHAR, s_no INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT team__b_ FROM table_name_10 WHERE s_no > 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat stroke has a max power of 109 ps(80kw)@4000 rpm?\n\n### Context:\nCREATE TABLE table_name_39 (stroke VARCHAR, max_power VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stroke FROM table_name_39 WHERE max_power = \"109 ps(80kw)@4000 rpm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the positions for the rockets in 2008?\n\n### Context:\nCREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_11734041_7 WHERE years_for_rockets = \"2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high grid for osella - alfa romeo, and a Laps larger than 61?\n\n### Context:\nCREATE TABLE table_name_56 (grid INTEGER, constructor VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(grid) FROM table_name_56 WHERE constructor = \"osella - alfa romeo\" AND laps > 61"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what Year was 1st Division El Salvador with a Finish of Champion and a Team of Fas?\n\n### Context:\nCREATE TABLE table_name_83 (year VARCHAR, team VARCHAR, tournament VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_83 WHERE tournament = \"1st division el salvador\" AND finish = \"champion\" AND team = \"fas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of gold medals Switzerland received when they ranked larger than 1st and received fewer than 10 bronze medals and more than 1 silver medal?\n\n### Context:\nCREATE TABLE table_name_90 (gold INTEGER, silver VARCHAR, nation VARCHAR, total VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_90 WHERE total > 1 AND bronze < 10 AND nation = \"switzerland\" AND silver > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nVoivodeship or city of nowogr\u00f3dzkie has what capital?\n\n### Context:\nCREATE TABLE table_name_75 (capital VARCHAR, voivodeship_or_city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capital FROM table_name_75 WHERE voivodeship_or_city = \"nowogr\u00f3dzkie\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the diameter (km) of longitude 170.1e\n\n### Context:\nCREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT diameter__km_ FROM table_16799784_7 WHERE longitude = \"170.1E\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode with a production code of ad1b04?\n\n### Context:\nCREATE TABLE table_name_50 (title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_50 WHERE production_code = \"ad1b04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the result for the category of best actor in a supporting role?\n\n### Context:\nCREATE TABLE table_name_34 (result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_34 WHERE category = \"best actor in a supporting role\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total for the year (s) won in 1977?\n\n### Context:\nCREATE TABLE table_name_99 (total VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_99 WHERE year_s__won = \"1977\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of points of the game before game 2 before October 10?\n\n### Context:\nCREATE TABLE table_name_18 (points INTEGER, october VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_18 WHERE october < 10 AND game < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the Izmir Cup in which \u0130lhan played against Somdev Devvarman?\n\n### Context:\nCREATE TABLE table_name_35 (date VARCHAR, tournament VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_35 WHERE tournament = \"izmir cup\" AND opponent = \"somdev devvarman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Championship Game that has 4 Bids and a .600 Win %?\n\n### Context:\nCREATE TABLE table_name_40 (championship_game VARCHAR, _number_of_bids VARCHAR, win__percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship_game FROM table_name_40 WHERE _number_of_bids = 4 AND win__percentage = \".600\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total laps were ridden when the grid was 7 and the rider rode the Honda CBR600RR?\n\n### Context:\nCREATE TABLE table_name_96 (laps INTEGER, bike VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_96 WHERE bike = \"honda cbr600rr\" AND grid = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was there a game at Kardinia Park?\n\n### Context:\nCREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_78 WHERE venue = \"kardinia park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Gary Player's highest total when his To par was over 15?\n\n### Context:\nCREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_name_41 WHERE player = \"gary player\" AND to_par > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT POSITION HAS A PICK SMALLER THAN 33, AND PLAYER BEING DARRELL ARTHUR?\n\n### Context:\nCREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_67 WHERE pick < 33 AND player = \"darrell arthur\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nshow the train name and station name for each train.\n\n### Context:\nCREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR, train_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name, T3.name FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id JOIN train AS T3 ON T3.train_id = T1.train_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many vehicle thefts data were recorded if forcible rape is 1232?\n\n### Context:\nCREATE TABLE table_26060884_2 (vehicle_theft VARCHAR, forcible_rape VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(vehicle_theft) FROM table_26060884_2 WHERE forcible_rape = 1232"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Away, when Home is \"marathon\"?\n\n### Context:\nCREATE TABLE table_name_14 (away VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_14 WHERE home = \"marathon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the season number of the episode seen by 10.11 million people in the US?\n\n### Context:\nCREATE TABLE table_19995378_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_season FROM table_19995378_1 WHERE us_viewers__millions_ = \"10.11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Winner for the City of Loutraki?\n\n### Context:\nCREATE TABLE table_name_65 (winner VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_65 WHERE city = \"loutraki\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when 7260 people attended the game?\n\n### Context:\nCREATE TABLE table_20745746_1 (score VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_20745746_1 WHERE attendance = 7260"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat positions were drafted from Las Vegas, NV?\n\n### Context:\nCREATE TABLE table_11677100_16 (position VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_11677100_16 WHERE hometown = \"Las Vegas, NV\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the Election of 1953?\n\n### Context:\nCREATE TABLE table_name_46 (date VARCHAR, election VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_46 WHERE election = \"1953\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the game larger than 57 with a Record of 4\u201355?\n\n### Context:\nCREATE TABLE table_name_15 (score VARCHAR, game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_15 WHERE game > 57 AND record = \"4\u201355\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen are end dates (last night) for the season of 1918?\n\n### Context:\nCREATE TABLE table_159359_2 (end_date__last_night_ VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT end_date__last_night_ FROM table_159359_2 WHERE season = \"1918\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the sum of money ($) that angela park has won?\n\n### Context:\nCREATE TABLE table_name_99 (money___ INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(money___) AS $__ FROM table_name_99 WHERE player = \"angela park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the data point for s hindu where the buddhist data point is 73.0%?\n\n### Context:\nCREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(s_hindu) FROM table_14598_5 WHERE buddhist = \"73.0%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the january 15-16 where march 27-29 where march 29, 2006\n\n### Context:\nCREATE TABLE table_1708610_3 (january_15_16 VARCHAR, march_27_29 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT january_15_16 FROM table_1708610_3 WHERE march_27_29 = \"March 29, 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the attendance at TD Garden 18,624?\n\n### Context:\nCREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_23274514_8 WHERE location_attendance = \"TD Garden 18,624\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Alexander Wronski's Position?\n\n### Context:\nCREATE TABLE table_name_31 (position VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_31 WHERE name = \"alexander wronski\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates if the incumbent was Henry Logan?\n\n### Context:\nCREATE TABLE table_2668173_4 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_2668173_4 WHERE incumbent = \"Henry Logan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many parties were represented for Charles R. Crisp?\n\n### Context:\nCREATE TABLE table_1342370_10 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1342370_10 WHERE incumbent = \"Charles R. Crisp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the college when the over is larger than 15 in round 7?\n\n### Context:\nCREATE TABLE table_name_41 (college VARCHAR, overall VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_41 WHERE overall > 15 AND round = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich gender makes up the majority of the staff?\n\n### Context:\nCREATE TABLE staff (gender VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gender FROM staff GROUP BY gender ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country had notes of sa/b and a rank of 2?\n\n### Context:\nCREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_7 WHERE notes = \"sa/b\" AND rank = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the loss of ponson (4\u20133)?\n\n### Context:\nCREATE TABLE table_name_68 (date VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_68 WHERE loss = \"ponson (4\u20133)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the points total for the team with points average more than 34, 1984 score more than 37 and N/A in 1982?\n\n### Context:\nCREATE TABLE table_name_99 (total_points VARCHAR, points_average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_points) FROM table_name_99 WHERE 1982 = \"n/a\" AND points_average > 34 AND 1984 > 37"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the womens doubles when mens doubles is charalambos kazilas stepan partemian\n\n### Context:\nCREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = \"Charalambos Kazilas Stepan Partemian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nationality does Florida Tech have?\n\n### Context:\nCREATE TABLE table_name_1 (nationality VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_1 WHERE school = \"florida tech\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOf the games that sold 321,000 units in the UK, what is their average place?\n\n### Context:\nCREATE TABLE table_name_86 (place INTEGER, units_sold_in_the_uk VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(place) FROM table_name_86 WHERE units_sold_in_the_uk = \"321,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the Bulgarian Victory at the Battle of Arcadiopolis?\n\n### Context:\nCREATE TABLE table_name_55 (date VARCHAR, result VARCHAR, battle VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_55 WHERE result = \"bulgarian victory\" AND battle = \"battle of arcadiopolis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the value when the british name is maxima?\n\n### Context:\nCREATE TABLE table_name_40 (value VARCHAR, british_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT value FROM table_name_40 WHERE british_name = \"maxima\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere has Jimmy Demaret as a player?\n\n### Context:\nCREATE TABLE table_name_94 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_94 WHERE player = \"jimmy demaret\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance at the game that had a loss of Crabtree (0-1)?\n\n### Context:\nCREATE TABLE table_name_34 (attendance VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_34 WHERE loss = \"crabtree (0-1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Career with the franchise [b ], when Previous Team is \"New Jersey Nets\"?\n\n### Context:\nCREATE TABLE table_name_68 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = \"new jersey nets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the tournament for 2006 of a, 1996 of 1r and 2004 of 1r\n\n### Context:\nCREATE TABLE table_name_68 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_68 WHERE 2006 = \"a\" AND 1996 = \"1r\" AND 2004 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many airports are there per city in the United States? Order the cities by decreasing number of airports.\n\n### Context:\nCREATE TABLE airports (city VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*), city FROM airports WHERE country = 'United States' GROUP BY city ORDER BY COUNT(*) DESC"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the genre for the hot fm station?\n\n### Context:\nCREATE TABLE table_1601792_3 (genre VARCHAR, station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_1601792_3 WHERE station = \"Hot FM\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many authors or editors are there for the book title elf child?\n\n### Context:\nCREATE TABLE table_20193855_2 (author_s__or_editor_s_ VARCHAR, book_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(author_s__or_editor_s_) FROM table_20193855_2 WHERE book_title = \"Elf Child\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Country, when the Transfer fee is \"loan\", and when the Name is Lynch?\n\n### Context:\nCREATE TABLE table_name_94 (country VARCHAR, transfer_fee VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_94 WHERE transfer_fee = \"loan\" AND name = \"lynch\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the first appearance when Chad Williams is a portrayal?\n\n### Context:\nCREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_appearance FROM table_name_26 WHERE portrayed_by = \"chad williams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did Ray Graves attend?\n\n### Context:\nCREATE TABLE table_name_2 (college VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_2 WHERE name = \"ray graves\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when they played against San Antonio?\n\n### Context:\nCREATE TABLE table_15869204_7 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_15869204_7 WHERE team = \"San Antonio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAt which location did 29753 fans show up to watch the game?\n\n### Context:\nCREATE TABLE table_24481478_1 (game_site VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_site FROM table_24481478_1 WHERE attendance = 29753"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least value for week?\n\n### Context:\nCREATE TABLE table_23916462_3 (week INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_23916462_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location and attendance when lebron james (10) had the high assists?\n\n### Context:\nCREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_27713030_16 WHERE high_assists = \"LeBron James (10)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the score when the team is @ cleveland?\n\n### Context:\nCREATE TABLE table_name_20 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_20 WHERE team = \"@ cleveland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country does robert allenby represent?\n\n### Context:\nCREATE TABLE table_18862490_2 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_18862490_2 WHERE player = \"Robert Allenby\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of Byes when there are more than 2 wins and 1946 against?\n\n### Context:\nCREATE TABLE table_name_3 (byes INTEGER, against VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(byes) FROM table_name_3 WHERE against = 1946 AND wins > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Winner, when Location is Connie Mack Stadium, and when Year is 1946?\n\n### Context:\nCREATE TABLE table_name_98 (winner VARCHAR, location VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_98 WHERE location = \"connie mack stadium\" AND year = 1946"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many ranks have a rebound average smaller than 6.1?\n\n### Context:\nCREATE TABLE table_name_27 (rank VARCHAR, reb_avg INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_27 WHERE reb_avg < 6.1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home captain at Sydney Cricket Ground?\n\n### Context:\nCREATE TABLE table_name_34 (home_captain VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_captain FROM table_name_34 WHERE venue = \"sydney cricket ground\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of total with finish of t45\n\n### Context:\nCREATE TABLE table_name_7 (total VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_7 WHERE finish = \"t45\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the greatest B score when the A score was less than 6.5?\n\n### Context:\nCREATE TABLE table_name_4 (b_score INTEGER, a_score INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(b_score) FROM table_name_4 WHERE a_score < 6.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Status does Freddie Jackson have?\n\n### Context:\nCREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_32 WHERE artist = \"freddie jackson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe competition located in Northampton had a resulting score of what?\n\n### Context:\nCREATE TABLE table_name_75 (score VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_75 WHERE location = \"northampton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the highest game against the New York Rangers with more than 55 points?\n\n### Context:\nCREATE TABLE table_name_16 (game INTEGER, opponent VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_16 WHERE opponent = \"new york rangers\" AND points > 55"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich caps was in scotland in 1920\u20131923?\n\n### Context:\nCREATE TABLE table_name_20 (caps VARCHAR, scotland_career VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT caps FROM table_name_20 WHERE scotland_career = \"1920\u20131923\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the To par score for the tournament with a margin of victory of 1 stroke?\n\n### Context:\nCREATE TABLE table_name_44 (to_par VARCHAR, margin_of_victory VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_44 WHERE margin_of_victory = \"1 stroke\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat counties mascot are the Red Ramblers?\n\n### Context:\nCREATE TABLE table_name_85 (county VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_name_85 WHERE mascot = \"red ramblers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was the game on February 27 played against?\n\n### Context:\nCREATE TABLE table_22879323_8 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_22879323_8 WHERE date = \"February 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the result with week of 16\n\n### Context:\nCREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_72 WHERE week = \"16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the producer of city sharks?\n\n### Context:\nCREATE TABLE table_name_57 (producer VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT producer FROM table_name_57 WHERE title = \"city sharks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nLoss of schrom happened on what date?\n\n### Context:\nCREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_39 WHERE loss = \"schrom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow origins of all flights with destination Honolulu.\n\n### Context:\nCREATE TABLE Flight (origin VARCHAR, destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT origin FROM Flight WHERE destination = \"Honolulu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Land area (km\u00b2) has a Population density (per km\u00b2) larger than 112.6, and a Population (2006) larger than 785, and a Name of pinehouse?\n\n### Context:\nCREATE TABLE table_name_12 (land_area__km\u00b2_ INTEGER, name VARCHAR, population_density__per_km\u00b2_ VARCHAR, population__2006_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(land_area__km\u00b2_) FROM table_name_12 WHERE population_density__per_km\u00b2_ > 112.6 AND population__2006_ > 785 AND name = \"pinehouse\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score vs. all when the score vs. Terran is 159?\n\n### Context:\nCREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vs_all FROM table_name_72 WHERE vs_terran = \"159\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and price of the product that has been ordered the greatest number of times.\n\n### Context:\nCREATE TABLE products (product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE regular_order_products (product_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.product_name, t1.product_price FROM products AS t1 JOIN regular_order_products AS t2 ON t1.product_id = t2.product_id GROUP BY t2.product_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0doubles w-l\u00a0for player\u00a0seol jae-min (none)\n\n### Context:\nCREATE TABLE table_10023387_1 (doubles_w_l VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT doubles_w_l FROM table_10023387_1 WHERE player = \"Seol Jae-Min (none)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the high points when the score was w 112-110?\n\n### Context:\nCREATE TABLE table_27902171_7 (high_points VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_27902171_7 WHERE score = \"W 112-110\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most number of families in regions where average family size is 2.7?\n\n### Context:\nCREATE TABLE table_16048129_5 (number_of_families INTEGER, average_family_size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_families) FROM table_16048129_5 WHERE average_family_size = \"2.7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the rank of Igor Rako\u010devi\u0107 of Tau Cer\u00e1mica with more than 377 points?\n\n### Context:\nCREATE TABLE table_name_87 (rank INTEGER, points VARCHAR, team VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_87 WHERE team = \"tau cer\u00e1mica\" AND name = \"igor rako\u010devi\u0107\" AND points > 377"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCOunt the EBIT (US $m) which has a Revenue (US $million) larger than 434.8 and a Net profit (US $m) larger than 96.4?\n\n### Context:\nCREATE TABLE table_name_35 (ebit__us_ VARCHAR, revenue__us_$million_ VARCHAR, net_profit__us_$m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(ebit__us_) AS $m_ FROM table_name_35 WHERE revenue__us_$million_ > 434.8 AND net_profit__us_$m_ > 96.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich rank is above floor 47?\n\n### Context:\nCREATE TABLE table_name_83 (rank VARCHAR, floors INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_83 WHERE floors > 47"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nation had more than 97 Gold Medals and fewer than 332 Silver Medals?\n\n### Context:\nCREATE TABLE table_name_34 (total INTEGER, gold VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_34 WHERE gold > 97 AND silver < 332"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years premiered have Sa Beining as main presenter?\n\n### Context:\nCREATE TABLE table_24224647_2 (year_premiered VARCHAR, main_presenter VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year_premiered) FROM table_24224647_2 WHERE main_presenter = \"Sa Beining\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all the image name and URLs in the order of their names.\n\n### Context:\nCREATE TABLE images (image_name VARCHAR, image_url VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT image_name, image_url FROM images ORDER BY image_name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich English has a Sanskrit of sam\u0101dhi?\n\n### Context:\nCREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english FROM table_name_42 WHERE sanskrit = \"sam\u0101dhi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the High points with a Score that is l 64\u201394 (ot)?\n\n### Context:\nCREATE TABLE table_name_73 (high_points VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_name_73 WHERE score = \"l 64\u201394 (ot)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the saka era for sign of zodiac being pisces\n\n### Context:\nCREATE TABLE table_169955_1 (saka_era VARCHAR, sign_of_zodiac VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT saka_era FROM table_169955_1 WHERE sign_of_zodiac = \"Pisces\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the home team when the venue is Junction Oval?\n\n### Context:\nCREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_96 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player went to the college of Western Washington?\n\n### Context:\nCREATE TABLE table_name_84 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_84 WHERE college = \"western washington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many nationalities are the pick 193?\n\n### Context:\nCREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time of the race that was on a grid smaller than 9 with jeremy mcwilliams as the rider doing 21 laps?\n\n### Context:\nCREATE TABLE table_name_80 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_80 WHERE grid < 9 AND laps = 21 AND rider = \"jeremy mcwilliams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the first week when there was an attendance over 75,007 at Mile High Stadium?\n\n### Context:\nCREATE TABLE table_name_21 (week INTEGER, game_site VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_21 WHERE game_site = \"mile high stadium\" AND attendance > 75 OFFSET 007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest acc percent score in the competition?\n\n### Context:\nCREATE TABLE basketball_match (acc_percent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT acc_percent FROM basketball_match ORDER BY acc_percent DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName all the candidates vying for Albert Bustamante's seat.\n\n### Context:\nCREATE TABLE table_1341586_44 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341586_44 WHERE incumbent = \"Albert Bustamante\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was time of the game against the Royals with a record of 81\u201373?\n\n### Context:\nCREATE TABLE table_name_4 (time VARCHAR, opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_4 WHERE opponent = \"royals\" AND record = \"81\u201373\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result for the contestant whose background was as a business major?\n\n### Context:\nCREATE TABLE table_19810459_1 (result VARCHAR, background VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_19810459_1 WHERE background = \"Business major\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat entrant has osella fa1c chassis after 1981?\n\n### Context:\nCREATE TABLE table_name_60 (entrant VARCHAR, year VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_60 WHERE year > 1981 AND chassis = \"osella fa1c\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2\n\n### Context:\nCREATE TABLE table_name_80 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_25 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 1997, when 1996 is \"1R\", when 1990 is \"2R\", and when 1991 is \"F\"?\n\n### Context:\nCREATE TABLE table_name_63 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1997 FROM table_name_63 WHERE 1996 = \"1r\" AND 1990 = \"2r\" AND 1991 = \"f\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a January larger than 21, and Points of 63?\n\n### Context:\nCREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_18 WHERE january > 21 AND points = 63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the open 1st viii with u15 6th iv being bgs\n\n### Context:\nCREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = \"BGS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich classes have more than two captains?\n\n### Context:\nCREATE TABLE captain (CLASS VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT CLASS FROM captain GROUP BY CLASS HAVING COUNT(*) > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent in the game that had an attendance of 60,066?\n\n### Context:\nCREATE TABLE table_name_30 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_30 WHERE attendance = \"60,066\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Avg/G has a Name of josh freeman, and a Loss smaller than 134?\n\n### Context:\nCREATE TABLE table_name_59 (avg_g INTEGER, name VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(avg_g) FROM table_name_59 WHERE name = \"josh freeman\" AND loss < 134"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rounds did rider Mika Kallio with a Ducati constructor have?\n\n### Context:\nCREATE TABLE table_name_63 (rounds VARCHAR, constructor VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rounds FROM table_name_63 WHERE constructor = \"ducati\" AND rider = \"mika kallio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich charts had debut sales of 101976?\n\n### Context:\nCREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Set 2 is 25-13?\n\n### Context:\nCREATE TABLE table_name_29 (date VARCHAR, set_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_29 WHERE set_2 = \"25-13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the scores for michael buerk and russell howard\n\n### Context:\nCREATE TABLE table_23575917_2 (scores VARCHAR, lees_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT scores FROM table_23575917_2 WHERE lees_team = \"Michael Buerk and Russell Howard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year has more than 0 points?\n\n### Context:\nCREATE TABLE table_name_56 (year VARCHAR, points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_56 WHERE points > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has a reported death of 6 march 1998?\n\n### Context:\nCREATE TABLE table_name_63 (name VARCHAR, reported_death_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_63 WHERE reported_death_date = \"6 march 1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's listed for the Turnout % with a Ngilu of 30,535?\n\n### Context:\nCREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT turnout__percentage FROM table_name_32 WHERE ngilu = \"30,535\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Second, when Total is less than 70, when Premier is less than 20, and when First is greater than 18?\n\n### Context:\nCREATE TABLE table_name_1 (second INTEGER, first VARCHAR, total VARCHAR, premier VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(second) FROM table_name_1 WHERE total < 70 AND premier < 20 AND first > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the names of wrestlers that have not been eliminated.\n\n### Context:\nCREATE TABLE elimination (Name VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM wrestler WHERE NOT Wrestler_ID IN (SELECT Wrestler_ID FROM elimination)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the themes of parties and the names of the party hosts.\n\n### Context:\nCREATE TABLE HOST (Name VARCHAR, Host_ID VARCHAR); CREATE TABLE party_host (Host_ID VARCHAR, Party_ID VARCHAR); CREATE TABLE party (Party_Theme VARCHAR, Party_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.Party_Theme, T2.Name FROM party_host AS T1 JOIN HOST AS T2 ON T1.Host_ID = T2.Host_ID JOIN party AS T3 ON T1.Party_ID = T3.Party_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich race is located in kyalami?\n\n### Context:\nCREATE TABLE table_1140073_2 (race VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_1140073_2 WHERE location = \"Kyalami\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episoe number in the season originally aired on February 11, 1988?\n\n### Context:\nCREATE TABLE table_2818164_5 (no_in_season VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_season FROM table_2818164_5 WHERE original_air_date = \"February 11, 1988\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Third has a Second of scott pfeifer?\n\n### Context:\nCREATE TABLE table_name_29 (third VARCHAR, second VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third FROM table_name_29 WHERE second = \"scott pfeifer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the match played in Victoria Park?\n\n### Context:\nCREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_78 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE AWAY TEAM WHEN HOME IS LEEDS UNITED?\n\n### Context:\nCREATE TABLE table_name_44 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_44 WHERE home_team = \"leeds united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Visitor of atlanta?\n\n### Context:\nCREATE TABLE table_name_72 (score VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_72 WHERE visitor = \"atlanta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind names of all colleges whose enrollment is greater than that of all colleges in the FL state.\n\n### Context:\nCREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cName FROM college WHERE enr > (SELECT MAX(enr) FROM college WHERE state = 'FL')"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the speeds of the longest roller coaster?\n\n### Context:\nCREATE TABLE roller_coaster (Speed VARCHAR, LENGTH VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Speed FROM roller_coaster ORDER BY LENGTH DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school has a decile of 8 and a roll of 705?\n\n### Context:\nCREATE TABLE table_name_27 (name VARCHAR, decile VARCHAR, roll VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_27 WHERE decile = 8 AND roll = 705"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every year where opponent in the final is John Mcenroe at Wimbledon?\n\n### Context:\nCREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_23235767_1 WHERE opponent_in_the_final = \"John McEnroe\" AND championship = \"Wimbledon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDate of october 8 happened at what time?\n\n### Context:\nCREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_1 WHERE date = \"october 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the party of the youngest people?\n\n### Context:\nCREATE TABLE people (Party VARCHAR, Age VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Party FROM people ORDER BY Age LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich location names contain the word \"film\"?\n\n### Context:\nCREATE TABLE LOCATIONS (Location_Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Location_Name FROM LOCATIONS WHERE Location_Name LIKE \"%film%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score when the player was an e to par?\n\n### Context:\nCREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_97 WHERE to_par = \"e\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of gentle personalities?\n\n### Context:\nCREATE TABLE table_1912713_2 (\u65b9\u4f4d_direction VARCHAR, \u6027\u60c5_personality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(\u65b9\u4f4d_direction) FROM table_1912713_2 WHERE \u6027\u60c5_personality = \"Gentle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the school where the year of last win is 1985-86?\n\n### Context:\nCREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_14286908_1 WHERE year_of_last_win = \"1985-86\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank for less than 6 plays?\n\n### Context:\nCREATE TABLE table_name_47 (rank INTEGER, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_47 WHERE played < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the preliminary average for utah\n\n### Context:\nCREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT preliminary_average FROM table_name_34 WHERE state = \"utah\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was recruited from Calgary?\n\n### Context:\nCREATE TABLE table_name_34 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_34 WHERE college = \"calgary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team completed 10 races?\n\n### Context:\nCREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_name FROM table_name_92 WHERE races = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college or club did the round 9 draft pick from Canada come from?\n\n### Context:\nCREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_11 WHERE round = 9 AND nationality = \"canada\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game played in front of 65,473?\n\n### Context:\nCREATE TABLE table_name_19 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_19 WHERE attendance = \"65,473\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the game on July 7 played against?\n\n### Context:\nCREATE TABLE table_19789597_6 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_19789597_6 WHERE date = \"July 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich European Cup is in the 1990-91 season?\n\n### Context:\nCREATE TABLE table_name_78 (european_cup VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT european_cup FROM table_name_78 WHERE season = \"1990-91\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of silver medals with more than 6 gold meals and less than 5 bronze medals?\n\n### Context:\nCREATE TABLE table_name_53 (silver INTEGER, gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_53 WHERE gold > 6 AND bronze < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the shot pct 78?\n\n### Context:\nCREATE TABLE table_21093403_1 (locale VARCHAR, shot_pct VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT locale FROM table_21093403_1 WHERE shot_pct = 78"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich qualifying 1 time has a best under 58.669 and a qualifying 2 time under 57.897?\n\n### Context:\nCREATE TABLE table_name_50 (qual_1 VARCHAR, best VARCHAR, qual_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qual_1 FROM table_name_50 WHERE best < 58.669 AND qual_2 < 57.897"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team that plays at Punt Road Oval?\n\n### Context:\nCREATE TABLE table_name_43 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_43 WHERE venue = \"punt road oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat status is shown for Cadeby?\n\n### Context:\nCREATE TABLE table_name_17 (status VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_17 WHERE name = \"cadeby\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of floors for the Citic Square?\n\n### Context:\nCREATE TABLE table_name_10 (floors INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(floors) FROM table_name_10 WHERE name = \"citic square\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on October 14, 1984?\n\n### Context:\nCREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_62 WHERE date = \"october 14, 1984\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the percentage of EU average GDP (PPP) in the region where \u20ac per capita is 2519\n\n### Context:\nCREATE TABLE table_2293510_1 (_percentage_of_eu_average_gdp__ppp_ VARCHAR, \u20ac_per_capita__2005_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_of_eu_average_gdp__ppp_ FROM table_2293510_1 WHERE \u20ac_per_capita__2005_ = 2519"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year did the team from the Western school join the conference?\n\n### Context:\nCREATE TABLE table_name_10 (year_joined VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_joined FROM table_name_10 WHERE school = \"western\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the surface when the partner was Robert Haybittel?\n\n### Context:\nCREATE TABLE table_name_42 (surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_42 WHERE partner = \"robert haybittel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away team when Arsenal is the Home team?\n\n### Context:\nCREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_93 WHERE home_team = \"arsenal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total show when silver is 0, bronze is 1, and the rank is less than 3?\n\n### Context:\nCREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, silver VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_73 WHERE silver = 0 AND bronze = 1 AND rank < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total gold from New zealand and a rank less than 14?\n\n### Context:\nCREATE TABLE table_name_18 (gold INTEGER, nation VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_18 WHERE nation = \"new zealand\" AND rank < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the period for michel prost\n\n### Context:\nCREATE TABLE table_24565004_17 (period VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT period FROM table_24565004_17 WHERE name = \"Michel Prost\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Halang has a Rera of \u0292o\u00b2?\n\n### Context:\nCREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT halang FROM table_name_6 WHERE rera = \"\u0292o\u00b2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest week that has t 35-35 as the result?\n\n### Context:\nCREATE TABLE table_name_69 (week INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(week) FROM table_name_69 WHERE result = \"t 35-35\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lead has Katarina Radonic as Skip?\n\n### Context:\nCREATE TABLE table_name_10 (lead VARCHAR, skip VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lead FROM table_name_10 WHERE skip = \"katarina radonic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number for 3rd place for ducati xerox?\n\n### Context:\nCREATE TABLE table_13196576_2 (team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(3 AS rd_pl) FROM table_13196576_2 WHERE team = \"Ducati Xerox\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Revenue per capita for Vermont?\n\n### Context:\nCREATE TABLE table_name_2 (revenue_per_capita VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT revenue_per_capita FROM table_name_2 WHERE state = \"vermont\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Netflix episode for series episode 15-01?\n\n### Context:\nCREATE TABLE table_name_64 (netflix VARCHAR, series_ep VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT netflix FROM table_name_64 WHERE series_ep = \"15-01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho replaced the manager on Team Cfr Cluj?\n\n### Context:\nCREATE TABLE table_17115950_2 (replaced_by VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT replaced_by FROM table_17115950_2 WHERE team = \"CFR Cluj\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the country when the ioc code is mas?\n\n### Context:\nCREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_2879165_1 WHERE ioc_code = \"MAS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of people in attendance when the record was 9\u201326?\n\n### Context:\nCREATE TABLE table_name_7 (attendance INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_7 WHERE record = \"9\u201326\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest rank of a nation with fewer than 0 silver medals?\n\n### Context:\nCREATE TABLE table_name_43 (rank INTEGER, silver INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_43 WHERE silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the stadium with final score of 20-10\n\n### Context:\nCREATE TABLE table_name_35 (stadium VARCHAR, final_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stadium FROM table_name_35 WHERE final_score = \"20-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat operating system was needed for 2D games?\n\n### Context:\nCREATE TABLE table_name_91 (required_os VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT required_os FROM table_name_91 WHERE type = \"2d\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away team for tie number 9?\n\n### Context:\nCREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_6 WHERE tie_no = \"9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat home team had an attendance record of 16,971?\n\n### Context:\nCREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_68 WHERE attendance = \"16,971\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the episode directed by Matthew Penn, what is the total number in the series?\n\n### Context:\nCREATE TABLE table_23117208_5 (no_in_series VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_series FROM table_23117208_5 WHERE directed_by = \"Matthew Penn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the color commentator in 2008?\n\n### Context:\nCREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT color_commentator_s_ FROM table_name_16 WHERE year = 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was playing when the score was 5\u20137, 6\u20137 (4\u20137)?\n\n### Context:\nCREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_2186447_1 WHERE score = \"5\u20137, 6\u20137 (4\u20137)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for notes when rank is more than 4, and country is South Korea?\n\n### Context:\nCREATE TABLE table_name_31 (notes VARCHAR, rank VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_31 WHERE rank > 4 AND country = \"south korea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest GNIS Feature ID from County of sheridan?\n\n### Context:\nCREATE TABLE table_name_39 (gnis_feature_id INTEGER, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gnis_feature_id) FROM table_name_39 WHERE county = \"sheridan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is shown for fri 26 aug when mon 22 aug is \u2014\u2014 no time?\n\n### Context:\nCREATE TABLE table_30058355_2 (fri_26_aug VARCHAR, mon_22_aug VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fri_26_aug FROM table_30058355_2 WHERE mon_22_aug = \"\u2014\u2014 No Time\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height of the school club team members in clemson?\n\n### Context:\nCREATE TABLE table_11734041_7 (height_in_ft VARCHAR, school_club_team_country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_in_ft FROM table_11734041_7 WHERE school_club_team_country = \"Clemson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mean Founded number when the team is the Baton Rouge Blaze?\n\n### Context:\nCREATE TABLE table_name_96 (founded INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(founded) FROM table_name_96 WHERE team = \"baton rouge blaze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total goal difference with more than 38 played and more than 47 goals against?\n\n### Context:\nCREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the date that week 9 started?\n\n### Context:\nCREATE TABLE table_name_65 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_65 WHERE week = \"9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Style of the dance by Choreographer Luda and Oliver?\n\n### Context:\nCREATE TABLE table_name_59 (style VARCHAR, choreographer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT style FROM table_name_59 WHERE choreographer = \"luda and oliver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country of player ian woosnam?\n\n### Context:\nCREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_93 WHERE player = \"ian woosnam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the book when the publisher is black car publishing?\n\n### Context:\nCREATE TABLE table_20193855_2 (book_title VARCHAR, publisher VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT book_title FROM table_20193855_2 WHERE publisher = \"Black Car Publishing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat artist has a book called cyberella\n\n### Context:\nCREATE TABLE table_name_80 (artist_s_ VARCHAR, book_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT artist_s_ FROM table_name_80 WHERE book_title = \"cyberella\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for the game before week 7 against BYE?\n\n### Context:\nCREATE TABLE table_name_95 (result VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_95 WHERE week < 7 AND opponent = \"bye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat opponent has 76,202 attendance ?\n\n### Context:\nCREATE TABLE table_name_5 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_5 WHERE attendance = \"76,202\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many divisions in bowling ? \n\n### Context:\nCREATE TABLE table_2849652_1 (_number_of_divisions VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _number_of_divisions FROM table_2849652_1 WHERE sport = \"Bowling\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date of Appointment, when Outgoing Manager is \"Hakan Kutlu\"?\n\n### Context:\nCREATE TABLE table_name_42 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_name_42 WHERE outgoing_manager = \"hakan kutlu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total medals for germany with under 56 bronzes?\n\n### Context:\nCREATE TABLE table_name_46 (total INTEGER, nation VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_46 WHERE nation = \"germany\" AND bronze < 56"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many gold(s) for teams with a total of 14, and over 6 bronze medals?\n\n### Context:\nCREATE TABLE table_name_26 (gold INTEGER, total VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_26 WHERE total = 14 AND bronze > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the inroductory phase for the episode with neil shubin as a guest?\n\n### Context:\nCREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, guest VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT introductory_phrase FROM table_14835674_1 WHERE guest = \"Neil Shubin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf unknown is larger than 1.0, what is the maximum two year amount?\n\n### Context:\nCREATE TABLE table_174266_6 (two_years INTEGER, unknown INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(two_years) FROM table_174266_6 WHERE unknown > 1.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the enrollment at the school of Hamilton community?\n\n### Context:\nCREATE TABLE table_name_3 (enrollment INTEGER, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(enrollment) FROM table_name_3 WHERE school = \"hamilton community\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the the\u00a0fastest lap\u00a0with\u00a0grand prix\u00a0being european grand prix\n\n### Context:\nCREATE TABLE table_12161822_5 (fastest_lap VARCHAR, grand_prix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_12161822_5 WHERE grand_prix = \"European grand_prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had a run 4 of 1:24.4?\n\n### Context:\nCREATE TABLE table_name_7 (team VARCHAR, run_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_7 WHERE run_4 = \"1:24.4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses have points less than 3, with a drawn greater than 0?\n\n### Context:\nCREATE TABLE table_name_20 (lost INTEGER, points VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_20 WHERE points < 3 AND drawn > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho directed the production code 2t5710?\n\n### Context:\nCREATE TABLE table_21726793_1 (directed_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_21726793_1 WHERE production_code = \"2T5710\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names and genders of players with a coach starting after 2011.\n\n### Context:\nCREATE TABLE player (Player_name VARCHAR, gender VARCHAR, Player_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR, Starting_year INTEGER); CREATE TABLE coach (Coach_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.Player_name, T3.gender FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID WHERE T1.Starting_year > 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Time has Laps smaller than 28, and a Rider of nicky hayden?\n\n### Context:\nCREATE TABLE table_name_40 (time VARCHAR, laps VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_40 WHERE laps < 28 AND rider = \"nicky hayden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average rank for team with more than 44 gold, more and 76 bronze and a higher total than 73?\n\n### Context:\nCREATE TABLE table_name_26 (rank INTEGER, bronze VARCHAR, total VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_26 WHERE total > 73 AND gold > 44 AND bronze > 76"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the place of the record on 1996-05-25 with a mark greater than 90.73?\n\n### Context:\nCREATE TABLE table_name_38 (place VARCHAR, mark VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_38 WHERE mark > 90.73 AND date = \"1996-05-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0total number of candidates for first elected\u00a0in 1948 , 1964\n\n### Context:\nCREATE TABLE table_1341472_15 (candidates VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(candidates) FROM table_1341472_15 WHERE first_elected = \"1948 , 1964\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game against the Lizards with a result of w 18-17?\n\n### Context:\nCREATE TABLE table_name_18 (date VARCHAR, opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_18 WHERE opponent = \"lizards\" AND result = \"w 18-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game with pittsburgh as the home team and boston as the visitor team?\n\n### Context:\nCREATE TABLE table_name_32 (date VARCHAR, home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_32 WHERE home = \"pittsburgh\" AND visitor = \"boston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date where the round is R3?\n\n### Context:\nCREATE TABLE table_name_40 (date VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_40 WHERE round = \"r3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position did he finish in 1987?\n\n### Context:\nCREATE TABLE table_2387790_2 (position VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2387790_2 WHERE year = 1987"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest round that has an overall of 143 and a pick greater than 6?\n\n### Context:\nCREATE TABLE table_name_36 (round INTEGER, overall VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_36 WHERE overall = 143 AND pick > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich highest rank belongs to the palestinian territories?\n\n### Context:\nCREATE TABLE table_name_85 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_85 WHERE country = \"palestinian territories\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Set 2, when Total is \"52:44\"?\n\n### Context:\nCREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_2 FROM table_name_81 WHERE total = \"52:44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance when St Kilda played as the away team?\n\n### Context:\nCREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_79 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the opponent Arsenal?\n\n### Context:\nCREATE TABLE table_name_62 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_62 WHERE opponent = \"arsenal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich regions are owned by estado de tabasco?\n\n### Context:\nCREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_2899987_2 WHERE owner = \"Estado de Tabasco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Engine with 3 as the start in the year of 2007?\n\n### Context:\nCREATE TABLE table_name_8 (engine VARCHAR, start VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_8 WHERE start = \"3\" AND year = 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDate of april 9 had what score?\n\n### Context:\nCREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_11 WHERE date = \"april 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of episodes in a season?\n\n### Context:\nCREATE TABLE table_2113721_7 (episodes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(episodes) FROM table_2113721_7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what day in January was the record 15-29-3?\n\n### Context:\nCREATE TABLE table_27539272_7 (january INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(january) FROM table_27539272_7 WHERE record = \"15-29-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the Ravens play the buffalo bills?\n\n### Context:\nCREATE TABLE table_name_97 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_97 WHERE opponent = \"buffalo bills\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the most assists and how many did they have on January 5?\n\n### Context:\nCREATE TABLE table_29556461_7 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_29556461_7 WHERE date = \"January 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich ship had a tonnage over 8,782?\n\n### Context:\nCREATE TABLE table_name_8 (name_of_ship VARCHAR, tonnage INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT name_of_ship FROM table_name_8 WHERE tonnage > 8 OFFSET 782"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAt which games was a bronze medal won in the 94kg men's weightlifting event?\n\n### Context:\nCREATE TABLE table_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT games FROM table_name_71 WHERE medal = \"bronze\" AND sport = \"weightlifting\" AND event = \"94kg men's weightlifting\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament did she win with a final score of 4\u20136, 7\u20135, 6\u20132?\n\n### Context:\nCREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship FROM table_19047_2 WHERE score_in_the_final = \"4\u20136, 7\u20135, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the first names of all the authors who have written a paper with title containing the word \"Functional\".\n\n### Context:\nCREATE TABLE authors (fname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR); CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.fname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE \"%Functional%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points were there before 1979 with a ferrari 312b2 chassis?\n\n### Context:\nCREATE TABLE table_name_3 (points VARCHAR, year VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_3 WHERE year < 1979 AND chassis = \"ferrari 312b2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the English title listed that has an Original title of The Crying Game?\n\n### Context:\nCREATE TABLE table_name_95 (english_title VARCHAR, original_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english_title FROM table_name_95 WHERE original_title = \"the crying game\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all role codes with at least 3 employees.\n\n### Context:\nCREATE TABLE Employees (role_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role_code FROM Employees GROUP BY role_code HAVING COUNT(*) >= 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1994 finish for the Miami tournament?\n\n### Context:\nCREATE TABLE table_name_14 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1994 FROM table_name_14 WHERE tournament = \"miami\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years was the chassis a Coloni C3?\n\n### Context:\nCREATE TABLE table_name_51 (year VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_51 WHERE chassis = \"coloni c3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of list votes for 20.95%\n\n### Context:\nCREATE TABLE table_14834801_1 (list_votes VARCHAR, list_pct VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(list_votes) FROM table_14834801_1 WHERE list_pct = \"20.95%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of attendance values for ties having an opponent of Middlesbrough and result of 3-1?\n\n### Context:\nCREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_2 WHERE opponent = \"middlesbrough\" AND result = \"3-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country was the race in on April 27?\n\n### Context:\nCREATE TABLE table_name_53 (country VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_53 WHERE date = \"april 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode with the production code of 942A?\n\n### Context:\nCREATE TABLE table_16432167_1 (written_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_16432167_1 WHERE production_code = \"942A\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the pole position when matt davies had the fastest lap?\n\n### Context:\nCREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_29162856_1 WHERE fastest_lap = \"Matt Davies\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record of the match at 6:00?\n\n### Context:\nCREATE TABLE table_name_84 (record VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_84 WHERE time = \"6:00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average ranking for a react of 0.17300000000000001 and less than 5 lanes?\n\n### Context:\nCREATE TABLE table_name_78 (rank INTEGER, react VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_78 WHERE react = 0.17300000000000001 AND lane < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the student ids of students who don't have any allergies?\n\n### Context:\nCREATE TABLE Has_allergy (StuID VARCHAR); CREATE TABLE Student (StuID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT StuID FROM Student EXCEPT SELECT StuID FROM Has_allergy"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho took third-place when there were 4 total wins?\n\n### Context:\nCREATE TABLE table_17632217_2 (third_place VARCHAR, total_wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third_place FROM table_17632217_2 WHERE total_wins = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Best, when Team is \"Rocketsports Racing\", and when Name is \"Alex Tagliani\"?\n\n### Context:\nCREATE TABLE table_name_99 (best VARCHAR, team VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best FROM table_name_99 WHERE team = \"rocketsports racing\" AND name = \"alex tagliani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was reserved in the district that has 169 constituents?\n\n### Context:\nCREATE TABLE table_name_72 (reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reserved_for___sc___st__none_ FROM table_name_72 WHERE constituency_number = \"169\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has the highest Long with 59 Car?\n\n### Context:\nCREATE TABLE table_name_91 (long INTEGER, car VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(long) FROM table_name_91 WHERE car = 59"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?\n\n### Context:\nCREATE TABLE table_23285761_7 (high_assists VARCHAR, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_23285761_7 WHERE high_rebounds = \"Amar'e Stoudemire (10)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Volume:Issue, when Weeks on Top is less than 5, and when Issue Date(s) are 10 July - 24 July?\n\n### Context:\nCREATE TABLE table_name_75 (volume VARCHAR, weeks_on_top VARCHAR, issue_date_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT volume AS :issue FROM table_name_75 WHERE weeks_on_top < 5 AND issue_date_s_ = \"10 july - 24 july\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the series number of the episode that aired March 25, 2010?\n\n### Context:\nCREATE TABLE table_23483182_1 (no_in_series INTEGER, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_in_series) FROM table_23483182_1 WHERE original_air_date = \"March 25, 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich part on the team does rick schuhwerk play\n\n### Context:\nCREATE TABLE table_2781227_10 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2781227_10 WHERE player = \"Rick Schuhwerk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat NFL Teams have the player Aaron Williams?\n\n### Context:\nCREATE TABLE table_2508633_11 (nfl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nfl_team FROM table_2508633_11 WHERE player = \"Aaron Williams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every affiliation for candidate Daren Ireland?\n\n### Context:\nCREATE TABLE table_25818630_1 (affiliation VARCHAR, candidate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT affiliation FROM table_25818630_1 WHERE candidate = \"Daren Ireland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHOW MANY YEARS WAS IT FOR THE SCORE (76-73-79-72=300)?\n\n### Context:\nCREATE TABLE table_1507806_1 (year VARCHAR, winning_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_1507806_1 WHERE winning_score = (76 - 73 - 79 - 72 = 300)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the gold when Bertil Ahlin Sweden won the silver?\n\n### Context:\nCREATE TABLE table_name_48 (gold VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_48 WHERE silver = \"bertil ahlin sweden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich episode number drew in 3.35 million viewers in the United States?\n\n### Context:\nCREATE TABLE table_14929574_3 (series__number VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(series__number) FROM table_14929574_3 WHERE us_viewers__million_ = \"3.35\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place did Jerry Barber of the United States come in at?\n\n### Context:\nCREATE TABLE table_name_92 (place VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_92 WHERE country = \"united states\" AND player = \"jerry barber\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2?\n\n### Context:\nCREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = \"vfl denklingen\" AND position > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the total number of\u00a0final epbeingode count\u00a0with\u00a0character\u00a0being rick stetler\n\n### Context:\nCREATE TABLE table_11210576_4 (final_episode VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(final_episode) AS Count FROM table_11210576_4 WHERE character = \"Rick Stetler\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is College, when Pick is less than 145, and when Player is Jeff Wilkins?\n\n### Context:\nCREATE TABLE table_name_34 (college VARCHAR, pick VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_34 WHERE pick < 145 AND player = \"jeff wilkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game with 6 goals?\n\n### Context:\nCREATE TABLE table_name_61 (date VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_61 WHERE goal = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT YEAR WAS THE WORLD CHAMPIONSHIPS IN WITH NOTES OF 39.01?\n\n### Context:\nCREATE TABLE table_name_18 (year INTEGER, competition VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_18 WHERE competition = \"world championships\" AND notes = 39.01"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for Greg Norman\n\n### Context:\nCREATE TABLE table_name_84 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_84 WHERE player = \"greg norman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the week for Result of w 28-17?\n\n### Context:\nCREATE TABLE table_name_70 (week VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_70 WHERE result = \"w 28-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat pick did the Minnesota Twins have?\n\n### Context:\nCREATE TABLE table_name_68 (pick INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_68 WHERE team = \"minnesota twins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of the stadium that has the maximum capacity.\n\n### Context:\nCREATE TABLE stadium (name VARCHAR, capacity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM stadium ORDER BY capacity DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest gold number when the total is less than 3, the rank is 5, and the silver is more than 1?\n\n### Context:\nCREATE TABLE table_name_16 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_16 WHERE total < 3 AND rank = \"5\" AND silver > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of silver medals of the nation with more than 16 total medals?\n\n### Context:\nCREATE TABLE table_name_40 (silver VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_40 WHERE total > 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest of the athlete from sri lanka who has a lane greater than 8?\n\n### Context:\nCREATE TABLE table_name_62 (react INTEGER, country VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(react) FROM table_name_62 WHERE country = \"sri lanka\" AND lane > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2006 total with a 2010 value greater than 417.9?\n\n### Context:\nCREATE TABLE table_name_95 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(2006) FROM table_name_95 WHERE 2010 > 417.9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is re-elected Incumbent Jerry Costello's First elected date?\n\n### Context:\nCREATE TABLE table_name_36 (first_elected INTEGER, results VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_name_36 WHERE results = \"re-elected\" AND incumbent = \"jerry costello\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team played in the Boston Garden when the final score was L 118-130?\n\n### Context:\nCREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_18 WHERE location_attendance = \"boston garden\" AND score = \"l 118-130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Scottish Cup has a League smaller than 561, Years of 1989\u20131995 1997\u20132001, and Europe smaller than 11?\n\n### Context:\nCREATE TABLE table_name_22 (scottish_cup VARCHAR, europe VARCHAR, league VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(scottish_cup) FROM table_name_22 WHERE league < 561 AND years = \"1989\u20131995 1997\u20132001\" AND europe < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average events where the rank is smaller than 2 and wins are smaller than 5?\n\n### Context:\nCREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many events did clay win?\n\n### Context:\nCREATE TABLE table_name_42 (COUNT VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT NOT COUNT AS event FROM table_name_42 WHERE winner = \"clay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Elimination number is listed againt Eliminated by Sonjay Dutt?\n\n### Context:\nCREATE TABLE table_name_87 (elimination VARCHAR, eliminated_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elimination FROM table_name_87 WHERE eliminated_by = \"sonjay dutt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is th eswimming status for the school that has yes on indoor track, soccer and tennis?\n\n### Context:\nCREATE TABLE table_name_80 (swimming VARCHAR, tennis VARCHAR, indoor_track VARCHAR, soccer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT swimming FROM table_name_80 WHERE indoor_track = \"yes\" AND soccer = \"yes\" AND tennis = \"yes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the second on the North America team for which Cathy Overton-Clapham the third?\n\n### Context:\nCREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT second FROM table_name_10 WHERE team = \"north america\" AND third = \"cathy overton-clapham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the match where the home team was Leicester City?\n\n### Context:\nCREATE TABLE table_name_16 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_16 WHERE home_team = \"leicester city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the area of the province with a density of 533.59?\n\n### Context:\nCREATE TABLE table_254234_1 (area\u00b3 INTEGER, density\u00b2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(area\u00b3) FROM table_254234_1 WHERE density\u00b2 = \"533.59\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Brand, when Frequency is \"640\"?\n\n### Context:\nCREATE TABLE table_name_68 (brand VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT brand FROM table_name_68 WHERE frequency = 640"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has round less than 2?\n\n### Context:\nCREATE TABLE table_name_86 (position VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_86 WHERE round < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many feet per second does a shell move where the height range is 23500?\n\n### Context:\nCREATE TABLE table_16439764_1 (m_v_ft_s INTEGER, max_height__ft_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(m_v_ft_s) FROM table_16439764_1 WHERE max_height__ft_ = 23500"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team got a Behind outcome and had an opponent of Brisbane Bears?\n\n### Context:\nCREATE TABLE table_name_86 (team VARCHAR, outcome VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_86 WHERE outcome = \"behind\" AND opponent = \"brisbane bears\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich week has a result showing L 24-10?\n\n### Context:\nCREATE TABLE table_name_82 (week VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_82 WHERE result = \"l 24-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did the tournament that got an A in 1945 get in 1949?\n\n### Context:\nCREATE TABLE table_name_22 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1949 FROM table_name_22 WHERE 1945 = \"a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich athlete's rank is more than 15 when the result is less than 7.68, the group is b, and the nationality listed is Great Britain?\n\n### Context:\nCREATE TABLE table_name_82 (athlete VARCHAR, nationality VARCHAR, group VARCHAR, rank VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_82 WHERE rank > 15 AND result < 7.68 AND group = \"b\" AND nationality = \"great britain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is jim dutcher's hometown?\n\n### Context:\nCREATE TABLE table_22824312_1 (hometown VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_22824312_1 WHERE player = \"Jim Dutcher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most league cup goals for David Beresford having less than 0 FA Cup Goals?\n\n### Context:\nCREATE TABLE table_name_62 (league_cup_goals INTEGER, name VARCHAR, fa_cup_goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(league_cup_goals) FROM table_name_62 WHERE name = \"david beresford\" AND fa_cup_goals < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Result in 2013?\n\n### Context:\nCREATE TABLE table_name_48 (result VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_48 WHERE year = 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nBefore 1957, what was the largest in Attendance at Varsity Stadium?\n\n### Context:\nCREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = \"varsity stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Total which has a Silver larger than 19?\n\n### Context:\nCREATE TABLE table_name_70 (total INTEGER, silver INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_name_70 WHERE silver > 19"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average React, when Name is \"Candice Davis\", and when Lane is less than 3?\n\n### Context:\nCREATE TABLE table_name_91 (react INTEGER, name VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(react) FROM table_name_91 WHERE name = \"candice davis\" AND lane < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the player for ol\n\n### Context:\nCREATE TABLE table_20649850_1 (player VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_20649850_1 WHERE position = \"OL\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the ethnic group other: total?\n\n### Context:\nCREATE TABLE table_282413_3 (ethnic_group VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(2001 AS __percentage) FROM table_282413_3 WHERE ethnic_group = \"Other: Total\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least fa cup goals with fa cup apps being 2 and fw \n\n### Context:\nCREATE TABLE table_27086613_5 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(fa_cup_goals) FROM table_27086613_5 WHERE fa_cup_apps = 2 AND position = \"FW\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the title directed by charles beeson by jeremy carver\n\n### Context:\nCREATE TABLE table_19396259_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_19396259_1 WHERE directed_by = \"Charles Beeson\" AND written_by = \"Jeremy Carver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue does Mardan sponsor?\n\n### Context:\nCREATE TABLE table_17356873_1 (venue VARCHAR, shirt_sponsor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_17356873_1 WHERE shirt_sponsor = \"Mardan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is HDTV, when Television service is cartello promozionale sky hd?\n\n### Context:\nCREATE TABLE table_name_95 (hdtv VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hdtv FROM table_name_95 WHERE television_service = \"cartello promozionale sky hd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the depravitiy of earnings where international sales was 2470?\n\n### Context:\nCREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type had an election day in 1980\n\n### Context:\nCREATE TABLE table_1602620_1 (type VARCHAR, elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_1602620_1 WHERE elected = 1980"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points does the club with a try bonus of 10 have? \n\n### Context:\nCREATE TABLE table_14070062_3 (points VARCHAR, try_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_14070062_3 WHERE try_bonus = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat record has c. j. miles (20) in the high points?\n\n### Context:\nCREATE TABLE table_27734286_1 (record VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_27734286_1 WHERE high_points = \"C. J. Miles (20)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country of the player whose score is 71-69-70-69=279?\n\n### Context:\nCREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the location for win with record of 8-5\n\n### Context:\nCREATE TABLE table_name_52 (location VARCHAR, res VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_52 WHERE res = \"win\" AND record = \"8-5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is tthe lowest number on team 3g?\n\n### Context:\nCREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(_number_number) FROM table_23018775_3 WHERE team = \"team 3G\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the Malta vessel built after 2010 that is a GL class Panamax vessel?\n\n### Context:\nCREATE TABLE table_name_56 (vessel_name VARCHAR, built VARCHAR, class VARCHAR, flag VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vessel_name FROM table_name_56 WHERE flag = \"malta\" AND type = \"panamax\" AND class = \"gl\" AND built > 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the event where justin robbins had a record of 9-4-1?\n\n### Context:\nCREATE TABLE table_name_54 (event VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_54 WHERE record = \"9-4-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the leading scorer on the game played on February 25?\n\n### Context:\nCREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leading_scorer FROM table_name_28 WHERE date = \"february 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of departments that are either in division AS or in division EN and in Building NEB.\n\n### Context:\nCREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DName FROM DEPARTMENT WHERE Division = \"AS\" UNION SELECT DName FROM DEPARTMENT WHERE Division = \"EN\" AND Building = \"NEB\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Spanish voice actor does the same character as French voice actor Dennis Boileau?\n\n### Context:\nCREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = \"dennis boileau\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Finish, when To Par is less than 14, and when Year(s) Won is \"1952 , 1963\"?\n\n### Context:\nCREATE TABLE table_name_85 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_85 WHERE to_par < 14 AND year_s__won = \"1952 , 1963\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has 5/1 odds?\n\n### Context:\nCREATE TABLE table_name_55 (jockey VARCHAR, odds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT jockey FROM table_name_55 WHERE odds = \"5/1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years was the chassis a lotus-ford 38/7?\n\n### Context:\nCREATE TABLE table_181892_4 (year VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_181892_4 WHERE chassis = \"Lotus-Ford 38/7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Doucet when Lawrance is 36?\n\n### Context:\nCREATE TABLE table_11447995_2 (doucet VARCHAR, lawrance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT doucet FROM table_11447995_2 WHERE lawrance = \"36\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow names for all employees who do not have certificate of Boeing 737-800.\n\n### Context:\nCREATE TABLE Certificate (eid VARCHAR, aid VARCHAR); CREATE TABLE Employee (name VARCHAR, eid VARCHAR); CREATE TABLE Employee (name VARCHAR); CREATE TABLE Aircraft (aid VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM Employee EXCEPT SELECT T1.name FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid JOIN Aircraft AS T3 ON T3.aid = T2.aid WHERE T3.name = \"Boeing 737-800\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of players and names of their coaches.\n\n### Context:\nCREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR); CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker?\n\n### Context:\nCREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = \"Salvatore Commesso\" AND winner = \"Erik Dekker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Rich Savage percentage in the poll with Jody Wagner at 30%?\n\n### Context:\nCREATE TABLE table_name_90 (rich_savage VARCHAR, jody_wagner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rich_savage FROM table_name_90 WHERE jody_wagner = \"30%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum 1985 GDP for the region where 1990 GDP is less than 267, 2000 GDP is 333 and 2005 GDP is less than 658?\n\n### Context:\nCREATE TABLE table_name_88 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(1985) FROM table_name_88 WHERE 1990 < 267 AND 2000 = 333 AND 2005 < 658"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich pick was used on Ian Hazlett?\n\n### Context:\nCREATE TABLE table_name_8 (pick INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_8 WHERE player = \"ian hazlett\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day is carlton the home side?\n\n### Context:\nCREATE TABLE table_name_87 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_87 WHERE home_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away team of Tie no 1?\n\n### Context:\nCREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_68 WHERE tie_no = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of chapter 8 of season 4?\n\n### Context:\nCREATE TABLE table_26429771_1 (title VARCHAR, no_in_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_26429771_1 WHERE no_in_season = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the change in population since 1993 in the region where the % of country's population was 4.2? \n\n### Context:\nCREATE TABLE table_2637317_1 (change_in_population_since_1993 VARCHAR, _percentage_of_countrys_population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(change_in_population_since_1993) FROM table_2637317_1 WHERE _percentage_of_countrys_population = \"4.2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent in the final for 3\u20136, 1\u20136\n\n### Context:\nCREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = \"3\u20136, 1\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAt a longitude of 321.9e, what is the latitude of the features found?\n\n### Context:\nCREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT latitude FROM table_16799784_3 WHERE longitude = \"321.9E\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Case Length has a Base of 14.96 (.589)?\n\n### Context:\nCREATE TABLE table_name_57 (case_length VARCHAR, base VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT case_length FROM table_name_57 WHERE base = \"14.96 (.589)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning score when the runner-up was Beth Daniel and the margin of victory was 7 strokes?\n\n### Context:\nCREATE TABLE table_name_42 (winning_score VARCHAR, runner_s__up VARCHAR, margin_of_victory VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_42 WHERE runner_s__up = \"beth daniel\" AND margin_of_victory = \"7 strokes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many teams have been in Topperserien for 8 seasons? \n\n### Context:\nCREATE TABLE table_2522473_1 (team VARCHAR, seasons VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team) FROM table_2522473_1 WHERE seasons = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat manner of departure is listed with an appointment date of 13 march 2008\n\n### Context:\nCREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = \"13 March 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest gold when bronze is 1, and rank is 5?\n\n### Context:\nCREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the rider with a Fri 3 June time of 18' 19.68 123.516mph?\n\n### Context:\nCREATE TABLE table_29218221_2 (rider VARCHAR, fri_3_june VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_29218221_2 WHERE fri_3_june = \"18' 19.68 123.516mph\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the number of the game in which Carlos Boozer (8) did the high rebounds?\n\n### Context:\nCREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_23286223_5 WHERE high_rebounds = \"Carlos Boozer (8)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest gold for Cambodia when the total is less than 1?\n\n### Context:\nCREATE TABLE table_name_94 (gold INTEGER, country VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_94 WHERE country = \"cambodia\" AND total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Inclination has a Mass of \u2265 6.6 +1.1 \u22121.0 m\u2295?\n\n### Context:\nCREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT inclination FROM table_name_9 WHERE mass = \"\u2265 6.6 +1.1 \u22121.0 m\u2295\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat races have n/a Points, 0 Wins, and 6th Position entries?\n\n### Context:\nCREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT races FROM table_name_15 WHERE points = \"n/a\" AND wins = \"0\" AND position = \"6th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwith team #1 as lukoil academic what is team #2?\n\n### Context:\nCREATE TABLE table_name_67 (team__number2 VARCHAR, team__number1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team__number2 FROM table_name_67 WHERE team__number1 = \"lukoil academic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Pick # for brent meeke?\n\n### Context:\nCREATE TABLE table_name_45 (pick__number VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick__number FROM table_name_45 WHERE player = \"brent meeke\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponent has a Result of w 19\u201310?\n\n### Context:\nCREATE TABLE table_name_40 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_40 WHERE result = \"w 19\u201310\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Model Number, when Voltage is 2.0V, and when Frequency is 350 mhz?\n\n### Context:\nCREATE TABLE table_name_2 (model_number VARCHAR, voltage VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_number FROM table_name_2 WHERE voltage = \"2.0v\" AND frequency = \"350 mhz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team is ranked 3rd in 2008?\n\n### Context:\nCREATE TABLE table_name_66 (team VARCHAR, rank VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_66 WHERE rank = \"3rd\" AND year = 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the years for dannevirke south school\n\n### Context:\nCREATE TABLE table_name_48 (years VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_48 WHERE name = \"dannevirke south school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the percentage for georgia\n\n### Context:\nCREATE TABLE table_22825679_1 (percentage VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percentage FROM table_22825679_1 WHERE team = \"Georgia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich champion has sentosa golf club as the tournament location?\n\n### Context:\nCREATE TABLE table_name_55 (champion VARCHAR, tournament_location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champion FROM table_name_55 WHERE tournament_location = \"sentosa golf club\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of tries that has a start larger than 32, is a player of seremaia bai that also has a conversion score larger than 47?\n\n### Context:\nCREATE TABLE table_name_22 (tries INTEGER, conv VARCHAR, start VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(tries) FROM table_name_22 WHERE start > 32 AND player = \"seremaia bai\" AND conv > 47"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 2012 (85th) is the year (ceremony) how many results?\n\n### Context:\nCREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = \"2012 (85th)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich model has a 2521 cm displacement and b5254 t2 engine?\n\n### Context:\nCREATE TABLE table_name_45 (model_name VARCHAR, displacement__cm\u00b3_ VARCHAR, engine_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_name FROM table_name_45 WHERE displacement__cm\u00b3_ = 2521 AND engine_code = \"b5254 t2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat ga date do the models with 1.0, 1.2, 1.4ghz processor frequencies have?\n\n### Context:\nCREATE TABLE table_10818465_1 (ga_date VARCHAR, processor_frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ga_date FROM table_10818465_1 WHERE processor_frequency = \"1.0, 1.2, 1.4GHz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average total for years won of 1975\n\n### Context:\nCREATE TABLE table_name_47 (total INTEGER, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_47 WHERE year_s__won = \"1975\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhose permanent address is different from his or her current address? List his or her first name.\n\n### Context:\nCREATE TABLE Students (first_name VARCHAR, current_address_id VARCHAR, permanent_address_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_name FROM Students WHERE current_address_id <> permanent_address_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat market is KTFK-DT in?\n\n### Context:\nCREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city_of_license_market FROM table_11147852_1 WHERE station = \"KTFK-DT\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the game with arsenal win 4-2 on penalties in the attendance field?\n\n### Context:\nCREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_85 WHERE attendance = \"arsenal win 4-2 on penalties\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the customer id with most number of cards, and how many does he have?\n\n### Context:\nCREATE TABLE Customers_cards (customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of points for the team with 2 matches drawn and 577 points for?\n\n### Context:\nCREATE TABLE table_name_88 (points VARCHAR, drawn VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_88 WHERE drawn = \"2\" AND points_for = \"577\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Overall is the highest one that has a Pick # smaller than 9, and a Name of mike pearson?\n\n### Context:\nCREATE TABLE table_name_3 (overall INTEGER, pick__number VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(overall) FROM table_name_3 WHERE pick__number < 9 AND name = \"mike pearson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is riverfront stadium the game site for the week?\n\n### Context:\nCREATE TABLE table_17972136_1 (week INTEGER, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_17972136_1 WHERE game_site = \"Riverfront Stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the ids, names and genders of the architects who built two bridges or one mill?\n\n### Context:\nCREATE TABLE mill (architect_id VARCHAR); CREATE TABLE architect (id VARCHAR, name VARCHAR, gender VARCHAR); CREATE TABLE bridge (architect_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN bridge AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 2 UNION SELECT T1.id, T1.name, T1.gender FROM architect AS T1 JOIN mill AS T2 ON T1.id = T2.architect_id GROUP BY T1.id HAVING COUNT(*) = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the crowd size on 4 july 1981, and a Away team of essendon?\n\n### Context:\nCREATE TABLE table_name_41 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_41 WHERE date = \"4 july 1981\" AND away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIoannis Christou with a rank smaller than 6 has what notes?\n\n### Context:\nCREATE TABLE table_name_71 (notes VARCHAR, rank VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_71 WHERE rank < 6 AND athlete = \"ioannis christou\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Release Date has a Voltage Range of 1.148 v - 1.196 v?\n\n### Context:\nCREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_34 WHERE voltage_range = \"1.148 v - 1.196 v\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record when they played the Los Angeles Rams?\n\n### Context:\nCREATE TABLE table_13259009_2 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_13259009_2 WHERE opponent = \"Los Angeles Rams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended when opponent was twins?\n\n### Context:\nCREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_80 WHERE opponent = \"twins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich film title used in nomination has the year (ceremony) 1990 (63rd)?\n\n### Context:\nCREATE TABLE table_21655290_1 (film_title_used_in_nomination VARCHAR, year__ceremony_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film_title_used_in_nomination FROM table_21655290_1 WHERE year__ceremony_ = \"1990 (63rd)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all season numbers with production codes of 5m21.\n\n### Context:\nCREATE TABLE table_23287683_1 (season__number VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season__number FROM table_23287683_1 WHERE production_code = \"5M21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round has 3-4 as the record?\n\n### Context:\nCREATE TABLE table_name_49 (round VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_49 WHERE record = \"3-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the yes percentage in the measure that had 35270 yes votes? \n\n### Context:\nCREATE TABLE table_256286_5 (_percentage_yes VARCHAR, yes_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_yes FROM table_256286_5 WHERE yes_votes = 35270"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year is the 2004 shake don't stir?\n\n### Context:\nCREATE TABLE table_name_67 (year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_67 WHERE 2004 = \"shake don't stir\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average crowd at victoria park?\n\n### Context:\nCREATE TABLE table_name_1 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_1 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Rank of t12, and a Country of taiwan, and a Lifespan of 1963\u2013?\n\n### Context:\nCREATE TABLE table_name_4 (player VARCHAR, lifespan VARCHAR, rank VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_4 WHERE rank = \"t12\" AND country = \"taiwan\" AND lifespan = \"1963\u2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score did the home team of north melbourne get?\n\n### Context:\nCREATE TABLE table_name_59 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_59 WHERE home_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seasons was clay regazzoni the driver?\n\n### Context:\nCREATE TABLE table_10753917_1 (season VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_10753917_1 WHERE driver = \"Clay Regazzoni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the number of items that did not receive any review.\n\n### Context:\nCREATE TABLE review (i_id VARCHAR); CREATE TABLE item (i_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM item WHERE NOT i_id IN (SELECT i_id FROM review)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich of the countries showed a score of 71-72=143?\n\n### Context:\nCREATE TABLE table_name_8 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_8 WHERE score = 71 - 72 = 143"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which date was the opponent ireland and the status Five Nations?\n\n### Context:\nCREATE TABLE table_name_67 (date VARCHAR, status VARCHAR, opposing_teams VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_67 WHERE status = \"five nations\" AND opposing_teams = \"ireland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game in halifax?\n\n### Context:\nCREATE TABLE table_name_34 (result VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_34 WHERE city = \"halifax\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat match had 240 points for?\n\n### Context:\nCREATE TABLE table_name_81 (matches VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT matches FROM table_name_81 WHERE points_for = \"240\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the winner when the Score was 274 (\u201314) in tennessee?\n\n### Context:\nCREATE TABLE table_name_40 (winner VARCHAR, score VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_40 WHERE score = \"274 (\u201314)\" AND location = \"tennessee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Country, when Player is \"Tom Watson\"?\n\n### Context:\nCREATE TABLE table_name_99 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_99 WHERE player = \"tom watson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player played for the Balmain Tigers?\n\n### Context:\nCREATE TABLE table_name_98 (player VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_98 WHERE club = \"balmain tigers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the vicinity (km\u00b2) where profits magnificence (2007) is 2nd\n\n### Context:\nCREATE TABLE table_255812_1 (area__km\u00b2_ VARCHAR, income_class__2007_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_255812_1 WHERE income_class__2007_ = \"2nd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the number of weeks for december 5, 2005\n\n### Context:\nCREATE TABLE table_name_83 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_83 WHERE date = \"december 5, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Result has a Score of 1\u20130, and a Goal of 16?\n\n### Context:\nCREATE TABLE table_name_7 (result VARCHAR, score VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_7 WHERE score = \"1\u20130\" AND goal = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Flap is less than 15 and the podium is larger than 11, what is the pole?\n\n### Context:\nCREATE TABLE table_name_95 (pole VARCHAR, flap VARCHAR, podium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole FROM table_name_95 WHERE flap < 15 AND podium > 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the losing bonus of 96 points\n\n### Context:\nCREATE TABLE table_12792876_4 (losing_bonus VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losing_bonus FROM table_12792876_4 WHERE points = \"96\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place did Don Whitt finish?\n\n### Context:\nCREATE TABLE table_name_79 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_79 WHERE player = \"don whitt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn 2009, how many were runner-up?\n\n### Context:\nCREATE TABLE table_18828487_1 (runner_up VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(runner_up) FROM table_18828487_1 WHERE year = 2009"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for Groves High School when the high assist was Giovanni Riley (9)?\n\n### Context:\nCREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_21 WHERE location_attendance = \"groves high school\" AND high_assists = \"giovanni riley (9)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location has a Mascot of tigers?\n\n### Context:\nCREATE TABLE table_name_34 (location VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_34 WHERE mascot = \"tigers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of opponent in the final for 6\u20132, 6\u20131, 6\u20133\n\n### Context:\nCREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = \"6\u20132, 6\u20131, 6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Score that has the Country of united states, and the Place of t2, and the Player of tom watson?\n\n### Context:\nCREATE TABLE table_name_48 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_48 WHERE country = \"united states\" AND place = \"t2\" AND player = \"tom watson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ground of the Geelong Away team?\n\n### Context:\nCREATE TABLE table_name_74 (ground VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ground FROM table_name_74 WHERE away_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all every engineer's first name, last name, details and coresponding skill description.\n\n### Context:\nCREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, other_details VARCHAR, engineer_id VARCHAR); CREATE TABLE Engineer_Skills (engineer_id VARCHAR, skill_id VARCHAR); CREATE TABLE Skills (skill_description VARCHAR, skill_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.first_name, T1.last_name, T1.other_details, T3.skill_description FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich City has 600kw 500kw ERP (Analog/ Digital)?\n\n### Context:\nCREATE TABLE table_name_41 (city VARCHAR, erp__analog__digital_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_41 WHERE erp__analog__digital_ = \"600kw 500kw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the listings in the Valdez-cordova (census area) Borough?\n\n### Context:\nCREATE TABLE table_name_93 (listed VARCHAR, borough VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT listed FROM table_name_93 WHERE borough = \"valdez-cordova (census area)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode with production code 102?\n\n### Context:\nCREATE TABLE table_27547668_2 (title VARCHAR, prod_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_27547668_2 WHERE prod_code = 102"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many eviction results occurred with a eviction no. 12 and a vote to save of 2.76%?\n\n### Context:\nCREATE TABLE table_15162479_8 (eviction_result VARCHAR, eviction_no VARCHAR, vote_to_save VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(eviction_result) FROM table_15162479_8 WHERE eviction_no = 12 AND vote_to_save = \"2.76%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Feb 2013 with a Feb 2010 with 37, and a Nov 2012 less than 32?\n\n### Context:\nCREATE TABLE table_name_31 (feb_2013 INTEGER, feb_2010 VARCHAR, nov_2012 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(feb_2013) FROM table_name_31 WHERE feb_2010 = \"37\" AND nov_2012 < 32"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the English translation is hello girl, what was the language?\n\n### Context:\nCREATE TABLE table_19249824_1 (language VARCHAR, english_translation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_19249824_1 WHERE english_translation = \"Hello girl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the transfer window for Hleb?\n\n### Context:\nCREATE TABLE table_name_69 (transfer_window VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_window FROM table_name_69 WHERE name = \"hleb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat average Wins has Losses 2, and Draws less than 0?\n\n### Context:\nCREATE TABLE table_name_92 (wins INTEGER, loses VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(wins) FROM table_name_92 WHERE loses = 2 AND draws < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many writers had an US air date of september 25, 1993?\n\n### Context:\nCREATE TABLE table_10470082_3 (writer VARCHAR, us_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(writer) FROM table_10470082_3 WHERE us_air_date = \"September 25, 1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the sum of losses for wins less than 2 and rank of 10 with appearances larger than 3\n\n### Context:\nCREATE TABLE table_name_60 (losses INTEGER, appearances VARCHAR, wins VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(losses) FROM table_name_60 WHERE wins < 2 AND rank = 10 AND appearances > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the pick numbers of the defensive tackles chosen by the New Orleans Saints in the 1983 draft?\n\n### Context:\nCREATE TABLE table_2508633_4 (position VARCHAR, nfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2508633_4 WHERE nfl_team = \"New Orleans Saints\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Tie no when Crystal Palace is the Away team?\n\n### Context:\nCREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_37 WHERE away_team = \"crystal palace\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the year Elected of Republican Incumbent Dave Reichert?\n\n### Context:\nCREATE TABLE table_name_31 (elected VARCHAR, party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elected FROM table_name_31 WHERE party = \"republican\" AND incumbent = \"dave reichert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value of barrel twist when the barrel profile is SFW?\n\n### Context:\nCREATE TABLE table_12834315_8 (barrel_twist VARCHAR, barrel_profile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT barrel_twist FROM table_12834315_8 WHERE barrel_profile = \"SFW\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich engine has daimler benz ag as an entrant?\n\n### Context:\nCREATE TABLE table_name_7 (engine VARCHAR, entrant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_7 WHERE entrant = \"daimler benz ag\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat party did john s. barbour represent?\n\n### Context:\nCREATE TABLE table_2668243_25 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_2668243_25 WHERE incumbent = \"John S. Barbour\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class has a part 2 of halp war\u00fe?\n\n### Context:\nCREATE TABLE table_name_14 (class VARCHAR, part_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_14 WHERE part_2 = \"halp war\u00fe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich entrant scored less than 2 points?\n\n### Context:\nCREATE TABLE table_name_96 (entrant VARCHAR, points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_96 WHERE points < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total share of transactions?\n\n### Context:\nCREATE TABLE TRANSACTIONS (share_count INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(share_count) FROM TRANSACTIONS"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the wind at New York City when the rank was smaller than 6?\n\n### Context:\nCREATE TABLE table_name_18 (wind VARCHAR, rank VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wind FROM table_name_18 WHERE rank < 6 AND location = \"new york city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Number has a Name of cooper, c. kenneth, and a Year End larger than 1984?\n\n### Context:\nCREATE TABLE table_name_90 (number INTEGER, name VARCHAR, year_end VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(number) FROM table_name_90 WHERE name = \"cooper, c. kenneth\" AND year_end > 1984"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Losses is the lowest one that has Wins smaller than 0?\n\n### Context:\nCREATE TABLE table_name_92 (losses INTEGER, wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(losses) FROM table_name_92 WHERE wins < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%?\n\n### Context:\nCREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1341577_43 WHERE candidates = \"Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total when the gold is less than 0 and silver is less than 1?\n\n### Context:\nCREATE TABLE table_name_95 (total INTEGER, silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_95 WHERE silver = 1 AND gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much money did Ian Chamings request?\n\n### Context:\nCREATE TABLE table_name_78 (money_requested__\u00a3_ VARCHAR, entrepreneur_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT money_requested__\u00a3_ FROM table_name_78 WHERE entrepreneur_s_ = \"ian chamings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses?\n\n### Context:\nCREATE TABLE table_name_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did Taiwan score?\n\n### Context:\nCREATE TABLE table_name_1 (score VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_1 WHERE country = \"taiwan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Overall has a College of florida state, and a Round larger than 2?\n\n### Context:\nCREATE TABLE table_name_76 (overall INTEGER, college VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(overall) FROM table_name_76 WHERE college = \"florida state\" AND round > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest round that Adam Wiesel was picked?\n\n### Context:\nCREATE TABLE table_name_9 (round INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_9 WHERE player = \"adam wiesel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of weeks for san francisco 49ers\n\n### Context:\nCREATE TABLE table_14984103_1 (week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_14984103_1 WHERE opponent = \"San Francisco 49ers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most appearances for bernard allou\n\n### Context:\nCREATE TABLE table_24565004_2 (appearances\u00b9 INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(appearances\u00b9) FROM table_24565004_2 WHERE name = \"Bernard Allou\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1st leg of the team with a 2-1 agg.?\n\n### Context:\nCREATE TABLE table_name_13 (agg VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_13 WHERE agg = \"2-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is average age for different job title?\n\n### Context:\nCREATE TABLE Person (job VARCHAR, age INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(age), job FROM Person GROUP BY job"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of the tax supervising and conservation bill?\n\n### Context:\nCREATE TABLE table_256286_23 (meas_num INTEGER, description VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(meas_num) FROM table_256286_23 WHERE description = \"Tax Supervising and Conservation Bill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho constructed the car with a grid over 19 that retired due to suspension?\n\n### Context:\nCREATE TABLE table_name_49 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_49 WHERE grid > 19 AND time_retired = \"suspension\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the market value in billions when the assets totaled 1,380.88?\n\n### Context:\nCREATE TABLE table_1682026_7 (market_value__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT market_value__billion_$_ FROM table_1682026_7 WHERE assets__billion_$_ = \"1,380.88\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times is lost less than 7 and the position 2?\n\n### Context:\nCREATE TABLE table_name_10 (goals_for VARCHAR, lost VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals_for) FROM table_name_10 WHERE lost < 7 AND position = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the track that opened in 1995?\n\n### Context:\nCREATE TABLE table_1245148_1 (location VARCHAR, year_opened VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_1245148_1 WHERE year_opened = 1995"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was Carlton's away team opponents?\n\n### Context:\nCREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_16 WHERE home_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was Assen held?\n\n### Context:\nCREATE TABLE table_10083598_1 (round VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_10083598_1 WHERE circuit = \"Assen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number for the week with a record of 0-11?\n\n### Context:\nCREATE TABLE table_name_87 (week VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_87 WHERE record = \"0-11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date had a result of 8-0?\n\n### Context:\nCREATE TABLE table_name_40 (date VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_40 WHERE result = \"8-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow different parties of people along with the number of people in each party.\n\n### Context:\nCREATE TABLE people (Party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Party, COUNT(*) FROM people GROUP BY Party"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the home team that has a venue called EMCG?\n\n### Context:\nCREATE TABLE table_name_50 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_50 WHERE venue = \"emcg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the copa conmebol 1996 result of the team with a recopa sudamericana 1996 result of champions?\n\n### Context:\nCREATE TABLE table_name_49 (copa_conmebol_1996 VARCHAR, recopa_sudamericana_1996 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT copa_conmebol_1996 FROM table_name_49 WHERE recopa_sudamericana_1996 = \"champions\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the highest attendance for week 6?\n\n### Context:\nCREATE TABLE table_name_82 (attendance INTEGER, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_82 WHERE week = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height for rank greater than 10 in Tameer Tower?\n\n### Context:\nCREATE TABLE table_name_77 (height_m__ft_ VARCHAR, rank VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_m__ft_ FROM table_name_77 WHERE rank > 10 AND name = \"tameer tower\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest population in 2001?\n\n### Context:\nCREATE TABLE table_27366772_3 (population__2001_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(population__2001_) FROM table_27366772_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the driver for race time being 2:34:21\n\n### Context:\nCREATE TABLE table_16493961_1 (driver VARCHAR, race_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_16493961_1 WHERE race_time = \"2:34:21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country is in T1 place with a score of 71-68=139?\n\n### Context:\nCREATE TABLE table_name_4 (country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_4 WHERE place = \"t1\" AND score = 71 - 68 = 139"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the song name for the film name ganga kare insaaf?\n\n### Context:\nCREATE TABLE table_11827596_2 (song_name VARCHAR, film_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song_name FROM table_11827596_2 WHERE film_name = \"Ganga Kare Insaaf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the game number that was on November 27? \n\n### Context:\nCREATE TABLE table_22871239_5 (_number VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _number FROM table_22871239_5 WHERE date = \"November 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed episodes that had 2.61 million U.S. viewers?\n\n### Context:\nCREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = \"2.61\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the title of the episode directed by John T. Kretchmer? \n\n### Context:\nCREATE TABLE table_18481791_2 (title VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_18481791_2 WHERE directed_by = \"John T. Kretchmer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?\n\n### Context:\nCREATE TABLE table_name_49 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind all airlines that have at least 10 flights.\n\n### Context:\nCREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all paragraph texts for the document \"Customer reviews\".\n\n### Context:\nCREATE TABLE Paragraphs (paragraph_text VARCHAR, document_id VARCHAR); CREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.paragraph_text FROM Paragraphs AS T1 JOIN Documents AS T2 ON T1.document_id = T2.document_id WHERE T2.document_name = \"Customer reviews\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the director of the Series 1 episode?\n\n### Context:\nCREATE TABLE table_11951237_1 (directed_by VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_11951237_1 WHERE series__number = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Score has a time of 14:10?\n\n### Context:\nCREATE TABLE table_name_43 (score VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_43 WHERE time = \"14:10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Partner in the Algiers 2, Algeria Tournament?\n\n### Context:\nCREATE TABLE table_name_2 (partner VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT partner FROM table_name_2 WHERE tournament = \"algiers 2, algeria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score of a baseball game that happened before 2005?\n\n### Context:\nCREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT final_score FROM table_name_41 WHERE sport = \"baseball\" AND year < 2005"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps for mi-jack conquest racing when they went off course?\n\n### Context:\nCREATE TABLE table_name_21 (laps INTEGER, team VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_21 WHERE team = \"mi-jack conquest racing\" AND time_retired = \"off course\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the highest against score that drew more than 5, and had more than 18 points?\n\n### Context:\nCREATE TABLE table_name_35 (against INTEGER, drawn VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(against) FROM table_name_35 WHERE drawn > 5 AND points > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the overall record of UMBC?\n\n### Context:\nCREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_16295365_1 WHERE school = \"UMBC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the nationality of Louisiana Tech?\n\n### Context:\nCREATE TABLE table_name_10 (nationality VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_10 WHERE college = \"louisiana tech\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn average, what is the number of silver medals for nations ranking higher than 7, with a total of 6 medals and fewer than 2 bronze medals?\n\n### Context:\nCREATE TABLE table_name_38 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_38 WHERE rank > 7 AND total = 6 AND bronze < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the School that has the IHSAA Class of a, and the Enrollment 08-09 off 244?\n\n### Context:\nCREATE TABLE table_name_67 (school VARCHAR, ihsaa_class VARCHAR, enrollment_08_09 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_67 WHERE ihsaa_class = \"a\" AND enrollment_08_09 = 244"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Shooter has a Total of 28?\n\n### Context:\nCREATE TABLE table_name_9 (shooter VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT shooter FROM table_name_9 WHERE total = \"28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the episode with maritza reveron\n\n### Context:\nCREATE TABLE table_2140071_10 (episode VARCHAR, coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_2140071_10 WHERE coach = \"Maritza Reveron\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many tracks were Recorded 1964-01-08?\n\n### Context:\nCREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(track) FROM table_name_75 WHERE recorded = \"1964-01-08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was david ferrer seeded?\n\n### Context:\nCREATE TABLE table_24431264_16 (seed INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(seed) FROM table_24431264_16 WHERE player = \"David Ferrer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original name of the restaurant located in Orillia, ON?\n\n### Context:\nCREATE TABLE table_name_50 (original_name VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_name FROM table_name_50 WHERE location = \"orillia, on\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?\n\n### Context:\nCREATE TABLE table_name_44 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_in_the_final FROM table_name_44 WHERE surface = \"hard\" AND championship = \"washington, d.c. , u.s.\" AND opponent_in_the_final = \"ivan lendl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most overall for dwight freeney with round less than 1\n\n### Context:\nCREATE TABLE table_name_8 (overall INTEGER, name VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(overall) FROM table_name_8 WHERE name = \"dwight freeney\" AND round < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue has Scotland as the opposing teams?\n\n### Context:\nCREATE TABLE table_name_95 (venue VARCHAR, opposing_teams VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_95 WHERE opposing_teams = \"scotland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Nationality that has the Round smaller than 5, and the Player of bruce affleck?\n\n### Context:\nCREATE TABLE table_name_10 (nationality VARCHAR, round VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_10 WHERE round < 5 AND player = \"bruce affleck\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team when walsall was the away team?\n\n### Context:\nCREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_8 WHERE away_team = \"walsall\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many stations are called radyo5 101.9 news fm?\n\n### Context:\nCREATE TABLE table_17822401_1 (location VARCHAR, branding VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location) FROM table_17822401_1 WHERE branding = \"Radyo5 101.9 News FM\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Weeks are on september 8, 1980 and Attendances larger than 55,045? Question 4\n\n### Context:\nCREATE TABLE table_name_22 (week VARCHAR, date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_22 WHERE date = \"september 8, 1980\" AND attendance > 55 OFFSET 045"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho composed the work conducted by jaroslav Vogel? \n\n### Context:\nCREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT composer FROM table_24521345_1 WHERE conductor = \"Jaroslav Vogel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the earliest that New England Patriots played?\n\n### Context:\nCREATE TABLE table_name_80 (week INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_80 WHERE opponent = \"new england patriots\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the number of floors for the building of td building redevelopment (office)?\n\n### Context:\nCREATE TABLE table_name_45 (floors INTEGER, building VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(floors) FROM table_name_45 WHERE building = \"td building redevelopment (office)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every episode number for the series number 3?\n\n### Context:\nCREATE TABLE table_27208311_1 (episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series VARCHAR, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series VARCHAR, series_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode_no_episode_no_refers_to_the_episodes_number_in_the_overall_series, _whereas_series_no_refers_to_the_episodes_number_in_this_particular_series FROM table_27208311_1 WHERE series_no = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of prize money when there are 21 events?\n\n### Context:\nCREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many receptions for players with over 647 yards and an under 14 yard average?\n\n### Context:\nCREATE TABLE table_name_83 (rec INTEGER, yards VARCHAR, avg VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rec) FROM table_name_83 WHERE yards > 647 AND avg < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the tries fow when losing bonus is losing bonus?\n\n### Context:\nCREATE TABLE table_name_47 (tries_for VARCHAR, losing_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_for FROM table_name_47 WHERE losing_bonus = \"losing bonus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won Bronze with Notes of 2.5km, 16controls?\n\n### Context:\nCREATE TABLE table_name_31 (bronze VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bronze FROM table_name_31 WHERE notes = \"2.5km, 16controls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the court ranking of 5th son of tadayori and has revenues of 10,000 koku?\n\n### Context:\nCREATE TABLE table_name_32 (court_rank VARCHAR, revenues VARCHAR, lineage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT court_rank FROM table_name_32 WHERE revenues = \"10,000 koku\" AND lineage = \"5th son of tadayori\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes aired Saturday, July 11, 2009\n\n### Context:\nCREATE TABLE table_17525955_2 (episode__number VARCHAR, us_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episode__number) FROM table_17525955_2 WHERE us_air_date = \"Saturday, July 11, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Gold, when Total is 6?\n\n### Context:\nCREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_79 WHERE total = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the percentage in 2006 whose natives is Polish?\n\n### Context:\nCREATE TABLE table_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = \"Polish\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Week 4 has a Week 2 of samantha speer?\n\n### Context:\nCREATE TABLE table_name_62 (week_4 VARCHAR, week_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_4 FROM table_name_62 WHERE week_2 = \"samantha speer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record when the team played Boston?\n\n### Context:\nCREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_17325580_10 WHERE team = \"Boston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round has an Overall smaller than 6?\n\n### Context:\nCREATE TABLE table_name_84 (round INTEGER, overall INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_84 WHERE overall < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAccording to the August 2007 poll by the Corporate Research Associates that reported 32% Prog. Cons., what percentage aligned with the Liberal party?\n\n### Context:\nCREATE TABLE table_name_36 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT liberal FROM table_name_36 WHERE polling_firm = \"corporate research associates\" AND prog_cons = \"32%\" AND dates = \"august 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest round of Ian Cole, who played position d from the United States?\n\n### Context:\nCREATE TABLE table_name_35 (round INTEGER, player VARCHAR, position VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_35 WHERE position = \"d\" AND nationality = \"united states\" AND player = \"ian cole\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the highest losses for a byes larger than 2?\n\n### Context:\nCREATE TABLE table_name_99 (losses INTEGER, byes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_name_99 WHERE byes > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name has a qual 2 of 1:43.374?\n\n### Context:\nCREATE TABLE table_name_97 (name VARCHAR, qual_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_97 WHERE qual_2 = \"1:43.374\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the visitors when the home team were the ny rangers?\n\n### Context:\nCREATE TABLE table_name_76 (visitor VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_76 WHERE home = \"ny rangers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average quantities ordered with payment method code \"MasterCard\" on invoices?\n\n### Context:\nCREATE TABLE Invoices (Order_Quantity INTEGER, payment_method_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(Order_Quantity) FROM Invoices WHERE payment_method_code = \"MasterCard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times was the episode directed by maury geraghty originally aired? \n\n### Context:\nCREATE TABLE table_2626495_1 (originalairdate VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(originalairdate) FROM table_2626495_1 WHERE directed_by = \"Maury Geraghty\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich region is associated with the catalog value of 512335?\n\n### Context:\nCREATE TABLE table_name_57 (region VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_57 WHERE catalog = \"512335\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe match that lasted 2:43 has what record?\n\n### Context:\nCREATE TABLE table_name_38 (record VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_38 WHERE time = \"2:43\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the label from 1973 that has a catalog number of l 35023?\n\n### Context:\nCREATE TABLE table_name_98 (label VARCHAR, date VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_98 WHERE date = \"1973\" AND catalog = \"l 35023\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the surface for the Volos tournament?\n\n### Context:\nCREATE TABLE table_name_46 (surface VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_46 WHERE tournament = \"volos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor teams that won exactly 15, how many points were scored?\n\n### Context:\nCREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_27293285_6 WHERE won = \"15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time for the race with the United States?\n\n### Context:\nCREATE TABLE table_name_63 (time VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_63 WHERE country = \"united states\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the ship named Manhattan completed?\n\n### Context:\nCREATE TABLE table_name_60 (commissioned_or_completed_ VARCHAR, _ VARCHAR, ship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT commissioned_or_completed_ * _ FROM table_name_60 WHERE ship = \"manhattan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the the\u00a0incumbent\u00a0with\u00a0candidates\u00a0being percy e. quin (d) unopposed\n\n### Context:\nCREATE TABLE table_1342379_23 (incumbent VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1342379_23 WHERE candidates = \"Percy E. Quin (D) Unopposed\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the postion of the player listed from Dooly County High School?\n\n### Context:\nCREATE TABLE table_11677691_10 (position VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_11677691_10 WHERE school = \"Dooly County High school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many podiums had a race higher than 14 in 1996 and a Flap lower than 9?\n\n### Context:\nCREATE TABLE table_name_91 (podium VARCHAR, flap VARCHAR, race VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(podium) FROM table_name_91 WHERE race > 14 AND season = \"1996\" AND flap < 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position is the player selected that has a round value over 3?\n\n### Context:\nCREATE TABLE table_name_81 (position VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_81 WHERE round > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Entered when the eliminated number is 3?\n\n### Context:\nCREATE TABLE table_name_53 (entered VARCHAR, eliminated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(entered) FROM table_name_53 WHERE eliminated = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time with fewer than 5 lanes for the United States?\n\n### Context:\nCREATE TABLE table_name_82 (time INTEGER, lane VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(time) FROM table_name_82 WHERE lane < 5 AND nationality = \"united states\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Tie is from birmingham city?\n\n### Context:\nCREATE TABLE table_name_97 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_97 WHERE home_team = \"birmingham city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the poles for 25th position\n\n### Context:\nCREATE TABLE table_1708050_1 (poles VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT poles FROM table_1708050_1 WHERE position = \"25th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine was for the vehicle with a cooper t43 chassis?\n\n### Context:\nCREATE TABLE table_name_19 (engine VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_19 WHERE chassis = \"cooper t43\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is zip code of customer with first name as Carole and last name as Bernhard?\n\n### Context:\nCREATE TABLE Addresses (zip_postcode VARCHAR, address_id VARCHAR); CREATE TABLE Customers (customer_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.zip_postcode FROM Customers AS T1 JOIN Addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = \"Carole\" AND T1.last_name = \"Bernhard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the loan started when the coutry is eng, the loan club is sunderland and the end source is south wales echo?\n\n### Context:\nCREATE TABLE table_name_23 (started VARCHAR, end_source VARCHAR, country VARCHAR, loan_club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT started FROM table_name_23 WHERE country = \"eng\" AND loan_club = \"sunderland\" AND end_source = \"south wales echo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the to par score in T8 place from Zimbabwe and has a score of 73-68=141?\n\n### Context:\nCREATE TABLE table_name_1 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_1 WHERE place = \"t8\" AND score = 73 - 68 = 141 AND country = \"zimbabwe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least ties when they played less than 14 games, and a lost less than 8 of them?\n\n### Context:\nCREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the size of the largest crowd that Essendon played in front of as the away team?\n\n### Context:\nCREATE TABLE table_name_41 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_41 WHERE away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat color is model # pd-kb400w?\n\n### Context:\nCREATE TABLE table_name_14 (color VARCHAR, model__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT color FROM table_name_14 WHERE model__number = \"pd-kb400w\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many touchdowns did the player with less than 4495 yards, long of less than 80, and yds/att less than 5.5 have?\n\n### Context:\nCREATE TABLE table_name_65 (touchdowns VARCHAR, yds_att VARCHAR, net_yds VARCHAR, long VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(touchdowns) FROM table_name_65 WHERE net_yds < 4495 AND long < 80 AND yds_att < 5.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many paragraphs in total?\n\n### Context:\nCREATE TABLE Paragraphs (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM Paragraphs"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is the film directed by Jean-Luc Godard in French from?\n\n### Context:\nCREATE TABLE table_name_19 (country VARCHAR, language VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_19 WHERE language = \"french\" AND director = \"jean-luc godard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow long did the trans 1 take when 2:00:40.20 is the total time?\n\n### Context:\nCREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trans_1 FROM table_name_28 WHERE total_time = \"2:00:40.20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn February 26, who was the leading scorer?\n\n### Context:\nCREATE TABLE table_name_30 (leading_scorer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leading_scorer FROM table_name_30 WHERE date = \"february 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many percentages have losses fewer than 1 with finals appearances of 4?\n\n### Context:\nCREATE TABLE table_name_13 (pct VARCHAR, losses VARCHAR, finals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pct) FROM table_name_13 WHERE losses < 1 AND finals = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location and attendance of the game when the score is 125-100?\n\n### Context:\nCREATE TABLE table_name_89 (location_attendance VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_89 WHERE score = \"125-100\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn 1879-81 with number built 4, what is the LMS nos?\n\n### Context:\nCREATE TABLE table_name_63 (lms_nos VARCHAR, date VARCHAR, no_built VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lms_nos FROM table_name_63 WHERE date = \"1879-81\" AND no_built = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the competition on October 21, 2003?\n\n### Context:\nCREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_83 WHERE date = \"october 21, 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the high points for the game played at the MCI Center?\n\n### Context:\nCREATE TABLE table_18904831_7 (high_points VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_points) FROM table_18904831_7 WHERE location = \"MCI Center\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest gold when there are 0 bronze and the total is less than 2, and silver is less than 0?\n\n### Context:\nCREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_24 WHERE bronze = 0 AND total < 2 AND silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich archbishop vacated the throne on May 17, 1907?\n\n### Context:\nCREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT archbishop FROM table_name_42 WHERE vacated_throne = \"may 17, 1907\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 2011 Wimbledon result?\n\n### Context:\nCREATE TABLE table_name_22 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2011 FROM table_name_22 WHERE tournament = \"wimbledon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many numbers in the season were written by Brett Conrad & Liz Sagal?\n\n### Context:\nCREATE TABLE table_20726262_3 (no_in_season VARCHAR, writtenby VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_season) FROM table_20726262_3 WHERE writtenby = \"Brett Conrad & Liz Sagal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the crowd size at Collingwood's match?\n\n### Context:\nCREATE TABLE table_name_43 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_43 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the voice actor of the character with the Japanese voice actor Yoku Shioya?\n\n### Context:\nCREATE TABLE table_name_48 (voice_actor__harmony_gold_ova_dub_ VARCHAR, japanese_voice_actor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT voice_actor__harmony_gold_ova_dub_ FROM table_name_48 WHERE japanese_voice_actor = \"yoku shioya\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away teams score at Princes Park?\n\n### Context:\nCREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_37 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all company names with a book published by Alyson.\n\n### Context:\nCREATE TABLE culture_company (company_name VARCHAR, book_club_id VARCHAR); CREATE TABLE book_club (book_club_id VARCHAR, publisher VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.company_name FROM culture_company AS T1 JOIN book_club AS T2 ON T1.book_club_id = T2.book_club_id WHERE T2.publisher = 'Alyson'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Mongolian has a Tamil \u0ba4\u0bae\u0bbf\u0bb4\u0bcd of p\u016br\u0101\u1e6dam \u0baa\u0bc2\u0bb0\u0bbe\u0b9f\u0bae\u0bcd?\n\n### Context:\nCREATE TABLE table_name_78 (mongolian VARCHAR, tamil_\u0ba4\u0bae\u0bbf\u0bb4\u0bcd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mongolian FROM table_name_78 WHERE tamil_\u0ba4\u0bae\u0bbf\u0bb4\u0bcd = \"p\u016br\u0101\u1e6dam \u0baa\u0bc2\u0bb0\u0bbe\u0b9f\u0bae\u0bcd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf extremely adventures is the category what is the height from sea level in meters?\n\n### Context:\nCREATE TABLE table_1430913_1 (height_from_sea_level_in_meters VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_from_sea_level_in_meters FROM table_1430913_1 WHERE category = \"Extremely Adventures\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Points have a Game smaller than 37, and a Score of 2\u20133, and a December of 13?\n\n### Context:\nCREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = \"2\u20133\" AND december = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the method when the time is 0:51?\n\n### Context:\nCREATE TABLE table_name_5 (method VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_5 WHERE time = \"0:51\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the document ids for any documents with the status code done and the type code paper.\n\n### Context:\nCREATE TABLE Documents (document_id VARCHAR, document_status_code VARCHAR, document_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT document_id FROM Documents WHERE document_status_code = \"done\" AND document_type_code = \"Paper\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the lowest pick number for new england revolution\n\n### Context:\nCREATE TABLE table_name_84 (pick__number INTEGER, mls_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick__number) FROM table_name_84 WHERE mls_team = \"new england revolution\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest value of average attendance when average on previous season is -459?\n\n### Context:\nCREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = \"-459\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every location attendance on the date December 12?\n\n### Context:\nCREATE TABLE table_17325580_6 (location_attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_17325580_6 WHERE date = \"December 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many chassis used number 34?\n\n### Context:\nCREATE TABLE table_15491596_1 (chassis VARCHAR, no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(chassis) FROM table_15491596_1 WHERE no = 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score in game 15? \n\n### Context:\nCREATE TABLE table_17001658_5 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_17001658_5 WHERE game = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe theme Auditioner's Choice\thas what song choice?\n\n### Context:\nCREATE TABLE table_26250199_1 (song_choice VARCHAR, theme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song_choice FROM table_26250199_1 WHERE theme = \"Auditioner's Choice\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the wininng yacht for 14 entries\n\n### Context:\nCREATE TABLE table_256862_1 (winning_yacht VARCHAR, entries VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_yacht FROM table_256862_1 WHERE entries = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score in Tie 2?\n\n### Context:\nCREATE TABLE table_name_4 (score VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_4 WHERE tie_no = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Record on Game 50?\n\n### Context:\nCREATE TABLE table_name_68 (record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_68 WHERE game = 50"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Diligence Virtues Gloss?\n\n### Context:\nCREATE TABLE table_name_22 (gloss VARCHAR, virtue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gloss FROM table_name_22 WHERE virtue = \"diligence\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Played, when Goals Against is less than 63, when Team is \"Nelson\", and when Lost is greater than 16?\n\n### Context:\nCREATE TABLE table_name_18 (played INTEGER, lost VARCHAR, goals_against VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(played) FROM table_name_18 WHERE goals_against < 63 AND team = \"nelson\" AND lost > 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years was Louis Armstrong performing?\n\n### Context:\nCREATE TABLE table_name_51 (year VARCHAR, performer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_51 WHERE performer_s_ = \"louis armstrong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the crowd was larger than 20,915 what did the Away team score?\n\n### Context:\nCREATE TABLE table_name_87 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_87 WHERE crowd > 20 OFFSET 915"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the highest First Elected with a Result of Re-elected and DIstrict of California 5?\n\n### Context:\nCREATE TABLE table_name_21 (first_elected INTEGER, result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(first_elected) FROM table_name_21 WHERE result = \"re-elected\" AND district = \"california 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Conference has a City of boca raton, and a School of florida atlantic university?\n\n### Context:\nCREATE TABLE table_name_74 (conference VARCHAR, city VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conference FROM table_name_74 WHERE city = \"boca raton\" AND school = \"florida atlantic university\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Engine had a Finish of 27?\n\n### Context:\nCREATE TABLE table_name_98 (engine VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_98 WHERE finish = \"27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Place when the To par was +3 and Score was 74-73=147?\n\n### Context:\nCREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_46 WHERE to_par = \"+3\" AND score = 74 - 73 = 147"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the result for 11 august 2010?\n\n### Context:\nCREATE TABLE table_name_94 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_94 WHERE date = \"11 august 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the fight located that lasted 1 round against luiz claudio das dores?\n\n### Context:\nCREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_77 WHERE round = \"1\" AND opponent = \"luiz claudio das dores\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode is directed by Bryan Spicer and written by Terence Paul Winter?\n\n### Context:\nCREATE TABLE table_23958944_5 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_23958944_5 WHERE directed_by = \"Bryan Spicer\" AND written_by = \"Terence Paul Winter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest first prize of the Mercedes Championships tournament in California?\n\n### Context:\nCREATE TABLE table_name_18 (location VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(1 AS st_prize___) AS $__ FROM table_name_18 WHERE location = \"california\" AND tournament = \"mercedes championships\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of tries for that has 30 tries against?\n\n### Context:\nCREATE TABLE table_name_74 (tries_for VARCHAR, tries_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_for FROM table_name_74 WHERE tries_against = \"30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rounds have an Overall larger than 17, and a Position of quarterback?\n\n### Context:\nCREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = \"quarterback\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich name is 51.89 (2.043) long?\n\n### Context:\nCREATE TABLE table_name_57 (name VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_57 WHERE length = \"51.89 (2.043)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the percentage listed for the team who scored 63 points?\n\n### Context:\nCREATE TABLE table_26200568_16 (percentage VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percentage FROM table_26200568_16 WHERE points_for = 63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the since beginning of big 12 when last 10 meetings is ou, 7-3, neutral site is ou, 2-1, and last 5 meetings is bu, 3-2?\n\n### Context:\nCREATE TABLE table_name_28 (since_beginning_of_big_12 VARCHAR, last_5_meetings VARCHAR, last_10_meetings VARCHAR, at_neutral_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT since_beginning_of_big_12 FROM table_name_28 WHERE last_10_meetings = \"ou, 7-3\" AND at_neutral_site = \"ou, 2-1\" AND last_5_meetings = \"bu, 3-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most recent year with a position of 3rd?\n\n### Context:\nCREATE TABLE table_name_68 (year INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_68 WHERE position = \"3rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ERP for the Mount Goonaneman transmitter?\n\n### Context:\nCREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = \"mount goonaneman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years have a Position of 17th (q)?\n\n### Context:\nCREATE TABLE table_name_41 (year VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_41 WHERE position = \"17th (q)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total built by the United Kingdom and holds 1,300 passengers?\n\n### Context:\nCREATE TABLE table_name_68 (built VARCHAR, registry VARCHAR, passengers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(built) FROM table_name_68 WHERE registry = \"united kingdom\" AND passengers = 1 OFFSET 300"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of rounds that took place for the fight that lasted 6:21?\n\n### Context:\nCREATE TABLE table_name_1 (round VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_1 WHERE time = \"6:21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Richard Bachmann's PBA team?\n\n### Context:\nCREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pba_team FROM table_name_42 WHERE player = \"richard bachmann\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat surface was the match on November 6, 1982 played on?\n\n### Context:\nCREATE TABLE table_name_82 (surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_82 WHERE date = \"november 6, 1982\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Year that has a Quantity of 10, and a GWR Numbers of 409, 290, 315, 317\u2013321, 324, 333?\n\n### Context:\nCREATE TABLE table_name_49 (year INTEGER, quantity VARCHAR, gwr_numbers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_49 WHERE quantity = 10 AND gwr_numbers = \"409, 290, 315, 317\u2013321, 324, 333\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position was the number 6 draft pick?\n\n### Context:\nCREATE TABLE table_25085059_1 (position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_25085059_1 WHERE pick__number = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Name has a Time of 01:17:01?\n\n### Context:\nCREATE TABLE table_name_14 (name VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_14 WHERE time = \"01:17:01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest win percentage for when Perth Scorchers is the opposition?\n\n### Context:\nCREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = \"perth scorchers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?\n\n### Context:\nCREATE TABLE table_name_46 (constructor VARCHAR, winning_driver VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_46 WHERE winning_driver = \"jack brabham\" AND race = \"monaco grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years was soc a client?\n\n### Context:\nCREATE TABLE table_name_88 (years_of_operation VARCHAR, client VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_of_operation FROM table_name_88 WHERE client = \"soc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team is in the city of Rock Island?\n\n### Context:\nCREATE TABLE table_27961684_1 (team_name VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_name FROM table_27961684_1 WHERE city = \"Rock Island\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn grid 15, how many laps were there before ending with a time of exhaust?\n\n### Context:\nCREATE TABLE table_name_40 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_40 WHERE time_retired = \"exhaust\" AND grid < 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is To Par, when Player is Greg Norman?\n\n### Context:\nCREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_65 WHERE player = \"greg norman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer?\n\n### Context:\nCREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship FROM table_name_71 WHERE partnering = \"maikel scheffers\" AND year > 2007 AND opponents_in_final = \"stephane houdet nicolas peiffer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Run 4 has a Run 1 of 57.37, and a Run 3 smaller than 57.45?\n\n### Context:\nCREATE TABLE table_name_32 (run_4 INTEGER, run_1 VARCHAR, run_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(run_4) FROM table_name_32 WHERE run_1 = 57.37 AND run_3 < 57.45"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many dams are there in the Nome (CA) area?\n\n### Context:\nCREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = \"Nome (CA)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the year and semester when offers the largest number of courses.\n\n### Context:\nCREATE TABLE SECTION (semester VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semester, YEAR FROM SECTION GROUP BY semester, YEAR ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Sanskrit word for month with Thai name \u0e21\u0e01\u0e23\u0e32\u0e04\u0e21?\n\n### Context:\nCREATE TABLE table_20354_5 (sanskrit_word VARCHAR, thai_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sanskrit_word FROM table_20354_5 WHERE thai_name = \"\u0e21\u0e01\u0e23\u0e32\u0e04\u0e21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT POSITION HAS A 23 PICK?\n\n### Context:\nCREATE TABLE table_name_50 (position VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_50 WHERE pick = 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every current club for the player Art\u016brs \u0160t\u0101lbergs?\n\n### Context:\nCREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_club FROM table_23670057_7 WHERE player = \"Art\u016brs \u0160t\u0101lbergs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date released had a Democratic Alternative value of 1% and Labour of 34%?\n\n### Context:\nCREATE TABLE table_name_76 (date_s__released VARCHAR, democratic_alternative VARCHAR, labour VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_s__released FROM table_name_76 WHERE democratic_alternative = \"1%\" AND labour = \"34%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the venue for the dates 1,2,3,4,6,7 jan 1908?\n\n### Context:\nCREATE TABLE table_name_64 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_64 WHERE date = \"1,2,3,4,6,7 jan 1908\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Week 11 when Week 10 had Nebraska (7-1)?\n\n### Context:\nCREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = \"nebraska (7-1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the maximum number of wins?\n\n### Context:\nCREATE TABLE table_22081847_1 (wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_22081847_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seasons had episode 158?\n\n### Context:\nCREATE TABLE table_2226817_9 (no_in_season INTEGER, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_in_season) FROM table_2226817_9 WHERE no_in_series = 158"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor Jo Siffert, what was the highest grid with the number of laps above 12?\n\n### Context:\nCREATE TABLE table_name_5 (grid INTEGER, driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(grid) FROM table_name_5 WHERE driver = \"jo siffert\" AND laps > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE HIGH ASSISTS ON NOVEMBER 24?\n\n### Context:\nCREATE TABLE table_name_21 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_21 WHERE date = \"november 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is from Ohio State College?\n\n### Context:\nCREATE TABLE table_name_55 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_55 WHERE college = \"ohio state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many numbers in series were for the number in season of 8?\n\n### Context:\nCREATE TABLE table_2618119_1 (no_in_series VARCHAR, no_in_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_series) FROM table_2618119_1 WHERE no_in_season = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWas position ss from carson city high school signed?\n\n### Context:\nCREATE TABLE table_name_48 (signed VARCHAR, position VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT signed FROM table_name_48 WHERE position = \"ss\" AND school = \"carson city high school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Name has a Term end of 18 july 1944?\n\n### Context:\nCREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_88 WHERE term_end = \"18 july 1944\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat launched has 158 days (5 months, 8 days) as the time elapsed?\n\n### Context:\nCREATE TABLE table_name_91 (launched VARCHAR, time_elapsed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launched FROM table_name_91 WHERE time_elapsed = \"158 days (5 months, 8 days)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner for ASTC round 8?\n\n### Context:\nCREATE TABLE table_name_63 (winner VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_63 WHERE series = \"astc round 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the writer of the episode with prod.code 30-17\n\n### Context:\nCREATE TABLE table_13403120_1 (writer_s_ VARCHAR, prodcode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT writer_s_ FROM table_13403120_1 WHERE prodcode = \"30-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest year for the game called The Elder Scrolls v: Skyrim?\n\n### Context:\nCREATE TABLE table_name_99 (year INTEGER, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_99 WHERE game = \"the elder scrolls v: skyrim\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total when gold is 1, and rank is more than 4, and bronze is 0?\n\n### Context:\nCREATE TABLE table_name_1 (total VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_1 WHERE gold = 1 AND rank > 4 AND bronze = 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank where the events is 31?\n\n### Context:\nCREATE TABLE table_name_65 (rank VARCHAR, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_65 WHERE events = 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the status for karanvir bohra and date performed being july 30\n\n### Context:\nCREATE TABLE table_18278508_4 (status VARCHAR, main_contestant VARCHAR, date_performed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_18278508_4 WHERE main_contestant = \"Karanvir Bohra\" AND date_performed = \"July 30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the college for the player that went to ridge community high school and is defensive back?\n\n### Context:\nCREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_19 WHERE position = \"defensive back\" AND school = \"ridge community high school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Daytime which has Saturday of yes and a Name of exmouth?\n\n### Context:\nCREATE TABLE table_name_5 (daytime VARCHAR, saturday VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT daytime FROM table_name_5 WHERE saturday = \"yes\" AND name = \"exmouth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat kind of Week 4 has a Week 1 of sheila levell?\n\n### Context:\nCREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_4 FROM table_name_10 WHERE week_1 = \"sheila levell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the capital of the district who's simplified name is \u4fe1\u5dde\u533a?\n\n### Context:\nCREATE TABLE table_1300525_1 (pinyin VARCHAR, simplified VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pinyin) FROM table_1300525_1 WHERE simplified = \"\u4fe1\u5dde\u533a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich position is number 16?\n\n### Context:\nCREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_7 WHERE number = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many numbers of dances for place 1?\n\n### Context:\nCREATE TABLE table_26375386_28 (number_of_dances VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(number_of_dances) FROM table_26375386_28 WHERE place = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich result's venue was in Rotterdam, Netherlands?\n\n### Context:\nCREATE TABLE table_name_14 (result VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_14 WHERE venue = \"rotterdam, netherlands\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the clas AAAA of school year 2000-01\n\n### Context:\nCREATE TABLE table_name_76 (class_aAAA VARCHAR, school_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class_aAAA FROM table_name_76 WHERE school_year = \"2000-01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many markets have number of cities smaller than 300?\n\n### Context:\nCREATE TABLE market (Number_cities INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM market WHERE Number_cities < 300"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different people did different scores of high assists during the December 11 game?\n\n### Context:\nCREATE TABLE table_23248869_6 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_assists) FROM table_23248869_6 WHERE date = \"December 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all advisors who have at least two students.\n\n### Context:\nCREATE TABLE Student (advisor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT advisor FROM Student GROUP BY advisor HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did they play that the score was 22-12?\n\n### Context:\nCREATE TABLE table_name_21 (venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_21 WHERE result = \"22-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow paragraph details for paragraph with text 'Korea ' .\n\n### Context:\nCREATE TABLE paragraphs (other_details VARCHAR, paragraph_text VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT other_details FROM paragraphs WHERE paragraph_text LIKE 'korea'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the minimum operating system required by Stunlock Studios' game?\n\n### Context:\nCREATE TABLE table_name_91 (required_os VARCHAR, developer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT required_os FROM table_name_91 WHERE developer_s_ = \"stunlock studios\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of numbers listed in 18-49 for the episode that aired on June 25, 2009 with an order larger than 29?\n\n### Context:\nCREATE TABLE table_name_51 (air_date VARCHAR, order VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(18 AS _49) FROM table_name_51 WHERE air_date = \"june 25, 2009\" AND order > 29"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Rookie of the Year for the Season in 2000?\n\n### Context:\nCREATE TABLE table_name_72 (rookie_of_the_year VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rookie_of_the_year FROM table_name_72 WHERE season = 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode had a run time of 24:53?\n\n### Context:\nCREATE TABLE table_2102714_1 (episode VARCHAR, run_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_2102714_1 WHERE run_time = \"24:53\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the home team score for brisbane lions\n\n### Context:\nCREATE TABLE table_16388439_3 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_16388439_3 WHERE home_team = \"Brisbane Lions\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?\n\n### Context:\nCREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = \"gareth farrelly category:articles with hcards\" AND league > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average PI GP of the player from round 5 with a pick # larger than 151?\n\n### Context:\nCREATE TABLE table_name_19 (pl_gp INTEGER, rd__number VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pl_gp) FROM table_name_19 WHERE rd__number = 5 AND pick__number > 151"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich range includes Mount Fukushima, and is ranked 38?\n\n### Context:\nCREATE TABLE table_name_7 (range VARCHAR, name VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT range FROM table_name_7 WHERE name = \"mount fukushima\" AND rank = 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does Mikhail Kravets play?\n\n### Context:\nCREATE TABLE table_name_15 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_15 WHERE player = \"mikhail kravets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average total medals with ensemble of goshen hs\n\n### Context:\nCREATE TABLE table_name_2 (total_medals INTEGER, ensemble VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total_medals) FROM table_name_2 WHERE ensemble = \"goshen hs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the number of enrollment of the central institution?\n\n### Context:\nCREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT enrollment FROM table_20887670_1 WHERE institution = \"Central\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the seat of the county that has a density of 14.1?\n\n### Context:\nCREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = \"14.1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich playoffs took place during 2011?\n\n### Context:\nCREATE TABLE table_name_88 (playoffs VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT playoffs FROM table_name_88 WHERE year = \"2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor episode number 2-03, what are the names of the cast?\n\n### Context:\nCREATE TABLE table_2570269_2 (cast VARCHAR, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cast FROM table_2570269_2 WHERE episode__number = \"2-03\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points?\n\n### Context:\nCREATE TABLE table_name_57 (team VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = \"gimnasia de la plata\" AND points > 113"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue has 3 & 2 as the score, and 1965 as the year?\n\n### Context:\nCREATE TABLE table_name_83 (venue VARCHAR, score VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_83 WHERE score = \"3 & 2\" AND year = \"1965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList singer names and number of concerts for each singer.\n\n### Context:\nCREATE TABLE singer_in_concert (singer_id VARCHAR); CREATE TABLE singer (name VARCHAR, singer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name, COUNT(*) FROM singer_in_concert AS T1 JOIN singer AS T2 ON T1.singer_id = T2.singer_id GROUP BY T2.singer_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production number for the episode directed by Robert McKimson named Mice Follies?\n\n### Context:\nCREATE TABLE table_name_24 (production_number VARCHAR, director VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(production_number) FROM table_name_24 WHERE director = \"robert mckimson\" AND title = \"mice follies\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the winnings for the score of 66-64-67-71=268?\n\n### Context:\nCREATE TABLE table_28498999_4 (winnings__$_ VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winnings__$_ FROM table_28498999_4 WHERE score = 66 - 64 - 67 - 71 = 268"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest win% with an away score of 3-2 in 2011 season?\n\n### Context:\nCREATE TABLE table_name_53 (win__percentage INTEGER, away VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(win__percentage) FROM table_name_53 WHERE away = \"3-2\" AND season = \"2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the successor for massachusetts 8th?\n\n### Context:\nCREATE TABLE table_228439_4 (successor VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT successor FROM table_228439_4 WHERE district = \"Massachusetts 8th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year did Ivanovic win with Ivanovic greater than 4 and round of R16?\n\n### Context:\nCREATE TABLE table_name_95 (year INTEGER, round VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_95 WHERE winner = \"ivanovic\" AND \"ivanovic\" > 4 AND round = \"r16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total attendance on April 25?\n\n### Context:\nCREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_28 WHERE date = \"april 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Digital PSIP for channels over 15 with callsign CFTU-DT?\n\n### Context:\nCREATE TABLE table_name_14 (digital_psip VARCHAR, broadcast_channel VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT digital_psip FROM table_name_14 WHERE broadcast_channel > 15 AND call_sign = \"cftu-dt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the FCC info for the radio station in West Lafayette, Indiana?\n\n### Context:\nCREATE TABLE table_name_35 (fcc_info VARCHAR, state VARCHAR, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fcc_info FROM table_name_35 WHERE state = \"indiana\" AND city_of_license = \"west lafayette\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the course called that had an Edition of 117th?\n\n### Context:\nCREATE TABLE table_name_68 (course VARCHAR, edition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT course FROM table_name_68 WHERE edition = \"117th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest crowd that Footscray had as the away team?\n\n### Context:\nCREATE TABLE table_name_49 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_49 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich number plays the skaters position?\n\n### Context:\nCREATE TABLE table_name_22 (number VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number FROM table_name_22 WHERE position = \"skaters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was second when Shane McKinlay was the lead?\n\n### Context:\nCREATE TABLE table_name_71 (second VARCHAR, lead VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT second FROM table_name_71 WHERE lead = \"shane mckinlay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest episode of Wood Flutes segment c?\n\n### Context:\nCREATE TABLE table_name_65 (episode INTEGER, segment_c VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(episode) FROM table_name_65 WHERE segment_c = \"wood flutes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Lost, when Goals For is greater than 52, when Points 1 is \"44\", and when Drawn is less than 8?\n\n### Context:\nCREATE TABLE table_name_88 (lost INTEGER, drawn VARCHAR, goals_for VARCHAR, points_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(lost) FROM table_name_88 WHERE goals_for > 52 AND points_1 = \"44\" AND drawn < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the winning driver that has a construction of brm?\n\n### Context:\nCREATE TABLE table_name_27 (winning_driver VARCHAR, constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_27 WHERE constructor = \"brm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school did Dahntay Jones graduate from?\n\n### Context:\nCREATE TABLE table_name_24 (school_club_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_name_24 WHERE player = \"dahntay jones\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the Canadian air dates where the u.s. air date is may 1, 2009\n\n### Context:\nCREATE TABLE table_12294557_3 (canadian_airdate VARCHAR, us_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = \"May 1, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the the codename when the code base is ubuntu 8.04 and the edition is fluxbox ce?\n\n### Context:\nCREATE TABLE table_27329061_2 (codename VARCHAR, code_base VARCHAR, edition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT codename FROM table_27329061_2 WHERE code_base = \"Ubuntu 8.04\" AND edition = \"Fluxbox CE\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all account ids and account details.\n\n### Context:\nCREATE TABLE Accounts (account_id VARCHAR, account_details VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT account_id, account_details FROM Accounts"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho swam in a lane less than 6 and finished with a time of 2:11.02?\n\n### Context:\nCREATE TABLE table_name_70 (name VARCHAR, lane VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_70 WHERE lane < 6 AND time = \"2:11.02\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many players did the most high points in the game with 39-22 record?\n\n### Context:\nCREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_points) FROM table_23286223_8 WHERE record = \"39-22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank that shows 276 games?\n\n### Context:\nCREATE TABLE table_name_25 (rank VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_25 WHERE games = \"276\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen tennis has less than 2 bronze, what is the total number of Gold?\n\n### Context:\nCREATE TABLE table_name_53 (gold VARCHAR, sport VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold) FROM table_name_53 WHERE sport = \"tennis\" AND bronze < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the just ratio is 11:8 and the cents size is 560, what is the interval name?\n\n### Context:\nCREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = \"11:8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are the details of the cmi masters that have the cross reference code 'Tax'?\n\n### Context:\nCREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Prize, when the Event is Ept Sanremo?\n\n### Context:\nCREATE TABLE table_name_11 (prize VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prize FROM table_name_11 WHERE event = \"ept sanremo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winning team on the circuit Zolder?\n\n### Context:\nCREATE TABLE table_18095719_2 (winning_team VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_18095719_2 WHERE circuit = \"Zolder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Selection has a Player of jamaar taylor, and a Round larger than 6?\n\n### Context:\nCREATE TABLE table_name_33 (selection INTEGER, player VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(selection) FROM table_name_33 WHERE player = \"jamaar taylor\" AND round > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has a Game site of bye?\n\n### Context:\nCREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_77 WHERE game_site = \"bye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Result for week 15?\n\n### Context:\nCREATE TABLE table_name_53 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_53 WHERE week = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen it published in english is n/a and published in russian is 1986, what is the type of work?\n\n### Context:\nCREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type_of_work FROM table_207795_1 WHERE published_in_english = \"N/A\" AND published_in_russian = \"1986\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat township is located at longitude -99.287270?\n\n### Context:\nCREATE TABLE table_18600760_9 (township VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT township FROM table_18600760_9 WHERE longitude = \"-99.287270\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the investment earnings in the year that State and Federal taxes were $13,999,169?\n\n### Context:\nCREATE TABLE table_name_26 (investment_earnings VARCHAR, state_ VARCHAR, _federal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT investment_earnings FROM table_name_26 WHERE state_ & _federal = \"13,999,169\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many series originally aired before 1999 with more than 7 episodes and a DVD Region 1 release date of 16 april 2013?\n\n### Context:\nCREATE TABLE table_name_24 (series_number VARCHAR, dvd_region_1_release_date VARCHAR, original_air_date VARCHAR, number_of_episodes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(series_number) FROM table_name_24 WHERE original_air_date < 1999 AND number_of_episodes > 7 AND dvd_region_1_release_date = \"16 april 2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Attendance, when Date is \"February 4\", and when Points is less than 57?\n\n### Context:\nCREATE TABLE table_name_72 (attendance INTEGER, date VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_72 WHERE date = \"february 4\" AND points < 57"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the color of the background of the white border and sign of information?\n\n### Context:\nCREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT background_colour FROM table_name_25 WHERE border = \"white\" AND type_of_sign = \"information\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Rhiannon Leier's lane?\n\n### Context:\nCREATE TABLE table_name_22 (lane VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lane FROM table_name_22 WHERE name = \"rhiannon leier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Home team of rochdale?\n\n### Context:\nCREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_60 WHERE home_team = \"rochdale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Drawn has a Lost larger than 0, and Points smaller than 11, and Games smaller than 7?\n\n### Context:\nCREATE TABLE table_name_98 (drawn INTEGER, games VARCHAR, lost VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(drawn) FROM table_name_98 WHERE lost > 0 AND points < 11 AND games < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on 2010-07-13 when Abby wambach had the assist/pass?\n\n### Context:\nCREATE TABLE table_name_56 (score VARCHAR, assist_pass VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_56 WHERE assist_pass = \"abby wambach\" AND date = \"2010-07-13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe Maserati 4cl's minimum no was?\n\n### Context:\nCREATE TABLE table_21977627_1 (no INTEGER, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no) FROM table_21977627_1 WHERE chassis = \"Maserati 4CL\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich state is Tehachapi Pass Wind Farm located in?\n\n### Context:\nCREATE TABLE table_name_72 (state_province VARCHAR, wind_farm VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state_province FROM table_name_72 WHERE wind_farm = \"tehachapi pass wind farm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of assists for 77 blocks\n\n### Context:\nCREATE TABLE table_17309500_1 (assists VARCHAR, blocks VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(assists) FROM table_17309500_1 WHERE blocks = \"77\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich skipper has a combine elapsed time of 174d 01h 11m 59s?\n\n### Context:\nCREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT skipper FROM table_name_17 WHERE combined_elapsed_time = \"174d 01h 11m 59s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat format has the call sign DZFE?\n\n### Context:\nCREATE TABLE table_name_42 (format VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_42 WHERE call_sign = \"dzfe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat municipality has 719 people and is larger than 108.46 km2?\n\n### Context:\nCREATE TABLE table_name_30 (regional_county_municipality VARCHAR, area__km_2__ VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT regional_county_municipality FROM table_name_30 WHERE area__km_2__ > 108.46 AND population = 719"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record for the game with a score of 7\u20135?\n\n### Context:\nCREATE TABLE table_name_10 (record VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_10 WHERE score = \"7\u20135\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich High rebounds has a Game of 76?\n\n### Context:\nCREATE TABLE table_name_97 (high_rebounds VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_97 WHERE game = 76"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest brup when long is 94?\n\n### Context:\nCREATE TABLE table_26176081_29 (brup INTEGER, long VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(brup) FROM table_26176081_29 WHERE long = 94"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all customer ids and the number of cards owned by each customer.\n\n### Context:\nCREATE TABLE Customers_cards (customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT customer_id, COUNT(*) FROM Customers_cards GROUP BY customer_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of votes % more than 19.5\n\n### Context:\nCREATE TABLE table_name_26 (votes INTEGER, vote__percentage INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(votes) FROM table_name_26 WHERE vote__percentage > 19.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the fastest lap(s) when josef newgarden led the most laps at edmonton?\n\n### Context:\nCREATE TABLE table_29690363_3 (fastest_lap VARCHAR, most_laps_led VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_29690363_3 WHERE most_laps_led = \"Josef Newgarden\" AND race = \"Edmonton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did episode 79 originally air? \n\n### Context:\nCREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = 79"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the constructor of the car that had a Q1 pos of less than 8 and a Q1 time of 1:15.038?\n\n### Context:\nCREATE TABLE table_name_84 (constructor VARCHAR, q1_pos VARCHAR, q1_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_84 WHERE q1_pos < 8 AND q1_time = \"1:15.038\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for alcoba\u00e7a when the opponent was in the final of xinyun han?\n\n### Context:\nCREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_27 WHERE tournament = \"alcoba\u00e7a\" AND opponent_in_the_final = \"xinyun han\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Money ( \u00a3 ), when Player is \"Peter Hedblom\"?\n\n### Context:\nCREATE TABLE table_name_95 (money___ INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(money___) AS \u00a3__ FROM table_name_95 WHERE player = \"peter hedblom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time/retired for the driver with fewer than 23 laps and grid larger than 23?\n\n### Context:\nCREATE TABLE table_name_75 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_75 WHERE laps < 23 AND grid > 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the checking balance of the accounts whose savings balance is higher than the average savings balance.\n\n### Context:\nCREATE TABLE accounts (custid VARCHAR, name VARCHAR); CREATE TABLE checking (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE savings (balance INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name IN (SELECT T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid WHERE T2.balance > (SELECT AVG(balance) FROM savings))"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the second round?\n\n### Context:\nCREATE TABLE table_name_5 (result VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_5 WHERE round = \"second round\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of goals for robbie findley ranked above 10?\n\n### Context:\nCREATE TABLE table_name_37 (goals INTEGER, player VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goals) FROM table_name_37 WHERE player = \"robbie findley\" AND rank < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?\n\n### Context:\nCREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = \"1st Class\" AND city_municipality = \"Itogon, Benguet\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Miss Maja Pilipinas that has the Year of 1969?\n\n### Context:\nCREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT miss_maja_pilipinas FROM table_name_30 WHERE year = 1969"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much money, in millions, is paid to Infotalent?\n\n### Context:\nCREATE TABLE table_name_92 (amount__millions_ VARCHAR, payee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT amount__millions_ FROM table_name_92 WHERE payee = \"infotalent\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the status of donor payment in the country where there are 6 children per donor and no data on allowed recipients?\n\n### Context:\nCREATE TABLE table_16175217_1 (donor_payment VARCHAR, children_per_donor VARCHAR, allowed_recipients VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT donor_payment FROM table_16175217_1 WHERE children_per_donor = \"6 children\" AND allowed_recipients = \"no data\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich state was first elected in 1914, and a Member of edward jolley?\n\n### Context:\nCREATE TABLE table_name_97 (state VARCHAR, first_elected VARCHAR, member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_97 WHERE first_elected = \"1914\" AND member = \"edward jolley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the lowest pick number for columbus crew\n\n### Context:\nCREATE TABLE table_name_15 (pick__number INTEGER, mls_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick__number) FROM table_name_15 WHERE mls_team = \"columbus crew\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the pick number for the College of Central Missouri State?\n\n### Context:\nCREATE TABLE table_name_45 (pick__number VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick__number FROM table_name_45 WHERE college = \"central missouri state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the branding when the owner is jim pattison group and the frequency is fm 94.5?\n\n### Context:\nCREATE TABLE table_name_55 (branding VARCHAR, owner VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT branding FROM table_name_55 WHERE owner = \"jim pattison group\" AND frequency = \"fm 94.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Team has Bob Wollek as a Driver with 76 Laps in C1 Class?\n\n### Context:\nCREATE TABLE table_name_63 (team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_63 WHERE class = \"c1\" AND laps = 76 AND driver = \"bob wollek\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat home team has a score of 2\u20131, when the away team was Telford United?\n\n### Context:\nCREATE TABLE table_name_10 (home_team VARCHAR, score VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_10 WHERE score = \"2\u20131\" AND away_team = \"telford united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Third/Vice skip has a Second of \u00e9ric sylvain?\n\n### Context:\nCREATE TABLE table_name_13 (third_vice_skip VARCHAR, second VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third_vice_skip FROM table_name_13 WHERE second = \"\u00e9ric sylvain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the estimated end date for the 2001-037a international designated satellite?\n\n### Context:\nCREATE TABLE table_18161217_2 (estimated_end_date VARCHAR, _clarification_needed_ VARCHAR, cospar_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT estimated_end_date[_clarification_needed_] FROM table_18161217_2 WHERE cospar_id = \"2001-037A\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Height for Years for Rockets of 2005-06?\n\n### Context:\nCREATE TABLE table_name_78 (height_in_ft VARCHAR, years_for_rockets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_in_ft FROM table_name_78 WHERE years_for_rockets = \"2005-06\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Surface has an Opponent(s) of anna-lena gr\u00f6nefeld tatjana malek?\n\n### Context:\nCREATE TABLE table_name_8 (surface VARCHAR, opponent_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_8 WHERE opponent_s_ = \"anna-lena gr\u00f6nefeld tatjana malek\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the shooter with 15 rank points, and 0 score points?\n\n### Context:\nCREATE TABLE table_name_56 (shooter VARCHAR, rank_points VARCHAR, score_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT shooter FROM table_name_56 WHERE rank_points = \"15\" AND score_points = \"0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the democratic seat plurality with partisan order of New Hampshire?\n\n### Context:\nCREATE TABLE table_name_91 (democratic_seat_plurality VARCHAR, state_ranked_in_partisan_order VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT democratic_seat_plurality FROM table_name_91 WHERE state_ranked_in_partisan_order = \"new hampshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere are the Buffalo Sabres from?\n\n### Context:\nCREATE TABLE table_2679061_7 (college_junior_club_team VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_2679061_7 WHERE nhl_team = \"Buffalo Sabres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every media type for the World genre?\n\n### Context:\nCREATE TABLE table_23829490_1 (media_type VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT media_type FROM table_23829490_1 WHERE genre = \"World\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Elimination move listed against Regal?\n\n### Context:\nCREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elimination AS Move FROM table_name_28 WHERE wrestler = \"regal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the prothrombin time in Von willebrand disease?\n\n### Context:\nCREATE TABLE table_1557752_1 (prothrombin_time VARCHAR, condition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prothrombin_time FROM table_1557752_1 WHERE condition = \"Von Willebrand disease\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has 187kg and a Snatch of Clean & Jerk?\n\n### Context:\nCREATE TABLE table_name_79 (snatch VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 187 AS kg FROM table_name_79 WHERE snatch = \"clean & jerk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the international tourist arrivals for arrivals 2011 for 8.1 million\n\n### Context:\nCREATE TABLE table_14752049_3 (international_tourist_arrivals__2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT international_tourist_arrivals__2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = \"8.1 million\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the Year Yugoslavia won 1 Silver, how many Gold medals did they win?\n\n### Context:\nCREATE TABLE table_name_14 (gold VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_14 WHERE silver = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum number of starts for the players having a best finish of T18?\n\n### Context:\nCREATE TABLE table_24747844_2 (starts INTEGER, best_finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(starts) FROM table_24747844_2 WHERE best_finish = \"T18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat gender is Quentin?\n\n### Context:\nCREATE TABLE table_2933761_1 (gender VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gender FROM table_2933761_1 WHERE name = \"Quentin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Rank of the Athlete with a Time of 1:47.65 and in Lane 3 or larger?\n\n### Context:\nCREATE TABLE table_name_35 (rank INTEGER, time VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_35 WHERE time = \"1:47.65\" AND lane > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which location was the round smaller than 11 and the circuit streets of denver?\n\n### Context:\nCREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = \"streets of denver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of silver medals for countries with 0 gold and rank under 3?\n\n### Context:\nCREATE TABLE table_name_73 (silver INTEGER, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_73 WHERE gold = 0 AND rank < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of points when Bruce Arena has 21 wins?\n\n### Context:\nCREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pts) FROM table_name_96 WHERE wins = 21 AND coach = \"bruce arena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the points for switzerland\n\n### Context:\nCREATE TABLE table_24489942_10 (points VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_24489942_10 WHERE nationality = \"Switzerland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the points for when the played is 22 and tries against is 68?\n\n### Context:\nCREATE TABLE table_12828723_4 (points_for VARCHAR, played VARCHAR, tries_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_for FROM table_12828723_4 WHERE played = \"22\" AND tries_against = \"68\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every pole position for the Castle Combe circuit and Robbie Kerr is the winning driver?\n\n### Context:\nCREATE TABLE table_26137666_3 (pole_position VARCHAR, circuit VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_26137666_3 WHERE circuit = \"Castle Combe\" AND winning_driver = \"Robbie Kerr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team drafted Ron Annear? \n\n### Context:\nCREATE TABLE table_2850912_10 (nhl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_2850912_10 WHERE player = \"Ron Annear\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silver medalist was won?\n\n### Context:\nCREATE TABLE table_22355_71 (silver INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_22355_71"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nEpisode of 16 involves which performer 1?\n\n### Context:\nCREATE TABLE table_name_64 (performer_1 VARCHAR, episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performer_1 FROM table_name_64 WHERE episode = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which date is Taylor Field the location?\n\n### Context:\nCREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_23612439_2 WHERE location = \"Taylor Field\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Club of mexico, Year of 2010, and a Competition of preseason, and a Result of w 0\u20131?\n\n### Context:\nCREATE TABLE table_name_8 (club VARCHAR, result VARCHAR, competition VARCHAR, nation VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_8 WHERE nation = \"mexico\" AND year = 2010 AND competition = \"preseason\" AND result = \"w 0\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich First has a Surname of searle?\n\n### Context:\nCREATE TABLE table_name_42 (first VARCHAR, surname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first FROM table_name_42 WHERE surname = \"searle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the grid when the time/retired is 1:46:42.3?\n\n### Context:\nCREATE TABLE table_name_61 (grid INTEGER, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_61 WHERE time_retired = \"1:46:42.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which date was the GT class at Monterey Sports Car Grand Prix?\n\n### Context:\nCREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_8 WHERE class = \"gt\" AND race = \"monterey sports car grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the percentage of trains arriving within 5 minutes of scheduled time 89.6%?\n\n### Context:\nCREATE TABLE table_171748_3 (period VARCHAR, _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT period FROM table_171748_3 WHERE _percentage_trains_arriving_within_5_mins_of_scheduled_time_moving_annual_average__maa_ = \"89.6%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game in the season does this list start?\n\n### Context:\nCREATE TABLE table_27713030_7 (game INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_27713030_7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the tournament in Budapest?\n\n### Context:\nCREATE TABLE table_name_14 (score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_14 WHERE tournament = \"budapest\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Version has a Remixed by Perky Park with a Length of 6:38?\n\n### Context:\nCREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT version FROM table_name_29 WHERE remixed_by = \"perky park\" AND length = \"6:38\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party was first elected in 1898?\n\n### Context:\nCREATE TABLE table_name_19 (party VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_19 WHERE first_elected = \"1898\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals?\n\n### Context:\nCREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many models numbered L5506 have a QPI speed?\n\n### Context:\nCREATE TABLE table_269920_17 (qpi_speed__gt_s_ VARCHAR, model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(qpi_speed__gt_s_) FROM table_269920_17 WHERE model = \"L5506\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum MotoGP/500cc ranking?\n\n### Context:\nCREATE TABLE table_2889810_1 (motogp_500cc INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(motogp_500cc) FROM table_2889810_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total sack for mike green when fumr is less than 0?\n\n### Context:\nCREATE TABLE table_name_40 (sack INTEGER, player VARCHAR, fumr VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(sack) FROM table_name_40 WHERE player = \"mike green\" AND fumr < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team has a Home Run of 27?\n\n### Context:\nCREATE TABLE table_name_18 (team VARCHAR, home_run VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_18 WHERE home_run = 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich college's cfl team is the hamilton tiger-cats?\n\n### Context:\nCREATE TABLE table_name_58 (college VARCHAR, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_58 WHERE cfl_team = \"hamilton tiger-cats\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the\u00a0uu-usu score\u00a0with\u00a0winner\u00a0is #5 brigham young (2\u20130)\n\n### Context:\nCREATE TABLE table_13665809_2 (uu_usu_score VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT uu_usu_score FROM table_13665809_2 WHERE winner = \"#5 Brigham Young (2\u20130)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList directors and producers when the celebrities involved were Bill Turnbull and Louise Minchin.\n\n### Context:\nCREATE TABLE table_24725951_1 (directed_and_produced_by VARCHAR, celebrities VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_and_produced_by FROM table_24725951_1 WHERE celebrities = \"Bill Turnbull and Louise Minchin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the remarks for 8 October 2008?\n\n### Context:\nCREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT remarks FROM table_2015453_1 WHERE date = \"8 October 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the resolution for KO opposing Cliff Beckett?\n\n### Context:\nCREATE TABLE table_name_81 (res VARCHAR, type VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_81 WHERE type = \"ko\" AND opponent = \"cliff beckett\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the shipping agent code of shipping agent UPS?\n\n### Context:\nCREATE TABLE Ref_Shipping_Agents (shipping_agent_code VARCHAR, shipping_agent_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT shipping_agent_code FROM Ref_Shipping_Agents WHERE shipping_agent_name = \"UPS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did Footscray play at home?\n\n### Context:\nCREATE TABLE table_name_92 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_92 WHERE home_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest lane with a rank larger than 2 in Guyana?\n\n### Context:\nCREATE TABLE table_name_31 (lane INTEGER, rank VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_31 WHERE rank > 2 AND nationality = \"guyana\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent with a Loss of Leal (1\u20134)?\n\n### Context:\nCREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_35 WHERE loss = \"leal (1\u20134)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different addresses do the students currently live?\n\n### Context:\nCREATE TABLE Students (current_address_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT current_address_id) FROM Students"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the winning constructor for the paris cup\n\n### Context:\nCREATE TABLE table_name_42 (winning_constructor VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_constructor FROM table_name_42 WHERE name = \"paris cup\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original air date of the episode that had 4.08 million U.S. viewers? \n\n### Context:\nCREATE TABLE table_21304155_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_21304155_1 WHERE us_viewers__millions_ = \"4.08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the name for regions not affected.\n\n### Context:\nCREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_name VARCHAR, region_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region_name FROM region WHERE NOT region_id IN (SELECT region_id FROM affected_region)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the wins for the 7th position?\n\n### Context:\nCREATE TABLE table_27631002_1 (wins VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_27631002_1 WHERE position = \"7th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college is Pat Thomas from?\n\n### Context:\nCREATE TABLE table_name_77 (college VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_77 WHERE name = \"pat thomas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has a to par larger than 5 and a player John Mahaffey?\n\n### Context:\nCREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_38 WHERE to_par > 5 AND player = \"john mahaffey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the incumbent when the candidates were John banks (am) 52.2% samuel power (j) 47.8%?\n\n### Context:\nCREATE TABLE table_2668199_2 (incumbent VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_2668199_2 WHERE candidates = \"John Banks (AM) 52.2% Samuel Power (J) 47.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich visitor has a Los Angeles home?\n\n### Context:\nCREATE TABLE table_name_20 (visitor VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_20 WHERE home = \"los angeles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mascot for the school founded in 1923 with the school colors of blue, red & white?\n\n### Context:\nCREATE TABLE table_12434380_1 (mascot VARCHAR, founded VARCHAR, school_colors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_12434380_1 WHERE founded = 1923 AND school_colors = \"Blue, Red & White\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe game on September 2, 1979 was during which week of the season?\n\n### Context:\nCREATE TABLE table_name_89 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_89 WHERE date = \"september 2, 1979\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Lost, when Played is less than 34?\n\n### Context:\nCREATE TABLE table_name_91 (lost VARCHAR, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lost) FROM table_name_91 WHERE played < 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silver medals had a rank of 3 with bronze larger than 0?\n\n### Context:\nCREATE TABLE table_name_90 (silver VARCHAR, rank VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_90 WHERE rank = 3 AND bronze > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the region for automatic washing machine being 60.9%\n\n### Context:\nCREATE TABLE table_25042332_27 (region VARCHAR, automatic_washing_machine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_25042332_27 WHERE automatic_washing_machine = \"60.9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the weight of the shortest person?\n\n### Context:\nCREATE TABLE people (Weight VARCHAR, Height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Weight FROM people ORDER BY Height LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the highest rank for east germany with points of 128.98 and places less than 70?\n\n### Context:\nCREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_40 WHERE nation = \"east germany\" AND points = 128.98 AND places < 70"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Director, when Primary Language(s) is \"Azerbaijani\", and when Original Title is \"Buta\"?\n\n### Context:\nCREATE TABLE table_name_90 (director VARCHAR, primary_language_s_ VARCHAR, original_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_90 WHERE primary_language_s_ = \"azerbaijani\" AND original_title = \"buta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?\n\n### Context:\nCREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = \"Tribes ( Pulse & Melon Dezign)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the latest year with a position of 1st at Maputo, Mozambique?\n\n### Context:\nCREATE TABLE table_name_60 (year INTEGER, position VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_60 WHERE position = \"1st\" AND venue = \"maputo, mozambique\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number for Black Milk?\n\n### Context:\nCREATE TABLE table_name_18 (number INTEGER, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(number) FROM table_name_18 WHERE artist = \"black milk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the second year class following pag-unawa?\n\n### Context:\nCREATE TABLE table_12148147_2 (second_year VARCHAR, first_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT second_year FROM table_12148147_2 WHERE first_year = \"Pag-unawa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total net profit when earnings per share is 27.4, and profit/loss befor tax was smaller than 194.6 million?\n\n### Context:\nCREATE TABLE table_name_75 (net_profit__ INTEGER, earnings_per_share__p_ VARCHAR, profit__loss__before_tax__\u00a3m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(net_profit__) AS \u00a3m_ FROM table_name_75 WHERE earnings_per_share__p_ = 27.4 AND profit__loss__before_tax__\u00a3m_ < 194.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city has a building with over 57 floors?\n\n### Context:\nCREATE TABLE table_name_33 (city VARCHAR, floors INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_33 WHERE floors > 57"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the Weslake v12 get in 1966?\n\n### Context:\nCREATE TABLE table_name_28 (points INTEGER, engine VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_28 WHERE engine = \"weslake v12\" AND year < 1966"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was the first elected when the candidates is thomas lawyer (dr) 54.9% william beekman (f) 45.1%?\n\n### Context:\nCREATE TABLE table_2668347_14 (first_elected VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_2668347_14 WHERE candidates = \"Thomas Lawyer (DR) 54.9% William Beekman (F) 45.1%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Winner of the Game on November 26?\n\n### Context:\nCREATE TABLE table_name_7 (winner VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_7 WHERE date = \"november 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the S\u00fcdbayern in 1928?\n\n### Context:\nCREATE TABLE table_name_27 (s\u00fcdbayern VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT s\u00fcdbayern FROM table_name_27 WHERE year = 1928"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Ilie N\u0103stase beat runner-up Peter Fleming what year was it?\n\n### Context:\nCREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_56 WHERE champion = \"ilie n\u0103stase\" AND runner_up = \"peter fleming\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponent had a Score of 6-3, 6-2?\n\n### Context:\nCREATE TABLE table_name_67 (opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_67 WHERE score = \"6-3, 6-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's cameron dantley's total avg/g for loss less than 35?\n\n### Context:\nCREATE TABLE table_name_69 (avg_g VARCHAR, name VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(avg_g) FROM table_name_69 WHERE name = \"cameron dantley\" AND loss < 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE GERMAN NAME OF LIBERALISM?\n\n### Context:\nCREATE TABLE table_name_85 (name__german_ VARCHAR, ideology VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name__german_ FROM table_name_85 WHERE ideology = \"liberalism\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least week for september 19, 1976\n\n### Context:\nCREATE TABLE table_14945881_1 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_14945881_1 WHERE date = \"September 19, 1976\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the John Belisle, Kosta Tsetsekas stamp issued?\n\n### Context:\nCREATE TABLE table_name_43 (date_of_issue VARCHAR, design VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_issue FROM table_name_43 WHERE design = \"john belisle, kosta tsetsekas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has attendance listed as 45,024?\n\n### Context:\nCREATE TABLE table_name_11 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_11 WHERE attendance = \"45,024\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Laura Diaz's score for place t9?\n\n### Context:\nCREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_72 WHERE place = \"t9\" AND player = \"laura diaz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many members did Europe have the year that America had 403892?\n\n### Context:\nCREATE TABLE table_1914090_2 (europe VARCHAR, america VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT europe FROM table_1914090_2 WHERE america = 403892"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe wildcats belong to what school?\n\n### Context:\nCREATE TABLE table_name_38 (school VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_38 WHERE team = \"wildcats\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percentages of social democratic correspond to a 5.5% left bloc?\n\n### Context:\nCREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT social_democratic FROM table_1463383_1 WHERE left_bloc = \"5.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the being qualities for having things of friendships, family, relationships with nature\n\n### Context:\nCREATE TABLE table_name_20 (being__qualities_ VARCHAR, having__things_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT being__qualities_ FROM table_name_20 WHERE having__things_ = \"friendships, family, relationships with nature\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seasons have a sacks of 39?\n\n### Context:\nCREATE TABLE table_27487336_1 (season VARCHAR, sacks VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_27487336_1 WHERE sacks = \"39\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of games played of the club with less than 40 goals scored, 9 losses, 39 goals conceded, and more than 2 draws?\n\n### Context:\nCREATE TABLE table_name_33 (games_played VARCHAR, draws VARCHAR, goals_conceded VARCHAR, goals_scored VARCHAR, loses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(games_played) FROM table_name_33 WHERE goals_scored < 40 AND loses = 9 AND goals_conceded = 39 AND draws > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is th US A.C. in 1985 with a US hot 100 of 57?\n\n### Context:\nCREATE TABLE table_name_16 (us_ac VARCHAR, year VARCHAR, us_hot_100 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_ac FROM table_name_16 WHERE year = 1985 AND us_hot_100 = \"57\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT OPPONENT WAS ON OCTOBER 7?\n\n### Context:\nCREATE TABLE table_name_37 (opponent_number VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_number FROM table_name_37 WHERE date = \"october 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent for record 10-13-3\n\n### Context:\nCREATE TABLE table_27537870_5 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_27537870_5 WHERE record = \"10-13-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest pick of the back player from round 28?\n\n### Context:\nCREATE TABLE table_name_42 (pick INTEGER, position VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_42 WHERE position = \"back\" AND round = 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Date has a Name of thuin circuit?\n\n### Context:\nCREATE TABLE table_name_26 (date VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_26 WHERE name = \"thuin circuit\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the athlete with a time of 30:48?\n\n### Context:\nCREATE TABLE table_name_9 (athlete VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_9 WHERE time = \"30:48\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich professionals live in a city containing the substring 'West'? List his or her role, street, city and state.\n\n### Context:\nCREATE TABLE professionals (role_code VARCHAR, street VARCHAR, city VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role_code, street, city, state FROM professionals WHERE city LIKE '%West%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest ranking rower from Great Britain?\n\n### Context:\nCREATE TABLE table_name_86 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_86 WHERE country = \"great britain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the final weight for contestant Chris?\n\n### Context:\nCREATE TABLE table_24370270_10 (final_weight__kg_ VARCHAR, contestant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT final_weight__kg_ FROM table_24370270_10 WHERE contestant = \"Chris\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country does the player who joined the Vancouver Canucks originally hail from?\n\n### Context:\nCREATE TABLE table_2886617_4 (nationality VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_2886617_4 WHERE nhl_team = \"Vancouver Canucks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich visiting team wound up with a final score of 18-40?\n\n### Context:\nCREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_77 WHERE final_score = \"18-40\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what Week is the Rome Tournament?\n\n### Context:\nCREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_70 WHERE tournament = \"rome\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank has a status of proposed, with 80 floors for Celestia Spaces 4?\n\n### Context:\nCREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_79 WHERE status = \"proposed\" AND floors = 80 AND name = \"celestia spaces 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the pick number for tulane university?\n\n### Context:\nCREATE TABLE table_name_23 (pick INTEGER, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pick) FROM table_name_23 WHERE school = \"tulane university\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of episodes for \u30af\u30ed\u30b5\u30ae?\n\n### Context:\nCREATE TABLE table_name_13 (episodes VARCHAR, japanese_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episodes) FROM table_name_13 WHERE japanese_title = \"\u30af\u30ed\u30b5\u30ae\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow high was the amount of winnings (in $) in the year with 15 starts?\n\n### Context:\nCREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winnings FROM table_2182562_2 WHERE starts = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most number in season for production code 3abc12\n\n### Context:\nCREATE TABLE table_23289934_1 (no_in_season INTEGER, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_season) FROM table_23289934_1 WHERE production_code = \"3ABC12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow ids, customer ids, names for all accounts.\n\n### Context:\nCREATE TABLE Accounts (account_id VARCHAR, customer_id VARCHAR, account_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT account_id, customer_id, account_name FROM Accounts"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the school/s with is size of 604.\n\n### Context:\nCREATE TABLE table_1984697_85 (school VARCHAR, size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_1984697_85 WHERE size = 604"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the City with an IATA of MUC?\n\n### Context:\nCREATE TABLE table_name_51 (city VARCHAR, iata VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_51 WHERE iata = \"muc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Score of 2\u20134, and a Home of quebec nordiques?\n\n### Context:\nCREATE TABLE table_name_23 (record VARCHAR, score VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_23 WHERE score = \"2\u20134\" AND home = \"quebec nordiques\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the current map designation of the feature which was named for discovery rupes?\n\n### Context:\nCREATE TABLE table_name_63 (current_map VARCHAR, namesake VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_map FROM table_name_63 WHERE namesake = \"discovery rupes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwith a record of 68-80 what was the loss?\n\n### Context:\nCREATE TABLE table_name_67 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_67 WHERE record = \"68-80\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year has a Genre of rock (track)?\n\n### Context:\nCREATE TABLE table_name_3 (year INTEGER, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_3 WHERE genre = \"rock (track)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the height in ft for the player from wyoming\n\n### Context:\nCREATE TABLE table_name_59 (height_in_ft VARCHAR, school_club_team_country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height_in_ft FROM table_name_59 WHERE school_club_team_country = \"wyoming\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn Week 13, who was the opponent?\n\n### Context:\nCREATE TABLE table_name_98 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_98 WHERE week = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different municipal mayors were there in the municipality with an area of 42.66 km2?\n\n### Context:\nCREATE TABLE table_216776_2 (municipal_mayor VARCHAR, area__km\u00b2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(municipal_mayor) FROM table_216776_2 WHERE area__km\u00b2_ = \"42.66\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many touchdowns were the when there was more than 1.0 extra point?\n\n### Context:\nCREATE TABLE table_25730123_2 (touchdowns VARCHAR, extra_points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT touchdowns FROM table_25730123_2 WHERE extra_points > 1.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1994 finish in the event that had a 1998 finish of 2R?\n\n### Context:\nCREATE TABLE table_name_22 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1994 FROM table_name_22 WHERE 1998 = \"2r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe UFC 44 event has what method?\n\n### Context:\nCREATE TABLE table_name_98 (method VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_98 WHERE event = \"ufc 44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat driver has under 53 laps, a grid smaller than 14, and a time/retired of differential?\n\n### Context:\nCREATE TABLE table_name_28 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_28 WHERE laps < 53 AND grid < 14 AND time_retired = \"differential\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of the cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0?\n\n### Context:\nCREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what division will you find the team nicknamed the Silver Eagles\n\n### Context:\nCREATE TABLE table_15475116_1 (division VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division FROM table_15475116_1 WHERE nickname = \"Silver Eagles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team is sponsored by chameleon sunglasses?\n\n### Context:\nCREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_63 WHERE sponsor = \"chameleon sunglasses\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Away Competition had a Result of lost 2-4?\n\n### Context:\nCREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_41 WHERE venue = \"away\" AND result = \"lost 2-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Podiums have a Class of 250cc, and an F laps of 0?\n\n### Context:\nCREATE TABLE table_name_18 (podiums INTEGER, class VARCHAR, f_laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(podiums) FROM table_name_18 WHERE class = \"250cc\" AND f_laps = 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament has an opponent jung jae-sung lee yong-dae?\n\n### Context:\nCREATE TABLE table_name_59 (tournament VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_59 WHERE opponent = \"jung jae-sung lee yong-dae\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe match that went 1 round, and had a method of submission (rear-naked choke) had what record?\n\n### Context:\nCREATE TABLE table_name_43 (record VARCHAR, round VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_43 WHERE round = 1 AND method = \"submission (rear-naked choke)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Game has a Series of flyers win 3\u20130? Question 3\n\n### Context:\nCREATE TABLE table_name_8 (game INTEGER, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_8 WHERE series = \"flyers win 3\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did Toumani Diagouraga, who played position MF, start?\n\n### Context:\nCREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_from FROM table_name_81 WHERE position = \"mf\" AND name = \"toumani diagouraga\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for chris duhon , nate robinson , david lee (3)\n\n### Context:\nCREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_17060277_7 WHERE high_assists = \"Chris Duhon , Nate Robinson , David Lee (3)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes were listed as number 29 in the series?\n\n### Context:\nCREATE TABLE table_22265225_1 (no_in_season VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_season) FROM table_22265225_1 WHERE no_in_series = \"29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away teams score when Hawthorn played as the home team?\n\n### Context:\nCREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_5 WHERE home_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most year for money list rank is 74\n\n### Context:\nCREATE TABLE table_24642706_1 (year INTEGER, money_list_rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_24642706_1 WHERE money_list_rank = 74"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the print resolution (FPI) for December 2002?\n\n### Context:\nCREATE TABLE table_10528691_4 (print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ VARCHAR, introduction VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT print_resolution__dpi__resolution_is_given_in_dots_per_inch__dpi_ FROM table_10528691_4 WHERE introduction = \"December 2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when november 15 is the date?\n\n### Context:\nCREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_86 WHERE date = \"november 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away team that played against Melbourne?\n\n### Context:\nCREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_96 WHERE home_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time/retired with laps less than 33 and a grid of 14?\n\n### Context:\nCREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to?\n\n### Context:\nCREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = \"Cheung, Raymond Man-to\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe indicative of si m\u00e5chan has what as the inverse subjunctive?\n\n### Context:\nCREATE TABLE table_name_8 (inverse_subjunctive VARCHAR, indicative VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT inverse_subjunctive FROM table_name_8 WHERE indicative = \"si m\u00e5chan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what season did Rusty Wallace win?\n\n### Context:\nCREATE TABLE table_1769428_2 (season INTEGER, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season) FROM table_1769428_2 WHERE winning_driver = \"Rusty Wallace\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team is from earlier than 1994?\n\n### Context:\nCREATE TABLE table_name_53 (team VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_53 WHERE year < 1994"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team played against Al-Ismaily (team 1)?\n\n### Context:\nCREATE TABLE table_name_79 (team_2 VARCHAR, team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_2 FROM table_name_79 WHERE team_1 = \"al-ismaily\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average attendance when the rank is 5?\n\n### Context:\nCREATE TABLE table_name_90 (avgatt VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT avgatt FROM table_name_90 WHERE rank = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest election with third party member Sir Robert Price, BT, and first party member conservative?\n\n### Context:\nCREATE TABLE table_name_97 (election INTEGER, third_member VARCHAR, first_party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(election) FROM table_name_97 WHERE third_member = \"sir robert price, bt\" AND first_party = \"conservative\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most cup goals for seasson 1911-12?\n\n### Context:\nCREATE TABLE table_10556257_1 (cup_goals INTEGER, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = \"1911-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich stage was won by Bernard Hinault and had a Points classification of Francesco Moser?\n\n### Context:\nCREATE TABLE table_name_51 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stage FROM table_name_51 WHERE winner = \"bernard hinault\" AND points_classification = \"francesco moser\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the distance to funao?\n\n### Context:\nCREATE TABLE table_name_85 (distance__km_ VARCHAR, station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance__km_ FROM table_name_85 WHERE station = \"funao\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat model number uses standard voltage socket?\n\n### Context:\nCREATE TABLE table_name_48 (model_number VARCHAR, socket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model_number FROM table_name_48 WHERE socket = \"standard voltage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the outgoing manager when the date of vacancy is 13 october 2008?\n\n### Context:\nCREATE TABLE table_name_19 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outgoing_manager FROM table_name_19 WHERE date_of_vacancy = \"13 october 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mean level number when the example name is lower snake and the approximate number is hus is less than 370?\n\n### Context:\nCREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(level) FROM table_name_42 WHERE example_name = \"lower snake\" AND number_of_hus__approximate_ < 370"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the title directed by reginald hudlin\n\n### Context:\nCREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = \"Reginald Hudlin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side?\n\n### Context:\nCREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dimensions FROM table_298883_5 WHERE reverse = \"Western sea barrage and locks at Taedong Gang\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all statement id and the number of accounts for each statement.\n\n### Context:\nCREATE TABLE Accounts (STATEMENT_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT STATEMENT_ID, COUNT(*) FROM Accounts GROUP BY STATEMENT_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode had a run time of 23:38?\n\n### Context:\nCREATE TABLE table_2108684_1 (episode VARCHAR, run_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_2108684_1 WHERE run_time = \"23:38\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the special edition where the english version is nick stewart?\n\n### Context:\nCREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT special_edition FROM table_25173505_13 WHERE english_version = \"Nick Stewart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was tyre that was made by cooper - bristol that was driven by bob gerard?\n\n### Context:\nCREATE TABLE table_name_77 (tyre VARCHAR, constructor VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_77 WHERE constructor = \"cooper - bristol\" AND driver = \"bob gerard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and city of the airport which is the source for the most number of flight routes.\n\n### Context:\nCREATE TABLE airports (name VARCHAR, city VARCHAR, apid VARCHAR); CREATE TABLE routes (src_apid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, T1.city, T2.src_apid FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid GROUP BY T2.src_apid ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat days were games played at Hofstra Stadium?\n\n### Context:\nCREATE TABLE table_name_20 (date VARCHAR, field VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_20 WHERE field = \"hofstra stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of Game 16?\n\n### Context:\nCREATE TABLE table_name_4 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_4 WHERE game = \"16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of wins of a team?\n\n### Context:\nCREATE TABLE table_19741316_1 (wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_19741316_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Oscar M\u00edguez had over 107 goals, what was the lowest he ranked?\n\n### Context:\nCREATE TABLE table_name_21 (rank INTEGER, name VARCHAR, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_21 WHERE name = \"oscar m\u00edguez\" AND goals > 107"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Region that has a growth of \u22123.6%?\n\n### Context:\nCREATE TABLE table_name_24 (region VARCHAR, _percentage_growth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_24 WHERE _percentage_growth = \"\u22123.6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat municipality where the human development index in the year 2000 was 0.7827?\n\n### Context:\nCREATE TABLE table_1480455_1 (municipality VARCHAR, human_development_index__2000_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT municipality FROM table_1480455_1 WHERE human_development_index__2000_ = \"0.7827\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the top place with over 24 points and more than 14 played?\n\n### Context:\nCREATE TABLE table_name_41 (place__posici\u00f3n_ INTEGER, points__pts_ VARCHAR, played__pj_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(place__posici\u00f3n_) FROM table_name_41 WHERE points__pts_ > 24 AND played__pj_ > 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the away teams when subiaco oval was the grounds?\n\n### Context:\nCREATE TABLE table_16388506_1 (away_team VARCHAR, ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_16388506_1 WHERE ground = \"Subiaco Oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended the game against Clemson?\n\n### Context:\nCREATE TABLE table_name_34 (attendance VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_34 WHERE opponent = \"clemson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the account name, id and the number of transactions for each account.\n\n### Context:\nCREATE TABLE Financial_transactions (account_id VARCHAR); CREATE TABLE Accounts (account_name VARCHAR, account_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.account_name, T1.account_id, COUNT(*) FROM Financial_transactions AS T1 JOIN Accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total with one hand clean and jerk is 87.5 and snatch is 87.5\n\n### Context:\nCREATE TABLE table_16779068_5 (total VARCHAR, snatch VARCHAR, one_hand_clean_ VARCHAR, _jerk VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = \"87.5\" AND snatch = \"87.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Latin term for the Greek symbol \u03bc?\n\n### Context:\nCREATE TABLE table_name_80 (latin VARCHAR, greek VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT latin FROM table_name_80 WHERE greek = \"\u03bc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich city has an ICAO of TBA?\n\n### Context:\nCREATE TABLE table_name_84 (city VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_84 WHERE icao = \"tba\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many towns exist on the government area with a surface of 110 square kilometers?\n\n### Context:\nCREATE TABLE table_23685890_2 (towns INTEGER, land_area__km\u00b2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(towns) FROM table_23685890_2 WHERE land_area__km\u00b2_ = \"110\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country placed t5?\n\n### Context:\nCREATE TABLE table_name_6 (country VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_6 WHERE place = \"t5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years have less than 28,505 attendance?\n\n### Context:\nCREATE TABLE table_name_80 (year INTEGER, attendance INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_80 WHERE attendance < 28 OFFSET 505"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number scored of the team positioned lower than 10?\n\n### Context:\nCREATE TABLE table_name_72 (scored VARCHAR, position INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(scored) FROM table_name_72 WHERE position > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the names of mountains that do not have any climber.\n\n### Context:\nCREATE TABLE mountain (Name VARCHAR, Mountain_ID VARCHAR); CREATE TABLE climber (Name VARCHAR, Mountain_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM mountain WHERE NOT Mountain_ID IN (SELECT Mountain_ID FROM climber)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the high points in game is 81?\n\n### Context:\nCREATE TABLE table_27703902_9 (high_points VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_27703902_9 WHERE game = 81"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent has a Record of 4-5?\n\n### Context:\nCREATE TABLE table_name_31 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_31 WHERE record = \"4-5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the writers who have written more than one book.\n\n### Context:\nCREATE TABLE book (Writer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Writer FROM book GROUP BY Writer HAVING COUNT(*) > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of ERP/Power W for frequency of 89.3 fm and facility ID less than 40430\n\n### Context:\nCREATE TABLE table_name_34 (erp___power_w VARCHAR, frequency VARCHAR, facility_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(erp___power_w) FROM table_name_34 WHERE frequency = \"89.3 fm\" AND facility_id < 40430"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFrom where did the train that arrived in the Anand Vihar Terminal originate?\n\n### Context:\nCREATE TABLE table_name_29 (origin VARCHAR, destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT origin FROM table_name_29 WHERE destination = \"anand vihar terminal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest population(2011)?\n\n### Context:\nCREATE TABLE table_189893_1 (population__2011_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(population__2011_) FROM table_189893_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest peak position for the album one of the boys?\n\n### Context:\nCREATE TABLE table_name_48 (peak_position INTEGER, album VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(peak_position) FROM table_name_48 WHERE album = \"one of the boys\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the average place when lost is more than 12?\n\n### Context:\nCREATE TABLE table_name_13 (place INTEGER, lost INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(place) FROM table_name_13 WHERE lost > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?\n\n### Context:\nCREATE TABLE table_name_99 (match INTEGER, lost VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(match) FROM table_name_99 WHERE lost > 3 AND team = \"kolejarz rawicz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the director that worked with Dana Dorian as the writer?\n\n### Context:\nCREATE TABLE table_name_44 (director_s_ VARCHAR, writer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director_s_ FROM table_name_44 WHERE writer_s_ = \"dana dorian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the years when the grizzlies had a point guard who attended the school/club Florida?\n\n### Context:\nCREATE TABLE table_name_56 (years_for_grizzlies VARCHAR, position VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_for_grizzlies FROM table_name_56 WHERE position = \"point guard\" AND school_club_team = \"florida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are Perkins Engineering's fewest laps?\n\n### Context:\nCREATE TABLE table_name_17 (laps INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_17 WHERE team = \"perkins engineering\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are names for top three branches with most number of membership?\n\n### Context:\nCREATE TABLE branch (name VARCHAR, membership_amount VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM branch ORDER BY membership_amount DESC LIMIT 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance for july 18?\n\n### Context:\nCREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_84 WHERE date = \"july 18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number of directors who've directed episodes seen by 11.34 million US viewers?\n\n### Context:\nCREATE TABLE table_12159115_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(directed_by) FROM table_12159115_2 WHERE us_viewers__millions_ = \"11.34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the start time for december 24, 2005\n\n### Context:\nCREATE TABLE table_name_48 (start_time VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start_time FROM table_name_48 WHERE date = \"december 24, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the highest losses when the goal was smaller than 45 and the points was smaller than 18?\n\n### Context:\nCREATE TABLE table_name_89 (losses INTEGER, goals_for VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_name_89 WHERE goals_for < 45 AND points < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score with a Home of colorado, and a Date with may 11?\n\n### Context:\nCREATE TABLE table_name_72 (score VARCHAR, home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_72 WHERE home = \"colorado\" AND date = \"may 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the leading scorer against the visiting team Bulls?\n\n### Context:\nCREATE TABLE table_name_96 (leading_scorer VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leading_scorer FROM table_name_96 WHERE visitor = \"bulls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat location is listed from 2005-2010?\n\n### Context:\nCREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_26476336_2 WHERE years = \"2005-2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament has a 2010 of 1r, and a 2008 of 1r?\n\n### Context:\nCREATE TABLE table_name_4 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_4 WHERE 2010 = \"1r\" AND 2008 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team was at Corio Oval on 4 June 1927?\n\n### Context:\nCREATE TABLE table_name_77 (away_team VARCHAR, date VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_77 WHERE date = \"4 june 1927\" AND venue = \"corio oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the total number of 2012 births for the January\u2013December 2012 Tver Oblast region?\n\n### Context:\nCREATE TABLE table_25703_2 (birth_2012 INTEGER, january_december_2012 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(birth_2012) FROM table_25703_2 WHERE january_december_2012 = \"Tver Oblast\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the iHeartRadio of the Bronson and Christine Show?\n\n### Context:\nCREATE TABLE table_name_74 (iheartradio VARCHAR, show VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT iheartradio FROM table_name_74 WHERE show = \"bronson and christine\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2012 value with a 1r in 2011 in the Australian Open?\n\n### Context:\nCREATE TABLE table_name_6 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2012 FROM table_name_6 WHERE 2011 = \"1r\" AND tournament = \"australian open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the department name of the instructor whose name contains 'Soisalon'.\n\n### Context:\nCREATE TABLE instructor (dept_name VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dept_name FROM instructor WHERE name LIKE '%Soisalon%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament had a Score of 6\u20133, 2\u20136, [10\u20138]?\n\n### Context:\nCREATE TABLE table_name_90 (tournament VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_90 WHERE score = \"6\u20133, 2\u20136, [10\u20138]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Opponent has an Attendance that is 26,880?\n\n### Context:\nCREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_86 WHERE attendance = \"26,880\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat air date had 1.01 million U.S. viewers?\n\n### Context:\nCREATE TABLE table_28334498_3 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_28334498_3 WHERE us_viewers__millions_ = \"1.01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has detroit as the home and february 17 as the date?\n\n### Context:\nCREATE TABLE table_name_6 (score VARCHAR, home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_6 WHERE home = \"detroit\" AND date = \"february 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the record of 43-28?\n\n### Context:\nCREATE TABLE table_name_69 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_69 WHERE record = \"43-28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat females speak Romanian?\n\n### Context:\nCREATE TABLE table_name_71 (females VARCHAR, language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT females FROM table_name_71 WHERE language = \"romanian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the location when the opponent was Lyoto Machida?\n\n### Context:\nCREATE TABLE table_name_15 (location VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_15 WHERE opponent = \"lyoto machida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the leading scorer on April 7?\n\n### Context:\nCREATE TABLE table_name_8 (leading_scorer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leading_scorer FROM table_name_8 WHERE date = \"april 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest number of wins for the team that scored more than 14 points and had a position of 7?\n\n### Context:\nCREATE TABLE table_name_78 (wins INTEGER, position VARCHAR, scored VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_78 WHERE position = 7 AND scored > 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins did the player have in the Formula BMW World Final?\n\n### Context:\nCREATE TABLE table_17246160_1 (wins VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_17246160_1 WHERE series = \"Formula BMW World Final\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has a FG Pct less than 45.9, a def reb less than 43, and a total reb of 9?\n\n### Context:\nCREATE TABLE table_name_21 (player VARCHAR, total_reb VARCHAR, fg_pct VARCHAR, def_reb VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_21 WHERE fg_pct < 45.9 AND def_reb < 43 AND total_reb = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nJacques Villeneuve was on what grid?\n\n### Context:\nCREATE TABLE table_name_84 (grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_84 WHERE driver = \"jacques villeneuve\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Prohibition ticket has a Socialist Labor ticket of joseph smith?\n\n### Context:\nCREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = \"joseph smith\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of Losses when the number of Wins is less than 4, the number of Tie is 2, and the Place is 5?\n\n### Context:\nCREATE TABLE table_name_38 (losses INTEGER, place VARCHAR, wins VARCHAR, ties VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(losses) FROM table_name_38 WHERE wins < 4 AND ties = 2 AND place = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen the value (int $1000) is 409566, what is the commodity?\n\n### Context:\nCREATE TABLE table_21109892_1 (commodity VARCHAR, value__int_$1000_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT commodity FROM table_21109892_1 WHERE value__int_$1000_ = 409566"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the country Switzerland, what is the total trade?\n\n### Context:\nCREATE TABLE table_26160007_1 (total_trade VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total_trade FROM table_26160007_1 WHERE country = \"Switzerland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the athens xi where dada xi b is strikers fc?\n\n### Context:\nCREATE TABLE table_28759261_5 (athens_xi VARCHAR, dadar_xi_\u2018b\u2019 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_\u2018b\u2019 = \"Strikers FC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the original artist Alicia keys?\n\n### Context:\nCREATE TABLE table_26250145_1 (result VARCHAR, original_artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_26250145_1 WHERE original_artist = \"Alicia Keys\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home score with marek dupnitsa as opponent?\n\n### Context:\nCREATE TABLE table_name_33 (home VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_33 WHERE opponent = \"marek dupnitsa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra?\n\n### Context:\nCREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = \"august 7\" AND main_contestant = \"karanvir bohra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0result\u00a0with\u00a0district being florida 7\n\n### Context:\nCREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1341604_10 WHERE district = \"Florida 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nationality has steve kerr as the player?\n\n### Context:\nCREATE TABLE table_name_95 (nationality VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_95 WHERE player = \"steve kerr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition has a Result of 1\u20132?\n\n### Context:\nCREATE TABLE table_name_73 (competition VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_73 WHERE result = \"1\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?\n\n### Context:\nCREATE TABLE table_name_79 (goals_against INTEGER, wins VARCHAR, goals_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goals_against) FROM table_name_79 WHERE wins = 19 AND goals_for > 53"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Director Erik Matti's Producer?\n\n### Context:\nCREATE TABLE table_name_57 (producer VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT producer FROM table_name_57 WHERE director = \"erik matti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the last 5 meetings when Columbia was mu, 4-2?\n\n### Context:\nCREATE TABLE table_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT last_5_meetings FROM table_name_6 WHERE at_columbia = \"mu, 4-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height of the player born on June 24, 1964, with a weight over 84 kg?\n\n### Context:\nCREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = \"june 24, 1964\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat largest bronze number has a gold number that is bigger than 1?\n\n### Context:\nCREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_66 WHERE gold > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich building has 26 storeys?\n\n### Context:\nCREATE TABLE table_name_42 (building VARCHAR, storeys VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT building FROM table_name_42 WHERE storeys = 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the results for the game with 82,113 attending?\n\n### Context:\nCREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_41 WHERE attendance = \"82,113\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of safeties? \n\n### Context:\nCREATE TABLE table_25642873_2 (safeties INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(safeties) FROM table_25642873_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Country, when Player is \"Dow Finsterwald\"?\n\n### Context:\nCREATE TABLE table_name_54 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_54 WHERE player = \"dow finsterwald\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat grade did jockey Robby Albarado get when racing with Ravens Pass?\n\n### Context:\nCREATE TABLE table_name_78 (grade VARCHAR, jockey VARCHAR, runner_up_winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grade FROM table_name_78 WHERE jockey = \"robby albarado\" AND runner_up_winner = \"ravens pass\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the highest Draws that has the Goal Difference smaller than 64, and the Played larger than 30?\n\n### Context:\nCREATE TABLE table_name_5 (draws INTEGER, goal_difference VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(draws) FROM table_name_5 WHERE goal_difference < 64 AND played > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme?\n\n### Context:\nCREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(mintage) FROM table_name_68 WHERE theme = \"85th anniversary of vimy ridge\" AND year > 2002"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?\n\n### Context:\nCREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT studio_host FROM table_name_19 WHERE play_by_play = \"paul sunderland\" AND studio_analysts = \"jack haley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest uni# of the person with the first name Todd?\n\n### Context:\nCREATE TABLE table_name_32 (uni_number INTEGER, first VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(uni_number) FROM table_name_32 WHERE first = \"todd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Team Dnepr's position in 2006?\n\n### Context:\nCREATE TABLE table_name_77 (position_in_2006 VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position_in_2006 FROM table_name_77 WHERE team = \"dnepr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of cuts made where the top 25 is less than 6 and the top-5 is more than 0?\n\n### Context:\nCREATE TABLE table_name_90 (cuts_made INTEGER, top_25 VARCHAR, top_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(cuts_made) FROM table_name_90 WHERE top_25 < 6 AND top_5 > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the release date of Martial Law: Take Out?\n\n### Context:\nCREATE TABLE table_name_45 (release_date VARCHAR, release_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_45 WHERE release_title = \"martial law: take out\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for opened for the Nascar Major Series?\n\n### Context:\nCREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opened FROM table_name_84 WHERE major_series = \"nascar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the pole(s) when esteban guerrieri led the most laps round 8a and josef newgarden had the fastest lap?\n\n### Context:\nCREATE TABLE table_29690363_3 (pole_position VARCHAR, rd VARCHAR, most_laps_led VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_29690363_3 WHERE most_laps_led = \"Esteban Guerrieri\" AND fastest_lap = \"Josef Newgarden\" AND rd = \"8A\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Tournament of the french open had 2004 that has a 1998 of 2r?\n\n### Context:\nCREATE TABLE table_name_58 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2004 FROM table_name_58 WHERE 1998 = \"2r\" AND tournament = \"french open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has a Record of 3-4?\n\n### Context:\nCREATE TABLE table_name_30 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_30 WHERE record = \"3-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what tournament was there an extra of 400 m hurdles?\n\n### Context:\nCREATE TABLE table_name_31 (tournament VARCHAR, extra VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_31 WHERE extra = \"400 m hurdles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all directors from episodes with viewership of 1.945 million.\n\n### Context:\nCREATE TABLE table_22835602_1 (directed_by VARCHAR, viewers__in_millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_22835602_1 WHERE viewers__in_millions_ = \"1.945\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1st leg where Team 1 is C.D. Plaza Amador?\n\n### Context:\nCREATE TABLE table_name_12 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_12 WHERE team_1 = \"c.d. plaza amador\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date when the attendance was 73,529?\n\n### Context:\nCREATE TABLE table_name_89 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_89 WHERE attendance = \"73,529\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the competitoin where the opponent is sheffield scimitars?\n\n### Context:\nCREATE TABLE table_17120964_9 (competition VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_17120964_9 WHERE opponent = \"Sheffield Scimitars\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat wrestling event was participated in during the 2008 Beijing games?\n\n### Context:\nCREATE TABLE table_name_28 (event VARCHAR, games VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_28 WHERE games = \"2008 beijing\" AND sport = \"wrestling\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the player with pick number of 7\n\n### Context:\nCREATE TABLE table_name_63 (player VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_63 WHERE pick__number = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the high rebounds for the team Minnesota?\n\n### Context:\nCREATE TABLE table_27734769_9 (high_rebounds VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_27734769_9 WHERE team = \"Minnesota\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time when his opponent was Rudy Martin?\n\n### Context:\nCREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_5 WHERE opponent = \"rudy martin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many weeks was K.Maro at #1?\n\n### Context:\nCREATE TABLE table_27441210_12 (weeks_at__number1 INTEGER, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = \"K.Maro\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat opposition do 31.1% of Social Democrats have?\n\n### Context:\nCREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opposition FROM table_name_70 WHERE social_democrats__a_ = \"31.1%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the net seat gain in the race john a. elston (r) 88.4% luella twining (s) 11.6%?\n\n### Context:\nCREATE TABLE table_1346118_5 (result VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1346118_5 WHERE candidates = \"John A. Elston (R) 88.4% Luella Twining (S) 11.6%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the replaced by for august 9 \n\n### Context:\nCREATE TABLE table_25361570_2 (replaced_by VARCHAR, date_of_vacancy VARCHAR, date_of_appointment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT replaced_by FROM table_25361570_2 WHERE date_of_vacancy = \"August 9\" AND date_of_appointment = \"August 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was played at Omni Coliseum with a w 105-95 score?\n\n### Context:\nCREATE TABLE table_name_32 (game VARCHAR, location_attendance VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_32 WHERE location_attendance = \"omni coliseum\" AND score = \"w 105-95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho organized Alston Church?\n\n### Context:\nCREATE TABLE table_name_68 (organized_by VARCHAR, church_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT organized_by FROM table_name_68 WHERE church_name = \"alston church\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue had a draw?\n\n### Context:\nCREATE TABLE table_name_77 (venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_77 WHERE result = \"draw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich start station had the most trips starting from August? Give me the name and id of the station.\n\n### Context:\nCREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE \"8/%\" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Release date has a Director of tom palmer, and a Production Num larger than 5956?\n\n### Context:\nCREATE TABLE table_name_92 (release_date VARCHAR, director VARCHAR, production_num VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_92 WHERE director = \"tom palmer\" AND production_num > 5956"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the organisation id with the maximum outcome count, and the count.\n\n### Context:\nCREATE TABLE Project_outcomes (project_id VARCHAR); CREATE TABLE Projects (organisation_id VARCHAR, project_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.organisation_id, COUNT(*) FROM Projects AS T1 JOIN Project_outcomes AS T2 ON T1.project_id = T2.project_id GROUP BY T1.organisation_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the first name and gender of the student who has allergy to milk but not cat.\n\n### Context:\nCREATE TABLE Student (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Has_allergy (fname VARCHAR, sex VARCHAR, StuID VARCHAR, Allergy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fname, sex FROM Student WHERE StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = \"Milk\" EXCEPT SELECT StuID FROM Has_allergy WHERE Allergy = \"Cat\")"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many blocks are there when the rebounds are fewer than 5.2?\n\n### Context:\nCREATE TABLE table_name_19 (blocks VARCHAR, rebounds INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(blocks) FROM table_name_19 WHERE rebounds < 5.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type of transfer window is winter in Ita?\n\n### Context:\nCREATE TABLE table_name_8 (type VARCHAR, transfer_window VARCHAR, nat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_8 WHERE transfer_window = \"winter\" AND nat = \"ita\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the team 2 for team 1 being la nuova piovese (veneto a)\n\n### Context:\nCREATE TABLE table_name_46 (team_2 VARCHAR, team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_2 FROM table_name_46 WHERE team_1 = \"la nuova piovese (veneto a)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the term for hometown Ester Creek?\n\n### Context:\nCREATE TABLE table_name_55 (term VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT term FROM table_name_55 WHERE hometown = \"ester creek\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player has a round larger than 2, and position of (d)?\n\n### Context:\nCREATE TABLE table_name_20 (player VARCHAR, round VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_20 WHERE round > 2 AND position = \"(d)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Money ( $ ), when Score is \"69-71-70-74=284\"?\n\n### Context:\nCREATE TABLE table_name_65 (money___ INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(money___) AS $__ FROM table_name_65 WHERE score = 69 - 71 - 70 - 74 = 284"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many million viewers watched the episode that aired on March 28, 2010?\n\n### Context:\nCREATE TABLE table_23397386_2 (viewers__millions_ VARCHAR, airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT viewers__millions_ FROM table_23397386_2 WHERE airdate = \"March 28, 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor franklin of class aa, which school years does this occur? \n\n### Context:\nCREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Loss has a Name of bullock, chris, and a Long smaller than 36?\n\n### Context:\nCREATE TABLE table_name_72 (loss INTEGER, name VARCHAR, long VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(loss) FROM table_name_72 WHERE name = \"bullock, chris\" AND long < 36"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the lowest points with a Chassis of zakspeed 841, and a Year smaller than 1985?\n\n### Context:\nCREATE TABLE table_name_32 (points INTEGER, chassis VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_32 WHERE chassis = \"zakspeed 841\" AND year < 1985"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the episode number of the episode whose production code is 226407?\n\n### Context:\nCREATE TABLE table_27714985_1 (no_s__in_season INTEGER, production_code_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_s__in_season) FROM table_27714985_1 WHERE production_code_s_ = 226407"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest area for locations named Centreville having populations over 532?\n\n### Context:\nCREATE TABLE table_name_84 (area_km_2 INTEGER, population VARCHAR, official_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(area_km_2) FROM table_name_84 WHERE population > 532 AND official_name = \"centreville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Place of t6, and a Player of raymond floyd?\n\n### Context:\nCREATE TABLE table_name_43 (score VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_43 WHERE place = \"t6\" AND player = \"raymond floyd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Frequency has a Model Number of c3 1.4a?\n\n### Context:\nCREATE TABLE table_name_5 (frequency VARCHAR, model_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_5 WHERE model_number = \"c3 1.4a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Podiums, when Wins is greater than 1, when Races is 2, and when Points is greater than 150?\n\n### Context:\nCREATE TABLE table_name_47 (podiums INTEGER, points VARCHAR, wins VARCHAR, races VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(podiums) FROM table_name_47 WHERE wins > 1 AND races = 2 AND points > 150"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the least enrollment when founded after 1809 and the institution is university of michigan?\n\n### Context:\nCREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = \"university of michigan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many maximum points were there when the left tackle was played and there were 5 extra points?\n\n### Context:\nCREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_14342592_7 WHERE position = \"Left tackle\" AND extra_points = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0shuttle\u00a0with\u00a0primary payload(s)\u00a0being united states microgravity laboratory-1\n\n### Context:\nCREATE TABLE table_14118521_1 (shuttle VARCHAR, primary_payload_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT shuttle FROM table_14118521_1 WHERE primary_payload_s_ = \"United States Microgravity Laboratory-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the type of Kuang-Hsing?\n\n### Context:\nCREATE TABLE table_name_71 (type VARCHAR, name__wade_giles_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_71 WHERE name__wade_giles_ = \"kuang-hsing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat myspace has linkedin as the site, with an orkit greater than 3?\n\n### Context:\nCREATE TABLE table_name_62 (myspace INTEGER, site VARCHAR, orkut VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(myspace) FROM table_name_62 WHERE site = \"linkedin\" AND orkut > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original title of 3.19?\n\n### Context:\nCREATE TABLE table_20124413_3 (original_title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_title FROM table_20124413_3 WHERE production_code = \"3.19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tournament had a partner of Erika Sema?\n\n### Context:\nCREATE TABLE table_name_9 (tournament VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_9 WHERE partner = \"erika sema\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the series number for Season #18?\n\n### Context:\nCREATE TABLE table_12564633_1 (series__number INTEGER, season__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the US release date?\n\n### Context:\nCREATE TABLE table_name_5 (release_date VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_5 WHERE location = \"us\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2011 population if the headquarters is Chittorgarh?\n\n### Context:\nCREATE TABLE table_2168295_1 (population__2011_ VARCHAR, headquarters VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population__2011_ FROM table_2168295_1 WHERE headquarters = \"Chittorgarh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name for the regional county municipality of d'autray and a code less than 52017?\n\n### Context:\nCREATE TABLE table_name_9 (name VARCHAR, regional_county_municipality VARCHAR, code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_9 WHERE regional_county_municipality = \"d'autray\" AND code < 52017"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0highest\u00a0with\u00a0team\u00a0being forfar athletic\n\n### Context:\nCREATE TABLE table_14003108_1 (highest VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(highest) FROM table_14003108_1 WHERE team = \"Forfar Athletic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the power for the years 1975-84?\n\n### Context:\nCREATE TABLE table_name_40 (power VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power FROM table_name_40 WHERE years = \"1975-84\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Proposed date of the entry that has a CERCLIS ID of al0001058056?\n\n### Context:\nCREATE TABLE table_name_56 (proposed VARCHAR, cerclis_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT proposed FROM table_name_56 WHERE cerclis_id = \"al0001058056\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many samples taken from producer Qingdao Suncare Nutritional Technology with a melamine content less than 53.4?\n\n### Context:\nCREATE TABLE table_name_12 (samples_taken INTEGER, melamine_content_mg_kg_ VARCHAR, producer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(samples_taken) FROM table_name_12 WHERE melamine_content_mg_kg_ < 53.4 AND producer = \"qingdao suncare nutritional technology\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the race called by Marshall Cassidy, who was the host?\n\n### Context:\nCREATE TABLE table_22583466_5 (s_host VARCHAR, race_caller VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT s_host FROM table_22583466_5 WHERE race_caller = \"Marshall Cassidy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record for milwaukee\n\n### Context:\nCREATE TABLE table_23248940_7 (record VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_23248940_7 WHERE team = \"Milwaukee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is Jack Nicklaus from?\n\n### Context:\nCREATE TABLE table_name_17 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_17 WHERE player = \"jack nicklaus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the successor for vacant louisiana 5th\n\n### Context:\nCREATE TABLE table_2417340_4 (successor VARCHAR, vacator VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT successor FROM table_2417340_4 WHERE vacator = \"Vacant\" AND district = \"Louisiana 5th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the build date of the model with a PRR Class of brs24?\n\n### Context:\nCREATE TABLE table_name_61 (build_date VARCHAR, prr_class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT build_date FROM table_name_61 WHERE prr_class = \"brs24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the percentage of Buddhist when the Population is ~2.6 million (2.6million)?\n\n### Context:\nCREATE TABLE table_name_39 (_percentage_buddhist VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_buddhist FROM table_name_39 WHERE population = \"~2.6 million (2.6million)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419?\n\n### Context:\nCREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wickets) FROM table_name_84 WHERE career = \"1946-1960\" AND maidens > 419"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Result with a Date with 22 january 2008?\n\n### Context:\nCREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_43 WHERE date = \"22 january 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the home team when the away team was Sydney?\n\n### Context:\nCREATE TABLE table_16388398_1 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_16388398_1 WHERE away_team = \"Sydney\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the venue where St Kilda was the opposing away team\n\n### Context:\nCREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_76 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the highest pick for SS position?\n\n### Context:\nCREATE TABLE table_name_76 (pick INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_76 WHERE position = \"ss\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the episode title on original air date of September 30, 2007?\n\n### Context:\nCREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_23799417_2 WHERE original_airing = \"September 30, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest attendance was the opponent was chelsea?\n\n### Context:\nCREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_68 WHERE opponent = \"chelsea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of goals with 8 (2) w-leagues?\n\n### Context:\nCREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals) FROM table_name_52 WHERE w_league = \"8 (2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition was held on 14 November 2012?\n\n### Context:\nCREATE TABLE table_name_41 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_41 WHERE date = \"14 november 2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow tall is the freshman guard Cetera Degraffenreid?\n\n### Context:\nCREATE TABLE table_name_56 (height VARCHAR, name VARCHAR, position VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_name_56 WHERE position = \"guard\" AND year = \"freshman\" AND name = \"cetera degraffenreid\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the passenger fare for Lansing, when the passenger fare for Kalamazoo was $599.39?\n\n### Context:\nCREATE TABLE table_name_60 (lansing__lan_ VARCHAR, kalamazoo__azo_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lansing__lan_ FROM table_name_60 WHERE kalamazoo__azo_ = \"$599.39\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original airdate when the season number is 4?\n\n### Context:\nCREATE TABLE table_15824796_5 (original_air_date VARCHAR, season__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_15824796_5 WHERE season__number = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Rank for a Guam Player?\n\n### Context:\nCREATE TABLE table_name_77 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_77 WHERE country = \"guam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest attendance for a game where Geelong was the home team?\n\n### Context:\nCREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_25 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play?\n\n### Context:\nCREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = \"texas state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Attendance of the game on December 12, 2004?\n\n### Context:\nCREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_84 WHERE date = \"december 12, 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent when the result is w 16-15 and has home/away of home\n\n### Context:\nCREATE TABLE table_name_37 (opponent VARCHAR, home_away VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_37 WHERE home_away = \"home\" AND result = \"w 16-15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Best dancer with the Worst dancer of Jerry Springer, a Best score of 29, and the Dance was the Quickstep?\n\n### Context:\nCREATE TABLE table_name_47 (best_dancer VARCHAR, dance VARCHAR, worst_dancer VARCHAR, best_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best_dancer FROM table_name_47 WHERE worst_dancer = \"jerry springer\" AND best_score = 29 AND dance = \"quickstep\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws?\n\n### Context:\nCREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_65 WHERE central_murray = \"tooleybuc manangatang\" AND draws < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is High Assists, when Date is \"March 10\"?\n\n### Context:\nCREATE TABLE table_name_93 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_93 WHERE date = \"march 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat club has more than 35 goals, more than 7 draws, and 20 losses?\n\n### Context:\nCREATE TABLE table_name_38 (club VARCHAR, losses VARCHAR, goals_for VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_38 WHERE goals_for > 35 AND draws > 7 AND losses = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on October 29?\n\n### Context:\nCREATE TABLE table_23308178_4 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_23308178_4 WHERE date = \"October 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Winner has a Trofeo Fast Team of metauro mobili-pinarello, and a General classification of giuseppe saronni?\n\n### Context:\nCREATE TABLE table_name_78 (winner VARCHAR, trofeo_fast_team VARCHAR, general_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_78 WHERE trofeo_fast_team = \"metauro mobili-pinarello\" AND general_classification = \"giuseppe saronni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names of wines that are more expensive then all wines made in the year 2006?\n\n### Context:\nCREATE TABLE WINE (Name VARCHAR, Price INTEGER, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM WINE WHERE Price > (SELECT MAX(Price) FROM WINE WHERE YEAR = 2006)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe head coach, steve radoslavic, is related to which websites?\n\n### Context:\nCREATE TABLE table_11365528_2 (website VARCHAR, head_coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT website FROM table_11365528_2 WHERE head_coach = \"Steve Radoslavic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game played on April 16 with Philadelphia as home team?\n\n### Context:\nCREATE TABLE table_name_64 (result VARCHAR, home_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_64 WHERE home_team = \"philadelphia\" AND date = \"april 16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the theme for a series of season 3 with smaller than 148 days?\n\n### Context:\nCREATE TABLE table_name_6 (theme VARCHAR, days VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT theme FROM table_name_6 WHERE days < 148 AND series = \"season 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the saving balance of the account with the highest checking balance.\n\n### Context:\nCREATE TABLE savings (balance VARCHAR, custid VARCHAR); CREATE TABLE checking (custid VARCHAR, balance VARCHAR); CREATE TABLE accounts (custid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid JOIN savings AS T3 ON T1.custid = T3.custid ORDER BY T2.balance DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the number of sales before 1991?\n\n### Context:\nCREATE TABLE table_name_59 (sales VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT sales FROM table_name_59 WHERE year < 1991"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what flight day was U2 played?\n\n### Context:\nCREATE TABLE table_name_2 (flight_day VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT flight_day FROM table_name_2 WHERE artist = \"u2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many games have a location of memorial stadium and a time of 2:27?\n\n### Context:\nCREATE TABLE table_name_95 (game VARCHAR, location VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_name_95 WHERE location = \"memorial stadium\" AND time = \"2:27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time for when cornelio velasquez was the jockey?\n\n### Context:\nCREATE TABLE table_name_12 (time VARCHAR, jockey VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_12 WHERE jockey = \"cornelio velasquez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Race 2, when Race 4 is 28?\n\n### Context:\nCREATE TABLE table_name_40 (race_2 VARCHAR, race_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_2 FROM table_name_40 WHERE race_4 = \"28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the name of tracks belongs to genre Rock or genre Jazz.\n\n### Context:\nCREATE TABLE genres (id VARCHAR, name VARCHAR); CREATE TABLE tracks (name VARCHAR, genre_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM genres AS T1 JOIN tracks AS T2 ON T1.id = T2.genre_id WHERE T1.name = \"Rock\" OR T1.name = \"Jazz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the league for conference finals\n\n### Context:\nCREATE TABLE table_2553861_1 (league VARCHAR, playoffs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_2553861_1 WHERE playoffs = \"Conference Finals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team did Russ Wiechnik, on the centre position, come from?\n\n### Context:\nCREATE TABLE table_1965650_11 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_1965650_11 WHERE position = \"Centre\" AND player = \"Russ Wiechnik\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank associated with a Height feet / m of 427 / 130?\n\n### Context:\nCREATE TABLE table_name_76 (rank VARCHAR, height_feet___m VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_76 WHERE height_feet___m = \"427 / 130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average total for 0 bronze?\n\n### Context:\nCREATE TABLE table_name_98 (total INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_98 WHERE bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the notes for 2005?\n\n### Context:\nCREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_36 WHERE year = 2005"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Manufacturer has a Quantity of 1, and has the LMMR name Great Mountain?\n\n### Context:\nCREATE TABLE table_name_85 (manufacturer VARCHAR, quantity VARCHAR, lmmr_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_name_85 WHERE quantity = 1 AND lmmr_name = \"great mountain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the socked when the turbo is 8/8/10/11?\n\n### Context:\nCREATE TABLE table_name_40 (socket VARCHAR, turbo VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_name_40 WHERE turbo = \"8/8/10/11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the distance of the course of stage 4?\n\n### Context:\nCREATE TABLE table_name_73 (distance VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_name_73 WHERE stage = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Voltage (kV) has a Country of argentina, and a Power (MW) larger than 30, and a Supply point of yacyret\u00e1?\n\n### Context:\nCREATE TABLE table_name_44 (voltage__kv_ VARCHAR, supply_point VARCHAR, country VARCHAR, power__mw_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(voltage__kv_) FROM table_name_44 WHERE country = \"argentina\" AND power__mw_ > 30 AND supply_point = \"yacyret\u00e1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many customers in state of CA?\n\n### Context:\nCREATE TABLE customers (state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM customers WHERE state = \"CA\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the year of the pig theme?\n\n### Context:\nCREATE TABLE table_name_43 (year VARCHAR, theme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_43 WHERE theme = \"year of the pig\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the class that team Honda Britain was in with points higher than 0?\n\n### Context:\nCREATE TABLE table_name_34 (class VARCHAR, team VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_34 WHERE team = \"honda britain\" AND points > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many cuts did he make at the PGA championship in 3 events?\n\n### Context:\nCREATE TABLE table_name_36 (cuts_made INTEGER, tournament VARCHAR, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(cuts_made) FROM table_name_36 WHERE tournament = \"pga championship\" AND events > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nBldr of mcw&f, and a Year smaller than 1927, and a LT Nos of 9820-9821 has what type?\n\n### Context:\nCREATE TABLE table_name_19 (type VARCHAR, lt_nos VARCHAR, bldr VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_19 WHERE bldr = \"mcw&f\" AND year < 1927 AND lt_nos = \"9820-9821\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Week 2 Sept 7 has a Week 6 Oct 5 of wake forest (3-1)?\n\n### Context:\nCREATE TABLE table_name_84 (week_2_sept_7 VARCHAR, week_6_oct_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_2_sept_7 FROM table_name_84 WHERE week_6_oct_5 = \"wake forest (3-1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Kickoff (ET) has a Result of w 34\u201323?\n\n### Context:\nCREATE TABLE table_name_67 (kickoff__et_ VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kickoff__et_ FROM table_name_67 WHERE result = \"w 34\u201323\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the score in the loss to tapani (0-1)?\n\n### Context:\nCREATE TABLE table_name_39 (score VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_39 WHERE loss = \"tapani (0-1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009?\n\n### Context:\nCREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_vacancy FROM table_name_24 WHERE team = \"fc bayern munich\" AND date_of_appointment = \"27 april 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the length of disc 67?\n\n### Context:\nCREATE TABLE table_name_13 (length VARCHAR, disc VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT length FROM table_name_13 WHERE disc = \"67\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat teams does jim mcinally manage?\n\n### Context:\nCREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_11207040_6 WHERE outgoing_manager = \"Jim McInally\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what score did the match against Marcos Daniel end?\n\n### Context:\nCREATE TABLE table_name_43 (score VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_43 WHERE opponent_in_the_final = \"marcos daniel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest density of alessandria where the area is bigger than 16.02 and altitude is less than 116?\n\n### Context:\nCREATE TABLE table_name_39 (density__inhabitants_km_2__ INTEGER, city VARCHAR, area__km_2__ VARCHAR, altitude__mslm_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(density__inhabitants_km_2__) FROM table_name_39 WHERE area__km_2__ > 16.02 AND altitude__mslm_ < 116 AND city = \"alessandria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe 2nd leg is what for the Atl\u00e9tico Madrid as Team 1?\n\n### Context:\nCREATE TABLE table_name_68 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_name_68 WHERE team_1 = \"atl\u00e9tico madrid\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the college for nate binder\n\n### Context:\nCREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_25017530_5 WHERE player = \"Nate Binder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total score for the date of january 3?\n\n### Context:\nCREATE TABLE table_13619027_7 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(score) FROM table_13619027_7 WHERE date = \"January 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat games have more than 1 draw?\n\n### Context:\nCREATE TABLE table_name_22 (games INTEGER, drawn INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(games) FROM table_name_22 WHERE drawn > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was the home team when Colorado was the visitor and the record became 22\u201313\u20136?\n\n### Context:\nCREATE TABLE table_name_88 (home VARCHAR, visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_88 WHERE visitor = \"colorado\" AND record = \"22\u201313\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years has an engine of audi 3.6l turbo v8 and 1st as the rank with an audi r8r as the chassis?\n\n### Context:\nCREATE TABLE table_name_10 (year VARCHAR, chassis VARCHAR, engine VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_10 WHERE engine = \"audi 3.6l turbo v8\" AND rank = \"1st\" AND chassis = \"audi r8r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest overall pick for a player from Washington?\n\n### Context:\nCREATE TABLE table_name_11 (overall INTEGER, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(overall) FROM table_name_11 WHERE college = \"washington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which distinct years was the governor \"Eliot Spitzer\"?\n\n### Context:\nCREATE TABLE party (YEAR VARCHAR, Governor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT YEAR FROM party WHERE Governor = \"Eliot Spitzer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average expenditures on R&D for Croatia after 2007?\n\n### Context:\nCREATE TABLE table_name_32 (_ppp__ VARCHAR, d__billions_of_us$_ VARCHAR, expenditures_on_r INTEGER, country_region VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(expenditures_on_r) & d__billions_of_us$_, _ppp__ FROM table_name_32 WHERE country_region = \"croatia\" AND year > 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the results for steve millen\n\n### Context:\nCREATE TABLE table_13643154_2 (results VARCHAR, gto_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT results FROM table_13643154_2 WHERE gto_winning_team = \"Steve Millen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the title of the episode daphne field wrote?\n\n### Context:\nCREATE TABLE table_2626495_1 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_2626495_1 WHERE written_by = \"Daphne Field\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho plays Overton Moyle in casino theatre 1888 & savoy theatre 1906?\n\n### Context:\nCREATE TABLE table_148386_2 (casino_theatre_1888 VARCHAR, savoy_theatre_1906 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT casino_theatre_1888 FROM table_148386_2 WHERE savoy_theatre_1906 = \"Overton Moyle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Package/Option, when Television Service is Sky Inside?\n\n### Context:\nCREATE TABLE table_name_63 (package_option VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT package_option FROM table_name_63 WHERE television_service = \"sky inside\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has 1 for the game?\n\n### Context:\nCREATE TABLE table_name_84 (date VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_84 WHERE game = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the French Open in 1999?\n\n### Context:\nCREATE TABLE table_197638_6 (player VARCHAR, french_open VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_197638_6 WHERE french_open = 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away team at Lake Oval?\n\n### Context:\nCREATE TABLE table_name_36 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_36 WHERE venue = \"lake oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Marlene was nominated for the Olivier Award, what was the result?\n\n### Context:\nCREATE TABLE table_name_33 (result VARCHAR, nominated_work VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_33 WHERE nominated_work = \"marlene\" AND award = \"olivier award\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lost has a Position larger than 5, and Points 1 of 37, and less than 63 Goals Against?\n\n### Context:\nCREATE TABLE table_name_87 (lost INTEGER, goals_against VARCHAR, position VARCHAR, points_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lost) FROM table_name_87 WHERE position > 5 AND points_1 = \"37\" AND goals_against < 63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did soul train music awards return?\n\n### Context:\nCREATE TABLE table_name_49 (returning VARCHAR, show VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT returning FROM table_name_49 WHERE show = \"soul train music awards\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time is MDT when EDT is set and PDT is 6:00 a.m.?\n\n### Context:\nCREATE TABLE table_name_58 (mdt___6_utc_ VARCHAR, edt___4_utc_ VARCHAR, pdt___7_utc_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mdt___6_utc_ FROM table_name_58 WHERE edt___4_utc_ = \"set\" AND pdt___7_utc_ = \"6:00 a.m.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Set 1 has a Set 2 of 26\u201324?\n\n### Context:\nCREATE TABLE table_name_77 (set_1 VARCHAR, set_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_1 FROM table_name_77 WHERE set_2 = \"26\u201324\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the episode # of the episode that originally aired on January 21, 2001?\n\n### Context:\nCREATE TABLE table_name_95 (episode__number VARCHAR, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode__number FROM table_name_95 WHERE original_airdate = \"january 21, 2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the wickets when there are 451 runs and india is the fielding team?\n\n### Context:\nCREATE TABLE table_1670921_2 (wicket VARCHAR, runs VARCHAR, fielding_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wicket FROM table_1670921_2 WHERE runs = \"451\" AND fielding_team = \"India\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of goals against for positions higher than 14, with fewer than 30 played?\n\n### Context:\nCREATE TABLE table_name_22 (goals_against INTEGER, position VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(goals_against) FROM table_name_22 WHERE position > 14 AND played < 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the M809 seris with M939 series of M931/932\n\n### Context:\nCREATE TABLE table_name_88 (m809_series VARCHAR, m939_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT m809_series FROM table_name_88 WHERE m939_series = \"m931/932\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the october 15, 2004 catalogue\n\n### Context:\nCREATE TABLE table_name_48 (catalogue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalogue FROM table_name_48 WHERE date = \"october 15, 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat lane did the rank 3 swimmer use?\n\n### Context:\nCREATE TABLE table_name_57 (lane INTEGER, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_57 WHERE rank = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the socket when the sSpec number is standard power?\n\n### Context:\nCREATE TABLE table_name_96 (socket VARCHAR, sspec_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_name_96 WHERE sspec_number = \"standard power\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode number in the season is episode 24 in the series?\n\n### Context:\nCREATE TABLE table_2182654_3 (no_in_season VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had $15,785 in winnings?\n\n### Context:\nCREATE TABLE table_26609690_1 (team_s_ VARCHAR, winnings VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_s_ FROM table_26609690_1 WHERE winnings = \"$15,785\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe game played on 6 December 1986 had what score?\n\n### Context:\nCREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_12 WHERE date = \"6 december 1986\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the open date of open year of the shop named \"Apple\".\n\n### Context:\nCREATE TABLE shop (Open_Date VARCHAR, Open_Year VARCHAR, Shop_Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Open_Date, Open_Year FROM shop WHERE Shop_Name = \"Apple\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game at Essendon?\n\n### Context:\nCREATE TABLE table_name_83 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_83 WHERE away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow did michelle do in archery?\n\n### Context:\nCREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(michelle) FROM table_name_39 WHERE discipline = \"archery\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the total number of snatches for clean and jerk more than 132.5 when the total kg was 315 and bodyweight was 68.63\n\n### Context:\nCREATE TABLE table_name_62 (snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(snatch) FROM table_name_62 WHERE clean_ & _jerk > 132.5 AND total__kg_ = 315 AND bodyweight = 68.63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich young classification has general classification of Christian Vande Velde for Team Columbia and Mark Cavendish?\n\n### Context:\nCREATE TABLE table_name_26 (young_classification VARCHAR, sprint_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT young_classification FROM table_name_26 WHERE general_classification = \"christian vande velde\" AND team_classification = \"team columbia\" AND sprint_classification = \"mark cavendish\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total goals with 12 assists, and less than 291 apps?\n\n### Context:\nCREATE TABLE table_name_52 (goals INTEGER, assists VARCHAR, apps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(goals) FROM table_name_52 WHERE assists = 12 AND apps < 291"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the play by play commentator for the game that has Alan Massengale as Studio Host?\n\n### Context:\nCREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT play_by_play FROM table_name_17 WHERE studio_host = \"alan massengale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?\n\n### Context:\nCREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = \"India\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the North Melbourne's score when they played as the home team?\n\n### Context:\nCREATE TABLE table_name_52 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_52 WHERE home_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the episode number for episode title Leave Takers?\n\n### Context:\nCREATE TABLE table_2570269_2 (episode__number VARCHAR, episode_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode__number FROM table_2570269_2 WHERE episode_title = \"Leave Takers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score to par won in 1998?\n\n### Context:\nCREATE TABLE table_18862490_2 (to_par VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_18862490_2 WHERE year = 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Sn/Sb (%) of 13/17, and a Liquidat (c) bigger than 283 what's the solidat (c)?\n\n### Context:\nCREATE TABLE table_name_46 (solidat__ INTEGER, sn_sb___percentage_ VARCHAR, liquidat__\u00b0c_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(solidat__) AS \u00b0c_ FROM table_name_46 WHERE sn_sb___percentage_ = \"13/17\" AND liquidat__\u00b0c_ > 283"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the main date of the round with 20 fixtures?\n\n### Context:\nCREATE TABLE table_name_81 (main_date VARCHAR, number_of_fixtures VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT main_date FROM table_name_81 WHERE number_of_fixtures = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest total of medals won by Croatia?\n\n### Context:\nCREATE TABLE table_name_12 (total INTEGER, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_12 WHERE nation = \"croatia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the birthdate of Robert Esche?\n\n### Context:\nCREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT birthdate FROM table_name_39 WHERE name = \"robert esche\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the released when the series is sorted 6y/ai?\n\n### Context:\nCREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT released FROM table_name_68 WHERE series_sorted = \"6y/ai\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the details of the customers who do not have any policies.\n\n### Context:\nCREATE TABLE Customer_Policies (customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_details VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT customer_details FROM Customers EXCEPT SELECT T1.customer_details FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.customer_id = T2.customer_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of race time for kevin harvick\n\n### Context:\nCREATE TABLE table_2241259_1 (race_time VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(race_time) FROM table_2241259_1 WHERE driver = \"Kevin Harvick\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the qual 1 for alex tagliani?\n\n### Context:\nCREATE TABLE table_name_25 (qual_1 VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qual_1 FROM table_name_25 WHERE name = \"alex tagliani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0current country of location\u00a0with\u00a0operational period\u00a0\u00a0of summer of 1941 to 28 june 1944\n\n### Context:\nCREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_country_of_location FROM table_10335_1 WHERE operational = \"Summer of 1941 to 28 June 1944\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the id and detail of the vehicle used in lessons for most of the times?\n\n### Context:\nCREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the phone numbers of all customers and suppliers.\n\n### Context:\nCREATE TABLE suppliers (customer_phone VARCHAR, supplier_phone VARCHAR); CREATE TABLE customers (customer_phone VARCHAR, supplier_phone VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT customer_phone FROM customers UNION SELECT supplier_phone FROM suppliers"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Zoe and Matt's result?\n\n### Context:\nCREATE TABLE table_19744915_16 (result VARCHAR, couple VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_19744915_16 WHERE couple = \"Zoe and Matt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Game, when Team is \"Milwaukee\"?\n\n### Context:\nCREATE TABLE table_name_78 (game INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_78 WHERE team = \"milwaukee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the rank when the obese children and adolescent count is 14.2%?\n\n### Context:\nCREATE TABLE table_name_74 (obesity_rank INTEGER, obese_children_and_adolescents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(obesity_rank) FROM table_name_74 WHERE obese_children_and_adolescents = \"14.2%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the composition of the coin that was issued after 2008, had a mintage larger than 999, and was designed by Jody Broomfield?\n\n### Context:\nCREATE TABLE table_name_76 (composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT composition FROM table_name_76 WHERE mintage > 999 AND artist = \"jody broomfield\" AND year > 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the score of the 1st leg when Water Corporation was Team 1?\n\n### Context:\nCREATE TABLE table_name_8 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_8 WHERE team_1 = \"water corporation\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich race was on the Las Vegas Motor Speedway for 2 hours?\n\n### Context:\nCREATE TABLE table_name_36 (race VARCHAR, circuit VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_36 WHERE circuit = \"las vegas motor speedway\" AND length = \"2 hours\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Place is the highest one that has a Draw larger than 1, and 49 Points?\n\n### Context:\nCREATE TABLE table_name_3 (place INTEGER, draw VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(place) FROM table_name_3 WHERE draw > 1 AND points = 49"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the school/country of the player with 337 assists?\n\n### Context:\nCREATE TABLE table_name_48 (school_country VARCHAR, asts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_country FROM table_name_48 WHERE asts = 337"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many millions of viewers were there for number 6?\n\n### Context:\nCREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Inaba's maximum score?\n\n### Context:\nCREATE TABLE table_18595004_7 (inaba INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(inaba) FROM table_18595004_7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Date for the Region of Europe and has the Catalog of 28765 22392 8?\n\n### Context:\nCREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_70 WHERE region = \"europe\" AND catalog = \"28765 22392 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent that played on may 12?\n\n### Context:\nCREATE TABLE table_name_32 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_32 WHERE date = \"may 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total amount of decile with the authority of state around the Pokuru School and a roll smaller than 109?\n\n### Context:\nCREATE TABLE table_name_44 (decile INTEGER, roll VARCHAR, authority VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(decile) FROM table_name_44 WHERE authority = \"state\" AND name = \"pokuru school\" AND roll < 109"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the overall of the running back player?\n\n### Context:\nCREATE TABLE table_name_91 (overall VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall FROM table_name_91 WHERE position = \"running back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time of frida svensson's race that had sa/b under the notes?\n\n### Context:\nCREATE TABLE table_name_81 (time VARCHAR, notes VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_81 WHERE notes = \"sa/b\" AND athlete = \"frida svensson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the city for kanji\u017ea\n\n### Context:\nCREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = \"Kanji\u017ea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time recorded by David Salom on his Yamaha yzf-r6 when his grid was larger than 1?\n\n### Context:\nCREATE TABLE table_name_81 (time VARCHAR, rider VARCHAR, bike VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_81 WHERE bike = \"yamaha yzf-r6\" AND grid > 1 AND rider = \"david salom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2010 has a 2009 of 0 / 4?\n\n### Context:\nCREATE TABLE table_name_86 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_86 WHERE 2009 = \"0 / 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times is the total apps 1 and the fa cup goals less than 0 for bob mountain?\n\n### Context:\nCREATE TABLE table_name_40 (total_goals VARCHAR, fa_cup_goals VARCHAR, total_apps VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_goals) FROM table_name_40 WHERE total_apps = \"1\" AND name = \"bob mountain\" AND fa_cup_goals < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different scores did Team Europe get when Mika Koivuniemi played for them?\n\n### Context:\nCREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = \"Mika Koivuniemi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the launch site of the delta iv rocket with an unknown date and a gps iif-10 satellite?\n\n### Context:\nCREATE TABLE table_name_86 (launch_site VARCHAR, satellite VARCHAR, date VARCHAR, rocket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launch_site FROM table_name_86 WHERE date = \"unknown\" AND rocket = \"delta iv\" AND satellite = \"gps iif-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player had 50 balls?\n\n### Context:\nCREATE TABLE table_name_21 (player VARCHAR, balls VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_21 WHERE balls = 50"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the date of December 7?\n\n### Context:\nCREATE TABLE table_23286112_7 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_23286112_7 WHERE date = \"December 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins were there in 2004-05?\n\n### Context:\nCREATE TABLE table_name_67 (win__number VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT win__number FROM table_name_67 WHERE season = \"2004-05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat 1953 has 2 as a 1949, and 3 as 1952?\n\n### Context:\nCREATE TABLE table_name_48 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1953 FROM table_name_48 WHERE 1949 = \"2\" AND 1952 = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich publisher is responsible for spec ops: stealth patrol?\n\n### Context:\nCREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT publisher FROM table_name_19 WHERE name = \"spec ops: stealth patrol\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the country with ICAO of zgha\n\n### Context:\nCREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_71 WHERE icao = \"zgha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Peter Gregg Hurley Haywood's results?\n\n### Context:\nCREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT results FROM table_13657749_2 WHERE gto_winning_team = \"Peter Gregg Hurley Haywood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the score of 6\u20133 6\u20134?\n\n### Context:\nCREATE TABLE table_name_53 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_53 WHERE score = \"6\u20133 6\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Genre has a Developer(s) of naughty dog?\n\n### Context:\nCREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_name_47 WHERE developer_s_ = \"naughty dog\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest amount of assists for more than 5 games?\n\n### Context:\nCREATE TABLE table_name_24 (assists INTEGER, games_played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(assists) FROM table_name_24 WHERE games_played > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the locations of schools in descending order of founded year.\n\n### Context:\nCREATE TABLE school (LOCATION VARCHAR, Founded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT LOCATION FROM school ORDER BY Founded DESC"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Essendon played away; where did they play?\n\n### Context:\nCREATE TABLE table_name_50 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_50 WHERE away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result on 26 October 1993?\n\n### Context:\nCREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_36 WHERE date = \"26 october 1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game when the record is 2-0?\n\n### Context:\nCREATE TABLE table_name_53 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_53 WHERE record = \"2-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of donors who donated to both school \"Glenn\" and \"Triton.\"\n\n### Context:\nCREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow long is the total lesson time taught by staff with first name as Janessa and last name as Sawayn?\n\n### Context:\nCREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lesson_time) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = \"Janessa\" AND T2.last_name = \"Sawayn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has a total of 160?\n\n### Context:\nCREATE TABLE table_name_19 (player VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_19 WHERE total = 160"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Surname has Throws of r, and a Position of p, and a DOB of 26 april 1989?\n\n### Context:\nCREATE TABLE table_name_64 (surname VARCHAR, dob VARCHAR, throws VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surname FROM table_name_64 WHERE throws = \"r\" AND position = \"p\" AND dob = \"26 april 1989\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the colors for the enrollment of 2020?\n\n### Context:\nCREATE TABLE table_27653955_1 (colors VARCHAR, enrollment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT colors FROM table_27653955_1 WHERE enrollment = 2020"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank has a Total of 12?\n\n### Context:\nCREATE TABLE table_name_72 (rank INTEGER, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_72 WHERE total = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the Loss of Plesac (1-5), what is the Record?\n\n### Context:\nCREATE TABLE table_name_18 (record VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_18 WHERE loss = \"plesac (1-5)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the margin of victory when the winning score was \u221212 (66-67-64-71=268)?\n\n### Context:\nCREATE TABLE table_name_67 (margin_of_victory VARCHAR, winning_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT margin_of_victory FROM table_name_67 WHERE winning_score = \u221212(66 - 67 - 64 - 71 = 268)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round did the match go to when the event was Bars - Moscow vs St. Petersburg?\n\n### Context:\nCREATE TABLE table_name_92 (round VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_92 WHERE event = \"bars - moscow vs st. petersburg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the place of the player with a 71-69-66=206 score?\n\n### Context:\nCREATE TABLE table_name_95 (place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Torque has a Power of HP (KW)?\n\n### Context:\nCREATE TABLE table_name_21 (torque VARCHAR, power VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT torque FROM table_name_21 WHERE power = \"hp (kw)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the smallest crowd size for a home game for Richmond?\n\n### Context:\nCREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_47 WHERE home_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the coach located in Oakden?\n\n### Context:\nCREATE TABLE table_name_69 (coach VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coach FROM table_name_69 WHERE location = \"oakden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the turnover when the profit before tax was 29.47?\n\n### Context:\nCREATE TABLE table_2856898_1 (turnover__\u00a3m_ VARCHAR, profit_before_tax__\u00a3m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT turnover__\u00a3m_ FROM table_2856898_1 WHERE profit_before_tax__\u00a3m_ = \"29.47\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Tournament had a Winning score of \u20136 (73-68-72-69=282)?\n\n### Context:\nCREATE TABLE table_name_49 (tournament VARCHAR, winning_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_49 WHERE winning_score = \u20136(73 - 68 - 72 - 69 = 282)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the stops for stations 36\n\n### Context:\nCREATE TABLE table_2385460_1 (stops VARCHAR, stations VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stops FROM table_2385460_1 WHERE stations = 36"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times was player brian currie picked?\n\n### Context:\nCREATE TABLE table_26996293_7 (pick__number VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_26996293_7 WHERE player = \"Brian Currie\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Role has a First US National Tour of roger bart?\n\n### Context:\nCREATE TABLE table_name_19 (role VARCHAR, first_us_national_tour VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_19 WHERE first_us_national_tour = \"roger bart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen bergen is 88, what is the alesund?\n\n### Context:\nCREATE TABLE table_19439864_2 (\u00e5lesund INTEGER, bergen VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(\u00e5lesund) FROM table_19439864_2 WHERE bergen = 88"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Place of the Player with a To par of \u20136?\n\n### Context:\nCREATE TABLE table_name_96 (place VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_96 WHERE to_par = \"\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what surface was it the year when the score was 6\u20131, 4\u20136, [12\u201310]?\n\n### Context:\nCREATE TABLE table_29163303_4 (surface VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_29163303_4 WHERE score = \"6\u20131, 4\u20136, [12\u201310]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich event had a total of defending champion?\n\n### Context:\nCREATE TABLE table_name_39 (event VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_39 WHERE total = \"defending champion\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168?\n\n### Context:\nCREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = \"1st\" AND points < 168"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years did the soap opera run in which the character Clemens Richter was included?\n\n### Context:\nCREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT duration FROM table_name_2 WHERE character = \"clemens richter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when there was a Loss of birkbeck (0\u20133)?\n\n### Context:\nCREATE TABLE table_name_70 (score VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_70 WHERE loss = \"birkbeck (0\u20133)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Money of the Player in Place 5?\n\n### Context:\nCREATE TABLE table_name_37 (money___ INTEGER, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(money___) AS $__ FROM table_name_37 WHERE place = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year for Ponce, Puerto Rico events?\n\n### Context:\nCREATE TABLE table_name_15 (year INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_15 WHERE venue = \"ponce, puerto rico\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many played have 3 as the drawn, and a position greater than 4?\n\n### Context:\nCREATE TABLE table_name_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(played) FROM table_name_25 WHERE drawn = 3 AND position > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team uses a Cosworth DFV V8 engine and DN9 Chassis?\n\n### Context:\nCREATE TABLE table_name_68 (entrant VARCHAR, engine VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_68 WHERE engine = \"cosworth dfv v8\" AND chassis = \"dn9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the last 5 meetings for a team with an L 1 streak?\n\n### Context:\nCREATE TABLE table_name_85 (last_5_meetings VARCHAR, current_streak VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT last_5_meetings FROM table_name_85 WHERE current_streak = \"l 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the rank is less than 4, and has a second quarter of exxon mobil 341,140.3, what is the fourth quarter?\n\n### Context:\nCREATE TABLE table_name_27 (fourth_quarter VARCHAR, rank VARCHAR, second_quarter VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fourth_quarter FROM table_name_27 WHERE rank < 4 AND second_quarter = \"exxon mobil 341,140.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player attended avon old farms (ushs-ct)?\n\n### Context:\nCREATE TABLE table_2897457_5 (player VARCHAR, college_junior_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_2897457_5 WHERE college_junior_club_team = \"Avon Old Farms (USHS-CT)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the catalog title DP068-07, what formats are available?\n\n### Context:\nCREATE TABLE table_name_52 (format VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_52 WHERE catalog = \"dp068-07\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow fast was the speed during the record set at Coniston Water that was piloted by Malcolm Campbell?\n\n### Context:\nCREATE TABLE table_name_87 (speed VARCHAR, location VARCHAR, pilot_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT speed FROM table_name_87 WHERE location = \"coniston water\" AND pilot_s_ = \"malcolm campbell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the brand in Metro Manila?\n\n### Context:\nCREATE TABLE table_19215259_1 (branding VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT branding FROM table_19215259_1 WHERE location = \"Metro Manila\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total number of matches that had an outcome of Winner, a partner of John Lloyd, and a clay surface?\n\n### Context:\nCREATE TABLE table_2151643_3 (opponents VARCHAR, surface VARCHAR, outcome VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(opponents) FROM table_2151643_3 WHERE outcome = \"Winner\" AND partner = \"John Lloyd\" AND surface = \"Clay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the earliest year with 339 pieces and a number smaller than 7198?\n\n### Context:\nCREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Crowd when Essendon was the home team?\n\n### Context:\nCREATE TABLE table_name_33 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_33 WHERE home_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of byes for losses larger than 14 for a Portland DFL of westerns?\n\n### Context:\nCREATE TABLE table_name_11 (byes INTEGER, portland_dfl VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(byes) FROM table_name_11 WHERE portland_dfl = \"westerns\" AND losses > 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich airline has most number of flights?\n\n### Context:\nCREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Home Team, when Date is \"6 December 1986\", and when Tie No is \"4\"?\n\n### Context:\nCREATE TABLE table_name_49 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_49 WHERE date = \"6 december 1986\" AND tie_no = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was awarded mountains classification when Alessandro petacchi won? \n\n### Context:\nCREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mountains_classification FROM table_25551880_2 WHERE winner = \"Alessandro Petacchi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the session at the circuit of autodrom most?\n\n### Context:\nCREATE TABLE table_name_95 (session VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT session FROM table_name_95 WHERE circuit = \"autodrom most\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want to know the highest rank with placings more than 123 and points greater than 88.06\n\n### Context:\nCREATE TABLE table_name_75 (rank INTEGER, placings VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_75 WHERE placings > 123 AND points > 88.06"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest attendance at Venue H in Round R2?\n\n### Context:\nCREATE TABLE table_name_27 (attendance INTEGER, venue VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_27 WHERE venue = \"h\" AND round = \"r2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of high points for record 5-17\n\n### Context:\nCREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_points) FROM table_23186738_6 WHERE record = \"5-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the 2009 results that has 0 in 2010?\n\n### Context:\nCREATE TABLE table_name_52 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2009 FROM table_name_52 WHERE 2010 = \"0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest game with a 24-23 record?\n\n### Context:\nCREATE TABLE table_name_62 (game INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_62 WHERE record = \"24-23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins had Matches greater than 5?\n\n### Context:\nCREATE TABLE table_name_82 (wins INTEGER, matches INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(wins) FROM table_name_82 WHERE matches > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the school years where class AAAA is in Gregory-Portland? \n\n### Context:\nCREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a Height (m) larger than 4100, and a Range of arsi mountains, and a Mountain of bada?\n\n### Context:\nCREATE TABLE table_name_15 (country VARCHAR, mountain VARCHAR, height__m_ VARCHAR, range VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_15 WHERE height__m_ > 4100 AND range = \"arsi mountains\" AND mountain = \"bada\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest rank for the team of egypt?\n\n### Context:\nCREATE TABLE table_name_58 (rank INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_58 WHERE country = \"egypt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Final has a Team of liechtenstein (lie) liechtenstein i?\n\n### Context:\nCREATE TABLE table_name_55 (final VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT final FROM table_name_55 WHERE team = \"liechtenstein (lie) liechtenstein i\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat label is after 2004?\n\n### Context:\nCREATE TABLE table_name_24 (label VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_24 WHERE year > 2004"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year was Letecke Zavody N.P., Jinonice the manufacturer?\n\n### Context:\nCREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_90 WHERE manufacturer = \"letecke zavody n.p., jinonice\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round has a name of vladimir morozov?\n\n### Context:\nCREATE TABLE table_name_90 (round VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_90 WHERE name = \"vladimir morozov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat the the end number where albert rains was running\n\n### Context:\nCREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_1342233_3 WHERE incumbent = \"Albert Rains\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the incumbent from the Virginia 10 district first elected? \n\n### Context:\nCREATE TABLE table_2668401_17 (first_elected VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_2668401_17 WHERE district = \"Virginia 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Position with a round 3 pick for r. jay soward?\n\n### Context:\nCREATE TABLE table_name_20 (position VARCHAR, round VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_20 WHERE round < 3 AND name = \"r. jay soward\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nhl team does dwight bialowas play for?\n\n### Context:\nCREATE TABLE table_1473672_2 (nhl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_1473672_2 WHERE player = \"Dwight Bialowas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a FIS Nordic World Ski Championships of 1948, 1950?\n\n### Context:\nCREATE TABLE table_name_96 (country VARCHAR, fis_nordic_world_ski_championships VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_96 WHERE fis_nordic_world_ski_championships = \"1948, 1950\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Finish when NL was the League, the Percentage was under 0.726, the Year was larger than 1897, and the Franchies was the Pittsburgh Pirates?\n\n### Context:\nCREATE TABLE table_name_22 (finish VARCHAR, franchise VARCHAR, year VARCHAR, league VARCHAR, percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_22 WHERE league = \"nl\" AND percentage < 0.726 AND year > 1897 AND franchise = \"pittsburgh pirates\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the seed for lyon (32) was DNQ?\n\n### Context:\nCREATE TABLE table_20711545_1 (seed INTEGER, lyon__32_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(seed) FROM table_20711545_1 WHERE lyon__32_ = \"DNQ\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nation had 3 bronze?\n\n### Context:\nCREATE TABLE table_name_91 (nation VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_91 WHERE bronze = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Oxfordshire Area's Ensemble Name?\n\n### Context:\nCREATE TABLE table_name_29 (ensemble_name VARCHAR, area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ensemble_name FROM table_name_29 WHERE area = \"oxfordshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did the away team score at Moorabbin Oval?\n\n### Context:\nCREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_24 WHERE venue = \"moorabbin oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much money does player ben crenshaw, who has a t4 place, have?\n\n### Context:\nCREATE TABLE table_name_36 (money___$__ VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT money___$__ FROM table_name_36 WHERE place = \"t4\" AND player = \"ben crenshaw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the ground for away team essendon?\n\n### Context:\nCREATE TABLE table_name_19 (ground VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ground FROM table_name_19 WHERE away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the highest points for the team of marlboro brm with brm p180 as the chassis?\n\n### Context:\nCREATE TABLE table_name_43 (points INTEGER, team VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_43 WHERE team = \"marlboro brm\" AND chassis = \"brm p180\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is February, when Record is \"21-29-11\"?\n\n### Context:\nCREATE TABLE table_name_46 (february VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT february FROM table_name_46 WHERE record = \"21-29-11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people had a prosecutor background?\n\n### Context:\nCREATE TABLE table_1289860_2 (result VARCHAR, background VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_1289860_2 WHERE background = \"Prosecutor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country had a film in 1993?\n\n### Context:\nCREATE TABLE table_name_31 (country VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_31 WHERE year = 1993"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team were the Bulls hosted by on December 7?\n\n### Context:\nCREATE TABLE table_11960610_7 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_11960610_7 WHERE date = \"December 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the accession number xp_001843282?\n\n### Context:\nCREATE TABLE table_26708105_5 (common_name VARCHAR, accession_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(common_name) FROM table_26708105_5 WHERE accession_number = \"XP_001843282\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team placed sixth during the season where Western Australia placed fourth and Tasmania placed first?\n\n### Context:\nCREATE TABLE table_name_91 (sixth VARCHAR, fourth VARCHAR, first VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sixth FROM table_name_91 WHERE fourth = \"western australia\" AND first = \"tasmania\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn the game that put the team at 34-44, what was the attendance?\n\n### Context:\nCREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_95 WHERE record = \"34-44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Place 2 Player?\n\n### Context:\nCREATE TABLE table_name_1 (player VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_1 WHERE place = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the no votes was 322682, what was the max meas. number?\n\n### Context:\nCREATE TABLE table_256286_54 (meas_num INTEGER, no_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(meas_num) FROM table_256286_54 WHERE no_votes = 322682"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the capital of the province with \uc591\uc8fc in Hangul?\n\n### Context:\nCREATE TABLE table_name_21 (capital VARCHAR, hangul VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capital FROM table_name_21 WHERE hangul = \"\uc591\uc8fc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and id of the good with the highest average rank.\n\n### Context:\nCREATE TABLE review (i_id VARCHAR, rank INTEGER); CREATE TABLE item (title VARCHAR, i_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.title, T1.i_id FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id GROUP BY T2.i_id ORDER BY AVG(T2.rank) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich party is the newark representative from\n\n### Context:\nCREATE TABLE table_29486189_4 (party VARCHAR, residence VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_29486189_4 WHERE residence = \"Newark\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho was the candidate elected to the democratic party in 1952?\n\n### Context:\nCREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341738_34 WHERE first_elected = \"1952\" AND party = \"Democratic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich pick number attended McMaster College?\n\n### Context:\nCREATE TABLE table_name_89 (pick__number VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick__number FROM table_name_89 WHERE college = \"mcmaster\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the week 11 nov 16 standing with wisconsin (10-1) on week 13 Nov 30?\n\n### Context:\nCREATE TABLE table_name_50 (week_11_nov_16 VARCHAR, week_13_nov_30 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_11_nov_16 FROM table_name_50 WHERE week_13_nov_30 = \"wisconsin (10-1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has 1/22 as the date?\n\n### Context:\nCREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_11 WHERE date = \"1/22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the name of the show that had 10.47 million total viewers?\n\n### Context:\nCREATE TABLE table_23793770_2 (title VARCHAR, total_viewers__in_millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_23793770_2 WHERE total_viewers__in_millions_ = \"10.47\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of GEO IDs for areas in Riggin township with water area over 0.587 sq mi and ANSI codes over 1759257?\n\n### Context:\nCREATE TABLE table_name_28 (geo_id VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR, township VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(geo_id) FROM table_name_28 WHERE water__sqmi_ > 0.587 AND township = \"riggin\" AND ansi_code > 1759257"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlayer of mike o'quinn, and a Round smaller than 15 had what lowest pick?\n\n### Context:\nCREATE TABLE table_name_30 (pick INTEGER, player VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_30 WHERE player = \"mike o'quinn\" AND round < 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many teams does Jeff Wyler own?\n\n### Context:\nCREATE TABLE table_19908313_2 (team VARCHAR, listed_owner_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team) FROM table_19908313_2 WHERE listed_owner_s_ = \"Jeff Wyler\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Passengers that have an Airport in indonesia, denpasar?\n\n### Context:\nCREATE TABLE table_name_31 (passengers INTEGER, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(passengers) FROM table_name_31 WHERE airport = \"indonesia, denpasar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith a Rank of 19, and a Start of 14, what was the finish?\n\n### Context:\nCREATE TABLE table_name_41 (finish VARCHAR, rank VARCHAR, start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_41 WHERE rank = \"19\" AND start = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Winning score for the Mynavi ABC Championship Tournament?\n\n### Context:\nCREATE TABLE table_name_55 (winning_score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_55 WHERE tournament = \"mynavi abc championship\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the name of the station where the metlink code is mata?\n\n### Context:\nCREATE TABLE table_3005450_1 (station VARCHAR, metlink_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT station FROM table_3005450_1 WHERE metlink_code = \"MATA\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses did the team, Sturt, have when they had more than 0 wins?\n\n### Context:\nCREATE TABLE table_name_85 (losses VARCHAR, team VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_85 WHERE team = \"sturt\" AND wins > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team at the game when the Thrashers had a record of 18\u201318\u20131?\n\n### Context:\nCREATE TABLE table_name_31 (home VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_31 WHERE record = \"18\u201318\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich template type code has most number of templates?\n\n### Context:\nCREATE TABLE Templates (template_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT template_type_code FROM Templates GROUP BY template_type_code ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the family friendly status of the punk genre song from the 1970s?\n\n### Context:\nCREATE TABLE table_name_8 (family_friendly VARCHAR, decade VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT family_friendly FROM table_name_8 WHERE decade = \"1970s\" AND genre = \"punk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL.\n\n### Context:\nCREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> \"null\" GROUP BY director"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind names of all students who took some course and the course description.\n\n### Context:\nCREATE TABLE enroll (stu_num VARCHAR, class_code VARCHAR); CREATE TABLE course (crs_description VARCHAR, crs_code VARCHAR); CREATE TABLE CLASS (class_code VARCHAR, crs_code VARCHAR); CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_num VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.stu_fname, T1.stu_lname, T4.crs_description FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num JOIN CLASS AS T3 ON T2.class_code = T3.class_code JOIN course AS T4 ON T3.crs_code = T4.crs_code"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the vacator when the date successor seated was august 21, 1973?\n\n### Context:\nCREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vacator FROM table_1134091_4 WHERE date_successor_seated = \"August 21, 1973\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Inhabitants has a Party of south tyrolean people's party, a Municipality of bruneck, and an Election larger than 2010?\n\n### Context:\nCREATE TABLE table_name_36 (inhabitants INTEGER, election VARCHAR, party VARCHAR, municipality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(inhabitants) FROM table_name_36 WHERE party = \"south tyrolean people's party\" AND municipality = \"bruneck\" AND election > 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points for the cosworth v8 engine after 1985?\n\n### Context:\nCREATE TABLE table_name_23 (points VARCHAR, year VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_23 WHERE year > 1985 AND engine = \"cosworth v8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the loss of the game with the opponent of the Nationals with a score of 7-1?\n\n### Context:\nCREATE TABLE table_name_69 (loss VARCHAR, opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_69 WHERE opponent = \"nationals\" AND score = \"7-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the area located in Rhode Island with more than 38 sq mi area?\n\n### Context:\nCREATE TABLE table_name_81 (area__km_2__ INTEGER, location VARCHAR, area__sq_mi_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(area__km_2__) FROM table_name_81 WHERE location = \"rhode island\" AND area__sq_mi_ > 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Paul Whiting won the mixed veteran, who won the mixed restricted?\n\n### Context:\nCREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = \"Paul Whiting\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winning driver of the Kraco Car Stereo 150?\n\n### Context:\nCREATE TABLE table_name_78 (winning_driver VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_78 WHERE name = \"kraco car stereo 150\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Des Dickson's lowest rank for matches smaller than 285 and less than 219 goals?\n\n### Context:\nCREATE TABLE table_name_89 (rank INTEGER, goals VARCHAR, matches VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_89 WHERE matches < 285 AND name = \"des dickson\" AND goals < 219"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had notes of Prizzi's Honor?\n\n### Context:\nCREATE TABLE table_name_72 (director VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_72 WHERE notes = \"prizzi's honor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does the player from kent state play?\n\n### Context:\nCREATE TABLE table_24540893_6 (position VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_24540893_6 WHERE school = \"Kent State\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponents have a Partnering of alessandro motti, and a Date of 12 september 2005?\n\n### Context:\nCREATE TABLE table_name_60 (opponents VARCHAR, partnering VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_name_60 WHERE partnering = \"alessandro motti\" AND date = \"12 september 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?\n\n### Context:\nCREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = \"pga championship\" AND top_5 < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat actor plays Marie-Rose De Putter?\n\n### Context:\nCREATE TABLE table_name_73 (actor VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT actor FROM table_name_73 WHERE character = \"marie-rose de putter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record with a Score with 80\u201387, and a Visitor with bucks?\n\n### Context:\nCREATE TABLE table_name_12 (record VARCHAR, score VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_12 WHERE score = \"80\u201387\" AND visitor = \"bucks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record from the 2,500 in attendance?\n\n### Context:\nCREATE TABLE table_name_12 (record VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_12 WHERE attendance = \"2,500\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName The Title which has a Track number of 07, and a Record label of emi on 21 april 2006?\n\n### Context:\nCREATE TABLE table_name_73 (title VARCHAR, release_date VARCHAR, track_number VARCHAR, record_label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_73 WHERE track_number = \"07\" AND record_label = \"emi\" AND release_date = \"21 april 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Democratic incumbent was first elected in 1998?\n\n### Context:\nCREATE TABLE table_name_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_name_18 WHERE party = \"democratic\" AND first_elected = 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest episode number with an original airdate on 8 June 2008?\n\n### Context:\nCREATE TABLE table_name_31 (episode INTEGER, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(episode) FROM table_name_31 WHERE original_airdate = \"8 june 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the home team of footscray play?\n\n### Context:\nCREATE TABLE table_name_85 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_85 WHERE home_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe tko (doctor stoppage) method was used in a loss against which opponent?\n\n### Context:\nCREATE TABLE table_name_11 (opponent VARCHAR, method VARCHAR, res VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_11 WHERE method = \"tko (doctor stoppage)\" AND res = \"loss\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the first elected year that featured incumbent andrew r. govan?\n\n### Context:\nCREATE TABLE table_2668264_22 (first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_2668264_22 WHERE incumbent = \"Andrew R. Govan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did Carlton play as the away team?\n\n### Context:\nCREATE TABLE table_name_54 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_54 WHERE away_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE HOME TEAM WITH A TIE NUMBER OF 7?\n\n### Context:\nCREATE TABLE table_name_52 (home_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_52 WHERE tie_no = \"7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is name of the drive with a Time of +13.315?\n\n### Context:\nCREATE TABLE table_name_85 (driver VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_85 WHERE time = \"+13.315\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the Spanish Grand Prix where Emerson Fittipaldi drove?\n\n### Context:\nCREATE TABLE table_name_30 (year VARCHAR, event VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_30 WHERE event = \"spanish grand prix\" AND driver = \"emerson fittipaldi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what season was 577 runs scored?\n\n### Context:\nCREATE TABLE table_name_33 (season VARCHAR, runs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_33 WHERE runs = \"577\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the location attendance is the Verizon Center 20,173, what is the date?\n\n### Context:\nCREATE TABLE table_23211041_7 (date VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_23211041_7 WHERE location_attendance = \"Verizon Center 20,173\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the retail space of the Stony Point Fashion Park Mall?\n\n### Context:\nCREATE TABLE table_name_70 (retail_space_sq_feet__m\u00b2_ VARCHAR, mall_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT retail_space_sq_feet__m\u00b2_ FROM table_name_70 WHERE mall_name = \"stony point fashion park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Event has an Outcome of other open tournaments?\n\n### Context:\nCREATE TABLE table_name_34 (event VARCHAR, outcome VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_34 WHERE outcome = \"other open tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich operating system has 1GB (mobile ddr) memory (RAM)?\n\n### Context:\nCREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = \"1gb (mobile ddr)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episode titles aired on September 25, 1967?\n\n### Context:\nCREATE TABLE table_25800134_12 (title VARCHAR, airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_25800134_12 WHERE airdate = \"September 25, 1967\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is HDTV, when Language is English, and when Television Service is MTV Dance?\n\n### Context:\nCREATE TABLE table_name_82 (hdtv VARCHAR, language VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hdtv FROM table_name_82 WHERE language = \"english\" AND television_service = \"mtv dance\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total average for swimsuits smaller than 9.62 in Colorado?\n\n### Context:\nCREATE TABLE table_name_70 (average INTEGER, swimsuit VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(average) FROM table_name_70 WHERE swimsuit < 9.62 AND country = \"colorado\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat race happened at Iowa Speedway?\n\n### Context:\nCREATE TABLE table_name_91 (race VARCHAR, track VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_91 WHERE track = \"iowa speedway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated with 1261, december 17?\n\n### Context:\nCREATE TABLE table_name_5 (elector VARCHAR, elevated VARCHAR, nationality VARCHAR, elevator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elector FROM table_name_5 WHERE nationality = \"roman\" AND elevator = \"urban iv\" AND elevated = \"1261, december 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Elimination move is listed against Team Orton, Eliminated by Batista against Elimination number 7?\n\n### Context:\nCREATE TABLE table_name_25 (elimination VARCHAR, team VARCHAR, eliminated_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elimination AS Move FROM table_name_25 WHERE team = \"team orton\" AND eliminated_by = \"batista\" AND elimination = \"7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's\u00a0the mole\u00a0with\u00a0winner\u00a0being fr\u00e9d\u00e9rique huydts\n\n### Context:\nCREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT the_mole FROM table_13036251_1 WHERE winner = \"Fr\u00e9d\u00e9rique Huydts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat municipality is the Benson Street station located in?\n\n### Context:\nCREATE TABLE table_name_53 (municipality VARCHAR, station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT municipality FROM table_name_53 WHERE station = \"benson street\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich episode was Transmitted on wednesday if the episode of \"307 vs.\" was transmitted on friday? \n\n### Context:\nCREATE TABLE table_18173916_8 (wednesday VARCHAR, friday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wednesday FROM table_18173916_8 WHERE friday = \"307 VS.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is listed as the highest Participants that also have a Rank of 5, and Silver that's smaller than 0?\n\n### Context:\nCREATE TABLE table_name_13 (participants INTEGER, rank VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(participants) FROM table_name_13 WHERE rank = 5 AND silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city has channel tv (dt) 25 (31)?\n\n### Context:\nCREATE TABLE table_1353096_1 (city_of_license__market VARCHAR, channel_tv___dt__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city_of_license__market FROM table_1353096_1 WHERE channel_tv___dt__ = \"25 (31)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district had someone first elected in 1982?\n\n### Context:\nCREATE TABLE table_1341522_41 (district VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1341522_41 WHERE first_elected = 1982"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did Jamie Butt go to?\n\n### Context:\nCREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = \"jamie butt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses did the team with 0 wins and more than 72 runs allowed have?\n\n### Context:\nCREATE TABLE table_name_1 (losses INTEGER, wins VARCHAR, runs_allowed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(losses) FROM table_name_1 WHERE wins = 0 AND runs_allowed > 72"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the crew chief for the team from Make Motorsports?\n\n### Context:\nCREATE TABLE table_name_73 (crew_chief VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crew_chief FROM table_name_73 WHERE team = \"make motorsports\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Spoofed title had Mort Drucker as the artist in issue 88?\n\n### Context:\nCREATE TABLE table_name_97 (spoofed_title VARCHAR, artist VARCHAR, issue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT spoofed_title FROM table_name_97 WHERE artist = \"mort drucker\" AND issue = 88"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent in the bout that led to a win in a time of 1:21?\n\n### Context:\nCREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_47 WHERE res = \"win\" AND time = \"1:21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the surface in 1996?\n\n### Context:\nCREATE TABLE table_name_68 (surface VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_68 WHERE year = 1996"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different total points does the couple ranked at number 5 have?\n\n### Context:\nCREATE TABLE table_19744915_22 (total VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_19744915_22 WHERE rank = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game when the record was 58\u201347?\n\n### Context:\nCREATE TABLE table_name_12 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_12 WHERE record = \"58\u201347\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the race with a winning time of 4:17:18, how many laps were run?\n\n### Context:\nCREATE TABLE table_2241841_1 (laps VARCHAR, race_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_2241841_1 WHERE race_time = \"4:17:18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the score of Game 2?\n\n### Context:\nCREATE TABLE table_name_73 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_73 WHERE game = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of silver that had 0 bronzes and total less than 1?\n\n### Context:\nCREATE TABLE table_name_67 (silver INTEGER, bronze VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_67 WHERE bronze = 0 AND total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat lane did inna nikitina have?\n\n### Context:\nCREATE TABLE table_name_74 (lane INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_74 WHERE name = \"inna nikitina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich district has John Culpepper (f) as the vacator?\n\n### Context:\nCREATE TABLE table_225093_4 (district VARCHAR, vacator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_225093_4 WHERE vacator = \"John Culpepper (F)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Silver for the Nation with more than 1 Bronze and a Rank less than 5?\n\n### Context:\nCREATE TABLE table_name_26 (silver VARCHAR, bronze VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_26 WHERE bronze > 1 AND rank < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Launched which is on 3 may 2001?\n\n### Context:\nCREATE TABLE table_name_31 (launched VARCHAR, date_of_commission VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launched FROM table_name_31 WHERE date_of_commission = \"3 may 2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow long is track number 8?\n\n### Context:\nCREATE TABLE table_11839306_2 (track VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT track AS time FROM table_11839306_2 WHERE track = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the customer that made the order with the largest quantity?\n\n### Context:\nCREATE TABLE order_items (order_id VARCHAR, order_quantity INTEGER); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t3.order_quantity = (SELECT MAX(order_quantity) FROM order_items)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does Jim Johnston play?\n\n### Context:\nCREATE TABLE table_1213511_6 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_1213511_6 WHERE player = \"Jim Johnston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the University founded that joined in 1978?\n\n### Context:\nCREATE TABLE table_255188_1 (founded INTEGER, joined VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(founded) FROM table_255188_1 WHERE joined = 1978"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament took place after 1986 and had a final score of 7\u20136, 3\u20136, 6\u20132?\n\n### Context:\nCREATE TABLE table_name_26 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_26 WHERE date > 1986 AND score_in_the_final = \"7\u20136, 3\u20136, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich entrant has Ferrari 038 3.5 v12 engine?\n\n### Context:\nCREATE TABLE table_name_72 (entrant VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_72 WHERE engine = \"ferrari 038 3.5 v12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player has 69-70-68-73=280 as the score?\n\n### Context:\nCREATE TABLE table_name_52 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_52 WHERE score = 69 - 70 - 68 - 73 = 280"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of goals scored in the FA Cup by Whelan where he had more than 7 total goals?\n\n### Context:\nCREATE TABLE table_name_72 (fa_cup INTEGER, name VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(fa_cup) FROM table_name_72 WHERE name = \"whelan\" AND total > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich race was Matra the constructor?\n\n### Context:\nCREATE TABLE table_name_90 (race_name VARCHAR, constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_name FROM table_name_90 WHERE constructor = \"matra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years did New Zealand win?\n\n### Context:\nCREATE TABLE table_name_30 (year_s__won VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__won FROM table_name_30 WHERE country = \"new zealand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did they do in the game when their record was 3-2-1?\n\n### Context:\nCREATE TABLE table_21058823_1 (result VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_21058823_1 WHERE record = \"3-2-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many production numbers have a Title of bosko in dutch?\n\n### Context:\nCREATE TABLE table_name_93 (production_num INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(production_num) FROM table_name_93 WHERE title = \"bosko in dutch\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school does the Blue Raiders belong to?\n\n### Context:\nCREATE TABLE table_name_16 (school VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_16 WHERE team = \"blue raiders\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the candidates for result of lost renomination democratic loss\n\n### Context:\nCREATE TABLE table_1342149_24 (candidates VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1342149_24 WHERE result = \"Lost renomination Democratic loss\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich video has a 16:9 aspect?\n\n### Context:\nCREATE TABLE table_name_77 (video VARCHAR, aspect VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT video FROM table_name_77 WHERE aspect = \"16:9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Years of the player with Jersey Number(s) of 44?\n\n### Context:\nCREATE TABLE table_name_73 (years VARCHAR, jersey_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_73 WHERE jersey_number_s_ = 44"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest pick for the position of defensive end?\n\n### Context:\nCREATE TABLE table_name_15 (pick INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_15 WHERE position = \"defensive end\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOpponents of sheffield wednesday had what date?\n\n### Context:\nCREATE TABLE table_name_63 (date VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_63 WHERE opponents = \"sheffield wednesday\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many types of products have Rodrick Heaney bought in total?\n\n### Context:\nCREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT t3.product_id) FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id WHERE t1.customer_name = \"Rodrick Heaney\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich combined score has an overall of 8?\n\n### Context:\nCREATE TABLE table_name_80 (combined VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT combined FROM table_name_80 WHERE overall = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times is there more than 0 draws and more than 0 losses?\n\n### Context:\nCREATE TABLE table_name_5 (played VARCHAR, drawn VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(played) FROM table_name_5 WHERE drawn > 0 AND lost > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the air date of the episode written by Itamar Moses? \n\n### Context:\nCREATE TABLE table_25356350_3 (original_air_date VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_25356350_3 WHERE written_by = \"Itamar Moses\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat location is previous to 1994?\n\n### Context:\nCREATE TABLE table_name_56 (location VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_56 WHERE year < 1994"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of jews where the rank is 1?\n\n### Context:\nCREATE TABLE table_1131183_2 (number_of_jews__wjc_ VARCHAR, rank__arda_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(number_of_jews__wjc_) FROM table_1131183_2 WHERE rank__arda_ = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all artist names and the year joined who are not from United States.\n\n### Context:\nCREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, year_join FROM artist WHERE country <> 'United States'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich of the networks originate in Xalapa?\n\n### Context:\nCREATE TABLE table_2899987_2 (network VARCHAR, origin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_2899987_2 WHERE origin = \"Xalapa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different ranks does the Cathay Pacific Plaza 2 have?\n\n### Context:\nCREATE TABLE table_23759976_1 (rank VARCHAR, building_ VARCHAR, a_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_23759976_1 WHERE building_[a_] = \"Cathay Pacific Plaza 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the release date of Sonic Adventure 2?\n\n### Context:\nCREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release FROM table_1322904_1 WHERE title = \"Sonic Adventure 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many events are there?\n\n### Context:\nCREATE TABLE event (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM event"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most points for 1-3-1 record\n\n### Context:\nCREATE TABLE table_27539272_4 (points INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_27539272_4 WHERE record = \"1-3-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates in the Kentucky 5 district? \n\n### Context:\nCREATE TABLE table_2668254_8 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_2668254_8 WHERE district = \"Kentucky 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest attendance for week 2?\n\n### Context:\nCREATE TABLE table_name_50 (attendance INTEGER, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_50 WHERE week = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the max mach when the maximum speed was 3887?\n\n### Context:\nCREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = 3887"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Pro Debut, when Tournament is greater than 11, and when Highest Rank is \"Maegashira 1\"?\n\n### Context:\nCREATE TABLE table_name_68 (pro_debut VARCHAR, tournaments VARCHAR, highest_rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pro_debut FROM table_name_68 WHERE tournaments > 11 AND highest_rank = \"maegashira 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total points for the tean with 8 losses?\n\n### Context:\nCREATE TABLE table_13015539_1 (points VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_13015539_1 WHERE lost = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat days were the rounds of 66-67-70-67 recorded?\n\n### Context:\nCREATE TABLE table_1506950_4 (date VARCHAR, rounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_1506950_4 WHERE rounds = \"66-67-70-67\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind all the customer information in state NY.\n\n### Context:\nCREATE TABLE CUSTOMER (State VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT * FROM CUSTOMER WHERE State = \"NY\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the capacity for the Denver Broncos?\n\n### Context:\nCREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capacity_percentage FROM table_28884858_2 WHERE team = \"Denver Broncos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe pooulation of \u0458\u0430\u0440\u043a\u043e\u0432\u0430\u0446 is?\n\n### Context:\nCREATE TABLE table_2562572_39 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population__2011_ FROM table_2562572_39 WHERE cyrillic_name_other_names = \"\u0408\u0430\u0440\u043a\u043e\u0432\u0430\u0446\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?\n\n### Context:\nCREATE TABLE table_name_73 (silver INTEGER, total VARCHAR, bronze VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game played that was on Sunday, May 27?\n\n### Context:\nCREATE TABLE table_24786958_2 (game_site VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_site FROM table_24786958_2 WHERE date = \"Sunday, May 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many products are never booked with amount higher than 200?\n\n### Context:\nCREATE TABLE products_booked (product_id VARCHAR, booked_amount INTEGER); CREATE TABLE Products_for_hire (product_id VARCHAR, booked_amount INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM Products_for_hire WHERE NOT product_id IN (SELECT product_id FROM products_booked WHERE booked_amount > 200)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the common name for chironius multiventris septentrionalis\n\n### Context:\nCREATE TABLE table_1850282_7 (common_name VARCHAR, species VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT common_name FROM table_1850282_7 WHERE species = \"Chironius multiventris septentrionalis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all characteristics of product named \"sesame\" with type code \"Grade\".\n\n### Context:\nCREATE TABLE CHARACTERISTICS (characteristic_name VARCHAR, characteristic_id VARCHAR, characteristic_type_code VARCHAR); CREATE TABLE products (product_id VARCHAR, product_name VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t3.characteristic_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id WHERE t1.product_name = \"sesame\" AND t3.characteristic_type_code = \"Grade\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is SS Player Rich McKinney's Team?\n\n### Context:\nCREATE TABLE table_name_19 (team VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_19 WHERE position = \"ss\" AND player = \"rich mckinney\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least recent week number when the attendance is 16,562?\n\n### Context:\nCREATE TABLE table_name_1 (week INTEGER, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_1 WHERE attendance = 16 OFFSET 562"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average 2001 value with a 2010 value greater than 414, a 2011 value of 7192, and a 2005 value larger than 7340?\n\n### Context:\nCREATE TABLE table_name_41 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(2001) FROM table_name_41 WHERE 2010 > 414 AND 2011 = 7192 AND 2005 > 7340"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Away has a Tie no of replay, and a Score of 2\u20130?\n\n### Context:\nCREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_93 WHERE tie_no = \"replay\" AND score = \"2\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum training hours for the students whose training hours is greater than 1000 in different positions?\n\n### Context:\nCREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pPos VARCHAR, pID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(T1.HS), pPos FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T1.HS > 1000 GROUP BY T2.pPos"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest number of bronze medals when there were a total of 4 medals, 1 silver medals, and less than 2 medals?\n\n### Context:\nCREATE TABLE table_name_99 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(bronze) FROM table_name_99 WHERE total = 4 AND silver = 1 AND gold < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the max demand charge for the user with a tariff of 8.85?\n\n### Context:\nCREATE TABLE table_25479607_3 (max_demand_charge___rs__kva_ VARCHAR, tariff___rs__kwh_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT max_demand_charge___rs__kva_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = \"8.85\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Format has a Region of united states, and a Catalog of kem 072?\n\n### Context:\nCREATE TABLE table_name_61 (format VARCHAR, region VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_61 WHERE region = \"united states\" AND catalog = \"kem 072\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nare there bi-tone is there's no olive drab and the caliber is 9\u00d719mm parabellum and model is xdm 5.25 competition\n\n### Context:\nCREATE TABLE table_2869843_1 (bi_tone VARCHAR, model VARCHAR, olive_drab VARCHAR, caliber VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bi_tone FROM table_2869843_1 WHERE olive_drab = \"No\" AND caliber = \"9\u00d719mm Parabellum\" AND model = \"XDM 5.25 Competition\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Record, when Opponent is \"New York Knicks\"?\n\n### Context:\nCREATE TABLE table_name_11 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_11 WHERE opponent = \"new york knicks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Gold has a Rank larger than 6, and a Nation of netherlands, and a Bronze smaller than 0?\n\n### Context:\nCREATE TABLE table_name_25 (gold INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_25 WHERE rank > 6 AND nation = \"netherlands\" AND bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the italian voice actor for dirk fenselau\n\n### Context:\nCREATE TABLE table_14960574_6 (italian_voice_actor VARCHAR, german_voice_actor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT italian_voice_actor FROM table_14960574_6 WHERE german_voice_actor = \"Dirk Fenselau\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2010 value with A in 2009 and A in 2008 in the Australian Open?\n\n### Context:\nCREATE TABLE table_name_43 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_43 WHERE 2009 = \"a\" AND 2008 = \"a\" AND tournament = \"australian open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich method has a record of 11-10?\n\n### Context:\nCREATE TABLE table_name_70 (method VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_70 WHERE record = \"11-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the record 4-2?\n\n### Context:\nCREATE TABLE table_name_66 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_66 WHERE record = \"4-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the English word for apfel?\n\n### Context:\nCREATE TABLE table_name_53 (english VARCHAR, german VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english FROM table_name_53 WHERE german = \"apfel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player's runs are 270?\n\n### Context:\nCREATE TABLE table_name_43 (player VARCHAR, runs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_43 WHERE runs = \"270\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the value for played when points is 8 and position is 11th?\n\n### Context:\nCREATE TABLE table_name_2 (played VARCHAR, position VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_name_2 WHERE position = \"11th\" AND points = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sponsor has Mark Hughes as manager?\n\n### Context:\nCREATE TABLE table_name_23 (shirt_sponsor VARCHAR, manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT shirt_sponsor FROM table_name_23 WHERE manager = \"mark hughes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich aggregate has ajax as the club?\n\n### Context:\nCREATE TABLE table_name_49 (aggregate VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT aggregate FROM table_name_49 WHERE club = \"ajax\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the virtual for Fox\n\n### Context:\nCREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(virtual) FROM table_14623167_1 WHERE network = \"Fox\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest grid with rider casey stoner and laps that are smaller than 27?\n\n### Context:\nCREATE TABLE table_name_96 (grid INTEGER, rider VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_96 WHERE rider = \"casey stoner\" AND laps < 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the most points scored in a game where the score was 1-2?\n\n### Context:\nCREATE TABLE table_27539272_7 (points INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_27539272_7 WHERE score = \"1-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Current Club has a Player of bassem balaa?\n\n### Context:\nCREATE TABLE table_name_97 (current_club VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT current_club FROM table_name_97 WHERE player = \"bassem balaa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere week is greater than 14 and Opponent is Dallas Cowboys, what is the result?\n\n### Context:\nCREATE TABLE table_name_89 (result VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_89 WHERE week > 14 AND opponent = \"dallas cowboys\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week did the Jets play in the meadowlands with and attendance of 78,161?\n\n### Context:\nCREATE TABLE table_name_13 (week INTEGER, game_site VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(week) FROM table_name_13 WHERE game_site = \"the meadowlands\" AND attendance = \"78,161\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the name, nationality and id of all male architects ordered by their names lexicographically.\n\n### Context:\nCREATE TABLE architect (name VARCHAR, nationality VARCHAR, id VARCHAR, gender VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, nationality, id FROM architect WHERE gender = 'male' ORDER BY name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the Count Palatine of the Rhine with a Interregnum began of 2 april 1657 death of ferdinand iii?\n\n### Context:\nCREATE TABLE table_name_65 (count_palatine_of_the_rhine VARCHAR, interregnum_began VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT count_palatine_of_the_rhine FROM table_name_65 WHERE interregnum_began = \"2 april 1657 death of ferdinand iii\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Accolade, when Country is \"United States\", and when Year is \"1999\"?\n\n### Context:\nCREATE TABLE table_name_8 (accolade VARCHAR, country VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accolade FROM table_name_8 WHERE country = \"united states\" AND year = 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the catalog of the record released on May 27, 2009?\n\n### Context:\nCREATE TABLE table_name_94 (catalog VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalog FROM table_name_94 WHERE date = \"may 27, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the stadium for nizhny novgorod\n\n### Context:\nCREATE TABLE table_28281704_1 (stadium VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stadium FROM table_28281704_1 WHERE city = \"Nizhny Novgorod\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the per capital income for Washington county?\n\n### Context:\nCREATE TABLE table_name_12 (per_capita_income VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT per_capita_income FROM table_name_12 WHERE county = \"washington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result against Clemson?\n\n### Context:\nCREATE TABLE table_name_86 (result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_86 WHERE opponent = \"clemson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the Roy Hibbert (27) did the high points?\n\n### Context:\nCREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_27756164_2 WHERE high_points = \"Roy Hibbert (27)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the product type codes which have at least two products.\n\n### Context:\nCREATE TABLE products (product_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT product_type_code FROM products GROUP BY product_type_code HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat location was the campus that has a size of 245 acres?\n\n### Context:\nCREATE TABLE table_name_86 (location VARCHAR, size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_86 WHERE size = \"245 acres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.\n\n### Context:\nCREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = \"INTRODUCTION TO COMPUTER SCIENCE\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total grid number where the time/retired is +58.182 and the lap number is less than 67?\n\n### Context:\nCREATE TABLE table_name_12 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_12 WHERE time_retired = \"+58.182\" AND laps < 67"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of starts for the player who lost fewer than 22 and has more than 4 tries?\n\n### Context:\nCREATE TABLE table_name_11 (start INTEGER, lost VARCHAR, tries VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(start) FROM table_name_11 WHERE lost < 22 AND tries > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition did he compete in before 2007 in gothenburg, sweden?\n\n### Context:\nCREATE TABLE table_name_6 (competition VARCHAR, year VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_6 WHERE year < 2007 AND venue = \"gothenburg, sweden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many council taxes are collected for renting arrears ?\n\n### Context:\nCREATE TABLE rent_arrears (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM rent_arrears"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the outcome of the match with opponent Jade Curtis?\n\n### Context:\nCREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_55 WHERE opponent = \"jade curtis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the director of Antz?\n\n### Context:\nCREATE TABLE table_name_35 (director VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_35 WHERE title = \"antz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average year that Thuppakki movies came out?\n\n### Context:\nCREATE TABLE table_name_12 (year INTEGER, movie VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_12 WHERE movie = \"thuppakki\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat state had an elected/assumed office in 2013?\n\n### Context:\nCREATE TABLE table_name_98 (state VARCHAR, elected_assumed_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_98 WHERE elected_assumed_office = 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lost On August 20\n\n### Context:\nCREATE TABLE table_name_3 (loss VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_3 WHERE date = \"august 20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho had a last performance of 3 july 2011?\n\n### Context:\nCREATE TABLE table_name_18 (name VARCHAR, last_performance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_18 WHERE last_performance = \"3 july 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for Steve Gonzalez? \n\n### Context:\nCREATE TABLE table_22603701_1 (result VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_22603701_1 WHERE name = \"Steve Gonzalez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the lowest laps of Tarso Marques?\n\n### Context:\nCREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_69 WHERE driver = \"tarso marques\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat actor won in 1978?\n\n### Context:\nCREATE TABLE table_name_22 (actor VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT actor FROM table_name_22 WHERE year = \"1978\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value in 2008 when 1R is 2009 and 3R?\n\n### Context:\nCREATE TABLE table_name_77 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_77 WHERE 2009 = \"1r\" AND 2006 = \"3r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1st Edition for Episode 11?\n\n### Context:\nCREATE TABLE table_name_16 (episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_edition FROM table_name_16 WHERE episode = \"11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat total was the lowest and had a to par of e?\n\n### Context:\nCREATE TABLE table_name_45 (total INTEGER, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_45 WHERE to_par = \"e\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich design has a serial format of AB-12-34?\n\n### Context:\nCREATE TABLE table_name_46 (design VARCHAR, serial_format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT design FROM table_name_46 WHERE serial_format = \"ab-12-34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the manager 1 for Leeds United?\n\n### Context:\nCREATE TABLE table_name_95 (manager_1 VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manager_1 FROM table_name_95 WHERE team = \"leeds united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does Denard Walker play?\n\n### Context:\nCREATE TABLE table_name_98 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_98 WHERE player = \"denard walker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Format of AM 980?\n\n### Context:\nCREATE TABLE table_name_96 (format VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_96 WHERE frequency = \"am 980\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Time of the Athlete with a Rank of 6?\n\n### Context:\nCREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_55 WHERE rank = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich club has 1 runners-up with 0 winners and 2 third place earned?\n\n### Context:\nCREATE TABLE table_name_12 (club VARCHAR, third VARCHAR, runners_up VARCHAR, winners VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_12 WHERE runners_up = 1 AND winners = 0 AND third = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of headphone class for sr100\n\n### Context:\nCREATE TABLE table_1601027_2 (headphone_class VARCHAR, headphone_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(headphone_class) FROM table_1601027_2 WHERE headphone_model = \"SR100\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn episode 7 what was the highest amount of money requested by Jerry Mantalvanos & Paul Merker ?\n\n### Context:\nCREATE TABLE table_name_24 (money_requested__ INTEGER, episode VARCHAR, entrepreneur_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(money_requested__) AS \u00a3_ FROM table_name_24 WHERE episode = \"episode 7\" AND entrepreneur_s_ = \"jerry mantalvanos & paul merker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the round on 26 August 1995?\n\n### Context:\nCREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_52 WHERE date = \"26 august 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all candidates in the democratic party where the election had the incumbent Frank Chelf running.\n\n### Context:\nCREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1342218_17 WHERE party = \"Democratic\" AND incumbent = \"Frank Chelf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least number of laps for the constructor Ferrari and where the grid number was less than 4?\n\n### Context:\nCREATE TABLE table_name_64 (laps INTEGER, constructor VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_64 WHERE constructor = \"ferrari\" AND grid < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the director with the Min Dally Nseek title, and won?\n\n### Context:\nCREATE TABLE table_name_57 (director VARCHAR, title VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_57 WHERE title = \"min dally nseek\" AND result = \"won\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat championship had a margin of playoff 2?\n\n### Context:\nCREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship FROM table_13026799_1 WHERE margin = \"Playoff 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the prime minister who entered office on 7 December 1916 leave office?\n\n### Context:\nCREATE TABLE table_name_49 (left_office VARCHAR, entered_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT left_office FROM table_name_49 WHERE entered_office = \"7 december 1916\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many yes votes made up 43.18% yes?\n\n### Context:\nCREATE TABLE table_256286_20 (yes_votes INTEGER, _percentage_yes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(yes_votes) FROM table_256286_20 WHERE _percentage_yes = \"43.18%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the township at longitude -100.680772?\n\n### Context:\nCREATE TABLE table_18600760_18 (township VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT township FROM table_18600760_18 WHERE longitude = \"-100.680772\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home of fc st. gallen (asl) geust?\n\n### Context:\nCREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_52 WHERE geust = \"fc st. gallen (asl)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was North Melbourne's score when they were the home team?\n\n### Context:\nCREATE TABLE table_name_52 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_52 WHERE away_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the ICAO for julius nyerere international airport\n\n### Context:\nCREATE TABLE table_name_79 (icao VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT icao FROM table_name_79 WHERE airport = \"julius nyerere international airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most game for w 113\u201396 (ot)\n\n### Context:\nCREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_23281862_10 WHERE score = \"W 113\u201396 (OT)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Total Goals values have 0 League Cup Goals?\n\n### Context:\nCREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_goals < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record in a week later than 7 against the San Diego Chargers?\n\n### Context:\nCREATE TABLE table_name_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_25 WHERE week > 7 AND opponent = \"san diego chargers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is IATA, when ICAO is \"Hesh\"?\n\n### Context:\nCREATE TABLE table_name_35 (iata VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT iata FROM table_name_35 WHERE icao = \"hesh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat country is dubai in\n\n### Context:\nCREATE TABLE table_name_50 (country VARCHAR, town VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_50 WHERE town = \"dubai\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the mascot for 66 pulaski 2?\n\n### Context:\nCREATE TABLE table_name_39 (mascot VARCHAR, _number___county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_name_39 WHERE _number___county = \"66 pulaski 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich outcome has a partner named Mark Dickson, with the opponents of Hans Gildemeister Belus Prajoux?\n\n### Context:\nCREATE TABLE table_name_66 (outcome VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_66 WHERE partner = \"mark dickson\" AND opponents_in_the_final = \"hans gildemeister belus prajoux\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the memory with a socket g1 and a 1/1/6/9 turbo?\n\n### Context:\nCREATE TABLE table_name_93 (memory VARCHAR, socket VARCHAR, turbo VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT memory FROM table_name_93 WHERE socket = \"socket g1\" AND turbo = \"1/1/6/9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the production where the parent company is ariel?\n\n### Context:\nCREATE TABLE table_250309_1 (production__latest_figures_ VARCHAR, parent_company VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production__latest_figures_ FROM table_250309_1 WHERE parent_company = \"Ariel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many loses corresponded to giving up 714 points?\n\n### Context:\nCREATE TABLE table_12792876_2 (lost VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lost FROM table_12792876_2 WHERE points_against = \"714\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat frequency does model L34xx use?\n\n### Context:\nCREATE TABLE table_24018112_1 (frequency VARCHAR, model__list_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_24018112_1 WHERE model__list_ = \"L34xx\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many fastest laps were there for a rd that equals 10?\n\n### Context:\nCREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people were in attendance for the game with a score of 98\u2013111?\n\n### Context:\nCREATE TABLE table_name_12 (attendance INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_12 WHERE score = \"98\u2013111\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of bronzes associated with 0 golds and a rank of 10?\n\n### Context:\nCREATE TABLE table_name_67 (bronze INTEGER, rank VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(bronze) FROM table_name_67 WHERE rank = \"10\" AND gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many venues were played on in round 1\n\n### Context:\nCREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(venue) FROM table_21256068_3 WHERE round = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat frequency does the Pentium processor use?\n\n### Context:\nCREATE TABLE table_24018112_1 (frequency VARCHAR, brand_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_24018112_1 WHERE brand_name = \"Pentium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of week 16?\n\n### Context:\nCREATE TABLE table_name_73 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_73 WHERE week = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the runner-up for algarve tournament\n\n### Context:\nCREATE TABLE table_name_40 (runner_up VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_up FROM table_name_40 WHERE tournament = \"algarve\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average of all the years when the notes are \u201celectronics brand?\u201d\n\n### Context:\nCREATE TABLE table_name_36 (year INTEGER, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_36 WHERE notes = \"electronics brand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the driver that had all rounds and a f399 chassis?\n\n### Context:\nCREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_53 WHERE rounds = \"all\" AND chassis = \"f399\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team was 3:47.761 on day 2?\n\n### Context:\nCREATE TABLE table_name_78 (team VARCHAR, day_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_78 WHERE day_2 = \"3:47.761\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest first elected?\n\n### Context:\nCREATE TABLE table_1341423_21 (first_elected INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1341423_21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player had a position of OT during round 27?\n\n### Context:\nCREATE TABLE table_name_43 (name VARCHAR, position VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_43 WHERE position = \"ot\" AND round = 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did the away team score at Kardinia Park?\n\n### Context:\nCREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_85 WHERE venue = \"kardinia park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the November 3 result when the result for January 15-16 is 141?\n\n### Context:\nCREATE TABLE table_25284864_3 (november_3 VARCHAR, january_15_16 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT november_3 FROM table_25284864_3 WHERE january_15_16 = \"141\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Position has a Season larger than 2000 with a Level of Tier 3?\n\n### Context:\nCREATE TABLE table_name_21 (position VARCHAR, season VARCHAR, level VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_21 WHERE season > 2000 AND level = \"tier 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which venue was North Melbourne the Away team?\n\n### Context:\nCREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_14 WHERE away_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the call sign is wpib, what is lowest ERP W?\n\n### Context:\nCREATE TABLE table_name_21 (erp_w INTEGER, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(erp_w) FROM table_name_21 WHERE call_sign = \"wpib\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type is shown with a moving to of valenciennes?\n\n### Context:\nCREATE TABLE table_name_7 (type VARCHAR, moving_to VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_7 WHERE moving_to = \"valenciennes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the venue for the game on 10-09-2012?\n\n### Context:\nCREATE TABLE table_name_71 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_71 WHERE date = \"10-09-2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the loss for Boris Picano-Nacci?\n\n### Context:\nCREATE TABLE table_name_94 (loss VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_94 WHERE name = \"boris picano-nacci\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every party A with a constituency of Tiruchendur?\n\n### Context:\nCREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party AS a FROM table_22753439_1 WHERE constituency = \"Tiruchendur\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the license plate code for the country with an area of 784?\n\n### Context:\nCREATE TABLE table_name_52 (license_plate_code VARCHAR, area__sqmi_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT license_plate_code FROM table_name_52 WHERE area__sqmi_ = 784"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of byes that has 13 losses and wins less than 5?\n\n### Context:\nCREATE TABLE table_name_41 (byes VARCHAR, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(byes) FROM table_name_41 WHERE losses = 13 AND wins < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when Flavia Pennetta won the championship?\n\n### Context:\nCREATE TABLE table_name_67 (score VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_67 WHERE champion = \"flavia pennetta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the L2 Cache for Model Number nano u3400 with an Idle Power of 100mw?\n\n### Context:\nCREATE TABLE table_name_10 (l2_cache VARCHAR, idle_power VARCHAR, model_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT l2_cache FROM table_name_10 WHERE idle_power = \"100mw\" AND model_number = \"nano u3400\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Goals have Ends of 30 june 2010, and Since larger than 2007?\n\n### Context:\nCREATE TABLE table_name_14 (goals VARCHAR, ends VARCHAR, since VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT goals FROM table_name_14 WHERE ends = \"30 june 2010\" AND since > 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 228 is the lap and chip ganassi racing is the team what is the race time?\n\n### Context:\nCREATE TABLE table_1771753_3 (race_time VARCHAR, team VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_time FROM table_1771753_3 WHERE team = \"Chip Ganassi Racing\" AND laps = \"228\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat School did Player Alonzo Mourning attend?\n\n### Context:\nCREATE TABLE table_name_74 (school VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_74 WHERE player = \"alonzo mourning\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest election with 2 seats and the outcome of the election of minority in parliament?\n\n### Context:\nCREATE TABLE table_name_67 (election INTEGER, outcome_of_election VARCHAR, seats VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(election) FROM table_name_67 WHERE outcome_of_election = \"minority in parliament\" AND seats = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the team record by Week 8?\n\n### Context:\nCREATE TABLE table_name_60 (record VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_60 WHERE week = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games were won with 2nd oha was standing and there were 62 games?\n\n### Context:\nCREATE TABLE table_1143966_1 (won VARCHAR, standing VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT won FROM table_1143966_1 WHERE standing = \"2nd OHA\" AND games = 62"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich chassis has an Alfa Romeo flat-12 engine.\n\n### Context:\nCREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_76 WHERE engine = \"alfa romeo flat-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Date of Birth (Age When Delisted) of 13 February 1987 (aged 24)?\n\n### Context:\nCREATE TABLE table_name_85 (player VARCHAR, date_of_birth__age_when_delisted_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_85 WHERE date_of_birth__age_when_delisted_ = \"13 february 1987 (aged 24)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the meaning of a gentle personality?\n\n### Context:\nCREATE TABLE table_1912713_2 (\u610f\u7fa9_meaning VARCHAR, \u6027\u60c5_personality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT \u610f\u7fa9_meaning FROM table_1912713_2 WHERE \u6027\u60c5_personality = \"Gentle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the brand name associated with a model name e4xxx?\n\n### Context:\nCREATE TABLE table_24099628_1 (brand_name VARCHAR, model__list_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT brand_name FROM table_24099628_1 WHERE model__list_ = \"E4xxx\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat production code does episode 174 of Melrose place have?\n\n### Context:\nCREATE TABLE table_name_92 (production_code VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_name_92 WHERE no_in_series = 174"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record of the game on 5 February 2008?\n\n### Context:\nCREATE TABLE table_name_87 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_87 WHERE date = \"5 february 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Collingwood was the home team who was the opposing away team?\n\n### Context:\nCREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_52 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind all the songs produced by artists with first name \"Marianne\".\n\n### Context:\nCREATE TABLE Songs (Title VARCHAR, SongId VARCHAR); CREATE TABLE Performance (bandmate VARCHAR, SongId VARCHAR); CREATE TABLE Band (id VARCHAR, firstname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.Title FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate = T2.id JOIN Songs AS T3 ON T3.SongId = T1.SongId WHERE T2.firstname = \"Marianne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many television station listings have a ioc code as mas?\n\n### Context:\nCREATE TABLE table_2879165_1 (television_station VARCHAR, ioc_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(television_station) FROM table_2879165_1 WHERE ioc_code = \"MAS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2009 estimate population of the Northeast?\n\n### Context:\nCREATE TABLE table_name_34 (population__2009_estimate_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population__2009_estimate_ FROM table_name_34 WHERE name = \"northeast\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for score l 102\u2013122 (ot)\n\n### Context:\nCREATE TABLE table_27733909_7 (team VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_27733909_7 WHERE score = \"L 102\u2013122 (OT)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Bronze is the lowest one that has a Rank of 3, and a Silver smaller than 2?\n\n### Context:\nCREATE TABLE table_name_7 (bronze INTEGER, rank VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bronze) FROM table_name_7 WHERE rank = \"3\" AND silver < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of rank for growth raate for 14.47\n\n### Context:\nCREATE TABLE table_2527063_3 (rank VARCHAR, growth_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_2527063_3 WHERE growth_rate = \"14.47\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the score in february 12 of the boston celtics team\n\n### Context:\nCREATE TABLE table_17382360_7 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_17382360_7 WHERE team = \"Boston Celtics\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich AFL team has a pick 4 for the offensive tackle position?\n\n### Context:\nCREATE TABLE table_name_14 (afl_team VARCHAR, position VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT afl_team FROM table_name_14 WHERE position = \"offensive tackle\" AND pick = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for Tie no. 6?\n\n### Context:\nCREATE TABLE table_name_27 (score VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_27 WHERE tie_no = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCount the average Gold which has a Nation of sweden, and a Silver larger than 1?\n\n### Context:\nCREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_47 WHERE nation = \"sweden\" AND silver > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses of the player that has drawn 1 and played smaller than 12?\n\n### Context:\nCREATE TABLE table_name_73 (lost VARCHAR, drawn VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lost) FROM table_name_73 WHERE drawn = 1 AND played < 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the incumbent for virginia 4\n\n### Context:\nCREATE TABLE table_2668387_18 (incumbent VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_2668387_18 WHERE district = \"Virginia 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich contestant was associated with episode 34?\n\n### Context:\nCREATE TABLE table_name_30 (name VARCHAR, episode_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_30 WHERE episode_number = \"episode 34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did home team Gold Coast Blaze play?\n\n### Context:\nCREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_14 WHERE home_team = \"gold coast blaze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team has a Score of l 88\u201394 (ot)?\n\n### Context:\nCREATE TABLE table_name_98 (team VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_98 WHERE score = \"l 88\u201394 (ot)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the FIPS code for the municipality that has an area of 114.76 sq mi (297.23 sq km) and had a 2010 population of less than 166,327?\n\n### Context:\nCREATE TABLE table_name_70 (fips_code INTEGER, area VARCHAR, population__2010_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(fips_code) FROM table_name_70 WHERE area = \"114.76 sq mi (297.23 sq km)\" AND population__2010_ < 166 OFFSET 327"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country of the player who has a total larger than 300?\n\n### Context:\nCREATE TABLE table_name_70 (country VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_70 WHERE total > 300"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich City has a Lead of steve gould?\n\n### Context:\nCREATE TABLE table_name_52 (city VARCHAR, lead VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_52 WHERE lead = \"steve gould\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the the approximate translations when the Morphological Category is 1st. plur. perfect?\n\n### Context:\nCREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = \"1st. plur. perfect\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the market value of the automotive industry?\n\n### Context:\nCREATE TABLE table_name_10 (market_value___usd_million_ VARCHAR, industry VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(market_value___usd_million_) FROM table_name_10 WHERE industry = \"automotive\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat formated cataloged alca-9196?\n\n### Context:\nCREATE TABLE table_name_10 (format VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_10 WHERE catalog = \"alca-9196\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Place of t1, and a Player of hubert green?\n\n### Context:\nCREATE TABLE table_name_35 (score INTEGER, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(score) FROM table_name_35 WHERE place = \"t1\" AND player = \"hubert green\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Year(s) won of the Player with a To par of 5?\n\n### Context:\nCREATE TABLE table_name_4 (year_s__won VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__won FROM table_name_4 WHERE to_par = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat machine did Keith T. Gawler ride?\n\n### Context:\nCREATE TABLE table_name_76 (machine VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT machine FROM table_name_76 WHERE rider = \"keith t. gawler\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Gold has a Nation of mongolia, and a Total larger than 18?\n\n### Context:\nCREATE TABLE table_name_37 (gold INTEGER, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_37 WHERE nation = \"mongolia\" AND total > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest numbered episode in the series?\n\n### Context:\nCREATE TABLE table_27969432_3 (no_in_series INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_in_series) FROM table_27969432_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the losses for general caballero zc\n\n### Context:\nCREATE TABLE table_14876228_1 (losses VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losses FROM table_14876228_1 WHERE team = \"General Caballero ZC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date when there were 26 golden tickets?\n\n### Context:\nCREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_57 WHERE golden_tickets = 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Club/province have caps less than 2 and Jonathan Sexton as player?\n\n### Context:\nCREATE TABLE table_name_74 (club_province VARCHAR, caps VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club_province FROM table_name_74 WHERE caps < 2 AND player = \"jonathan sexton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRound 4 for larger than 19 Round 1 and a 27 Round 2?\n\n### Context:\nCREATE TABLE table_name_45 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = \"27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date for w 31-28\n\n### Context:\nCREATE TABLE table_name_60 (date VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_60 WHERE result = \"w 31-28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent for the game with 37,845 people in attendance?\n\n### Context:\nCREATE TABLE table_name_64 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_64 WHERE attendance = \"37,845\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has an against of pohang steelers?\n\n### Context:\nCREATE TABLE table_name_2 (date VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_2 WHERE against = \"pohang steelers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank has a Time of 5:56.73?\n\n### Context:\nCREATE TABLE table_name_81 (rank VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_81 WHERE time = \"5:56.73\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sign has a red border and a warning sign?\n\n### Context:\nCREATE TABLE table_name_68 (text_symbol VARCHAR, border VARCHAR, type_of_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT text_symbol FROM table_name_68 WHERE border = \"red\" AND type_of_sign = \"warning\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Scott Riggs points when he had more than 400 laps?\n\n### Context:\nCREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_28 WHERE driver = \"scott riggs\" AND laps > 400"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2008 rank of Djibouti? \n\n### Context:\nCREATE TABLE table_23050383_1 (country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 AS _rank FROM table_23050383_1 WHERE country = \"Djibouti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the game with team of @ Chicago, what was the final score?\n\n### Context:\nCREATE TABLE table_name_19 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_19 WHERE team = \"@ chicago\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the player with 238 hits and years after 1885\n\n### Context:\nCREATE TABLE table_name_8 (player VARCHAR, year VARCHAR, hits VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_8 WHERE year > 1885 AND hits = 238"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the match where vampiro was the winner in Mexico City?\n\n### Context:\nCREATE TABLE table_name_40 (date VARCHAR, location VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_40 WHERE location = \"mexico city\" AND winner = \"vampiro\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the hometown for ventrell jenkins\n\n### Context:\nCREATE TABLE table_14624447_39 (hometown VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_14624447_39 WHERE name = \"Ventrell Jenkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Hamilton Academical is the Opponent, what is the total Attendance?\n\n### Context:\nCREATE TABLE table_name_26 (attendance VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_26 WHERE opponent = \"hamilton academical\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Tries against when lost shows 12 for pontycymmer rfc?\n\n### Context:\nCREATE TABLE table_name_79 (tries_against VARCHAR, lost VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_against FROM table_name_79 WHERE lost = \"12\" AND club = \"pontycymmer rfc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the United States when Harry Hampton is the player and the money is $73?\n\n### Context:\nCREATE TABLE table_name_23 (score VARCHAR, player VARCHAR, country VARCHAR, money___$__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_23 WHERE country = \"united states\" AND money___$__ = \"73\" AND player = \"harry hampton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the date of appointment for manner of departure being sacked\n\n### Context:\nCREATE TABLE table_name_91 (date_of_appointment VARCHAR, manner_of_departure VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_name_91 WHERE manner_of_departure = \"sacked\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nGive me the name and year of opening of the manufacturers that have either less than 10 factories or more than 10 shops.\n\n### Context:\nCREATE TABLE manufacturer (name VARCHAR, open_year VARCHAR, num_of_shops VARCHAR, Num_of_Factories VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, open_year FROM manufacturer WHERE num_of_shops > 10 OR Num_of_Factories < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the area of drummond village?\n\n### Context:\nCREATE TABLE table_name_45 (area_km_2 INTEGER, status VARCHAR, official_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(area_km_2) FROM table_name_45 WHERE status = \"village\" AND official_name = \"drummond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for 2009 when 25 shows for 2011?\n\n### Context:\nCREATE TABLE table_name_32 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2009 FROM table_name_32 WHERE 2011 = \"25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Nation when there is a total less than 27, gold is less than 1, and bronze is more than 1?\n\n### Context:\nCREATE TABLE table_name_62 (nation VARCHAR, bronze VARCHAR, total VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_62 WHERE total < 27 AND gold < 1 AND bronze > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the average age of female (sex is F) students who have secretary votes in the spring election cycle.\n\n### Context:\nCREATE TABLE STUDENT (Age INTEGER, StuID VARCHAR, Sex VARCHAR); CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.Sex = \"F\" AND T2.Election_Cycle = \"Spring\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Home Team has a Result of 124-101?\n\n### Context:\nCREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_10 WHERE result = \"124-101\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent for 2-27-10\n\n### Context:\nCREATE TABLE table_22875369_3 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_22875369_3 WHERE date = \"2-27-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich club/province has more than 9 caps and Ben Franks as a player?\n\n### Context:\nCREATE TABLE table_name_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club_province FROM table_name_44 WHERE caps > 9 AND player = \"ben franks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the declination for consellaion of ophiuchus and apparent magnitude less than 8.6 with right ascension of 16h47m14.5s\n\n### Context:\nCREATE TABLE table_name_55 (declination___j2000__ VARCHAR, right_ascension___j2000__ VARCHAR, constellation VARCHAR, apparent_magnitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT declination___j2000__ FROM table_name_55 WHERE constellation = \"ophiuchus\" AND apparent_magnitude < 8.6 AND right_ascension___j2000__ = \"16h47m14.5s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Championship is Mackay?\n\n### Context:\nCREATE TABLE table_name_72 (date VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_72 WHERE championship = \"mackay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Time/Retired for brabham - climax, on Grid of 10?\n\n### Context:\nCREATE TABLE table_name_89 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_89 WHERE constructor = \"brabham - climax\" AND grid = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Home is on january 11?\n\n### Context:\nCREATE TABLE table_name_82 (home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_82 WHERE date = \"january 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pick has a Round larger than 8, a Name of kenny fells, and an Overall larger than 297?\n\n### Context:\nCREATE TABLE table_name_64 (pick INTEGER, overall VARCHAR, round VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pick) FROM table_name_64 WHERE round > 8 AND name = \"kenny fells\" AND overall > 297"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe Qual of 120.006 took place in what year?\n\n### Context:\nCREATE TABLE table_name_62 (year VARCHAR, qual VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_62 WHERE qual = \"120.006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the number of international and domestic passengers of the airport named London \"Heathrow\"?\n\n### Context:\nCREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = \"London Heathrow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates in districk Pennsylvania 12?\n\n### Context:\nCREATE TABLE table_2668199_2 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_2668199_2 WHERE district = \"Pennsylvania 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the player who's college is listed as direct to nba, school is st. vincent \u2013 st. mary high school and the year is 2001-2002?\n\n### Context:\nCREATE TABLE table_11677760_1 (player VARCHAR, year VARCHAR, college VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11677760_1 WHERE college = \"Direct to NBA\" AND school = \"St. Vincent \u2013 St. Mary High school\" AND year = \"2001-2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team was in the 2012 clausura tournament?\n\n### Context:\nCREATE TABLE table_30083499_1 (team VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_30083499_1 WHERE tournament = \"2012 Clausura\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4?\n\n### Context:\nCREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT compression_ratio FROM table_name_57 WHERE dx_10_name = \"(none)\" AND fourcc = \"dxt4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the broadcast date for 6.4 million viewers for the archive of 16mm t/r\n\n### Context:\nCREATE TABLE table_1776943_1 (broadcast_date VARCHAR, viewers__in_millions_ VARCHAR, archive VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT broadcast_date FROM table_1776943_1 WHERE viewers__in_millions_ = \"6.4\" AND archive = \"16mm t/r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat numbered pick attended western ontario and is an OL?\n\n### Context:\nCREATE TABLE table_24540893_6 (pick__number VARCHAR, school VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick__number FROM table_24540893_6 WHERE school = \"Western Ontario\" AND position = \"OL\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins did Ayr United have?\n\n### Context:\nCREATE TABLE table_name_79 (wins VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_79 WHERE club = \"ayr united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many carries for jeff smoker?\n\n### Context:\nCREATE TABLE table_name_54 (car INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(car) FROM table_name_54 WHERE player = \"jeff smoker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?\n\n### Context:\nCREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bob_dole FROM table_name_67 WHERE george_hw_bush = \"81%\" AND pat_robertson = \"9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year of Valdimir Poelnikov, who has a final position-tour bigger than 72, a final position-vuelta less than 77, and a final position-giro less than 57?\n\n### Context:\nCREATE TABLE table_name_67 (year INTEGER, rider VARCHAR, final_position___giro VARCHAR, final_position___tour VARCHAR, final_position___vuelta VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_67 WHERE final_position___tour > 72 AND final_position___vuelta < 77 AND final_position___giro < 57 AND rider = \"valdimir poelnikov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the last number in season of the episodes written by Dan Vebber?\n\n### Context:\nCREATE TABLE table_28194879_1 (_number INTEGER, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number) FROM table_28194879_1 WHERE written_by = \"Dan Vebber\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSelect the average price of each manufacturer's products, showing the manufacturer's name.\n\n### Context:\nCREATE TABLE Manufacturers (name VARCHAR, code VARCHAR); CREATE TABLE products (Price INTEGER, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(T1.Price), T2.name FROM products AS T1 JOIN Manufacturers AS T2 ON T1.manufacturer = T2.code GROUP BY T2.name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least area for vas\n\n### Context:\nCREATE TABLE table_16278825_1 (area__km\u00b2_ INTEGER, name_of_county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(area__km\u00b2_) FROM table_16278825_1 WHERE name_of_county = \"Vas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the highest assists when the nuggets record was 2-4?\n\n### Context:\nCREATE TABLE table_name_64 (high_assists VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_64 WHERE record = \"2-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home of the team with Carlos Boozer (27) as the leading scorer?\n\n### Context:\nCREATE TABLE table_name_1 (home VARCHAR, leading_scorer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_1 WHERE leading_scorer = \"carlos boozer (27)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps had a grid of greater than 17 and retired due to collision?\n\n### Context:\nCREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_99 WHERE grid > 17 AND time_retired = \"collision\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value of the coin weighing 10.5 g and made of cupronickel?\n\n### Context:\nCREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT value FROM table_name_52 WHERE composition = \"cupronickel\" AND weight = \"10.5 g\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name is associated with a rank greater than 69, an altitude (meters) smaller than 2154, and a range of Sivorgfjella?\n\n### Context:\nCREATE TABLE table_name_79 (name VARCHAR, altitude__meters_ VARCHAR, range VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_79 WHERE range = \"sivorgfjella\" AND rank > 69 AND altitude__meters_ < 2154"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the lowest Gold for silver being 2 and electronic sports\n\n### Context:\nCREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_98 WHERE silver = 2 AND sport = \"electronic sports\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average year for manly-warringah sea eagles\n\n### Context:\nCREATE TABLE table_name_13 (year INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_13 WHERE opponent = \"manly-warringah sea eagles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwith rank of 31 what is the year?\n\n### Context:\nCREATE TABLE table_name_48 (year VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_48 WHERE rank = \"31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many countries had a per capita withdrawal (m 3 /p/yr) of 372?\n\n### Context:\nCREATE TABLE table_15909409_2 (country VARCHAR, per_capita_withdrawal__m_3__p_yr_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(country) FROM table_15909409_2 WHERE per_capita_withdrawal__m_3__p_yr_ = 372"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich away team played at Kardinia Park?\n\n### Context:\nCREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_35 WHERE venue = \"kardinia park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Class, when Dates is \"22 April - 3 May 2009\"?\n\n### Context:\nCREATE TABLE table_name_20 (class VARCHAR, dates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_20 WHERE dates = \"22 april - 3 may 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the British Rail class 111 tslrb description?\n\n### Context:\nCREATE TABLE table_name_40 (date VARCHAR, description VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_40 WHERE description = \"british rail class 111 tslrb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the affiliation of Davenport University?\n\n### Context:\nCREATE TABLE table_28211213_1 (affiliation VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT affiliation FROM table_28211213_1 WHERE institution = \"Davenport University\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Advisor has most of students? List advisor and the number of students.\n\n### Context:\nCREATE TABLE Student (Advisor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Advisor, COUNT(*) FROM Student GROUP BY Advisor ORDER BY COUNT(Advisor) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Crowd was larger than 25,000. what was the Home Team score?\n\n### Context:\nCREATE TABLE table_name_44 (home_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_44 WHERE crowd > 25 OFFSET 000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith a Total of less than 29, what is Ian Ryan's most Matches?\n\n### Context:\nCREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(matches) FROM table_name_31 WHERE player = \"ian ryan\" AND total < 29"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is Mike Wallace's primary Sponsor(s)?\n\n### Context:\nCREATE TABLE table_name_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = \"mike wallace\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position Jason Fitzgerald played?\n\n### Context:\nCREATE TABLE table_name_89 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_89 WHERE player = \"jason fitzgerald\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nBen Hogan with a score larger than 66 had a place listed of what?\n\n### Context:\nCREATE TABLE table_name_77 (place VARCHAR, score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_77 WHERE score > 66 AND player = \"ben hogan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Founded for chicopee, massachusetts?\n\n### Context:\nCREATE TABLE table_name_59 (founded INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(founded) FROM table_name_59 WHERE location = \"chicopee, massachusetts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich city has a First season of current spell in Segunda Divisi\u00f3n smaller than 2013?\n\n### Context:\nCREATE TABLE table_name_69 (city VARCHAR, first_season_of_current_spell_in_segunda_divisi\u00f3n INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_69 WHERE first_season_of_current_spell_in_segunda_divisi\u00f3n < 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat category has a year after 2004?\n\n### Context:\nCREATE TABLE table_name_33 (category VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_33 WHERE year > 2004"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of bulls that has oxen larger than 113.8, and a sheep and goats larger than 4533.4, and a cows smaller than 3987, and a total horses larger than 5056.5?\n\n### Context:\nCREATE TABLE table_name_58 (bulls VARCHAR, total_horses VARCHAR, cows VARCHAR, oxen VARCHAR, sheep_and_goats VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bulls FROM table_name_58 WHERE oxen > 113.8 AND sheep_and_goats > 4533.4 AND cows < 3987 AND total_horses > 5056.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the latest year that Real Colorado Foxes did not qualify for the playoffs but make it to Open Cup 2nd Round?\n\n### Context:\nCREATE TABLE table_name_95 (year INTEGER, playoffs VARCHAR, open_cup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_95 WHERE playoffs = \"did not qualify\" AND open_cup = \"2nd round\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Name was in the Year 2001?\n\n### Context:\nCREATE TABLE table_name_32 (name VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_32 WHERE year = \"2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the year of daylight service when the builder was Alco?\n\n### Context:\nCREATE TABLE table_name_7 (years_of_daylight_service VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_of_daylight_service FROM table_name_7 WHERE builder = \"alco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the directed/undirected of fpf (mavisto), which has an induced/non-induced of induced?\n\n### Context:\nCREATE TABLE table_name_25 (directed___undirected VARCHAR, induced___non_induced VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed___undirected FROM table_name_25 WHERE induced___non_induced = \"induced\" AND name = \"fpf (mavisto)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat event did she finish 3rd in 2010?\n\n### Context:\nCREATE TABLE table_name_37 (event VARCHAR, position VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_37 WHERE position = \"3rd\" AND year = 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament was Kirk Triplett a runner-up in?\n\n### Context:\nCREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_38 WHERE runner_s__up = \"kirk triplett\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat result has a Score of 1\u20130, and a Competition of 2014 fifa world cup qualification?\n\n### Context:\nCREATE TABLE table_name_47 (result VARCHAR, score VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_47 WHERE score = \"1\u20130\" AND competition = \"2014 fifa world cup qualification\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the avg start for avg finish of 18.3\n\n### Context:\nCREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT avg_start FROM table_2187333_1 WHERE avg_finish = \"18.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the genre for the group with ages 29-30?\n\n### Context:\nCREATE TABLE table_27529608_21 (genre VARCHAR, age_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_27529608_21 WHERE age_s_ = \"29-30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Rank of the Film with a Worldwide Gross of $183,031,272?\n\n### Context:\nCREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = \"$183,031,272\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Player, when Country is \"United States\", and when Total is \"154\"?\n\n### Context:\nCREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_48 WHERE country = \"united states\" AND total = \"154\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe Apollo astronaut who was 38y 9m 7d when first stepping on the moon is who?\n\n### Context:\nCREATE TABLE table_name_27 (born VARCHAR, age_at_first_step VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT born FROM table_name_27 WHERE age_at_first_step = \"38y 9m 7d\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Olympic Games had a silver medal for the Men's Singles?\n\n### Context:\nCREATE TABLE table_name_33 (games VARCHAR, event VARCHAR, medal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT games FROM table_name_33 WHERE event = \"men's singles\" AND medal = \"silver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the leader battle for plamen\n\n### Context:\nCREATE TABLE table_25920798_2 (leader_battle VARCHAR, eliminated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leader_battle FROM table_25920798_2 WHERE eliminated = \"Plamen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of fumbles for the avg larger than 5.4, with yards smaller than 164?\n\n### Context:\nCREATE TABLE table_name_27 (fumbles INTEGER, avg VARCHAR, yards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(fumbles) FROM table_name_27 WHERE avg > 5.4 AND yards < 164"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many parties does william b. cravens represent?\n\n### Context:\nCREATE TABLE table_1342292_4 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1342292_4 WHERE incumbent = \"William B. Cravens\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTeam 1, Everton, has what as a 1st leg?\n\n### Context:\nCREATE TABLE table_name_6 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_6 WHERE team_1 = \"everton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year did she place 8th in the junior race?\n\n### Context:\nCREATE TABLE table_name_9 (year VARCHAR, event VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_9 WHERE event = \"junior race\" AND position = \"8th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the circuit of Madonie, what was the date that had the winning constructor Bugatti?\n\n### Context:\nCREATE TABLE table_name_17 (date VARCHAR, circuit VARCHAR, winning_constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_17 WHERE circuit = \"madonie\" AND winning_constructor = \"bugatti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Oberliga Bayern has a Season of 1981-82?\n\n### Context:\nCREATE TABLE table_name_24 (oberliga_bayern VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT oberliga_bayern FROM table_name_24 WHERE season = \"1981-82\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Darrius Heyward-Bey's average with more than 20 yards and less than 80 long?\n\n### Context:\nCREATE TABLE table_name_89 (avg VARCHAR, long VARCHAR, yards VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(avg) FROM table_name_89 WHERE yards > 20 AND player = \"darrius heyward-bey\" AND long < 80"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Turbo has the Release price (USD) of $583?\n\n### Context:\nCREATE TABLE table_name_29 (turbo VARCHAR, release_price___usd__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT turbo FROM table_name_29 WHERE release_price___usd__ = \"$583\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of races when there are less than 6 podiums, the series is the formula renault 2.0 eurocup, and there are more than 0 wins?\n\n### Context:\nCREATE TABLE table_name_5 (races INTEGER, wins VARCHAR, podiums VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(races) FROM table_name_5 WHERE podiums < 6 AND series = \"formula renault 2.0 eurocup\" AND wins > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Affiliation, when Nickname is Bulldogs?\n\n### Context:\nCREATE TABLE table_name_4 (affiliation VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT affiliation FROM table_name_4 WHERE nickname = \"bulldogs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did the away team score at Junction oval?\n\n### Context:\nCREATE TABLE table_name_30 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_30 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time of the NJKF Titans Neo X event?\n\n### Context:\nCREATE TABLE table_name_83 (time VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_83 WHERE event = \"njkf titans neo x\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the equipment for bike number 6\n\n### Context:\nCREATE TABLE table_16941304_4 (equipment VARCHAR, bike_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT equipment FROM table_16941304_4 WHERE bike_no = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ID of marshall landfill on 09/08/1983?\n\n### Context:\nCREATE TABLE table_name_98 (cerclis_id VARCHAR, listed VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cerclis_id FROM table_name_98 WHERE listed = \"09/08/1983\" AND name = \"marshall landfill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the entry for the Australian sound that has an example of illyria, cf. cirrhosis?\n\n### Context:\nCREATE TABLE table_name_79 (australian VARCHAR, examples VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT australian FROM table_name_79 WHERE examples = \"illyria, cf. cirrhosis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total earnings ($) with more than two wins and a rank less than 2?\n\n### Context:\nCREATE TABLE table_name_1 (earnings___ VARCHAR, wins VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(earnings___) AS $__ FROM table_name_1 WHERE wins > 2 AND rank < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Label has a Country of canada, and a Format of cd/digital download?\n\n### Context:\nCREATE TABLE table_name_53 (label VARCHAR, country VARCHAR, format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_53 WHERE country = \"canada\" AND format = \"cd/digital download\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Finish, when To Par is greater than 6, and when Year(s) Won is before 1961?\n\n### Context:\nCREATE TABLE table_name_33 (finish VARCHAR, to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_33 WHERE to_par > 6 AND year_s__won < 1961"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did the defensive back attend?\n\n### Context:\nCREATE TABLE table_16376436_1 (college VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_16376436_1 WHERE position = \"Defensive Back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the maximum game in the javale mcgee (5) high rebounds?\n\n### Context:\nCREATE TABLE table_27721131_2 (game INTEGER, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_27721131_2 WHERE high_rebounds = \"JaVale McGee (5)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho made the car that won the race on May 21?\n\n### Context:\nCREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_2241841_1 WHERE date = \"May 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Boston Bruins minimum pick?\n\n### Context:\nCREATE TABLE table_1965650_10 (pick__number INTEGER, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick__number) FROM table_1965650_10 WHERE nhl_team = \"Boston Bruins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Games has a Name of st\u00e9phane dumas and a Rank larger than 5?\n\n### Context:\nCREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(games) FROM table_name_3 WHERE name = \"st\u00e9phane dumas\" AND rank > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat away team played at Kardinia Park?\n\n### Context:\nCREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_24 WHERE venue = \"kardinia park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district has a constituency of 60?\n\n### Context:\nCREATE TABLE table_name_27 (district VARCHAR, constituency_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_27 WHERE constituency_number = \"60\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record when the visitor is st. louis\n\n### Context:\nCREATE TABLE table_name_41 (record VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_41 WHERE visitor = \"st. louis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Top 10 performances that have more than 2 wins and is higher than number 16 in the Top 25?\n\n### Context:\nCREATE TABLE table_name_98 (top_10 INTEGER, wins VARCHAR, top_25 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(top_10) FROM table_name_98 WHERE wins > 2 AND top_25 < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?\n\n### Context:\nCREATE TABLE table_name_97 (interview_subject VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 20 AS _questions FROM table_name_97 WHERE interview_subject = \"camille paglia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the gp citt\u00e0 di camaiore race?\n\n### Context:\nCREATE TABLE table_name_54 (date VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_54 WHERE race_name = \"gp citt\u00e0 di camaiore\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Writer with a Date that is january 1975?\n\n### Context:\nCREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT writer FROM table_name_63 WHERE date = \"january 1975\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the 92.5 with the press of 282.5?\n\n### Context:\nCREATE TABLE table_name_26 (press VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 925 FROM table_name_26 WHERE press = \"282.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the sitting Representative In the New York 10 polling area race?\n\n### Context:\nCREATE TABLE table_1342256_32 (incumbent VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1342256_32 WHERE district = \"New York 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Run 1, when Athletes is \"Theo Kitt & Friedrich Kuhn\"?\n\n### Context:\nCREATE TABLE table_name_89 (run_1 VARCHAR, athletes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT run_1 FROM table_name_89 WHERE athletes = \"theo kitt & friedrich kuhn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date the footscray's away game?\n\n### Context:\nCREATE TABLE table_name_81 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_81 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the ids and names of festivals that have at least two nominations for artworks.\n\n### Context:\nCREATE TABLE nomination (Festival_ID VARCHAR, Artwork_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR); CREATE TABLE artwork (Artwork_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Festival_ID, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID GROUP BY T1.Festival_ID HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich chassis has more than 0 points and was before 1966?\n\n### Context:\nCREATE TABLE table_name_59 (chassis VARCHAR, year VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_59 WHERE year < 1966 AND points > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was the death when the birth was 8 december 1542?\n\n### Context:\nCREATE TABLE table_name_45 (death VARCHAR, birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT death FROM table_name_45 WHERE birth = \"8 december 1542\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times is the team tauro and played less than 18?\n\n### Context:\nCREATE TABLE table_name_85 (place VARCHAR, team VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(place) FROM table_name_85 WHERE team = \"tauro\" AND played < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the IHSAA class in monon?\n\n### Context:\nCREATE TABLE table_name_56 (ihsaa_class VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ihsaa_class FROM table_name_56 WHERE location = \"monon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?\n\n### Context:\nCREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Final AS week_12 FROM table_name_8 WHERE week_1 = \"deepak p rahul\" AND week_3 = \"amit carol\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the stone found in Andhra Pradesh, India?\n\n### Context:\nCREATE TABLE table_name_13 (name_of_the_stone__sila_ VARCHAR, name_of_the_state_where_found_in_india VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name_of_the_stone__sila_ FROM table_name_13 WHERE name_of_the_state_where_found_in_india = \"andhra pradesh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of wins that has a top-10 of 2, and more events than 8, more cuts than 6?\n\n### Context:\nCREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, top_10 VARCHAR, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_52 WHERE top_10 = 2 AND events > 8 AND cuts_made > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team drafted steve scifres?\n\n### Context:\nCREATE TABLE table_13758243_1 (nfl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nfl_team FROM table_13758243_1 WHERE player = \"Steve Scifres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the mountain classification winner in the stage won by Alessandro Ballan?\n\n### Context:\nCREATE TABLE table_22917458_15 (mountains_classification_klasyfikacja_g\u00f3rska VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mountains_classification_klasyfikacja_g\u00f3rska FROM table_22917458_15 WHERE winner = \"Alessandro Ballan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of seats from the election with 27.0% of votes?\n\n### Context:\nCREATE TABLE table_name_55 (seats INTEGER, share_of_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = \"27.0%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the pick for round 8 with a USA nationality in the 2000 draft?\n\n### Context:\nCREATE TABLE table_name_72 (pick VARCHAR, draft VARCHAR, round VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick FROM table_name_72 WHERE round = \"8\" AND nationality = \"usa\" AND draft = 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average round for the OT position from tulane college with an overall over 38?\n\n### Context:\nCREATE TABLE table_name_41 (round INTEGER, overall VARCHAR, position VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_41 WHERE position = \"ot\" AND college = \"tulane\" AND overall > 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nname the top 5 where the winnings is $52,595\n\n### Context:\nCREATE TABLE table_1671401_3 (top_5 VARCHAR, winnings VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT top_5 FROM table_1671401_3 WHERE winnings = \"$52,595\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Played has a Position larger than 5, a Points larger than 0, and a Drawn smaller than 0?\n\n### Context:\nCREATE TABLE table_name_26 (played INTEGER, drawn VARCHAR, position VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(played) FROM table_name_26 WHERE position > 5 AND points > 0 AND drawn < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points are listed when the position is 2?\n\n### Context:\nCREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_15405904_1 WHERE position = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Coach has a Runner-up of northeastern and a Score of 6\u20133?\n\n### Context:\nCREATE TABLE table_name_82 (coach VARCHAR, runner_up VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coach FROM table_name_82 WHERE runner_up = \"northeastern\" AND score = \"6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score in the final has a Surface of clay, and a Partner of martin emmrich?\n\n### Context:\nCREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_in_the_final FROM table_name_62 WHERE surface = \"clay\" AND partner = \"martin emmrich\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe local title \"Live to Dance\" was aired in which channel?\n\n### Context:\nCREATE TABLE table_24598274_20 (channel VARCHAR, local_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT channel FROM table_24598274_20 WHERE local_title = \"Live to Dance\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what city is the July temperature 23/9\u00b0c (73/48\u00b0f)?\n\n### Context:\nCREATE TABLE table_name_49 (city VARCHAR, july VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_49 WHERE july = \"23/9\u00b0c (73/48\u00b0f)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich region does Old Dominion University represent?\n\n### Context:\nCREATE TABLE table_name_33 (region VARCHAR, host VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_33 WHERE host = \"old dominion university\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the mens doubles when womens doubles is anastasia chervyakova romina gabdullina?\n\n### Context:\nCREATE TABLE table_12171145_1 (mens_doubles VARCHAR, womens_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_doubles FROM table_12171145_1 WHERE womens_doubles = \"Anastasia Chervyakova Romina Gabdullina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the episodes with an episode run time of 24:01?\n\n### Context:\nCREATE TABLE table_1429629_1 (episode VARCHAR, run_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_1429629_1 WHERE run_time = \"24:01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sequencer when ion torrent pgm is 200-400 bp?\n\n### Context:\nCREATE TABLE table_127511_1 (sequencer VARCHAR, ion_torrent_pgm VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sequencer FROM table_127511_1 WHERE ion_torrent_pgm = \"200-400 bp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of poles for fastest laps being 6\n\n### Context:\nCREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has a time less than 40.2 at the rome venue?\n\n### Context:\nCREATE TABLE table_name_69 (position VARCHAR, venue VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_69 WHERE venue = \"rome\" AND time < 40.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat high definition television options are available for Italia 1?\n\n### Context:\nCREATE TABLE table_15887683_1 (hdtv VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hdtv FROM table_15887683_1 WHERE television_service = \"Italia 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many caps have a Date of Birth (Age) of 15 july 1981?\n\n### Context:\nCREATE TABLE table_name_49 (caps VARCHAR, date_of_birth__age_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(caps) FROM table_name_49 WHERE date_of_birth__age_ = \"15 july 1981\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Motherwell Team's manner of departure?\n\n### Context:\nCREATE TABLE table_name_57 (manner_of_departure VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manner_of_departure FROM table_name_57 WHERE team = \"motherwell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE SCORE WHEN THE COMPETITION WAS 1978 world cup qualification?\n\n### Context:\nCREATE TABLE table_name_2 (score VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_2 WHERE competition = \"1978 world cup qualification\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nin what year did the colors red and gold join?\n\n### Context:\nCREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = \"Red and Gold\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the population of the country of McDowell?\n\n### Context:\nCREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population FROM table_22815568_7 WHERE county = \"McDowell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which Age Category is Marco Manenti?\n\n### Context:\nCREATE TABLE table_name_44 (age_category VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT age_category FROM table_name_44 WHERE name = \"marco manenti\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor score 7\u20136 (7\u20133) , 6\u20134 please mention total number of outcome\n\n### Context:\nCREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(outcome) FROM table_27877656_7 WHERE score = \"7\u20136 (7\u20133) , 6\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich role had thulasidas direction?\n\n### Context:\nCREATE TABLE table_name_55 (role VARCHAR, direction VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_55 WHERE direction = \"thulasidas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent was played at Forbes Field after week 4?\n\n### Context:\nCREATE TABLE table_name_76 (opponent VARCHAR, game_site VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_76 WHERE game_site = \"forbes field\" AND week > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was champion in 2005 where the semi-finalist was #1 in western Carolina?\n\n### Context:\nCREATE TABLE table_name_36 (champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = \"western carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Venue of idrottsparken?\n\n### Context:\nCREATE TABLE table_name_31 (score VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_31 WHERE venue = \"idrottsparken\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the away team when the home team is Essendon?\n\n### Context:\nCREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_12 WHERE home_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every ceremony year for the result of nominee?\n\n### Context:\nCREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year__ceremony_ FROM table_22128871_1 WHERE result = \"Nominee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date for the UTC time of 03:15:46?\n\n### Context:\nCREATE TABLE table_26950408_1 (date__yyyy_mm_dd_ VARCHAR, time___utc__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date__yyyy_mm_dd_ FROM table_26950408_1 WHERE time___utc__ = \"03:15:46\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bronze medals has a total less than 3 with a silver less than 1 and gold more than 1?\n\n### Context:\nCREATE TABLE table_name_66 (bronze INTEGER, gold VARCHAR, total VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bronze) FROM table_name_66 WHERE total < 3 AND silver < 1 AND gold > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE AWAY WITH HOME AT 2-2?\n\n### Context:\nCREATE TABLE table_name_15 (away VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_15 WHERE home = \"2-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game held where Hawthorn was the away team?\n\n### Context:\nCREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_46 WHERE away_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which area was there a score of 68?\n\n### Context:\nCREATE TABLE table_name_42 (place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_42 WHERE score = 68"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn how many locations did Game 13 take place?\n\n### Context:\nCREATE TABLE table_17058116_5 (location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location_attendance) FROM table_17058116_5 WHERE game = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the country where moving from is listed as bristol city?\n\n### Context:\nCREATE TABLE table_17634290_7 (country VARCHAR, moving_from VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_17634290_7 WHERE moving_from = \"Bristol City\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn game 73, what were the total number of high assists?\n\n### Context:\nCREATE TABLE table_28768469_10 (high_assists VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_assists) FROM table_28768469_10 WHERE game = 73"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years did the role of Steve Rhoades last?\n\n### Context:\nCREATE TABLE table_name_21 (years VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_21 WHERE role = \"steve rhoades\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record with attendance of 73,996\n\n### Context:\nCREATE TABLE table_name_67 (record VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_67 WHERE attendance = \"73,996\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rounds was the fight against carter williams?\n\n### Context:\nCREATE TABLE table_name_2 (round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_2 WHERE opponent = \"carter williams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Trainer had Jockey William Jenkins in a race with Time of 1:44.80?\n\n### Context:\nCREATE TABLE table_name_54 (trainer VARCHAR, time VARCHAR, jockey VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trainer FROM table_name_54 WHERE time = \"1:44.80\" AND jockey = \"william jenkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the delegates and the names of the party they belong to.\n\n### Context:\nCREATE TABLE election (Delegate VARCHAR, Party VARCHAR); CREATE TABLE party (Party VARCHAR, Party_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Delegate, T2.Party FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Year, when Position is 9th, when Event is 100 m, and when Venue is Munich, Germany?\n\n### Context:\nCREATE TABLE table_name_66 (year INTEGER, venue VARCHAR, position VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_66 WHERE position = \"9th\" AND event = \"100 m\" AND venue = \"munich, germany\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grid 13 time score?\n\n### Context:\nCREATE TABLE table_name_88 (time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_88 WHERE grid = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho set the record in the 500 metres event?\n\n### Context:\nCREATE TABLE table_name_14 (name VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_14 WHERE event = \"500 metres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the product ids for the problems reported by Christop Berge with closure authorised by Ashley Medhurst?\n\n### Context:\nCREATE TABLE problems (reported_by_staff_id VARCHAR, closure_authorised_by_staff_id VARCHAR); CREATE TABLE staff (staff_id VARCHAR, staff_first_name VARCHAR, staff_last_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.reported_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Christop\" AND T2.staff_last_name = \"Berge\" INTERSECT SELECT product_id FROM problems AS T1 JOIN staff AS T2 ON T1.closure_authorised_by_staff_id = T2.staff_id WHERE T2.staff_first_name = \"Ashley\" AND T2.staff_last_name = \"Medhurst\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Senior status has a Chief Judge of 1991\u20131995?\n\n### Context:\nCREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT senior_status FROM table_name_30 WHERE chief_judge = \"1991\u20131995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the smallest amount of Laps that had a finish of 7 with a start of 6?\n\n### Context:\nCREATE TABLE table_name_49 (laps INTEGER, finish VARCHAR, start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(laps) FROM table_name_49 WHERE finish = \"7\" AND start = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tour was cancelled?\n\n### Context:\nCREATE TABLE table_name_14 (name VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_14 WHERE date = \"cancelled\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many locations has spain as the winner?\n\n### Context:\nCREATE TABLE table_1359212_2 (location VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location) FROM table_1359212_2 WHERE winner = \"Spain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the ids and names of all documents.\n\n### Context:\nCREATE TABLE Documents (document_id VARCHAR, document_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT document_id, document_name FROM Documents"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the record of 0-1 set?\n\n### Context:\nCREATE TABLE table_13258806_2 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_13258806_2 WHERE record = \"0-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many reg GP for nathan barrett in a round less than 8?\n\n### Context:\nCREATE TABLE table_name_62 (reg_gp VARCHAR, player VARCHAR, rd__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(reg_gp) FROM table_name_62 WHERE player = \"nathan barrett\" AND rd__number < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Touchdowns, when Yards is less than 293, and when Long is greater than 39?\n\n### Context:\nCREATE TABLE table_name_7 (touchdowns INTEGER, yards VARCHAR, long VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(touchdowns) FROM table_name_7 WHERE yards < 293 AND long > 39"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE STUDIO WITH A GROSS $81,198,894?\n\n### Context:\nCREATE TABLE table_name_49 (studio VARCHAR, gross VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT studio FROM table_name_49 WHERE gross = \"$81,198,894\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party experienced a result of lost re-election democratic-republican hold?\n\n### Context:\nCREATE TABLE table_2668352_16 (party VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_2668352_16 WHERE result = \"Lost re-election Democratic-Republican hold\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time of the 100m freestyle event?\n\n### Context:\nCREATE TABLE table_name_54 (time VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_54 WHERE event = \"100m freestyle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRecord of 21\u201329\u201310 had what total number of points?\n\n### Context:\nCREATE TABLE table_name_2 (points VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_2 WHERE record = \"21\u201329\u201310\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the round of 16 was yulius fernando ( ina ) l pts 5-6, what was the semifinals?\n\n### Context:\nCREATE TABLE table_26335424_86 (semifinals VARCHAR, round_of_16 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semifinals FROM table_26335424_86 WHERE round_of_16 = \"Yulius Fernando ( INA ) L PTS 5-6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the attendance of the san diego chargers game before week 6?\n\n### Context:\nCREATE TABLE table_name_97 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_97 WHERE week < 6 AND opponent = \"san diego chargers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?\n\n### Context:\nCREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_97 WHERE home = \"boston bruins\" AND date = \"november 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the To par when Lanny Wadkins is the player?\n\n### Context:\nCREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_66 WHERE player = \"lanny wadkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Footscray play as the away team?\n\n### Context:\nCREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_76 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich club plays soccer in the nwsl?\n\n### Context:\nCREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_61 WHERE sport = \"soccer\" AND league = \"nwsl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich home team had a visitor of Chicago Black Hawks with a score of 2\u20133?\n\n### Context:\nCREATE TABLE table_name_87 (home VARCHAR, visitor VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_87 WHERE visitor = \"chicago black hawks\" AND score = \"2\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?\n\n### Context:\nCREATE TABLE table_name_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(matches) FROM table_name_50 WHERE team = \"deccan chargers\" AND strike_rate > 15.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat title did the film from Colombia use in its nomination?\n\n### Context:\nCREATE TABLE table_name_33 (film_title_used_in_nomination VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film_title_used_in_nomination FROM table_name_33 WHERE country = \"colombia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine does Galles Racing use?\n\n### Context:\nCREATE TABLE table_15736385_1 (engine VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_15736385_1 WHERE team = \"Galles Racing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich brand have drivers who won with the names of ryan briscoe and tomas scheckter\n\n### Context:\nCREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_13512105_3 WHERE winning_driver = \"Ryan Briscoe\" AND fastest_lap = \"Tomas Scheckter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result/score for the match report recap on week 14?\n\n### Context:\nCREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result_score FROM table_name_25 WHERE match_report = \"recap\" AND week = 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the I Dessau Autobahnspinne race?\n\n### Context:\nCREATE TABLE table_name_66 (date VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_66 WHERE race_name = \"i dessau autobahnspinne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the Rabat Tournament with Opponent in the final of Frederico Gil?\n\n### Context:\nCREATE TABLE table_name_56 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_56 WHERE tournament = \"rabat\" AND opponent_in_the_final = \"frederico gil\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho are the writer of the series episode number 170?\n\n### Context:\nCREATE TABLE table_22580855_1 (written_by VARCHAR, series_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_22580855_1 WHERE series_no = 170"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Week number with a Result of W 30-28?\n\n### Context:\nCREATE TABLE table_name_85 (week INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_85 WHERE result = \"w 30-28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the Rangers play in a game that was later than 72 when the team record was 39-27-9?\n\n### Context:\nCREATE TABLE table_name_93 (opponent VARCHAR, game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_93 WHERE game > 72 AND record = \"39-27-9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tyres were used with the mp4/14 chassis?\n\n### Context:\nCREATE TABLE table_name_40 (tyres VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyres FROM table_name_40 WHERE chassis = \"mp4/14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the rb player from team oakland?\n\n### Context:\nCREATE TABLE table_name_69 (player VARCHAR, position VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_69 WHERE position = \"rb\" AND team = \"oakland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year was the competition at the Pepsi Arena?\n\n### Context:\nCREATE TABLE table_name_41 (year VARCHAR, arena VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_41 WHERE arena = \"pepsi arena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor what competition was the venue away the n/a the man of the match?\n\n### Context:\nCREATE TABLE table_name_62 (competition VARCHAR, venue VARCHAR, man_of_the_match VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_62 WHERE venue = \"away\" AND man_of_the_match = \"n/a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nationality has a ranking less than 7 with tony stenson as the name?\n\n### Context:\nCREATE TABLE table_name_13 (nationality VARCHAR, ranking VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_13 WHERE ranking < 7 AND name = \"tony stenson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich away team has an attendance of more than 17,000?\n\n### Context:\nCREATE TABLE table_name_30 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_30 WHERE crowd > 17 OFFSET 000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was roberto travern's record when he fought against john salter?\n\n### Context:\nCREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_60 WHERE opponent = \"john salter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of all points for places above 8?\n\n### Context:\nCREATE TABLE table_name_37 (points__pts_ INTEGER, place__posici\u00f3n_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points__pts_) FROM table_name_37 WHERE place__posici\u00f3n_ > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names and year of construction for the mills of 'Grondzeiler' type?\n\n### Context:\nCREATE TABLE mill (name VARCHAR, built_year VARCHAR, TYPE VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, built_year FROM mill WHERE TYPE = 'Grondzeiler'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the types of documents with more than 4 documents.\n\n### Context:\nCREATE TABLE documents (document_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college has a team of new york jets?\n\n### Context:\nCREATE TABLE table_name_74 (college VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_74 WHERE team = \"new york jets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue features hawthorn as the away team?\n\n### Context:\nCREATE TABLE table_name_64 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_64 WHERE away_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals?\n\n### Context:\nCREATE TABLE table_name_51 (rank INTEGER, total VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_51 WHERE total < 24 AND gold > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tournament in 2013 had a 2010 finish of 1R?\n\n### Context:\nCREATE TABLE table_name_44 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2013 FROM table_name_44 WHERE 2006 = \"a\" AND 2010 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhose term started on 4 May 2006?\n\n### Context:\nCREATE TABLE table_name_35 (minister VARCHAR, term_start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT minister FROM table_name_35 WHERE term_start = \"4 may 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least fum rec td\n\n### Context:\nCREATE TABLE table_15581223_8 (fum_rec INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(fum_rec) AS TD FROM table_15581223_8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is position does Dan O'Sullivan play?\n\n### Context:\nCREATE TABLE table_name_58 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_58 WHERE player = \"dan o'sullivan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has 14 rounds?\n\n### Context:\nCREATE TABLE table_name_15 (position VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_15 WHERE round = 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game with the record of 2-1?\n\n### Context:\nCREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_20849830_1 WHERE record = \"2-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn the date of june 7 what was the score?\n\n### Context:\nCREATE TABLE table_name_31 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_31 WHERE date = \"june 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total number for the Bulls when they were at Old Trafford?\n\n### Context:\nCREATE TABLE table_name_27 (bulls VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bulls) FROM table_name_27 WHERE venue = \"old trafford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capital?\n\n### Context:\nCREATE TABLE table_28741_1 (_usd__2012_ VARCHAR, gdp__nominal__per_capita VARCHAR, capital VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gdp__nominal__per_capita), _usd__2012_ FROM table_28741_1 WHERE capital = \"Phnom Penh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Theme has a Result of eliminated?\n\n### Context:\nCREATE TABLE table_name_95 (theme VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT theme FROM table_name_95 WHERE result = \"eliminated\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when the tie no is 29?\n\n### Context:\nCREATE TABLE table_name_65 (score VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_65 WHERE tie_no = \"29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat title was given to the episode with production code 6ajn08?\n\n### Context:\nCREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_26409328_1 WHERE production_code = \"6AJN08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team does David O'leary manage?\n\n### Context:\nCREATE TABLE table_name_28 (team VARCHAR, manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_28 WHERE manager = \"david o'leary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seasons have motopark team?\n\n### Context:\nCREATE TABLE table_23338693_1 (season VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_23338693_1 WHERE team = \"Motopark\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the lowest height for class of hewitt and prom less than 148\n\n### Context:\nCREATE TABLE table_name_37 (height__m_ INTEGER, class VARCHAR, prom__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(height__m_) FROM table_name_37 WHERE class = \"hewitt\" AND prom__m_ < 148"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the nomination for peresohla zemlia\n\n### Context:\nCREATE TABLE table_name_41 (nomination VARCHAR, film_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nomination FROM table_name_41 WHERE film_name = \"peresohla zemlia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the duration of the commissioner from the zeeland province?\n\n### Context:\nCREATE TABLE table_name_47 (duration VARCHAR, province VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT duration FROM table_name_47 WHERE province = \"zeeland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich captain has billy bonds as the manager?\n\n### Context:\nCREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_name_34 WHERE manager = \"billy bonds\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the series is ADAC GT Masters and poles is 1, what is the name of the team?\n\n### Context:\nCREATE TABLE table_22998777_1 (team VARCHAR, poles VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_22998777_1 WHERE poles = 1 AND series = \"ADAC GT Masters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school did the rb drafted attend?\n\n### Context:\nCREATE TABLE table_24540893_6 (school VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_24540893_6 WHERE position = \"RB\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the average points of Scuderia Scribante with a Brabham bt11 chassis before 1968?\n\n### Context:\nCREATE TABLE table_name_16 (points INTEGER, year VARCHAR, entrant VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_16 WHERE entrant = \"scuderia scribante\" AND chassis = \"brabham bt11\" AND year < 1968"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Population density (per km\u00b2) has a Change (%) larger than 4.9, and a Land area (km\u00b2) smaller than 15.59, and a Population (2011) larger than 790?\n\n### Context:\nCREATE TABLE table_name_90 (population_density__per_km\u00b2_ INTEGER, population__2011_ VARCHAR, change___percentage_ VARCHAR, land_area__km\u00b2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(population_density__per_km\u00b2_) FROM table_name_90 WHERE change___percentage_ > 4.9 AND land_area__km\u00b2_ < 15.59 AND population__2011_ > 790"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many events are in South Africa?\n\n### Context:\nCREATE TABLE table_name_25 (events INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(events) FROM table_name_25 WHERE country = \"south africa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the headquarters of the airline which has the ICAO code of AAU?\n\n### Context:\nCREATE TABLE table_15637071_1 (headquarters VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT headquarters FROM table_15637071_1 WHERE icao = \"AAU\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the attendance when the week was more than 16?\n\n### Context:\nCREATE TABLE table_name_95 (attendance VARCHAR, week INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_95 WHERE week > 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Game had a Result of 136-112?\n\n### Context:\nCREATE TABLE table_name_9 (game VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_9 WHERE result = \"136-112\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of people attending the game on May 30 with Colorado as the visitors?\n\n### Context:\nCREATE TABLE table_name_27 (attendance INTEGER, visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_27 WHERE visitor = \"colorado\" AND date = \"may 30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the player when the category is listed as field goal percentage?\n\n### Context:\nCREATE TABLE table_28628309_8 (player VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_28628309_8 WHERE category = \"Field goal percentage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich method was used in the welterweight class with a preliminary card?\n\n### Context:\nCREATE TABLE table_name_58 (method VARCHAR, weight_class VARCHAR, card VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_58 WHERE weight_class = \"welterweight\" AND card = \"preliminary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the weight with a denomination that is ten paise?\n\n### Context:\nCREATE TABLE table_name_53 (weight VARCHAR, denomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT weight FROM table_name_53 WHERE denomination = \"ten paise\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest amount of wins of someone who has 2 losses?\n\n### Context:\nCREATE TABLE table_name_96 (wins INTEGER, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_96 WHERE losses = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the season date if the minor (South) winners is Bristol Sanctuary XI?\n\n### Context:\nCREATE TABLE table_23014923_1 (season VARCHAR, minor__south__winners VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_23014923_1 WHERE minor__south__winners = \"Bristol Sanctuary XI\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date for margalita chakhnashvili salome devidze\n\n### Context:\nCREATE TABLE table_16893837_4 (date VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_16893837_4 WHERE opponents = \"Margalita Chakhnashvili Salome Devidze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Years have a Goal of 82?\n\n### Context:\nCREATE TABLE table_name_24 (years VARCHAR, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_24 WHERE goals = 82"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the serial numbers for narowal city?\n\n### Context:\nCREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = \"narowal city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college team did Milan Kostolny play for?\n\n### Context:\nCREATE TABLE table_2886617_8 (college_junior_club_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_2886617_8 WHERE player = \"Milan Kostolny\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich location has an AS-number of N/A?\n\n### Context:\nCREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = \"n/a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat the name of the school where the last win in 2007-08?\n\n### Context:\nCREATE TABLE table_14286908_1 (school VARCHAR, year_of_last_win VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_14286908_1 WHERE year_of_last_win = \"2007-08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the segment A for netflix of s05e01\n\n### Context:\nCREATE TABLE table_name_89 (segment_a VARCHAR, netflix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT segment_a FROM table_name_89 WHERE netflix = \"s05e01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the Win percentage 50.00%, with more than 14 matches, and wins more than 8?\n\n### Context:\nCREATE TABLE table_name_6 (year VARCHAR, wins VARCHAR, win__percentage VARCHAR, matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_6 WHERE win__percentage = \"50.00%\" AND matches > 14 AND wins > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the result for 2000 afc asian cup qualification\n\n### Context:\nCREATE TABLE table_name_14 (result VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_14 WHERE competition = \"2000 afc asian cup qualification\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOklahoma State produced a player in which position in the draft?\n\n### Context:\nCREATE TABLE table_name_26 (position VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_26 WHERE school_club_team = \"oklahoma state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team in France had 15 UCi points?\n\n### Context:\nCREATE TABLE table_name_81 (team VARCHAR, country VARCHAR, uci_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_81 WHERE country = \"france\" AND uci_points = \"15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Runners have a Placing that isn't 1?\n\n### Context:\nCREATE TABLE table_name_55 (runners VARCHAR, placing INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(runners) FROM table_name_55 WHERE placing > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen danilo di luca is the winner who is the general classification? \n\n### Context:\nCREATE TABLE table_18733814_2 (general_classification VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT general_classification FROM table_18733814_2 WHERE winner = \"Danilo Di Luca\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich country has miss universe Hungary as former pageant?\n\n### Context:\nCREATE TABLE table_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country_territory FROM table_14308895_2 WHERE former_pageant = \"Miss Universe Hungary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the Home team was st kilda, what was the score of the Away team they played?\n\n### Context:\nCREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_16 WHERE home_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player with a t6 place and a 72-68-72=212 score?\n\n### Context:\nCREATE TABLE table_name_7 (player VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_7 WHERE place = \"t6\" AND score = 72 - 68 - 72 = 212"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName Event of wc milan and a Total of 23?\n\n### Context:\nCREATE TABLE table_name_27 (score_points VARCHAR, event VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_points FROM table_name_27 WHERE event = \"wc milan\" AND total = \"23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away team at mcg?\n\n### Context:\nCREATE TABLE table_name_44 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_44 WHERE venue = \"mcg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the channel number that has a branding of PTV 4 Laoag?\n\n### Context:\nCREATE TABLE table_24673888_1 (ch__number VARCHAR, branding VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ch__number FROM table_24673888_1 WHERE branding = \"PTV 4 Laoag\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different values if the number is high rebounds can be found for the game on March 13?\n\n### Context:\nCREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = \"March 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the game attended by 60425 people played against?\n\n### Context:\nCREATE TABLE table_18207285_2 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_18207285_2 WHERE attendance = 60425"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the report for philip fotheringham-parker\n\n### Context:\nCREATE TABLE table_name_74 (report VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_name_74 WHERE winning_driver = \"philip fotheringham-parker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least projected opening\n\n### Context:\nCREATE TABLE table_22771048_3 (projected_opening INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(projected_opening) FROM table_22771048_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Australia's place?\n\n### Context:\nCREATE TABLE table_name_99 (place VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_99 WHERE country = \"australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich money is the highest one that has a To par of \u20131, and a Score of 73-70-73-71=287?\n\n### Context:\nCREATE TABLE table_name_56 (money___ INTEGER, to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(money___) AS $__ FROM table_name_56 WHERE to_par = \"\u20131\" AND score = 73 - 70 - 73 - 71 = 287"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the companion for the author Dave Stone?\n\n### Context:\nCREATE TABLE table_name_7 (companion_s_ VARCHAR, author VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT companion_s_ FROM table_name_7 WHERE author = \"dave stone\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the maximum number of matches played by a team?\n\n### Context:\nCREATE TABLE table_14489821_1 (played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(played) FROM table_14489821_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps did the driver with the yamaha manufacturer go on grid 3?\n\n### Context:\nCREATE TABLE table_name_61 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_name_61 WHERE manufacturer = \"yamaha\" AND grid = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the game at kyiv, ukraine?\n\n### Context:\nCREATE TABLE table_name_2 (result VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_2 WHERE venue = \"kyiv, ukraine\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the NBA draft result of the player from the College of Kansas?\n\n### Context:\nCREATE TABLE table_name_48 (nba_draft VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nba_draft FROM table_name_48 WHERE college = \"kansas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance on September 11, 1988?\n\n### Context:\nCREATE TABLE table_name_21 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_21 WHERE date = \"september 11, 1988\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many cuts did Reid make in the year when her earnings were n/a?\n\n### Context:\nCREATE TABLE table_29506171_2 (cuts_made INTEGER, earnings___\u20ac__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(cuts_made) FROM table_29506171_2 WHERE earnings___\u20ac__ = \"n/a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich licence has a release date of 2009-08?\n\n### Context:\nCREATE TABLE table_name_23 (license VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT license FROM table_name_23 WHERE release_date = \"2009-08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the integrated in which the holding allied-unrelated is many?\n\n### Context:\nCREATE TABLE table_11944282_1 (holding VARCHAR, allied_unrelated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT holding FROM table_11944282_1 WHERE allied_unrelated = \"Many\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team of the player who was previously on the indiana pacers?\n\n### Context:\nCREATE TABLE table_name_15 (team VARCHAR, previous_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_15 WHERE previous_team = \"indiana pacers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWha argon has helium of 1.0000684?\n\n### Context:\nCREATE TABLE table_name_54 (argon VARCHAR, helium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT argon FROM table_name_54 WHERE helium = \"1.0000684\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest rank for a player earning $71,979?\n\n### Context:\nCREATE TABLE table_name_11 (rank INTEGER, earnings___$__ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_11 WHERE earnings___$__ < 71 OFFSET 979"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the smallest pick number of a player playing in Minnesota North Stars?\n\n### Context:\nCREATE TABLE table_1965650_4 (pick__number INTEGER, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick__number) FROM table_1965650_4 WHERE nhl_team = \"Minnesota North Stars\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team/s have 48 goals total?\n\n### Context:\nCREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_18967450_2 WHERE goals = 48"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the stage winner of the letua cycling team on stage 2? \n\n### Context:\nCREATE TABLE table_27112708_2 (stage VARCHAR, team_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stage AS winner FROM table_27112708_2 WHERE team_classification = \"LeTua Cycling Team\" AND stage = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Result when the Attendance is 1,634?\n\n### Context:\nCREATE TABLE table_name_85 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_85 WHERE attendance = \"1,634\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Region with a Catalog of alca-487?\n\n### Context:\nCREATE TABLE table_name_89 (region VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_89 WHERE catalog = \"alca-487\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location when the winning driver was Nathana\u00ebl Berthon?\n\n### Context:\nCREATE TABLE table_25572068_1 (location VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_25572068_1 WHERE winning_driver = \"Nathana\u00ebl Berthon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the date when the surface is clay and the result is 6\u20137 (4\u20137) , 1\u20136?\n\n### Context:\nCREATE TABLE table_name_99 (date VARCHAR, surface VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_99 WHERE surface = \"clay\" AND result = \"6\u20137 (4\u20137) , 1\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all the locations where some cinemas were opened in both year 2010 and year 2011.\n\n### Context:\nCREATE TABLE cinema (LOCATION VARCHAR, openning_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT LOCATION FROM cinema WHERE openning_year = 2010 INTERSECT SELECT LOCATION FROM cinema WHERE openning_year = 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the pick of the lw position player?\n\n### Context:\nCREATE TABLE table_name_25 (pick INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pick) FROM table_name_25 WHERE position = \"lw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Name has a Location of ljubljana?\n\n### Context:\nCREATE TABLE table_name_32 (name VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_32 WHERE location = \"ljubljana\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest score that has alastair forsyth as the player?\n\n### Context:\nCREATE TABLE table_name_28 (score INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(score) FROM table_name_28 WHERE player = \"alastair forsyth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Top Gear budget in March 2013?\n\n### Context:\nCREATE TABLE table_name_39 (budget VARCHAR, month_ VARCHAR, _year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT budget FROM table_name_39 WHERE month_ & _year = \"march 2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is total number of show times per dat for each cinema?\n\n### Context:\nCREATE TABLE schedule (show_times_per_day INTEGER, cinema_id VARCHAR); CREATE TABLE cinema (name VARCHAR, cinema_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the engine code for the model xdrive35i?\n\n### Context:\nCREATE TABLE table_name_9 (engine_code VARCHAR, model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine_code FROM table_name_9 WHERE model = \"xdrive35i\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the news frequency for the show Locker Room?\n\n### Context:\nCREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT news_freq FROM table_name_73 WHERE show_name = \"locker room\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the authority for roll of 54\n\n### Context:\nCREATE TABLE table_name_22 (authority VARCHAR, roll VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT authority FROM table_name_22 WHERE roll = 54"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was 11-8 the record?\n\n### Context:\nCREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_43 WHERE record = \"11-8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the average year for my queen\n\n### Context:\nCREATE TABLE table_name_65 (year INTEGER, english_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_65 WHERE english_title = \"my queen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the production (mt) is 650000, what is the total number of rank?\n\n### Context:\nCREATE TABLE table_21109892_1 (rank VARCHAR, production__mt_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_21109892_1 WHERE production__mt_ = 650000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many field goals did duncan thompson have?\n\n### Context:\nCREATE TABLE table_name_8 (field_goals VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT field_goals FROM table_name_8 WHERE player = \"duncan thompson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0dbeingtribution\u00a0with\u00a0rsbac\u00a0being unknown\n\n### Context:\nCREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distribution FROM table_1357052_6 WHERE rsbac = \"Unknown\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the fight that lasted 3 rounds and was won or loss by a decision?\n\n### Context:\nCREATE TABLE table_name_65 (location VARCHAR, round VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_65 WHERE round = 3 AND method = \"decision\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's the Communist ticket with an American Labor ticket of joseph v. o'leary?\n\n### Context:\nCREATE TABLE table_name_49 (communist_ticket VARCHAR, american_labor_ticket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT communist_ticket FROM table_name_49 WHERE american_labor_ticket = \"joseph v. o'leary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the year(s) of manufacture for railway number(s) 26 (ii) \u202663 (ii) , 188\u2013193?\n\n### Context:\nCREATE TABLE table_name_35 (year_s__of_manufacture VARCHAR, railway_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__of_manufacture FROM table_name_35 WHERE railway_number_s_ = \"26 (ii) \u202663 (ii) , 188\u2013193\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the intranet entry is Yes, what is the extranet entry for Microsoft Exchange server?\n\n### Context:\nCREATE TABLE table_name_72 (extranet VARCHAR, intranet VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT extranet FROM table_name_72 WHERE intranet = \"yes\" AND name = \"microsoft exchange server\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Australian for the American \u0251?\n\n### Context:\nCREATE TABLE table_name_79 (australian VARCHAR, american VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT australian FROM table_name_79 WHERE american = \"\u0251\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest attandance recorded at Cappielow?\n\n### Context:\nCREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = \"Cappielow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the numbers of episodes that were broadcast on September 1, 2003\n\n### Context:\nCREATE TABLE table_17481974_1 (episode__number VARCHAR, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode__number FROM table_17481974_1 WHERE original_airdate = \"September 1, 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Strain name of Species Thiomicrospira crunogena?\n\n### Context:\nCREATE TABLE table_name_24 (strain VARCHAR, species VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT strain FROM table_name_24 WHERE species = \"thiomicrospira crunogena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the english version that is buena vista edition is daisuke gouri?\n\n### Context:\nCREATE TABLE table_25173505_13 (english_version VARCHAR, buena_vista_edition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english_version FROM table_25173505_13 WHERE buena_vista_edition = \"Daisuke Gouri\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow ids for all students who have advisor 1121.\n\n### Context:\nCREATE TABLE Student (StuID VARCHAR, Advisor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT StuID FROM Student WHERE Advisor = 1121"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith a Tally of 0-14, what is the Rank in Kilkenny County?\n\n### Context:\nCREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_3 WHERE county = \"kilkenny\" AND tally = \"0-14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat contestant was premiered on July 25? \n\n### Context:\nCREATE TABLE table_18513028_3 (contestant_name VARCHAR, date_premiered__2009_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT contestant_name FROM table_18513028_3 WHERE date_premiered__2009_ = \"July 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023?\n\n### Context:\nCREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = \"1:48:11.023\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Result, when Round is SF?\n\n### Context:\nCREATE TABLE table_name_57 (result VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_57 WHERE round = \"sf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many votes did Northern Ireland cast if the total was 35?\n\n### Context:\nCREATE TABLE table_10128185_2 (northern_ireland VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT northern_ireland FROM table_10128185_2 WHERE total = 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height of the person that weighs 320 pounds?\n\n### Context:\nCREATE TABLE table_10966926_2 (height VARCHAR, weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_10966926_2 WHERE weight = 320"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of silver medals of the team with less than 0 bronzes?\n\n### Context:\nCREATE TABLE table_name_85 (silver INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_85 WHERE bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the platform that has Rockstar Games as the developer?\n\n### Context:\nCREATE TABLE table_name_33 (platform_s_ VARCHAR, developer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT platform_s_ FROM table_name_33 WHERE developer_s_ = \"rockstar games\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow may players have a passing yard score of 208?\n\n### Context:\nCREATE TABLE table_28697228_4 (player VARCHAR, passing_yards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(player) FROM table_28697228_4 WHERE passing_yards = 208"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat team has a score of 11\n\n### Context:\nCREATE TABLE table_name_3 (record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_3 WHERE game = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many high points were at the wachovia center 18,347?\n\n### Context:\nCREATE TABLE table_11960196_3 (high_points VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(high_points) FROM table_11960196_3 WHERE location_attendance = \"Wachovia Center 18,347\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent for game 5\n\n### Context:\nCREATE TABLE table_name_25 (opponent VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_25 WHERE game = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue has a Away team of hawthorn?\n\n### Context:\nCREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_76 WHERE away_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent for week 12\n\n### Context:\nCREATE TABLE table_14418812_1 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_14418812_1 WHERE week = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the Rowers from Poland?\n\n### Context:\nCREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rowers FROM table_name_66 WHERE country = \"poland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat film was directed by Sandro Aguilar?\n\n### Context:\nCREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film FROM table_name_80 WHERE director_s_ = \"sandro aguilar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the issued serial given in 1966?\n\n### Context:\nCREATE TABLE table_name_71 (serials_issued VARCHAR, issued VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT serials_issued FROM table_name_71 WHERE issued = 1966"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich island is in the United Kingdom?\n\n### Context:\nCREATE TABLE table_name_43 (island VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT island FROM table_name_43 WHERE country = \"united kingdom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the longitude is -97.473110, what is the minimum geo id?\n\n### Context:\nCREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = \"-97.473110\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country for Sony / Sony Bmg?\n\n### Context:\nCREATE TABLE table_name_61 (country VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_61 WHERE label = \"sony / sony bmg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich final has a run of 1:19.49?\n\n### Context:\nCREATE TABLE table_name_18 (final VARCHAR, run_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT final FROM table_name_18 WHERE run_3 = \"1:19.49\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the reporters for howard cosell\n\n### Context:\nCREATE TABLE table_22514845_5 (reporters VARCHAR, s_analyst VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reporters FROM table_22514845_5 WHERE s_analyst = \"Howard Cosell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Distance has a Time of men's speed skating?\n\n### Context:\nCREATE TABLE table_name_46 (distance VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_name_46 WHERE time = \"men's speed skating\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country with a t7 place and a 69-68-72=209 score?\n\n### Context:\nCREATE TABLE table_name_70 (country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_70 WHERE place = \"t7\" AND score = 69 - 68 - 72 = 209"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen mount wondiwoi is the peak what is the island?\n\n### Context:\nCREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT island FROM table_18946749_1 WHERE peak = \"Mount Wondiwoi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich item has the suffix containing thiocyanato- (-scn) as a prefix?\n\n### Context:\nCREATE TABLE table_name_77 (suffix VARCHAR, prefix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT suffix FROM table_name_77 WHERE prefix = \"thiocyanato- (-scn)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many numbers were recorde under 50s when there was 2 matches?\n\n### Context:\nCREATE TABLE table_16570286_2 (matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(50 AS s) FROM table_16570286_2 WHERE matches = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has a score of 74-70=144\n\n### Context:\nCREATE TABLE table_name_2 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_2 WHERE score = 74 - 70 = 144"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was the episode premiere if the production code is 11.19? \n\n### Context:\nCREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = \"11.19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average attendance when the Forest Green Rovers is the away team?\n\n### Context:\nCREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_82 WHERE away_team = \"forest green rovers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many f/laps did Pedro Nunes have when he was at the gp3 series?\n\n### Context:\nCREATE TABLE table_25386974_1 (f_laps VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT f_laps FROM table_25386974_1 WHERE series = \"GP3 series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year and location did Liu Guozheng win the Mens Singles?\n\n### Context:\nCREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_location FROM table_28138035_35 WHERE mens_singles = \"Liu Guozheng\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many won the prize when Regina was the runner-up?\n\n### Context:\nCREATE TABLE table_178242_7 (winner VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(winner) FROM table_178242_7 WHERE runner_up = \"Regina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 2nd leg for 2004?\n\n### Context:\nCREATE TABLE table_name_29 (year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_name_29 WHERE year = 2004"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0airport\u00a0with\u00a0rank\u00a0being 4\n\n### Context:\nCREATE TABLE table_13836704_9 (airport VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(airport) FROM table_13836704_9 WHERE rank = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the date of appointment when the position in table is 16?\n\n### Context:\nCREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original air date (atv) of episode 1?\n\n### Context:\nCREATE TABLE table_1439096_1 (original_air_date__atv_ VARCHAR, episode_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date__atv_ FROM table_1439096_1 WHERE episode_no = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the time/retired for grid of 24\n\n### Context:\nCREATE TABLE table_name_12 (time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_12 WHERE grid = 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is faisaly when wehdat is xxx?\n\n### Context:\nCREATE TABLE table_26173063_2 (faisaly VARCHAR, wehdat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT faisaly FROM table_26173063_2 WHERE wehdat = \"XXX\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Rick Mears win, after starting in Pole Position?\n\n### Context:\nCREATE TABLE table_name_70 (city_location VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city_location FROM table_name_70 WHERE pole_position = \"rick mears\" AND winning_driver = \"rick mears\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the pregame host when Bold was the network?\n\n### Context:\nCREATE TABLE table_name_98 (pregame_host VARCHAR, network VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pregame_host FROM table_name_98 WHERE network = \"bold\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses for the Team of Montreal with Goals For larger than 29?\n\n### Context:\nCREATE TABLE table_name_50 (losses VARCHAR, goals_for VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_50 WHERE goals_for > 29 AND team = \"montreal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want to know the events for 106 bands\n\n### Context:\nCREATE TABLE table_name_16 (event VARCHAR, acts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_16 WHERE acts = \"106 bands\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the first week that had a transition with Pat Mccready?\n\n### Context:\nCREATE TABLE table_name_6 (week INTEGER, transition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_6 WHERE transition = \"pat mccready\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the cargo value in 2004 for ship size?\n\n### Context:\nCREATE TABLE table_name_13 (ship_size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2004 FROM table_name_13 WHERE ship_size = \"ship size\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did the games that had Wisconsin as big ten team take place?\n\n### Context:\nCREATE TABLE table_29535057_4 (location VARCHAR, big_ten_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_29535057_4 WHERE big_ten_team = \"Wisconsin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat lane was Emily Seebohm in?\n\n### Context:\nCREATE TABLE table_name_2 (lane VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lane) FROM table_name_2 WHERE name = \"emily seebohm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bronzes were won for the country that had a larger than 3 rank and a silver win count above 0?\n\n### Context:\nCREATE TABLE table_name_34 (bronze INTEGER, rank VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(bronze) FROM table_name_34 WHERE rank > 3 AND silver > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the builder with a works number of 2534?\n\n### Context:\nCREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT builder FROM table_name_16 WHERE works_number = \"2534\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of goals when the goals against are more than 58 and played number is more than 30?\n\n### Context:\nCREATE TABLE table_name_37 (goals_for INTEGER, goals_against VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals_for) FROM table_name_37 WHERE goals_against > 58 AND played > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was in external affairs when Jakki Doyle was in Human Resources & Operations?\n\n### Context:\nCREATE TABLE table_name_81 (external_affairs VARCHAR, human_resources_ VARCHAR, _operations VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT external_affairs FROM table_name_81 WHERE human_resources_ & _operations = \"jakki doyle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the offensive award winner the week when Bob Watson was given the overall award?\n\n### Context:\nCREATE TABLE table_14132239_3 (offensive VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT offensive FROM table_14132239_3 WHERE overall = \"Bob Watson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the location when the circuit is lowood circuit and the race is lowood trophy?\n\n### Context:\nCREATE TABLE table_name_47 (location VARCHAR, circuit VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_47 WHERE circuit = \"lowood circuit\" AND race = \"lowood trophy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2007 is the lowest one that has a 2004 of 78, and a 2006 smaller than 80?\n\n### Context:\nCREATE TABLE table_name_91 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(2007) FROM table_name_91 WHERE 2004 = 78 AND 2006 < 80"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1944 result for the U.S. Championships?\n\n### Context:\nCREATE TABLE table_name_52 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1944 FROM table_name_52 WHERE tournament = \"u.s. championships\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the lowest Crowd of hisense arena on 8 february?\n\n### Context:\nCREATE TABLE table_name_29 (crowd INTEGER, venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_29 WHERE venue = \"hisense arena\" AND date = \"8 february\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the continent in which the country russia is listed?\n\n### Context:\nCREATE TABLE table_27435931_1 (continent VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT continent FROM table_27435931_1 WHERE country = \"Russia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result at the Masters for the player who finished R16 at the PGA Ch.?\n\n### Context:\nCREATE TABLE table_1506950_9 (masters VARCHAR, pga_ch VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT masters FROM table_1506950_9 WHERE pga_ch = \"R16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of states that has some colleges whose enrollment is smaller than the average enrollment?\n\n### Context:\nCREATE TABLE college (state VARCHAR, enr INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT state) FROM college WHERE enr < (SELECT AVG(enr) FROM college)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for Brent Spiner?\n\n### Context:\nCREATE TABLE table_name_46 (result VARCHAR, nominee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_46 WHERE nominee = \"brent spiner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Losses at the western conference and the 2004\u201305 season?\n\n### Context:\nCREATE TABLE table_name_51 (losses VARCHAR, conference VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losses FROM table_name_51 WHERE conference = \"western\" AND season = \"2004\u201305\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine?\n\n### Context:\nCREATE TABLE table_name_25 (year INTEGER, points VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_25 WHERE points < 6 AND engine = \"maserati straight-6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat car did Tony Trimmer drive at the Oulton Park Circuit?\n\n### Context:\nCREATE TABLE table_name_35 (winning_car VARCHAR, circuit VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_car FROM table_name_35 WHERE circuit = \"oulton park\" AND winning_driver = \"tony trimmer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the players that placed t2?\n\n### Context:\nCREATE TABLE table_name_33 (player VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_33 WHERE place = \"t2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION?\n\n### Context:\nCREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = \"Michael Albasini\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for january 17\n\n### Context:\nCREATE TABLE table_27733909_7 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_27733909_7 WHERE date = \"January 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the height and weight of people in descending order of height.\n\n### Context:\nCREATE TABLE people (Height VARCHAR, Weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Height, Weight FROM people ORDER BY Height DESC"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many to par for Greg Norman?\n\n### Context:\nCREATE TABLE table_name_1 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_1 WHERE player = \"greg norman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the week on October 11, 1998?\n\n### Context:\nCREATE TABLE table_name_48 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_48 WHERE date = \"october 11, 1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Goals have a National team of england, and Apps smaller than 6, and a Year of 2012?\n\n### Context:\nCREATE TABLE table_name_78 (goals INTEGER, year VARCHAR, national_team VARCHAR, apps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(goals) FROM table_name_78 WHERE national_team = \"england\" AND apps < 6 AND year = \"2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has an Opponent of melanie south?\n\n### Context:\nCREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_58 WHERE opponent = \"melanie south\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )?\n\n### Context:\nCREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_40 WHERE result = \"nominated\" AND lost_to = \"jennifer westfeldt ( kissing jessica stein )\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the number of different series names and contents in the TV Channel table.\n\n### Context:\nCREATE TABLE TV_Channel (series_name VARCHAR, content VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT series_name), COUNT(DISTINCT content) FROM TV_Channel"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat grade is Kyle in?\n\n### Context:\nCREATE TABLE Highschooler (grade VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grade FROM Highschooler WHERE name = \"Kyle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the high assists in game 80?\n\n### Context:\nCREATE TABLE table_17355408_9 (high_assists VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_17355408_9 WHERE game = 80"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round was jerry corcoran drafted in as pick number 114?\n\n### Context:\nCREATE TABLE table_name_63 (round INTEGER, pick VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_63 WHERE pick > 114 AND player = \"jerry corcoran\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many camera lenses have a focal length longer than 15 mm?\n\n### Context:\nCREATE TABLE camera_lens (focal_length_mm INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM camera_lens WHERE focal_length_mm > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the mark is 8.54, the reaction time was over 0.23800000000000002 seconds, what's the highest amount of points recorded?\n\n### Context:\nCREATE TABLE table_name_79 (points INTEGER, mark VARCHAR, react VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_79 WHERE mark = \"8.54\" AND react > 0.23800000000000002"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended the match when Manchester United played against the Hearts?\n\n### Context:\nCREATE TABLE table_name_95 (attendance INTEGER, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_95 WHERE opponents = \"hearts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Qual listed on the Year of 1954?\n\n### Context:\nCREATE TABLE table_name_38 (qual VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qual FROM table_name_38 WHERE year = \"1954\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nBronze of 22 has what average silver?\n\n### Context:\nCREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_99 WHERE bronze = 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the scored figure when the result is 40-22?\n\n### Context:\nCREATE TABLE table_name_94 (scored INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(scored) FROM table_name_94 WHERE result = \"40-22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 1995 Grand Slam Tournament if 1997 is LQ and 1989 is 1R?\n\n### Context:\nCREATE TABLE table_name_81 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1995 FROM table_name_81 WHERE 1997 = \"lq\" AND 1989 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Parts-per example of 2\u00d710 \u22126?\n\n### Context:\nCREATE TABLE table_name_75 (parts_per_example VARCHAR, value_of_quantity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT parts_per_example FROM table_name_75 WHERE value_of_quantity = \"2\u00d710 \u22126\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the founder of the company whose name begins with the letter 'S'.\n\n### Context:\nCREATE TABLE manufacturers (founder VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT founder FROM manufacturers WHERE name LIKE 'S%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the league established before 1930 with the rayo vallecano club?\n\n### Context:\nCREATE TABLE table_name_26 (league VARCHAR, established VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_name_26 WHERE established < 1930 AND club = \"rayo vallecano\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the average points White made with 0 extra points?\n\n### Context:\nCREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND player = \"white\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes were written by Ross brown?\n\n### Context:\nCREATE TABLE table_2468961_2 (no_in_series VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_series) FROM table_2468961_2 WHERE written_by = \"Ross Brown\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names of festivals held in year 2007?\n\n### Context:\nCREATE TABLE festival_detail (Festival_Name VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Festival_Name FROM festival_detail WHERE YEAR = 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the distinct last names of the students who have class president votes.\n\n### Context:\nCREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich chassis has a year later than 1964, a Ford engine, and 13 points?\n\n### Context:\nCREATE TABLE table_name_95 (chassis VARCHAR, pts VARCHAR, year VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_95 WHERE year > 1964 AND engine = \"ford\" AND pts = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record with a 3:56 time?\n\n### Context:\nCREATE TABLE table_name_63 (record VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_63 WHERE time = \"3:56\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the barony for the Ballintaggart townland?\n\n### Context:\nCREATE TABLE table_30120619_1 (barony VARCHAR, townland VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT barony FROM table_30120619_1 WHERE townland = \"Ballintaggart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was home on November 26?\n\n### Context:\nCREATE TABLE table_name_73 (home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_73 WHERE date = \"november 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?\n\n### Context:\nCREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = \"210kg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the club had 431 points against them?\n\n### Context:\nCREATE TABLE table_name_63 (club VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_63 WHERE points_against = \"431\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of against when Central Murray is Tooleybuc Manangatang and there are fewer than 13 wins?\n\n### Context:\nCREATE TABLE table_name_90 (against INTEGER, central_murray VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(against) FROM table_name_90 WHERE central_murray = \"tooleybuc manangatang\" AND wins < 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of losses for teams with under 3 draws and 51 points?\n\n### Context:\nCREATE TABLE table_name_49 (loses INTEGER, draws VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(loses) FROM table_name_49 WHERE draws < 3 AND points = 51"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\ntell me the writer of production code ad1d09.\n\n### Context:\nCREATE TABLE table_name_33 (written_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_name_33 WHERE production_code = \"ad1d09\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the team with replaced by being csaba l\u00e1szl\u00f3\n\n### Context:\nCREATE TABLE table_name_24 (team VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_24 WHERE replaced_by = \"csaba l\u00e1szl\u00f3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number for march 27-29 whern november 3 is 153?\n\n### Context:\nCREATE TABLE table_25252080_3 (march_27_29 VARCHAR, november_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT march_27_29 FROM table_25252080_3 WHERE november_3 = \"153\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Liberal Party result from the election having a Conservative Party result of 16 (-1) and Labour of 6 (+2)?\n\n### Context:\nCREATE TABLE table_name_97 (liberal_party VARCHAR, conservative_party VARCHAR, labour_party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT liberal_party FROM table_name_97 WHERE conservative_party = \"16 (-1)\" AND labour_party = \"6 (+2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was played on December 8?\n\n### Context:\nCREATE TABLE table_name_80 (game INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_80 WHERE date = \"december 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the weeks that games occured on october 21, 1974 and less than 50,623 fans attended?\n\n### Context:\nCREATE TABLE table_name_20 (week INTEGER, date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(week) FROM table_name_20 WHERE date = \"october 21, 1974\" AND attendance < 50 OFFSET 623"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv?\n\n### Context:\nCREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = \"480i\" AND psip_short_name = \"jtv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat away team is based in moorabbin oval?\n\n### Context:\nCREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_19 WHERE venue = \"moorabbin oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the age of the act who is a rapper?\n\n### Context:\nCREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT age_s_ FROM table_27529608_21 WHERE act = \"Rapper\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Opponent, when Record is 17-44?\n\n### Context:\nCREATE TABLE table_name_98 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_98 WHERE record = \"17-44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?\n\n### Context:\nCREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_32 WHERE constructor = \"ferrari\" AND fastest_lap = \"luigi villoresi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow names of technicians and series of machines they are assigned to repair.\n\n### Context:\nCREATE TABLE machine (Machine_series VARCHAR, machine_id VARCHAR); CREATE TABLE repair_assignment (machine_id VARCHAR, technician_ID VARCHAR); CREATE TABLE technician (Name VARCHAR, technician_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.Name, T2.Machine_series FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.machine_id = T2.machine_id JOIN technician AS T3 ON T1.technician_ID = T3.technician_ID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the maximum wins for 68.75%\n\n### Context:\nCREATE TABLE table_15829930_5 (wins INTEGER, success_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_15829930_5 WHERE success_rate = \"68.75%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the moving from with a transfer and the nationality of Bra?\n\n### Context:\nCREATE TABLE table_name_22 (moving_from VARCHAR, type VARCHAR, nat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT moving_from FROM table_name_22 WHERE type = \"transfer\" AND nat = \"bra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of rounds that Center position Denis Arkhipov have?\n\n### Context:\nCREATE TABLE table_name_33 (round VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_33 WHERE position = \"center\" AND player = \"denis arkhipov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seasons had a rank of 16?\n\n### Context:\nCREATE TABLE table_1218784_1 (season VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_1218784_1 WHERE rank = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich grade is studying in classroom 103?\n\n### Context:\nCREATE TABLE list (grade VARCHAR, classroom VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT grade FROM list WHERE classroom = 103"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich year has a Round of 17?\n\n### Context:\nCREATE TABLE table_name_2 (year VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_2 WHERE round = \"17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\ndisplay the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara.\n\n### Context:\nCREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = \"Clara\") AND first_name <> \"Clara\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all product sizes.\n\n### Context:\nCREATE TABLE Products (product_size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT product_size FROM Products"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor Pontyberem RFC that has a Try Bonus of 2, what is the played?\n\n### Context:\nCREATE TABLE table_name_56 (played VARCHAR, try_bonus VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_name_56 WHERE try_bonus = \"2\" AND club = \"pontyberem rfc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is listed under the Years as tallest, that has Floors of 31?\n\n### Context:\nCREATE TABLE table_name_83 (years_as_tallest VARCHAR, floors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_as_tallest FROM table_name_83 WHERE floors = 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1993 value of the French open?\n\n### Context:\nCREATE TABLE table_name_68 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1993 FROM table_name_68 WHERE tournament = \"french open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the zip code of the address in the city Port Chelsea?\n\n### Context:\nCREATE TABLE Addresses (zip_postcode VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT zip_postcode FROM Addresses WHERE city = 'Port Chelsea'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production number of 3-04?\n\n### Context:\nCREATE TABLE table_25046766_3 (prod_no INTEGER, episode_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(prod_no) FROM table_25046766_3 WHERE episode_no = \"3-04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the M60A3 that has 40 rounds as Leclerc?\n\n### Context:\nCREATE TABLE table_name_28 (m60a3_patton VARCHAR, leclerc VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT m60a3_patton FROM table_name_28 WHERE leclerc = \"40 rounds\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many drivers had the fastest lap at Silverstone?\n\n### Context:\nCREATE TABLE table_1137718_2 (fastest_lap VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(fastest_lap) FROM table_1137718_2 WHERE location = \"Silverstone\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRound of 1r, and an away result of 7\u20131 is what season?\n\n### Context:\nCREATE TABLE table_name_65 (season VARCHAR, round VARCHAR, away_result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_65 WHERE round = \"1r\" AND away_result = \"7\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game that was attended by 80,886 people?\n\n### Context:\nCREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_38 WHERE attendance = \"80,886\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich cornerback has the lowest overall and a pick number smaller than 16?\n\n### Context:\nCREATE TABLE table_name_30 (overall INTEGER, position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(overall) FROM table_name_30 WHERE position = \"cornerback\" AND pick__number < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year has a Producer of viva films, and a Title of magkapatid?\n\n### Context:\nCREATE TABLE table_name_41 (year VARCHAR, producer VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_41 WHERE producer = \"viva films\" AND title = \"magkapatid\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of EBIT (US $m) in 2011 and a Earnings per share (\u00a2) larger than 47?\n\n### Context:\nCREATE TABLE table_name_46 (ebit__us_ VARCHAR, year_to_april VARCHAR, earnings_per_share__\u00a2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(ebit__us_) AS $m_ FROM table_name_46 WHERE year_to_april = 2011 AND earnings_per_share__\u00a2_ > 47"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of wins for the Terang Club, when there are less than 0 draws?\n\n### Context:\nCREATE TABLE table_name_43 (wins INTEGER, club VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(wins) FROM table_name_43 WHERE club = \"terang\" AND draws < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance on September 28?\n\n### Context:\nCREATE TABLE table_name_92 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_92 WHERE date = \"september 28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat body styles have devaux-hall inline 6 as the engine?\n\n### Context:\nCREATE TABLE table_name_9 (body_styles VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT body_styles FROM table_name_9 WHERE engine = \"devaux-hall inline 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date has Points smaller than 85 and a Game # of 74?\n\n### Context:\nCREATE TABLE table_name_36 (date VARCHAR, points VARCHAR, game__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_36 WHERE points < 85 AND game__number = 74"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat group has 1200 m as the distance?\n\n### Context:\nCREATE TABLE table_name_82 (group VARCHAR, distance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT group FROM table_name_82 WHERE distance = \"1200 m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the friendly competition that Andriy Yarmolenko won on 28 may 2012?\n\n### Context:\nCREATE TABLE table_name_78 (venue VARCHAR, date VARCHAR, result VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_78 WHERE result = \"won\" AND competition = \"friendly\" AND date = \"28 may 2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the match played on 14 October 1998, resulting in more than 10 goals?\n\n### Context:\nCREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_59 WHERE date = \"14 october 1998\" AND goal > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat ended up happening in the district Virginia 22?\n\n### Context:\nCREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_2668329_25 WHERE district = \"Virginia 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList each language and the number of TV Channels using it.\n\n### Context:\nCREATE TABLE TV_Channel (LANGUAGE VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT LANGUAGE, COUNT(*) FROM TV_Channel GROUP BY LANGUAGE"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the monarch with the heir thado minsaw?\n\n### Context:\nCREATE TABLE table_26460435_8 (monarch VARCHAR, heir VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT monarch FROM table_26460435_8 WHERE heir = \"Thado Minsaw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player with a 70-75=145 score?\n\n### Context:\nCREATE TABLE table_name_62 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_62 WHERE score = 70 - 75 = 145"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the scores of the games with a record of 47-34?\n\n### Context:\nCREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_27902171_9 WHERE record = \"47-34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow long in miles (km) was the race that lasted 3:07:53?\n\n### Context:\nCREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT miles__km_ FROM table_2266976_1 WHERE race_time = \"3:07:53\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team of the game with manu gin\u00f3bili (34) as the leading scorer?\n\n### Context:\nCREATE TABLE table_name_74 (home VARCHAR, leading_scorer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_74 WHERE leading_scorer = \"manu gin\u00f3bili (34)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all document type codes and document type names.\n\n### Context:\nCREATE TABLE Ref_document_types (document_type_code VARCHAR, document_type_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT document_type_code, document_type_name FROM Ref_document_types"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the competition that had a score of 4-0?\n\n### Context:\nCREATE TABLE table_name_95 (result VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_95 WHERE score = \"4-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Airline when the notes show aoc 135?\n\n### Context:\nCREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airline FROM table_name_51 WHERE notes = \"aoc 135\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on March 21, 2009?\n\n### Context:\nCREATE TABLE table_16864968_8 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_16864968_8 WHERE date = \"March 21, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in round 7?\n\n### Context:\nCREATE TABLE table_26847237_1 (score VARCHAR, round__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_26847237_1 WHERE round__number = \"Round 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the best top five result when the average start is 28.5? \n\n### Context:\nCREATE TABLE table_2182573_2 (top_5 INTEGER, avg_start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(top_5) FROM table_2182573_2 WHERE avg_start = \"28.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest season number with a total prize of $108,000?\n\n### Context:\nCREATE TABLE table_name_17 (season INTEGER, total_prize_money VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season) FROM table_name_17 WHERE total_prize_money = \"$108,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the average silver when the total is more than 20?\n\n### Context:\nCREATE TABLE table_name_66 (silver INTEGER, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_66 WHERE total > 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nGive me the temperature of Shanghai in January.\n\n### Context:\nCREATE TABLE city (city_id VARCHAR, city VARCHAR); CREATE TABLE temperature (Jan VARCHAR, city_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Jan FROM city AS T1 JOIN temperature AS T2 ON T1.city_id = T2.city_id WHERE T1.city = \"Shanghai\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest founded year?\n\n### Context:\nCREATE TABLE table_1973729_2 (founded INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(founded) FROM table_1973729_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the nominee having a Tony award?\n\n### Context:\nCREATE TABLE table_name_16 (nominee VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nominee FROM table_name_16 WHERE award = \"tony award\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Team has a Recopa 1994 of n/a and a CONMEBOL 1994 of 1st round?\n\n### Context:\nCREATE TABLE table_name_92 (team VARCHAR, recopa_1994 VARCHAR, conmebol_1994 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_92 WHERE recopa_1994 = \"n/a\" AND conmebol_1994 = \"1st round\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the invoice number and invoice date for the invoice with most number of transactions?\n\n### Context:\nCREATE TABLE Invoices (invoice_number VARCHAR, invoice_date VARCHAR); CREATE TABLE Financial_transactions (invoice_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.invoice_number, T2.invoice_date FROM Financial_transactions AS T1 JOIN Invoices AS T2 ON T1.invoice_number = T2.invoice_number GROUP BY T1.invoice_number ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people voted for Obama in the county where McCain got 72.75% of the votes?\n\n### Context:\nCREATE TABLE table_20799587_1 (obama_number INTEGER, mccain_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(obama_number) FROM table_20799587_1 WHERE mccain_percentage = \"72.75%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the control trailers for 52 motors\n\n### Context:\nCREATE TABLE table_name_71 (Control VARCHAR, motors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Control AS trailers FROM table_name_71 WHERE motors = \"52\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich gene has 4,895,836 base pairs?\n\n### Context:\nCREATE TABLE table_name_94 (genes VARCHAR, base_pairs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genes FROM table_name_94 WHERE base_pairs = \"4,895,836\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat transfer fee did Birmingham City get on 30 June 2010?\n\n### Context:\nCREATE TABLE table_name_4 (transfer_fee VARCHAR, ends VARCHAR, moving_from VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_fee FROM table_name_4 WHERE ends = \"30 june 2010\" AND moving_from = \"birmingham city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nominee won the award for Fourth Best Indian Film?\n\n### Context:\nCREATE TABLE table_name_7 (nominee VARCHAR, outcome VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nominee FROM table_name_7 WHERE outcome = \"won\" AND category = \"fourth best indian film\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich lap number had Olivier Panis as a driver?\n\n### Context:\nCREATE TABLE table_name_98 (laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_name_98 WHERE driver = \"olivier panis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city had a rank before 3 and primary carrier JetBlue Airways?\n\n### Context:\nCREATE TABLE table_name_78 (city VARCHAR, rank VARCHAR, carriers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_78 WHERE rank < 3 AND carriers = \"jetblue airways\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the to par for Gene Littler?\n\n### Context:\nCREATE TABLE table_name_42 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_42 WHERE player = \"gene littler\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college, junior, or club team did defence player Rory Fitzpatrick play for?\n\n### Context:\nCREATE TABLE table_name_81 (college_junior_club_team VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_name_81 WHERE position = \"defence\" AND player = \"rory fitzpatrick\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Opponent when the Cavaliers had a Record of 3-9?\n\n### Context:\nCREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_10 WHERE record = \"3-9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nGame time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?\n\n### Context:\nCREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(yards) FROM table_name_2 WHERE game_time = \"2nd quarter (0:00)\" AND date = \"november 8, 1971\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does the player with a first round score of 35.7 play?\n\n### Context:\nCREATE TABLE table_name_21 (pos VARCHAR, first_round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pos FROM table_name_21 WHERE first_round = \"35.7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 1990-91 has an average number of 1.035?\n\n### Context:\nCREATE TABLE table_name_34 (average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1990 AS _91 FROM table_name_34 WHERE average = 1.035"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result at match reports?\n\n### Context:\nCREATE TABLE table_name_98 (result VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_98 WHERE location = \"match reports\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much is the crowd attending at colonial stadium where Hawthorn plays?\n\n### Context:\nCREATE TABLE table_name_9 (crowd VARCHAR, ground VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_9 WHERE ground = \"colonial stadium\" AND home_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is friday day six when thursday day five is \u067e\u0686\u06be\u0645\u0628\u06d2 pachhambey?\n\n### Context:\nCREATE TABLE table_1277350_7 (friday_day_six VARCHAR, thursday_day_five VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT friday_day_six FROM table_1277350_7 WHERE thursday_day_five = \"\u067e\u0686\u06be\u0645\u0628\u06d2 pachhambey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points have 88 laps and a grid of 14?\n\n### Context:\nCREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_99 WHERE laps = \"88\" AND grid = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Years when the LLWS is 4th place, and when the City is Westport?\n\n### Context:\nCREATE TABLE table_name_19 (year VARCHAR, llws VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_19 WHERE llws = \"4th place\" AND city = \"westport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition was on August 11, 1996?\n\n### Context:\nCREATE TABLE table_name_42 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_42 WHERE date = \"august 11, 1996\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team had less than 159 laps and a time or retired time of 4:00:30.7537 (retired - fire)?\n\n### Context:\nCREATE TABLE table_name_14 (name VARCHAR, laps VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_14 WHERE laps < 159 AND time_retired = \"4:00:30.7537 (retired - fire)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen gray wolves is the team nickname how many institutions are there?\n\n### Context:\nCREATE TABLE table_28211213_2 (institution VARCHAR, team_nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(institution) FROM table_28211213_2 WHERE team_nickname = \"Gray Wolves\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the release date of the processor with 2.8 ghz of frequency?\n\n### Context:\nCREATE TABLE table_name_77 (release_date VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_77 WHERE frequency = \"2.8 ghz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has 18-50 .360 field goals?\n\n### Context:\nCREATE TABLE table_22875514_3 (player VARCHAR, field_goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_22875514_3 WHERE field_goals = \"18-50 .360\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the total number of Laps for Rubens Barrichello\n\n### Context:\nCREATE TABLE table_name_85 (laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(laps) FROM table_name_85 WHERE driver = \"rubens barrichello\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country named feeney with a bbc sport start source?\n\n### Context:\nCREATE TABLE table_name_16 (country VARCHAR, start_source VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_16 WHERE start_source = \"bbc sport\" AND name = \"feeney\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest chimore municipalities with 9 pojo municipalities and less than 7 totora municipalities?\n\n### Context:\nCREATE TABLE table_name_76 (chimor\u00e9_municipality INTEGER, pojo_municipality VARCHAR, totora_municipality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(chimor\u00e9_municipality) FROM table_name_76 WHERE pojo_municipality = 9 AND totora_municipality < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game at Olympic Stadium?\n\n### Context:\nCREATE TABLE table_24989925_2 (date VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_24989925_2 WHERE game_site = \"Olympic Stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0party\u00a0with\u00a0candidates\u00a0being john j. phillips (r) 57.6% n. e. west (d) 42.4%\n\n### Context:\nCREATE TABLE table_1342256_6 (party VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1342256_6 WHERE candidates = \"John J. Phillips (R) 57.6% N. E. West (D) 42.4%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Title, when Release Date is 2011-12-01 December 2011?\n\n### Context:\nCREATE TABLE table_name_65 (title VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_65 WHERE release_date = \"2011-12-01 december 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round was Joe Sims picked?\n\n### Context:\nCREATE TABLE table_name_24 (round INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_24 WHERE player = \"joe sims\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Result has an Attendance of 60,705?\n\n### Context:\nCREATE TABLE table_name_72 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_72 WHERE attendance = \"60,705\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the record on july 10?\n\n### Context:\nCREATE TABLE table_name_65 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_65 WHERE date = \"july 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Away team played when they had a Crowd of over 29,000 people?\n\n### Context:\nCREATE TABLE table_name_14 (away_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_14 WHERE crowd > 29 OFFSET 000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value for % 20-39 if % 0-19 is 21,11%?\n\n### Context:\nCREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = \"21,11%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the team from goreville vienna school?\n\n### Context:\nCREATE TABLE table_name_80 (team_name VARCHAR, schools VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_name FROM table_name_80 WHERE schools = \"goreville vienna\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title where the studio was RKO, the role was Dolly, and the year was later than 1943?\n\n### Context:\nCREATE TABLE table_name_98 (title VARCHAR, role VARCHAR, year VARCHAR, studio VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_98 WHERE year > 1943 AND studio = \"rko\" AND role = \"dolly\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the original air date for the episoe written by vanessa reisen?\n\n### Context:\nCREATE TABLE table_13336122_5 (original_air_date VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_13336122_5 WHERE written_by = \"Vanessa Reisen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of agriculatural panels of the composition with more than 3 National Universities of Ireland?\n\n### Context:\nCREATE TABLE table_name_59 (agricultural_panel VARCHAR, national_university_of_ireland INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(agricultural_panel) FROM table_name_59 WHERE national_university_of_ireland > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the date of the game that the high assists is raymond felton (4)?\n\n### Context:\nCREATE TABLE table_27713583_2 (date VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_27713583_2 WHERE high_assists = \"Raymond Felton (4)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home country of the player who placed t5 and had a score of 69-71=140?\n\n### Context:\nCREATE TABLE table_name_23 (country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_23 WHERE place = \"t5\" AND score = 69 - 71 = 140"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the years when decile was less than 7 for waitoa school\n\n### Context:\nCREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_67 WHERE decile < 7 AND name = \"waitoa school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was there an International Friendly competition?\n\n### Context:\nCREATE TABLE table_name_2 (date VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_2 WHERE competition = \"international friendly\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the umpires when Paul Medhurst (C) won the Simpson Medal?\n\n### Context:\nCREATE TABLE table_13514348_7 (umpires VARCHAR, simpson_medal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT umpires FROM table_13514348_7 WHERE simpson_medal = \"Paul Medhurst (C)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDid he win or lose rof 32: respect?\n\n### Context:\nCREATE TABLE table_name_47 (res VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_47 WHERE event = \"rof 32: respect\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the loss for August 19?\n\n### Context:\nCREATE TABLE table_name_91 (loss VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_91 WHERE date = \"august 19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goals have a goal ration less than 0.8 with 56 games?\n\n### Context:\nCREATE TABLE table_name_49 (goals VARCHAR, goal_ratio VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals) FROM table_name_49 WHERE goal_ratio < 0.8 AND games = 56"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat seasons does Nick Lucas appear in?\n\n### Context:\nCREATE TABLE table_12441518_1 (recurring_cast_seasons VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT recurring_cast_seasons FROM table_12441518_1 WHERE character = \"Nick Lucas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total medals for the netherlands?\n\n### Context:\nCREATE TABLE table_name_9 (total INTEGER, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_9 WHERE nation = \"netherlands\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat opponent got 44 points in their game?\n\n### Context:\nCREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_23243769_4 WHERE opp_points = 44"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the game with a Score of 4\u20136, 4\u20136?\n\n### Context:\nCREATE TABLE table_name_36 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_36 WHERE score = \"4\u20136, 4\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?\n\n### Context:\nCREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_43 WHERE category = \"outstanding supporting actress in a drama series\" AND year = 2009"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the ids of the movies that are not reviewed by Brittany Harris.\n\n### Context:\nCREATE TABLE Reviewer (rID VARCHAR, name VARCHAR); CREATE TABLE Rating (mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, rID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mID FROM Rating EXCEPT SELECT T1.mID FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T2.name = \"Brittany Harris\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the opponent when norway is against?\n\n### Context:\nCREATE TABLE table_name_67 (opponent VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_67 WHERE against = \"norway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the country for 22 events\n\n### Context:\nCREATE TABLE table_18888159_1 (country VARCHAR, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_18888159_1 WHERE events = 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Kuala Lumpur value with a Durban value less than 1 and a Mar Del Plata value greater than 0?\n\n### Context:\nCREATE TABLE table_name_82 (kuala_lumpur INTEGER, durban VARCHAR, mar_del_plata VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(kuala_lumpur) FROM table_name_82 WHERE durban < 1 AND mar_del_plata > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the leowest number of Bronze medals for Jamaica who ranked less than 4 and had more than 0 silver medals and a total of less than 22 medals?\n\n### Context:\nCREATE TABLE table_name_75 (bronze INTEGER, total VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bronze) FROM table_name_75 WHERE silver > 0 AND rank < 4 AND nation = \"jamaica\" AND total < 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of the campus which has more faculties in 2002 than every campus in Orange county.\n\n### Context:\nCREATE TABLE campuses (campus VARCHAR, id VARCHAR, county VARCHAR); CREATE TABLE faculty (campus VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND faculty > (SELECT MAX(faculty) FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2002 AND T1.county = \"Orange\")"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many votes were taken when the outcome was \"6th voted out day 12\"?\n\n### Context:\nCREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(vote) FROM table_1272844_2 WHERE finish = \"6th voted Out Day 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of the division for the 1st round?\n\n### Context:\nCREATE TABLE table_1046071_1 (division VARCHAR, open_cup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(division) FROM table_1046071_1 WHERE open_cup = \"1st Round\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the smallest react of Zimbabwe, ranked after 1 in a lane after 3 and a time less than 20.3?\n\n### Context:\nCREATE TABLE table_name_90 (react INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(react) FROM table_name_90 WHERE lane > 3 AND time < 20.3 AND nationality = \"zimbabwe\" AND rank > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2004 value in the 2011 Grand Slam Tournaments?\n\n### Context:\nCREATE TABLE table_name_46 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2004 FROM table_name_46 WHERE 2011 = \"grand slam tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Season has a Level of tier 2 and a Position of 1st?\n\n### Context:\nCREATE TABLE table_name_82 (season VARCHAR, level VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_name_82 WHERE level = \"tier 2\" AND position = \"1st\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the host country in 2007?\n\n### Context:\nCREATE TABLE table_name_3 (host_country___countries VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host_country___countries FROM table_name_3 WHERE year = \"2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average car number of all the drivers with 109 points?\n\n### Context:\nCREATE TABLE table_name_12 (car__number INTEGER, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(car__number) FROM table_name_12 WHERE points = \"109\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Game has an Opponent of @ carolina hurricanes?\n\n### Context:\nCREATE TABLE table_name_94 (game INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(game) FROM table_name_94 WHERE opponent = \"@ carolina hurricanes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average game against the New Jersey Devils with 19 points?\n\n### Context:\nCREATE TABLE table_name_22 (game INTEGER, points VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_22 WHERE points = 19 AND opponent = \"new jersey devils\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the area of the corporation named the powell river, the corporation of the city of?\n\n### Context:\nCREATE TABLE table_28367242_1 (area__km\u00b2_ VARCHAR, corporate_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_28367242_1 WHERE corporate_name = \"Powell River, The Corporation of the City of\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich method has a record of 4-0?\n\n### Context:\nCREATE TABLE table_name_83 (method VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_83 WHERE record = \"4-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fewest gold medals for a team with fewer than 1 silver, more than 1 bronze and a total less than 4?\n\n### Context:\nCREATE TABLE table_name_21 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_21 WHERE silver < 1 AND total < 4 AND bronze > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the earliest week on September 26, 1965?\n\n### Context:\nCREATE TABLE table_name_3 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_3 WHERE date = \"september 26, 1965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCount the Number of electorates (2009) that has a District of fatehpur and jahanabad?\n\n### Context:\nCREATE TABLE table_name_11 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = \"fatehpur\" AND name = \"jahanabad\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Non- stop has an Aspirated stop of \u314e?\n\n### Context:\nCREATE TABLE table_name_60 (non__stop VARCHAR, aspirated_stop VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT non__stop FROM table_name_60 WHERE aspirated_stop = \"\u314e\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped?\n\n### Context:\nCREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT blackberry_os FROM table_14260687_3 WHERE symbian = \"10.4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCOunt the sum of Diameter (km) which has a Latitude of 62.7n?\n\n### Context:\nCREATE TABLE table_name_25 (diameter__km_ INTEGER, latitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(diameter__km_) FROM table_name_25 WHERE latitude = \"62.7n\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for the game where the home team was Wycombe Wanderers?\n\n### Context:\nCREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_73 WHERE home_team = \"wycombe wanderers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me opponent for result of w 33-31\n\n### Context:\nCREATE TABLE table_name_96 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_96 WHERE result = \"w 33-31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many entrants did the events won by Frank Gary average?\n\n### Context:\nCREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(entrants) FROM table_name_21 WHERE winner = \"frank gary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest overall amount of no votes?\n\n### Context:\nCREATE TABLE table_256286_13 (no_votes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_votes) FROM table_256286_13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the co-drivers in 2008?\n\n### Context:\nCREATE TABLE table_name_81 (co_drivers VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT co_drivers FROM table_name_81 WHERE year = 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score when the set 3 is 26\u201328?\n\n### Context:\nCREATE TABLE table_name_5 (score VARCHAR, set_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_5 WHERE set_3 = \"26\u201328\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 2012 that has a winning % of 67%?\n\n### Context:\nCREATE TABLE table_name_60 (win__percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2012 FROM table_name_60 WHERE win__percentage = \"67%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much money did Crafty Bear wins with a dist of 1 mile?\n\n### Context:\nCREATE TABLE table_name_30 (purse___us$__ VARCHAR, dist VARCHAR, winning_horse VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT purse___us$__ FROM table_name_30 WHERE dist = \"1 mile\" AND winning_horse = \"crafty bear\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich stadium has Seongnam Ilhwa Chunma?\n\n### Context:\nCREATE TABLE table_name_77 (stadium VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stadium FROM table_name_77 WHERE club = \"seongnam ilhwa chunma\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score agains Dynamo Kyiv, when the group position was 1st?\n\n### Context:\nCREATE TABLE table_name_39 (result_f___a VARCHAR, group_position VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result_f___a FROM table_name_39 WHERE group_position = \"1st\" AND opponents = \"dynamo kyiv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?\n\n### Context:\nCREATE TABLE table_name_68 (points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_68 WHERE year < 1977 AND engine = \"cosworth v8\" AND entrant = \"hb bewaking alarm systems\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the locale is Ontario, what is the W minimum?\n\n### Context:\nCREATE TABLE table_25933764_1 (w INTEGER, locale VARCHAR, Ontario VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(w) FROM table_25933764_1 WHERE locale = Ontario"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of runner-up results for the years (won in bold) 1984, 2010?\n\n### Context:\nCREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = \"1984, 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many places did the artist Big Hit have with less than 2934 votes?\n\n### Context:\nCREATE TABLE table_name_21 (place VARCHAR, artist VARCHAR, votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(place) FROM table_name_21 WHERE artist = \"big hit\" AND votes < 2934"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many were in attendance for the loss of rekar (4\u20135)?\n\n### Context:\nCREATE TABLE table_name_15 (attendance INTEGER, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_15 WHERE loss = \"rekar (4\u20135)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the number of different channel owners?\n\n### Context:\nCREATE TABLE channel (OWNER VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT OWNER) FROM channel"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow names for all aircraft with at least two flights.\n\n### Context:\nCREATE TABLE Aircraft (name VARCHAR, aid VARCHAR); CREATE TABLE Flight (aid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM Flight AS T1 JOIN Aircraft AS T2 ON T1.aid = T2.aid GROUP BY T1.aid HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many insurgents have 2003 as a period?\n\n### Context:\nCREATE TABLE table_21636599_1 (insurgents VARCHAR, period VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(insurgents) FROM table_21636599_1 WHERE period = \"2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time does lane 7 have?\n\n### Context:\nCREATE TABLE table_name_56 (time VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_56 WHERE lane = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat category was the movie Working Girl nominated?\n\n### Context:\nCREATE TABLE table_18638067_1 (category VARCHAR, film_title_used_in_nomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_18638067_1 WHERE film_title_used_in_nomination = \"Working Girl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat opponent has a result of 3\u20136, 6\u20132, 4\u20136?\n\n### Context:\nCREATE TABLE table_name_74 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_74 WHERE result = \"3\u20136, 6\u20132, 4\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player in the United States had a total of 286 and won in 2003?\n\n### Context:\nCREATE TABLE table_name_78 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_78 WHERE country = \"united states\" AND total = 286 AND year_s__won = \"2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich payment method is used by most customers?\n\n### Context:\nCREATE TABLE customers (payment_method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT payment_method FROM customers GROUP BY payment_method ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the coronie for marowijne being 6.8%\n\n### Context:\nCREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coronie FROM table_16886076_1 WHERE marowijne = \"6.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1996 when the 1994 is A, the 2003 is A, and the 2001 is 1R?\n\n### Context:\nCREATE TABLE table_name_23 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1996 FROM table_name_23 WHERE 1994 = \"a\" AND 2003 = \"a\" AND 2001 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen sv neuses is the oberfranken west what is the season?\n\n### Context:\nCREATE TABLE table_23224961_2 (season VARCHAR, oberfranken_west VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_23224961_2 WHERE oberfranken_west = \"SV Neuses\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number of density for the place with a population over 393,390?\n\n### Context:\nCREATE TABLE table_name_57 (density VARCHAR, population INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(density) FROM table_name_57 WHERE population > 393 OFFSET 390"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho manufactured the car that won with an average speed of 126.259 mph?\n\n### Context:\nCREATE TABLE table_22298383_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_22298383_1 WHERE average_speed__mph_ = \"126.259\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the runner-up in the Memorial Tournament?\n\n### Context:\nCREATE TABLE table_1602858_1 (runner_s__up VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_s__up FROM table_1602858_1 WHERE tournament = \"Memorial tournament\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the country that has the yen\n\n### Context:\nCREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_2764267_2 WHERE currency = \"Yen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the constellation when the right ascension (j2000) is 09h51m54.0s?\n\n### Context:\nCREATE TABLE table_name_61 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = \"09h51m54.0s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the stadium where Bursaspor is the tenant open?\n\n### Context:\nCREATE TABLE table_10601843_2 (opening INTEGER, tenant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(opening) FROM table_10601843_2 WHERE tenant = \"Bursaspor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year in which the result is championship US Open (2)?\n\n### Context:\nCREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_29163303_2 WHERE championship = \"US Open (2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average nominated of the composition nominated by Taioseach with an Industrial and Commercial panel less than 9, an administrative panel greater than 0, a cultural and educational panel greater than 2, and a total less than 29?\n\n### Context:\nCREATE TABLE table_name_99 (nominated_by_the_taoiseach INTEGER, total VARCHAR, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR, administrative_panel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(nominated_by_the_taoiseach) FROM table_name_99 WHERE industrial_and_commercial_panel < 9 AND administrative_panel > 0 AND cultural_and_educational_panel > 2 AND total < 29"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country placed t8 and scored 71-71-71=213?\n\n### Context:\nCREATE TABLE table_name_18 (country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_18 WHERE place = \"t8\" AND score = 71 - 71 - 71 = 213"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of all the crowds that watched North Melbourne at home?\n\n### Context:\nCREATE TABLE table_name_74 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_74 WHERE home_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the qualifying end date when the qualifying start date is qualifying start date?\n\n### Context:\nCREATE TABLE table_23995075_2 (qualifying_end_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qualifying_end_date FROM table_23995075_2 WHERE \"qualifying_start_date\" = \"qualifying_start_date\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the engine for year less than 1959 and points more than 4?\n\n### Context:\nCREATE TABLE table_name_7 (engine VARCHAR, year VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_7 WHERE year < 1959 AND points > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many millions of viewers watched episode 15?\n\n### Context:\nCREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__millions_ FROM table_11230937_2 WHERE no_in_season = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many votes have a Seat of house A, and a Percentage of 75.44%, and a District smaller than 11?\n\n### Context:\nCREATE TABLE table_name_52 (vote VARCHAR, district VARCHAR, seat VARCHAR, percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(vote) FROM table_name_52 WHERE seat = \"house a\" AND percentage = \"75.44%\" AND district < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many matches were drawn by a team with 447 points?\n\n### Context:\nCREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drawn FROM table_name_1 WHERE points_for = \"447\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the team was @ New Jersey? \n\n### Context:\nCREATE TABLE table_22871239_5 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_22871239_5 WHERE team = \"@ New Jersey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0party\u00a0with\u00a0district being washington 7\n\n### Context:\nCREATE TABLE table_1341472_49 (party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1341472_49 WHERE district = \"Washington 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most recent year that China won a bronze?\n\n### Context:\nCREATE TABLE table_name_77 (year INTEGER, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_77 WHERE bronze = \"china\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of dances with a less than 2 place and an average smaller than 27.5?\n\n### Context:\nCREATE TABLE table_name_83 (number_of_dances INTEGER, place VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(number_of_dances) FROM table_name_83 WHERE place < 2 AND average < 27.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Player that has a To standard of \u20137?\n\n### Context:\nCREATE TABLE table_name_47 (player VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_47 WHERE to_par = \"\u20137\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the basketball status for Valparaiso who has an indoor track status of yes?\n\n### Context:\nCREATE TABLE table_name_69 (bask VARCHAR, indoor_track VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bask FROM table_name_69 WHERE indoor_track = \"yes\" AND school = \"valparaiso\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game took place on April 22?\n\n### Context:\nCREATE TABLE table_name_8 (game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_8 WHERE date = \"april 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which game did the opponents score 14 points?\n\n### Context:\nCREATE TABLE table_name_41 (game VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_41 WHERE opponents = \"14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average round for the TKO (punches and elbows) method?\n\n### Context:\nCREATE TABLE table_name_89 (round INTEGER, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_89 WHERE method = \"tko (punches and elbows)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nationality has a Ship of minteh?\n\n### Context:\nCREATE TABLE table_name_62 (nationality VARCHAR, ship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_62 WHERE ship = \"minteh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat area is the school with a decile of 8 in?\n\n### Context:\nCREATE TABLE table_name_76 (area VARCHAR, decile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area FROM table_name_76 WHERE decile = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Tie no for the game with the away team Whyteleafe?\n\n### Context:\nCREATE TABLE table_name_99 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_99 WHERE away_team = \"whyteleafe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number for % popular vote for # of seats won for 83\n\n### Context:\nCREATE TABLE table_19769687_3 (_percentage_of_popular_vote VARCHAR, _number_of_seats_won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(_percentage_of_popular_vote) FROM table_19769687_3 WHERE _number_of_seats_won = 83"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team's record in games against the Hartford Whalers?\n\n### Context:\nCREATE TABLE table_name_52 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_52 WHERE opponent = \"hartford whalers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year of the film from France/Hong Kong?\n\n### Context:\nCREATE TABLE table_name_74 (year INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_74 WHERE country = \"france/hong kong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many ends were won where the blank ends are smaller than 3.0?\n\n### Context:\nCREATE TABLE table_25718552_2 (Ends VARCHAR, blank_ends INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT Ends AS won FROM table_25718552_2 WHERE blank_ends < 3.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the name, phone number and email address of the customer who made the largest number of orders?\n\n### Context:\nCREATE TABLE customers (customer_name VARCHAR, customer_phone VARCHAR, customer_email VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.customer_name, T1.customer_phone, T1.customer_email FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id GROUP BY T2.customer_id ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen were there less than 1 point with a cosworth v8 engine in jolly club switzerland?\n\n### Context:\nCREATE TABLE table_name_73 (year VARCHAR, entrant VARCHAR, points VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_73 WHERE points < 1 AND engine = \"cosworth v8\" AND entrant = \"jolly club switzerland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many titles had an average rating of 8.9%?\n\n### Context:\nCREATE TABLE table_18539834_2 (romaji_title VARCHAR, average_ratings VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(romaji_title) FROM table_18539834_2 WHERE average_ratings = \"8.9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the European competition when the tier is more than 2?\n\n### Context:\nCREATE TABLE table_name_33 (european_competitions VARCHAR, tier INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT european_competitions FROM table_name_33 WHERE tier > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the opponent when the surface is clay, the outcome is winner and the championship is estoril on 15 april 1996?\n\n### Context:\nCREATE TABLE table_name_93 (opponent VARCHAR, date VARCHAR, championship VARCHAR, surface VARCHAR, outcome VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_93 WHERE surface = \"clay\" AND outcome = \"winner\" AND championship = \"estoril\" AND date = \"15 april 1996\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is Terry Mills from?\n\n### Context:\nCREATE TABLE table_name_98 (hometown VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_name_98 WHERE player = \"terry mills\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the transfer window in esp with promoted type and more than 2010 ends?\n\n### Context:\nCREATE TABLE table_name_85 (transfer_window VARCHAR, ends VARCHAR, country VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_window FROM table_name_85 WHERE country = \"esp\" AND type = \"promoted\" AND ends > 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production code of the episode with an original airdate of december 01?\n\n### Context:\nCREATE TABLE table_25691838_12 (production_code VARCHAR, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_25691838_12 WHERE original_airdate = \"December 01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho won the senate seat in arkansas\n\n### Context:\nCREATE TABLE table_1133844_4 (senator VARCHAR, state__linked_to_summaries_below_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT senator FROM table_1133844_4 WHERE state__linked_to_summaries_below_ = \"Arkansas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat i the maximum number in the series where the production code is 3wab07?\n\n### Context:\nCREATE TABLE table_20726262_4 (no_in_series INTEGER, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_20726262_4 WHERE production_code = \"3WAB07\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the name of the city or town of the school that operates the http://www.mfschools.org/high/ website?\n\n### Context:\nCREATE TABLE table_29612224_1 (institution VARCHAR, school_website VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT institution FROM table_29612224_1 WHERE school_website = \"http://www.mfschools.org/high/\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the country in Arabic that has Moroni as the name of its capital in English?\n\n### Context:\nCREATE TABLE table_name_68 (arabic_country_name VARCHAR, english_capital_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT arabic_country_name FROM table_name_68 WHERE english_capital_name = \"moroni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the tie no of the game where exeter city was the home team?\n\n### Context:\nCREATE TABLE table_name_36 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_36 WHERE home_team = \"exeter city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Super G has Victories of 26, and a Country of austria?\n\n### Context:\nCREATE TABLE table_name_31 (super_g VARCHAR, victories VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT super_g FROM table_name_31 WHERE victories = 26 AND country = \"austria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the theatre name for french\n\n### Context:\nCREATE TABLE table_2461720_1 (theatre_name VARCHAR, language_of_films VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT theatre_name FROM table_2461720_1 WHERE language_of_films = \"French\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many 2011 1H values have a 2006 of 27.4 and 2007 over 27.7?\n\n### Context:\nCREATE TABLE table_name_9 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(2011 AS _1h) FROM table_name_9 WHERE 2006 = 27.4 AND 2007 > 27.7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the manner of departure when the outgoing manager was andrea mandorlini?\n\n### Context:\nCREATE TABLE table_26976615_3 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manner_of_departure FROM table_26976615_3 WHERE outgoing_manager = \"Andrea Mandorlini\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest ERP W of the 67829 Facility ID?\n\n### Context:\nCREATE TABLE table_name_54 (erp_w INTEGER, facility_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(erp_w) FROM table_name_54 WHERE facility_id = 67829"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Winning Driver has a Second Driver of jimmy bryan?\n\n### Context:\nCREATE TABLE table_name_25 (winning_driver VARCHAR, second_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_25 WHERE second_driver = \"jimmy bryan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of grid values of driver Michael Schumacher with lap counts larger than 66?\n\n### Context:\nCREATE TABLE table_name_7 (grid INTEGER, laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(grid) FROM table_name_7 WHERE laps > 66 AND driver = \"michael schumacher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the episode first air that had a production code of 102?\n\n### Context:\nCREATE TABLE table_18335117_2 (original_air_date VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_18335117_2 WHERE production_code = 102"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player was moving from manchester united?\n\n### Context:\nCREATE TABLE table_name_78 (name VARCHAR, moving_from VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_78 WHERE moving_from = \"manchester united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date To, when Name is \"Lee Cook\"?\n\n### Context:\nCREATE TABLE table_name_47 (date_to VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_to FROM table_name_47 WHERE name = \"lee cook\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team name when 243 is the total?\n\n### Context:\nCREATE TABLE table_22014431_3 (team_name VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_name FROM table_22014431_3 WHERE total = \"243\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the collor commentator(s) for ESPN before 2012?\n\n### Context:\nCREATE TABLE table_name_53 (color_commentator_s_ VARCHAR, year VARCHAR, network VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT color_commentator_s_ FROM table_name_53 WHERE year < 2012 AND network = \"espn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week was the Original artist, the police ?\n\n### Context:\nCREATE TABLE table_name_5 (week VARCHAR, original_artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_5 WHERE original_artist = \"the police\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes had 16.03 million viewers?\n\n### Context:\nCREATE TABLE table_11058032_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_series) FROM table_11058032_1 WHERE us_viewers__millions_ = \"16.03\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe building with 48 floors has an address in Las Vegas of what?\n\n### Context:\nCREATE TABLE table_name_2 (street_address VARCHAR, floors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT street_address FROM table_name_2 WHERE floors = 48"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the province when the rank is higher than 24 and the name is laforge-2?\n\n### Context:\nCREATE TABLE table_name_42 (province VARCHAR, rank VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province FROM table_name_42 WHERE rank > 24 AND name = \"laforge-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many mixed doubles were there in the year that Olga Koseli won the women's singles?\n\n### Context:\nCREATE TABLE table_15002177_1 (mixed_doubles VARCHAR, womens_singles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(mixed_doubles) FROM table_15002177_1 WHERE womens_singles = \"Olga Koseli\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the set 5 if the Date is jun 7, and a Set 4 is 21-25?\n\n### Context:\nCREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_5 FROM table_name_65 WHERE date = \"jun 7\" AND set_4 = \"21-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0class\u00a0with\u00a0poles\u00a0being bigger than 1.0\n\n### Context:\nCREATE TABLE table_14139408_1 (class VARCHAR, poles INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(class) FROM table_14139408_1 WHERE poles > 1.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the note for catalog of 32xa-106\n\n### Context:\nCREATE TABLE table_name_73 (note VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT note FROM table_name_73 WHERE catalog = \"32xa-106\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the region for cd with catalog of alca-9203\n\n### Context:\nCREATE TABLE table_name_43 (region VARCHAR, format VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_43 WHERE format = \"cd\" AND catalog = \"alca-9203\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Report of tourist trophy?\n\n### Context:\nCREATE TABLE table_name_77 (report VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT report FROM table_name_77 WHERE name = \"tourist trophy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the record 8\u20136\u20133?\n\n### Context:\nCREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_14 WHERE record = \"8\u20136\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0points against\u00a0with\u00a0won\u00a0being 11\n\n### Context:\nCREATE TABLE table_14058433_4 (points_against VARCHAR, won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_against FROM table_14058433_4 WHERE won = \"11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player in t8 place with a 75-71=146 score?\n\n### Context:\nCREATE TABLE table_name_68 (player VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_68 WHERE place = \"t8\" AND score = 75 - 71 = 146"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year for scatman winning?\n\n### Context:\nCREATE TABLE table_name_58 (year INTEGER, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_58 WHERE winner = \"scatman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen vista radio is the owner how many call signs are there?\n\n### Context:\nCREATE TABLE table_18536769_1 (call_sign VARCHAR, owner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(call_sign) FROM table_18536769_1 WHERE owner = \"Vista Radio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Bronze has a Silver smaller than 1, and a Total larger than 3?\n\n### Context:\nCREATE TABLE table_name_94 (bronze INTEGER, silver VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bronze) FROM table_name_94 WHERE silver < 1 AND total > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent with a score of 6\u20135 13?\n\n### Context:\nCREATE TABLE table_name_82 (opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_82 WHERE score = \"6\u20135 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what circuit was the City of Ipswich 400 race held?\n\n### Context:\nCREATE TABLE table_14016079_1 (circuit VARCHAR, race_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_14016079_1 WHERE race_title = \"City of Ipswich 400\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Home captain for the Test match of Australia in England at the Edgbaston Venue?\n\n### Context:\nCREATE TABLE table_name_99 (home_captain VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_captain FROM table_name_99 WHERE venue = \"edgbaston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ranking of the UEFA Euro 2012 qualifying Group A competition?\n\n### Context:\nCREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_24765815_2 WHERE competition = \"UEFA Euro 2012 qualifying Group A\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the County that has the Year Joined of 1964, and the Location of montezuma?\n\n### Context:\nCREATE TABLE table_name_24 (county VARCHAR, year_joined VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_name_24 WHERE year_joined = 1964 AND location = \"montezuma\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high 10 profile when high profile is 160?\n\n### Context:\nCREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_10_profile FROM table_237036_2 WHERE high_profile = 160"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest crowd size for away team Fitzroy?\n\n### Context:\nCREATE TABLE table_name_40 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_40 WHERE away_team = \"fitzroy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total for a to par bigger than 7 and a player of al geiberger?\n\n### Context:\nCREATE TABLE table_name_58 (total VARCHAR, player VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_58 WHERE player = \"al geiberger\" AND to_par > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much time, in minutes, did Chanel Chisholm play?\n\n### Context:\nCREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(minutes) FROM table_22993636_5 WHERE player = \"Chanel Chisholm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Venue has a Competition of european championships, and a Position of 7th?\n\n### Context:\nCREATE TABLE table_name_22 (venue VARCHAR, competition VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_22 WHERE competition = \"european championships\" AND position = \"7th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of First elected that has a country represented in Baltimore county, a district of 06.0 6, and a committee of economic matters?\n\n### Context:\nCREATE TABLE table_name_80 (first_elected VARCHAR, committee VARCHAR, counties_represented VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(first_elected) FROM table_name_80 WHERE counties_represented = \"baltimore county\" AND district = \"06.0 6\" AND committee = \"economic matters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the original air date for production code of 3t7501\n\n### Context:\nCREATE TABLE table_19396259_1 (original_air_date VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(original_air_date) FROM table_19396259_1 WHERE production_code = \"3T7501\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the head of household that has married filing separately of $104,426\u2013$186,475\n\n### Context:\nCREATE TABLE table_name_89 (head_of_household VARCHAR, married_filing_separately VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT head_of_household FROM table_name_89 WHERE married_filing_separately = \"$104,426\u2013$186,475\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the club of Real Oviedo, what were the points of the competitor with a goal difference less than 38, and 12 wins?\n\n### Context:\nCREATE TABLE table_name_39 (points VARCHAR, club VARCHAR, goal_difference VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_39 WHERE goal_difference < 38 AND wins = 12 AND club = \"real oviedo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the high points for march 30\n\n### Context:\nCREATE TABLE table_27723526_12 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_27723526_12 WHERE date = \"March 30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the capacity that has the highest greater than 1,763 and is at Hampden Park?\n\n### Context:\nCREATE TABLE table_name_37 (capacity INTEGER, stadium VARCHAR, highest VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(capacity) FROM table_name_37 WHERE stadium = \"hampden park\" AND highest > 1 OFFSET 763"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fewest bronze medals for a team with fewer than 1 silver and rank lower than 5?\n\n### Context:\nCREATE TABLE table_name_75 (bronze INTEGER, silver VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bronze) FROM table_name_75 WHERE silver < 1 AND rank < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the website of the school affiliated with the Church of England?\n\n### Context:\nCREATE TABLE table_28523_3 (school VARCHAR, religious_affiliation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school AS website FROM table_28523_3 WHERE religious_affiliation = \"Church of England\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the condition that has a partial thromboplastin time of prolonged and unaffected bleeding time\n\n### Context:\nCREATE TABLE table_name_41 (condition VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = \"prolonged\" AND bleeding_time = \"unaffected\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Ernie Els' Score?\n\n### Context:\nCREATE TABLE table_name_43 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_43 WHERE player = \"ernie els\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round is the average one that has a Pick # larger than 26, and a Position of defensive back?\n\n### Context:\nCREATE TABLE table_name_52 (round INTEGER, pick__number VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_52 WHERE pick__number > 26 AND position = \"defensive back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the person born in Australia, rick springfield notable for?\n\n### Context:\nCREATE TABLE table_name_23 (notable_for VARCHAR, connection_with_australia VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notable_for FROM table_name_23 WHERE connection_with_australia = \"born in australia\" AND name = \"rick springfield\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of opponent of record 9-2\n\n### Context:\nCREATE TABLE table_17186229_4 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(opponent) FROM table_17186229_4 WHERE record = \"9-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was 2003's To Par?\n\n### Context:\nCREATE TABLE table_name_31 (to_par VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_31 WHERE year = 2003"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of tickets sold/available when the sellout is 82%?\n\n### Context:\nCREATE TABLE table_16331025_2 (tickets_sold___available VARCHAR, sellout___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(tickets_sold___available) FROM table_16331025_2 WHERE sellout___percentage_ = \"82%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for a match before 13, and a home game on April 21, 2008?\n\n### Context:\nCREATE TABLE table_name_11 (score VARCHAR, date VARCHAR, match VARCHAR, home_away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_11 WHERE match < 13 AND home_away = \"home\" AND date = \"april 21, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich regions had a production (bbl/day) of 1,213,000 (21st)?\n\n### Context:\nCREATE TABLE table_166346_1 (region VARCHAR, production___bbl__day_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_166346_1 WHERE production___bbl__day_ = \"1,213,000 (21st)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for game 38?\n\n### Context:\nCREATE TABLE table_name_1 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_1 WHERE game = 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the 125cc winnder for the Phillip Island circuit?\n\n### Context:\nCREATE TABLE table_12186237_1 (circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 125 AS cc_winner FROM table_12186237_1 WHERE circuit = \"Phillip Island\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game did the Bruins play Santa Clara?\n\n### Context:\nCREATE TABLE table_21058836_1 (game VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_21058836_1 WHERE opponent = \"Santa Clara\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is Paul Stankowski from?\n\n### Context:\nCREATE TABLE table_name_21 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_21 WHERE player = \"paul stankowski\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the title for total viewers on fx+ being 483,000\n\n### Context:\nCREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = \"483,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest numbered draft pick?\n\n### Context:\nCREATE TABLE table_28059992_5 (pick__number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_28059992_5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Overall for Pick # less than 5 Jack Harmon?\n\n### Context:\nCREATE TABLE table_name_45 (overall INTEGER, name VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(overall) FROM table_name_45 WHERE name = \"jack harmon\" AND pick__number < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many alt names does 1964-011a have?\n\n### Context:\nCREATE TABLE table_12141496_1 (alt_name VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(alt_name) FROM table_12141496_1 WHERE id = \"1964-011A\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which group was Kim nominated in 2010 for Best International Actress?\n\n### Context:\nCREATE TABLE table_name_61 (group VARCHAR, year VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT group FROM table_name_61 WHERE year = 2010 AND award = \"best international actress\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlease show the nominee who has been nominated the greatest number of times.\n\n### Context:\nCREATE TABLE musical (Nominee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Accreditation Level, when the Hardware Model is GT-I9100?\n\n### Context:\nCREATE TABLE table_name_7 (accreditation_level VARCHAR, hardware_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accreditation_level FROM table_name_7 WHERE hardware_model = \"gt-i9100\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of \"goals for\" out of the clubs where there were 18 wins and fewer than 38 \"goals against\"?\n\n### Context:\nCREATE TABLE table_name_85 (goals_for INTEGER, wins VARCHAR, goals_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals_for) FROM table_name_85 WHERE wins = 18 AND goals_against < 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the 1st round when team 2 is olympique lyonnais (d2)?\n\n### Context:\nCREATE TABLE table_name_67 (team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_round FROM table_name_67 WHERE team_2 = \"olympique lyonnais (d2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1991 when 1990 is ATP Masters Series?\n\n### Context:\nCREATE TABLE table_name_53 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1991 FROM table_name_53 WHERE 1990 = \"atp masters series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record with a Leading scorer with maurice williams (25), and a Date with 27 january 2008?\n\n### Context:\nCREATE TABLE table_name_38 (record VARCHAR, leading_scorer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_38 WHERE leading_scorer = \"maurice williams (25)\" AND date = \"27 january 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of goals of the player with 9 (0) games and less than 0 assists?\n\n### Context:\nCREATE TABLE table_name_37 (goals INTEGER, games VARCHAR, assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals) FROM table_name_37 WHERE games = \"9 (0)\" AND assists < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the minimum area in square kilometers that produced 3,200,000 (12th) bbl/day?\n\n### Context:\nCREATE TABLE table_166346_1 (area__km\u00b2_ INTEGER, production___bbl__day_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(area__km\u00b2_) FROM table_166346_1 WHERE production___bbl__day_ = \"3,200,000 (12th)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Years in Orlando has a Nationality of united states, a Position of center, and a Player of jawann oldham?\n\n### Context:\nCREATE TABLE table_name_10 (years_in_orlando VARCHAR, player VARCHAR, nationality VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_in_orlando FROM table_name_10 WHERE nationality = \"united states\" AND position = \"center\" AND player = \"jawann oldham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most height\n\n### Context:\nCREATE TABLE table_25360865_1 (weight INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(weight) FROM table_25360865_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999?\n\n### Context:\nCREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_elapsed FROM table_name_52 WHERE launched = \"15 october 1997\" AND closest_approach = \"24 june 1999\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the location attendance when Minnesota played?\n\n### Context:\nCREATE TABLE table_name_1 (location_attendance VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_1 WHERE team = \"minnesota\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Jeremy Hill's hometown?\n\n### Context:\nCREATE TABLE table_11677691_1 (hometown VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_11677691_1 WHERE player = \"Jeremy Hill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich province had a liberal party member on December 31, 2006?\n\n### Context:\nCREATE TABLE table_name_38 (province VARCHAR, party VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province FROM table_name_38 WHERE party = \"liberal\" AND date = \"december 31, 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day in March is the game with a 48-13-11 record and a game number less than 72?\n\n### Context:\nCREATE TABLE table_name_12 (march INTEGER, record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(march) FROM table_name_12 WHERE record = \"48-13-11\" AND game < 72"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Difference of the Team that had a Position less than 2?\n\n### Context:\nCREATE TABLE table_name_8 (difference VARCHAR, position INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT difference FROM table_name_8 WHERE position < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the gold when silver is 1, event is 2000 summer paralympics and bronze is more than 3?\n\n### Context:\nCREATE TABLE table_name_41 (gold INTEGER, bronze VARCHAR, silver VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_41 WHERE silver = 1 AND event = \"2000 summer paralympics\" AND bronze > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the status of the character keel (keele) zeibel?\n\n### Context:\nCREATE TABLE table_28178595_2 (status VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_28178595_2 WHERE character = \"Keel (Keele) Zeibel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat college did jerry hackenbruck come from who had an overall pick less than 344?\n\n### Context:\nCREATE TABLE table_name_60 (college VARCHAR, overall VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_60 WHERE overall < 344 AND name = \"jerry hackenbruck\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat do the notes say for 1989 May 7?\n\n### Context:\nCREATE TABLE table_name_32 (notes VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_32 WHERE date = \"1989 may 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging?\n\n### Context:\nCREATE TABLE table_name_61 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_61 WHERE route_of_administration = \"oral or iv\" AND investigation = \"thyroid imaging thyroid metastases imaging\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different circuits had Gary Gibson has the Lites 1 race two winning team?\n\n### Context:\nCREATE TABLE table_26638600_3 (lites_2_race_one_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lites_2_race_one_winning_team) FROM table_26638600_3 WHERE lites_1_race_two_winning_team = \"Gary Gibson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year has a Competition of commonwealth youth games?\n\n### Context:\nCREATE TABLE table_name_94 (year INTEGER, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_94 WHERE competition = \"commonwealth youth games\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest played with a lost bigger than 10?\n\n### Context:\nCREATE TABLE table_name_85 (played INTEGER, lost INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(played) FROM table_name_85 WHERE lost > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the hometown of Mike White?\n\n### Context:\nCREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown_school FROM table_name_40 WHERE position = \"of\" AND player = \"mike white\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of date for score being l 106\u2013116 (ot)\n\n### Context:\nCREATE TABLE table_23281862_10 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date) FROM table_23281862_10 WHERE score = \"L 106\u2013116 (OT)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the home team was Richmond, what was the largest crowd?\n\n### Context:\nCREATE TABLE table_name_49 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_49 WHERE home_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Accreditation Status, when the Product Name is LG RCS-e Client?\n\n### Context:\nCREATE TABLE table_name_83 (accreditation_status VARCHAR, product_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accreditation_status FROM table_name_83 WHERE product_name = \"lg rcs-e client\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of the race with a point of test driver?\n\n### Context:\nCREATE TABLE table_name_70 (position VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_70 WHERE points = \"test driver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger than 3, and a Silver larger than 1?\n\n### Context:\nCREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_96 WHERE gold > 0 AND bronze < 2 AND total > 3 AND silver > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of points for Drivers that have raced in more than 16 Races?\n\n### Context:\nCREATE TABLE table_name_35 (points INTEGER, races INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_35 WHERE races > 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the most common builder of railways.\n\n### Context:\nCREATE TABLE railway (Builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Builder FROM railway GROUP BY Builder ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat year has general nominated in the category or choice breakthrough artist?\n\n### Context:\nCREATE TABLE table_name_77 (year VARCHAR, nominated_work VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_77 WHERE nominated_work = \"general\" AND category = \"choice breakthrough artist\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the first year that kid creole and the coconuts recorded with I Too Have Seen The Woods / Sire Records?\n\n### Context:\nCREATE TABLE table_28232443_1 (year INTEGER, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_28232443_1 WHERE artist = \"Kid Creole and the Coconuts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team has a Losses value larger than 1 and a Wins value smaller than 0?\n\n### Context:\nCREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the IHSAA class of Centerville, which plays IHSAA class AA football?\n\n### Context:\nCREATE TABLE table_name_92 (ihsaa_class VARCHAR, ihsaa_football_class VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ihsaa_class FROM table_name_92 WHERE ihsaa_football_class = \"aa\" AND school = \"centerville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the greatest lane with an overall rank of 79 and a time larger than 26.1?\n\n### Context:\nCREATE TABLE table_name_24 (lane INTEGER, overall_rank VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lane) FROM table_name_24 WHERE overall_rank = \"79\" AND time > 26.1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year had an issue price of $2,995.95, and a theme of grizzly bear?\n\n### Context:\nCREATE TABLE table_name_10 (year INTEGER, issue_price VARCHAR, theme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_10 WHERE issue_price = \"$2,995.95\" AND theme = \"grizzly bear\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat average game was played on October 16?\n\n### Context:\nCREATE TABLE table_name_87 (game INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_87 WHERE date = \"october 16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent for game 5?\n\n### Context:\nCREATE TABLE table_name_29 (opponent VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_29 WHERE game = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Min Patel's bowling?\n\n### Context:\nCREATE TABLE table_name_7 (bowling VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bowling FROM table_name_7 WHERE player = \"min patel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was escape to river cottage released?\n\n### Context:\nCREATE TABLE table_name_64 (released VARCHAR, dvd_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT released FROM table_name_64 WHERE dvd_name = \"escape to river cottage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest result for Christian Malcolm with a reaction time greater than 0.185 and a lane higher than 3?\n\n### Context:\nCREATE TABLE table_name_66 (result INTEGER, lane VARCHAR, reaction_time VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(result) FROM table_name_66 WHERE reaction_time > 0.185 AND name = \"christian malcolm\" AND lane > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTotal points with 114 played and average of 0.982?\n\n### Context:\nCREATE TABLE table_name_57 (points INTEGER, played VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_57 WHERE played = 114 AND average = 0.982"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the premier league number when the position is forward, and the total is more than 22?\n\n### Context:\nCREATE TABLE table_name_16 (premier_league VARCHAR, position VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(premier_league) FROM table_name_16 WHERE position = \"forward\" AND total > 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date that Stirling Moss had his fastest lap in a Maserati?\n\n### Context:\nCREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_28 WHERE constructor = \"maserati\" AND fastest_lap = \"stirling moss\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what event was the technical decision (split) method used?\n\n### Context:\nCREATE TABLE table_name_8 (event VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_8 WHERE method = \"technical decision (split)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich missions were scheduled to launch on November 16, 2006?\n\n### Context:\nCREATE TABLE table_11869952_3 (mission VARCHAR, launch_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mission FROM table_11869952_3 WHERE launch_date = \"November 16, 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0race winner\u00a0with\u00a0location\u00a0being jacarepagu\u00e1\n\n### Context:\nCREATE TABLE table_1140074_2 (race VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race AS Winner FROM table_1140074_2 WHERE location = \"Jacarepagu\u00e1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Ends with a Name of abidal, and has a Since larger than 2007?\n\n### Context:\nCREATE TABLE table_name_58 (ends INTEGER, name VARCHAR, since VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(ends) FROM table_name_58 WHERE name = \"abidal\" AND since > 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the film with the title three summer days?\n\n### Context:\nCREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_22265716_1 WHERE film_title_used_in_nomination = \"Three Summer Days\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Team 2 with a Team 1 that is milli piyango sk?\n\n### Context:\nCREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_2 FROM table_name_34 WHERE team_1 = \"milli piyango sk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Away Team is \"Liverpool\"?\n\n### Context:\nCREATE TABLE table_name_91 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_91 WHERE away_team = \"liverpool\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum overall number?\n\n### Context:\nCREATE TABLE table_2985714_2 (_number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number) FROM table_2985714_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total for the team with more than 2 golds and more than 0 bronze?\n\n### Context:\nCREATE TABLE table_name_37 (total INTEGER, gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_37 WHERE gold > 2 AND bronze > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many values of up/down have a total value of exactly 301470?\n\n### Context:\nCREATE TABLE table_2472711_32 (up_down VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(up_down) FROM table_2472711_32 WHERE total = 301470"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many figures are named for security forces in 1998?\n\n### Context:\nCREATE TABLE table_21636599_2 (security_forces VARCHAR, period VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(security_forces) FROM table_21636599_2 WHERE period = 1998"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is To par, when Country is \"United States\", and when Player is \"Jay Haas\"?\n\n### Context:\nCREATE TABLE table_name_85 (to_par VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_85 WHERE country = \"united states\" AND player = \"jay haas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the qualification for rank of 29 in 1957?\n\n### Context:\nCREATE TABLE table_name_70 (qual VARCHAR, rank VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qual FROM table_name_70 WHERE rank = \"29\" AND year = \"1957\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Artist is listed as having Top 6 in Week\n\n### Context:\nCREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT artist FROM table_name_32 WHERE week = \"top 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE DATE WITH AN AWAY TEAM OF WORKINGTON?\n\n### Context:\nCREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_16 WHERE away_team = \"workington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie?\n\n### Context:\nCREATE TABLE table_name_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sing_pres FROM table_name_51 WHERE sing_pret = \"ou\" AND subj_pres = \"ie\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the crowd size when Essendon was the home team?\n\n### Context:\nCREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_98 WHERE home_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Dwellings does Beverly Heights have that have a change percent larger than -5.2?\n\n### Context:\nCREATE TABLE table_name_37 (dwellings INTEGER, neighbourhood VARCHAR, change___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(dwellings) FROM table_name_37 WHERE neighbourhood = \"beverly heights\" AND change___percentage_ > -5.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the maximum and average height of the mountains?\n\n### Context:\nCREATE TABLE mountain (height INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(height), AVG(height) FROM mountain"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many poles for the Netherlands?\n\n### Context:\nCREATE TABLE table_19487922_1 (poles INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(poles) FROM table_19487922_1 WHERE country = \"Netherlands\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country does Mark Hayes play for?\n\n### Context:\nCREATE TABLE table_name_33 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_33 WHERE player = \"mark hayes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho drove the maserati under 18 laps with an oil leak that had a grid of under 14?\n\n### Context:\nCREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_34 WHERE constructor = \"maserati\" AND laps < 18 AND grid < 14 AND time_retired = \"oil leak\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the team for november 9\n\n### Context:\nCREATE TABLE table_15872814_3 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_15872814_3 WHERE date = \"November 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most number in series for production code of 3abc11\n\n### Context:\nCREATE TABLE table_23289934_1 (no_in_series INTEGER, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_23289934_1 WHERE production_code = \"3ABC11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many under the category of Against have a Difference of 11\n\n### Context:\nCREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(against) FROM table_15352382_1 WHERE difference = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of NGC numbers for Constellation vela?\n\n### Context:\nCREATE TABLE table_name_16 (ngc_number INTEGER, constellation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(ngc_number) FROM table_name_16 WHERE constellation = \"vela\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date deng (20) had high points?\n\n### Context:\nCREATE TABLE table_11960610_10 (date VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_11960610_10 WHERE high_points = \"Deng (20)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the the\u00a0mens doubles\u00a0with\u00a0year\u00a0being 1978\n\n### Context:\nCREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_doubles FROM table_13857700_1 WHERE year = 1978"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record for April 22?\n\n### Context:\nCREATE TABLE table_name_54 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_54 WHERE date = \"april 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year that a candidate was first elected?\n\n### Context:\nCREATE TABLE table_1341897_42 (first_elected INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1341897_42"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat pick was J.D. Hill?\n\n### Context:\nCREATE TABLE table_name_52 (pick INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_52 WHERE player = \"j.d. hill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the county where the market income per capita is $25,006?\n\n### Context:\nCREATE TABLE table_22815568_13 (county VARCHAR, market_income_per_capita VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_22815568_13 WHERE market_income_per_capita = \"$25,006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the grand total is 5814, what is the total non qatar?\n\n### Context:\nCREATE TABLE table_26214389_3 (total_non_qatar VARCHAR, grand_total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total_non_qatar FROM table_26214389_3 WHERE grand_total = 5814"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the least number of goals for when the goals against is 70 and the ties less than 0?\n\n### Context:\nCREATE TABLE table_name_32 (goals_for INTEGER, goals_against VARCHAR, ties VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals_for) FROM table_name_32 WHERE goals_against = 70 AND ties < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the role of the aircraft that has a registration of s5-hpb?\n\n### Context:\nCREATE TABLE table_name_51 (role VARCHAR, registration VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_51 WHERE registration = \"s5-hpb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total Lost that has a Played that's larger than 42?\n\n### Context:\nCREATE TABLE table_name_35 (lost INTEGER, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_35 WHERE played > 42"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the College of the Player from PBA Team Alaska Milkmen with a Pick number of 3 or less?\n\n### Context:\nCREATE TABLE table_name_65 (college VARCHAR, pick VARCHAR, pba_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_65 WHERE pick < 3 AND pba_team = \"alaska milkmen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of companies whose revenue is smaller than the revenue of all companies based in Austin.\n\n### Context:\nCREATE TABLE manufacturers (name VARCHAR, revenue INTEGER, headquarter VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM manufacturers WHERE revenue < (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin')"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the winner for 29 march\n\n### Context:\nCREATE TABLE table_name_98 (winning_driver VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_98 WHERE date = \"29 march\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team they played on november 25?\n\n### Context:\nCREATE TABLE table_27721131_6 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_27721131_6 WHERE date = \"November 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat notes have 2 as the rank?\n\n### Context:\nCREATE TABLE table_name_62 (notes VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_62 WHERE rank = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average mph of 1964?\n\n### Context:\nCREATE TABLE table_2267465_1 (average_speed__mph_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT average_speed__mph_ FROM table_2267465_1 WHERE year = \"1964\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the no party preference when republican is 45.3%?\n\n### Context:\nCREATE TABLE table_27003186_3 (no_party_preference VARCHAR, republican VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_party_preference FROM table_27003186_3 WHERE republican = \"45.3%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the project with length overall being 25 and name of levante\n\n### Context:\nCREATE TABLE table_name_40 (project VARCHAR, length_overall_in_meters__without_bowsprit_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT project FROM table_name_40 WHERE length_overall_in_meters__without_bowsprit_ = 25 AND name = \"levante\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time for a grid less than 6 for Noriyuki Haga?\n\n### Context:\nCREATE TABLE table_name_55 (time VARCHAR, grid VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_55 WHERE grid < 6 AND rider = \"noriyuki haga\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most against for minas gerais\n\n### Context:\nCREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(against) FROM table_15400878_1 WHERE team = \"Minas Gerais\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Hometown of Tim Williams?\n\n### Context:\nCREATE TABLE table_name_72 (hometown__previous_school_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown__previous_school_ FROM table_name_72 WHERE name = \"tim williams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many republican incumbents first elected in 1974?\n\n### Context:\nCREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = \"Republican\" AND first_elected = 1974"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the highest Points that has the Played smaller than 30?\n\n### Context:\nCREATE TABLE table_name_67 (points INTEGER, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_67 WHERE played < 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total silver when total is 30 and bronze is more than 10?\n\n### Context:\nCREATE TABLE table_name_85 (silver VARCHAR, total VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_85 WHERE total = 30 AND bronze > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the name of ships in ascending order of tonnage.\n\n### Context:\nCREATE TABLE ship (Name VARCHAR, Tonnage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM ship ORDER BY Tonnage"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0grand prix\u00a0with\u00a0winning driver\u00a0being jenson button\n\n### Context:\nCREATE TABLE table_12161822_5 (grand_prix VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grand_prix FROM table_12161822_5 WHERE winning_driver = \"Jenson Button\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the flyers, what's the minimum capacity? \n\n### Context:\nCREATE TABLE table_16384648_2 (capacity INTEGER, team_nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(capacity) FROM table_16384648_2 WHERE team_nickname = \"Flyers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player from United States who play in year 2003-06 in Toronto?\n\n### Context:\nCREATE TABLE table_name_8 (player VARCHAR, nationality VARCHAR, years_in_toronto VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_8 WHERE nationality = \"united states\" AND years_in_toronto = \"2003-06\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of bronze medals for teams ranked below 13?\n\n### Context:\nCREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bronze) FROM table_name_91 WHERE rank > 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the outcome on March 20, 1994?\n\n### Context:\nCREATE TABLE table_name_89 (outcome VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_89 WHERE date = \"march 20, 1994\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Frequency MHz that is on farwell, texas?\n\n### Context:\nCREATE TABLE table_name_72 (frequency_mhz INTEGER, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(frequency_mhz) FROM table_name_72 WHERE city_of_license = \"farwell, texas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich province is Luogang International Airport located in?\n\n### Context:\nCREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province FROM table_name_63 WHERE airport = \"luogang international airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the total number of\u00a0title\u00a0for production code\u00a039\n\n### Context:\nCREATE TABLE table_12226390_3 (title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_12226390_3 WHERE production_code = 39"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the status of the Wales opposing team?\n\n### Context:\nCREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_70 WHERE opposing_teams = \"wales\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Loss of the game at Nationwide Arena with a Score of 4\u20133?\n\n### Context:\nCREATE TABLE table_name_42 (loss VARCHAR, score VARCHAR, arena VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_42 WHERE score = \"4\u20133\" AND arena = \"nationwide arena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Date has a Score in the final of 3\u20136, 2\u20136, 4\u20136?\n\n### Context:\nCREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_4 WHERE score_in_the_final = \"3\u20136, 2\u20136, 4\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when To Par is \"E\"?\n\n### Context:\nCREATE TABLE table_name_8 (score VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_8 WHERE to_par = \"e\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nfor the tournament of world amateur championship what was the result in 2010?\n\n### Context:\nCREATE TABLE table_name_81 (result VARCHAR, year VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_81 WHERE year = 2010 AND tournament = \"world amateur championship\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Total matches have a Year of career, and a Points won larger than 25?\n\n### Context:\nCREATE TABLE table_name_61 (total_matches INTEGER, year VARCHAR, points_won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total_matches) FROM table_name_61 WHERE year = \"career\" AND points_won > 25"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Quarterback rating of the player who got a comp percentage of 62.0?\n\n### Context:\nCREATE TABLE table_18686317_1 (qb_rating VARCHAR, comp__percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qb_rating FROM table_18686317_1 WHERE comp__percentage = \"62.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat us the conjucated form(s) of el/ella/ usted when the Vos (*) is muelas / mol\u00e1s?\n\n### Context:\nCREATE TABLE table_1977630_2 (\u00e9l___ella___usted VARCHAR, vos__ VARCHAR, _ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT \u00e9l___ella___usted FROM table_1977630_2 WHERE vos__ * _ = \"muelas / mol\u00e1s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player has a college named san sebastian?\n\n### Context:\nCREATE TABLE table_name_97 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_97 WHERE college = \"san sebastian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of naming for anomic aphasia\n\n### Context:\nCREATE TABLE table_2088_1 (naming VARCHAR, type_of_aphasia VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(naming) FROM table_2088_1 WHERE type_of_aphasia = \"Anomic aphasia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Longitude, when Name is Raskova Paterae?\n\n### Context:\nCREATE TABLE table_name_61 (longitude VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT longitude FROM table_name_61 WHERE name = \"raskova paterae\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest silver value associated with 0 golds?\n\n### Context:\nCREATE TABLE table_name_42 (silver INTEGER, gold INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_42 WHERE gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich is the class A when Weslaco was the class AAAAA and brownwood was the class AAAA\n\n### Context:\nCREATE TABLE table_14747043_1 (class_a VARCHAR, class_aAAAA VARCHAR, Weslaco VARCHAR, class_aAAA VARCHAR, Brownwood VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class_a FROM table_14747043_1 WHERE class_aAAAA = Weslaco AND class_aAAA = Brownwood"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the film type for the movie Sanctuary?\n\n### Context:\nCREATE TABLE table_name_35 (type VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_35 WHERE name = \"sanctuary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the emissions CO2 with a max speed of km/h (mph) of the car model Panamera 4s?\n\n### Context:\nCREATE TABLE table_name_76 (emissions_co2 VARCHAR, max_speed VARCHAR, car_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT emissions_co2 FROM table_name_76 WHERE max_speed = \"km/h (mph)\" AND car_model = \"panamera 4s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich pick came from Texas El-Paso?\n\n### Context:\nCREATE TABLE table_name_25 (pick INTEGER, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pick) FROM table_name_25 WHERE college = \"texas el-paso\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Wins have a Goal Difference larger than 12, and a Club of granada cf, and Played larger than 30?\n\n### Context:\nCREATE TABLE table_name_91 (wins INTEGER, played VARCHAR, goal_difference VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(wins) FROM table_name_91 WHERE goal_difference > 12 AND club = \"granada cf\" AND played > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the dominant religion for \u0441\u0442\u0430\u043d\u0438\u0448\u0438\u045b\n\n### Context:\nCREATE TABLE table_2562572_22 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dominant_religion__2002_ FROM table_2562572_22 WHERE cyrillic_name_other_names = \"\u0421\u0442\u0430\u043d\u0438\u0448\u0438\u045b\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the match in round 1r against tunisia and on a hard surface?\n\n### Context:\nCREATE TABLE table_name_37 (result VARCHAR, against VARCHAR, round VARCHAR, surface VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_37 WHERE round = \"1r\" AND surface = \"hard\" AND against = \"tunisia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day is north melbourne the away side?\n\n### Context:\nCREATE TABLE table_name_51 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_51 WHERE away_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the finale where Holly Bell was runner-up?\n\n### Context:\nCREATE TABLE table_28962227_1 (finale VARCHAR, runners_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finale FROM table_28962227_1 WHERE runners_up = \"Holly Bell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round is the highest one that has a Position of running back?\n\n### Context:\nCREATE TABLE table_name_14 (round INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_name_14 WHERE position = \"running back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the results for the film titled 'Joki'?\n\n### Context:\nCREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = \"Joki\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Game, when Road Team is \"Syracuse\", and when Result is \"109-82\"?\n\n### Context:\nCREATE TABLE table_name_77 (game VARCHAR, road_team VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_77 WHERE road_team = \"syracuse\" AND result = \"109-82\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest attendance for December 3, 1972 after week 12?\n\n### Context:\nCREATE TABLE table_name_30 (attendance INTEGER, date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_30 WHERE date = \"december 3, 1972\" AND week > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Red Breasted Nuthatch coins created before 2007 were minted, on average?\n\n### Context:\nCREATE TABLE table_name_42 (mintage INTEGER, animal VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(mintage) FROM table_name_42 WHERE animal = \"red breasted nuthatch\" AND year < 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Airline has a Fleet size larger than 17, and a IATA of pr?\n\n### Context:\nCREATE TABLE table_name_98 (airline VARCHAR, fleet_size VARCHAR, iata VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airline FROM table_name_98 WHERE fleet_size > 17 AND iata = \"pr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position for the university of north carolina carolina dynamo affiliation \n\n### Context:\nCREATE TABLE table_29626583_1 (position VARCHAR, affiliation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_29626583_1 WHERE affiliation = \"University of North Carolina Carolina Dynamo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the race 2 for james winslow\n\n### Context:\nCREATE TABLE table_15530244_5 (race_2 VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_2 FROM table_15530244_5 WHERE driver = \"James Winslow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the home team Essendon score?\n\n### Context:\nCREATE TABLE table_name_4 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_4 WHERE home_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of acres at Sai Tso Wan, opening before 1978?\n\n### Context:\nCREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(acres) FROM table_name_29 WHERE landfill = \"sai tso wan\" AND opened < 1978"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere does Norway rank in total medals among countries with fewer than 7 bronzes?\n\n### Context:\nCREATE TABLE table_name_96 (rank VARCHAR, bronze VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_96 WHERE bronze < 7 AND nation = \"norway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the conventional for defter\n\n### Context:\nCREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yen\u0261i_yezik\u0322__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conventional FROM table_2008069_2 WHERE uyghur___yen\u0261i_yezik\u0322__ = \"Defter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Country has a Place of t10, and a Player of tony jacklin?\n\n### Context:\nCREATE TABLE table_name_2 (country VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_2 WHERE place = \"t10\" AND player = \"tony jacklin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is the Eurasia Astana team from?\n\n### Context:\nCREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_69 WHERE team = \"eurasia astana\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the loss of the game with a record of 77-65?\n\n### Context:\nCREATE TABLE table_name_96 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_96 WHERE record = \"77-65\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Match played in a Location of San Francisco has a Competition of Semifinal?\n\n### Context:\nCREATE TABLE table_name_19 (match VARCHAR, competition VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT match FROM table_name_19 WHERE competition = \"semifinal\" AND location = \"san francisco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1st leg in the match where Remo (PA) is team 1?\n\n### Context:\nCREATE TABLE table_name_26 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = \"remo (pa)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor teams with fewer than 5 wins, goals against over 37, and fewer than 8 games played, what is the average number of ties?\n\n### Context:\nCREATE TABLE table_name_21 (ties INTEGER, games_played VARCHAR, wins VARCHAR, goals_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(ties) FROM table_name_21 WHERE wins < 5 AND goals_against > 37 AND games_played < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the total points for the 1st place team.\n\n### Context:\nCREATE TABLE table_25561038_1 (points VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_25561038_1 WHERE position = \"1st\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nationality of the player from the Ohio State University (NCAA) Team?\n\n### Context:\nCREATE TABLE table_name_20 (nationality VARCHAR, college_junior_club_team__league_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_20 WHERE college_junior_club_team__league_ = \"ohio state university (ncaa)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2007 has a 2003 of 2r, and a 2004 of 1r?\n\n### Context:\nCREATE TABLE table_name_7 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2007 FROM table_name_7 WHERE 2003 = \"2r\" AND 2004 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every score when the date is January 2?\n\n### Context:\nCREATE TABLE table_28220778_21 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_28220778_21 WHERE date = \"January 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes were directed by Tim Matheson?\n\n### Context:\nCREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = \"Tim Matheson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country does Adam Scott play for?\n\n### Context:\nCREATE TABLE table_name_39 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_39 WHERE player = \"adam scott\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the yeast ortholog of mouse ortholog MMS19?\n\n### Context:\nCREATE TABLE table_name_18 (yeast_ortholog VARCHAR, mouse_ortholog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT yeast_ortholog FROM table_name_18 WHERE mouse_ortholog = \"mms19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the captain of the team in Southampton? \n\n### Context:\nCREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_18461635_1 WHERE location = \"Southampton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total amount of allied-unrelated where the component is human capital?\n\n### Context:\nCREATE TABLE table_11944282_1 (allied_unrelated VARCHAR, component VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(allied_unrelated) FROM table_11944282_1 WHERE component = \"Human Capital\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the imperfect stem of the word that means 'take away, remove'?\n\n### Context:\nCREATE TABLE table_name_74 (imperfect_stem VARCHAR, meaning VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT imperfect_stem FROM table_name_74 WHERE meaning = \"'take away, remove'\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the population as of 11-01-2010 for Bayan County?\n\n### Context:\nCREATE TABLE table_name_50 (population__2010_11_01_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population__2010_11_01_ FROM table_name_50 WHERE name = \"bayan county\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich score has a prize of $400?\n\n### Context:\nCREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_77 WHERE money___$__ = 400"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of top-25s for events with more than 1 top-5?\n\n### Context:\nCREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location Attendance has a Record of 11\u201334?\n\n### Context:\nCREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_27 WHERE record = \"11\u201334\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Harris, when Marplan is 1.3%\n\n### Context:\nCREATE TABLE table_name_84 (harris VARCHAR, marplan VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT harris FROM table_name_84 WHERE marplan = \"1.3%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of the Divison that is from the country Serbia and Montenegro with apps smaller than 12 with more goals than 0?\n\n### Context:\nCREATE TABLE table_name_69 (division INTEGER, goals VARCHAR, country VARCHAR, apps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(division) FROM table_name_69 WHERE country = \"serbia and montenegro\" AND apps < 12 AND goals > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the imed/avicenna listed for a medical school offshore in saint kitts and nevis which was established before 2000 and will give you an MD?\n\n### Context:\nCREATE TABLE table_name_31 (imed_avicenna_listed VARCHAR, established VARCHAR, degree VARCHAR, regional_offshore VARCHAR, country_territory VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT imed_avicenna_listed FROM table_name_31 WHERE regional_offshore = \"offshore\" AND country_territory = \"saint kitts and nevis\" AND degree = \"md\" AND established < 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat would be the highest Platforms for the Centrale Tram Stop Stations?\n\n### Context:\nCREATE TABLE table_name_15 (platforms INTEGER, stations VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(platforms) FROM table_name_15 WHERE stations = \"centrale tram stop\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE RIDER WITH A 21 GRID?\n\n### Context:\nCREATE TABLE table_name_5 (rider VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_5 WHERE grid = \"21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat City is the Jal hotel in?\n\n### Context:\nCREATE TABLE table_name_77 (city VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_77 WHERE name = \"jal hotel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat alumni were in rw: cancun as their original season?\n\n### Context:\nCREATE TABLE table_26419467_1 (alumni VARCHAR, original_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT alumni FROM table_26419467_1 WHERE original_season = \"RW: Cancun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result in 1995?\n\n### Context:\nCREATE TABLE table_name_79 (result VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_79 WHERE year = 1995"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponent has a Round larger than 1, and an Event of king of the cage 31?\n\n### Context:\nCREATE TABLE table_name_3 (opponent VARCHAR, round VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_3 WHERE round > 1 AND event = \"king of the cage 31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat nationality was the round 6 draft pick?\n\n### Context:\nCREATE TABLE table_name_44 (nationality VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_44 WHERE round = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Overall with a Date that is february 4, 1964?\n\n### Context:\nCREATE TABLE table_name_95 (overall VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall FROM table_name_95 WHERE date = \"february 4, 1964\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did the game on March 11 take place and how many people attended?\n\n### Context:\nCREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_68 WHERE date = \"march 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all member names and registered branch names sorted by register year.\n\n### Context:\nCREATE TABLE member (name VARCHAR, member_id VARCHAR); CREATE TABLE membership_register_branch (branch_id VARCHAR, member_id VARCHAR, register_year VARCHAR); CREATE TABLE branch (name VARCHAR, branch_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T3.name, T2.name FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id JOIN member AS T3 ON T1.member_id = T3.member_id ORDER BY T1.register_year"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho drove 53 laps?\n\n### Context:\nCREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_66 WHERE laps = 53"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the region 2 for the complete fifth series?\n\n### Context:\nCREATE TABLE table_1337525_1 (region_2 VARCHAR, complete_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region_2 FROM table_1337525_1 WHERE complete_series = \"The Complete Fifth Series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Nation has more than 4 silver, more than 3 gold and 18 total medals?\n\n### Context:\nCREATE TABLE table_name_76 (nation VARCHAR, total VARCHAR, silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_76 WHERE silver > 4 AND gold > 3 AND total = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number of Fatalties is associated with the Time of 12:38:46?\n\n### Context:\nCREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fatalities FROM table_name_78 WHERE time = \"12:38:46\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the james e. holmes for joe baez\n\n### Context:\nCREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = \"Joe Baez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 62 is the number in series who is the writer?\n\n### Context:\nCREATE TABLE table_27657925_1 (written_by VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_27657925_1 WHERE no_in_series = \"62\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Original Italian production has a First US National Tour of joanna glushak?\n\n### Context:\nCREATE TABLE table_name_4 (original_italian_production VARCHAR, first_us_national_tour VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_italian_production FROM table_name_4 WHERE first_us_national_tour = \"joanna glushak\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich network has more than 31.4 channels with a 4:3 aspect?\n\n### Context:\nCREATE TABLE table_name_69 (network VARCHAR, aspect VARCHAR, channel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_name_69 WHERE aspect = \"4:3\" AND channel > 31.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people were in the crowd at collingwood's home game?\n\n### Context:\nCREATE TABLE table_name_46 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_46 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n Which gatchaman has eagle riders as lukan?\n\n### Context:\nCREATE TABLE table_17480471_3 (gatchaman VARCHAR, eagle_riders VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gatchaman FROM table_17480471_3 WHERE eagle_riders = \"Lukan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the attendance in the bye week after week 5?\n\n### Context:\nCREATE TABLE table_name_40 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_40 WHERE week > 5 AND opponent = \"bye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first game number that had attendance of 56,505?\n\n### Context:\nCREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Uyghur Latin with a population of 69,361?\n\n### Context:\nCREATE TABLE table_name_14 (uyghur_latin___uly__ VARCHAR, population__2010_census_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT uyghur_latin___uly__ FROM table_name_14 WHERE population__2010_census_ = \"69,361\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the bore and stroke for Engine of 351-2v cleveland v8\n\n### Context:\nCREATE TABLE table_name_9 (bore_ VARCHAR, _stroke VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bore_ & _stroke FROM table_name_9 WHERE engine = \"351-2v cleveland v8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year were laps less than 64 and the finish at 25?\n\n### Context:\nCREATE TABLE table_name_59 (year VARCHAR, laps VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_59 WHERE laps < 64 AND finish = \"25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich publisher has Far Cry as the title?\n\n### Context:\nCREATE TABLE table_name_4 (publisher VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT publisher FROM table_name_4 WHERE title = \"far cry\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich staff have contacted which engineers? List the staff name and the engineer first name and last name.\n\n### Context:\nCREATE TABLE Engineer_Visits (contact_staff_id VARCHAR, engineer_id VARCHAR); CREATE TABLE Staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE Maintenance_Engineers (first_name VARCHAR, last_name VARCHAR, engineer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.staff_name, T3.first_name, T3.last_name FROM Staff AS T1 JOIN Engineer_Visits AS T2 ON T1.staff_id = T2.contact_staff_id JOIN Maintenance_Engineers AS T3 ON T2.engineer_id = T3.engineer_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2013 BAFA adult flag division in Aylesbury?\n\n### Context:\nCREATE TABLE table_name_95 (location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2013 AS _bafa_adult_flag_division FROM table_name_95 WHERE location = \"aylesbury\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many budgets are above 3000 in year 2001 or before?\n\n### Context:\nCREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Record of 5-4?\n\n### Context:\nCREATE TABLE table_name_36 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_36 WHERE record = \"5-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen dydek (8) has the highest rebounds who has the highest amount of points?\n\n### Context:\nCREATE TABLE table_18904831_6 (high_points VARCHAR, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_18904831_6 WHERE high_rebounds = \"Dydek (8)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total for the person with free of 47.667, and technical less than 47.417?\n\n### Context:\nCREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was the contestant who finished in 10th place originally on? \n\n### Context:\nCREATE TABLE table_19810459_1 (original_team VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_team FROM table_19810459_1 WHERE result = \"10th place\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the category of the project name Mighty No. 9?\n\n### Context:\nCREATE TABLE table_27155990_1 (category VARCHAR, project_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_27155990_1 WHERE project_name = \"Mighty No. 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the stages for category 1 races after the year 2003?\n\n### Context:\nCREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(stage) FROM table_name_73 WHERE category = \"1\" AND year > 2003"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Tie no, when Home Team is \"Hull City\"?\n\n### Context:\nCREATE TABLE table_name_69 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_69 WHERE home_team = \"hull city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years were the events won by KCLMS less than 7?\n\n### Context:\nCREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat points have pittsburgh as the home, and November 29 as the date?\n\n### Context:\nCREATE TABLE table_name_30 (points VARCHAR, home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_30 WHERE home = \"pittsburgh\" AND date = \"november 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich score was for Toronto Maple Leafs at home on November 12?\n\n### Context:\nCREATE TABLE table_name_66 (score VARCHAR, home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_66 WHERE home = \"toronto maple leafs\" AND date = \"november 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team score for South Melbourne?\n\n### Context:\nCREATE TABLE table_name_97 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_97 WHERE away_team = \"south melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the finish with player lou graham\n\n### Context:\nCREATE TABLE table_name_26 (finish VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_26 WHERE player = \"lou graham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the viewers for 1.2/4 rating\n\n### Context:\nCREATE TABLE table_22822468_2 (viewers__millions_ VARCHAR, rating VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT viewers__millions_ FROM table_22822468_2 WHERE rating / SHARE(18 AS \u201349) = 1.2 / 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pos has a Team of circle bar racing, and a Car # smaller than 14?\n\n### Context:\nCREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pos) FROM table_name_64 WHERE team = \"circle bar racing\" AND car__number < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat language is the moviein that is on UMP movies network through Sky service?\n\n### Context:\nCREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_name_87 WHERE genre = \"movies\" AND service = \"sky\" AND network = \"ump movies\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the driver from 1969?\n\n### Context:\nCREATE TABLE table_name_42 (driver VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_42 WHERE year = \"1969\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the surface for the game that was played with partner Tiya Rolle?\n\n### Context:\nCREATE TABLE table_name_35 (surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_35 WHERE partner = \"tiya rolle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the team where series is formula renault 2.0 nec?\n\n### Context:\nCREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_10420426_1 WHERE series = \"Formula Renault 2.0 NEC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many networks are there whose version of the shows includes judges tba and the presenter is Arbana Osmani?\n\n### Context:\nCREATE TABLE table_28190363_1 (network VARCHAR, judges VARCHAR, presenter_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(network) FROM table_28190363_1 WHERE judges = \"TBA\" AND presenter_s_ = \"Arbana Osmani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Weekly Rank of TV series with Episode \"A Love of a Lifetime\"?\n\n### Context:\nCREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Weekly_Rank FROM TV_series WHERE Episode = \"A Love of a Lifetime\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the prize money when the clubs is 392 \u2192 276?\n\n### Context:\nCREATE TABLE table_27973624_1 (prize_money VARCHAR, clubs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prize_money FROM table_27973624_1 WHERE clubs = \"392 \u2192 276\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sumof points for year less than 1994 and chassis of lola lc89b\n\n### Context:\nCREATE TABLE table_name_47 (points INTEGER, year VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_47 WHERE year < 1994 AND chassis = \"lola lc89b\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAverage frequency with ERP W of 62?\n\n### Context:\nCREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = \"62\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the total number of defense points for caroline wozniacki.\n\n### Context:\nCREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points AS defending FROM table_24431264_17 WHERE player = \"Caroline Wozniacki\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total with a 74 rank by average for 8th place?\n\n### Context:\nCREATE TABLE table_name_70 (total VARCHAR, rank_by_average VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_70 WHERE rank_by_average = \"74\" AND place = \"8th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of department where has the smallest number of professors?\n\n### Context:\nCREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total wins have 3 as the Top-35 and less than 5 cuts made?\n\n### Context:\nCREATE TABLE table_name_40 (wins INTEGER, top_25 VARCHAR, cuts_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(wins) FROM table_name_40 WHERE top_25 = 3 AND cuts_made < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe player who plays left wing is from what college/junior/club team? \n\n### Context:\nCREATE TABLE table_17371135_30 (college_junior_club_team__league_ VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_17371135_30 WHERE position = \"Left Wing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTeam of honda 250cc, and a Time of 31\u2019 03.093 has what lowest rank?\n\n### Context:\nCREATE TABLE table_name_74 (rank INTEGER, team VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_74 WHERE team = \"honda 250cc\" AND time = \"31\u2019 03.093\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the sum of laps with a time/retired of +13 laps with grid more than 18\n\n### Context:\nCREATE TABLE table_name_21 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_21 WHERE time_retired = \"+13 laps\" AND grid > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the outcome of the game that had a score of 3\u20136, 6\u20133, 6\u20130?\n\n### Context:\nCREATE TABLE table_name_81 (outcome VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_81 WHERE score = \"3\u20136, 6\u20133, 6\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the visiting team at the Cavaliers game that had a score of 121\u201385?\n\n### Context:\nCREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_29 WHERE score = \"121\u201385\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the state when the peak population (year) is 134995 (1950)?\n\n### Context:\nCREATE TABLE table_name_33 (state VARCHAR, peak_population__year_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_33 WHERE peak_population__year_ = \"134995 (1950)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won third place in season four?\n\n### Context:\nCREATE TABLE table_16331144_1 (third_place VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third_place FROM table_16331144_1 WHERE season = \"Four\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the enrollment for Ashland University?\n\n### Context:\nCREATE TABLE table_261946_3 (enrollment VARCHAR, location__all_in_ohio_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT enrollment FROM table_261946_3 WHERE location__all_in_ohio_ = \"Ashland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times was Arizona the team and the round was bigger than 11?\n\n### Context:\nCREATE TABLE table_name_86 (overall VARCHAR, school_club_team VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(overall) FROM table_name_86 WHERE school_club_team = \"arizona\" AND round > 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the total amount of loans provided by bank branches in the state of New York.\n\n### Context:\nCREATE TABLE bank (branch_id VARCHAR, state VARCHAR); CREATE TABLE loan (amount INTEGER, branch_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(T2.amount) FROM bank AS T1 JOIN loan AS T2 ON T1.branch_id = T2.branch_id WHERE T1.state = 'New York'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses for less than 48 games, and less than 7 draws?\n\n### Context:\nCREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich website includes a webcast of listen live, a frequency under 680, and was licensed in the city of San Antonio.\n\n### Context:\nCREATE TABLE table_name_53 (website VARCHAR, frequency VARCHAR, city_of_license VARCHAR, webcast VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT website FROM table_name_53 WHERE city_of_license = \"san antonio\" AND webcast = \"listen live\" AND frequency = 680"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest image with a 20w Harrison, and less than 20 for Ashmolean?\n\n### Context:\nCREATE TABLE table_name_51 (image INTEGER, harrison VARCHAR, ashmolean VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(image) FROM table_name_51 WHERE harrison = \"20w\" AND ashmolean < 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Reign of the person whose Date of Birth was 22 March 1459?\n\n### Context:\nCREATE TABLE table_name_25 (reign VARCHAR, date_of_birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reign FROM table_name_25 WHERE date_of_birth = \"22 march 1459\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which position did Steve play first?\n\n### Context:\nCREATE TABLE table_name_26 (position VARCHAR, first VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_26 WHERE first = \"steve\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score in the game against the Cincinnati Bengals?\n\n### Context:\nCREATE TABLE table_name_78 (final_score VARCHAR, visiting_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT final_score FROM table_name_78 WHERE visiting_team = \"cincinnati bengals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Losses has an Against of 1101, and a Byes smaller than 0?\n\n### Context:\nCREATE TABLE table_name_52 (losses VARCHAR, against VARCHAR, byes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_52 WHERE against = 1101 AND byes < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of Week 5?\n\n### Context:\nCREATE TABLE table_name_3 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_3 WHERE week = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest Top-10, when the Top-5 was greater than 3, when the Cuts made were 20, and when the Top-25 was more than 10?\n\n### Context:\nCREATE TABLE table_name_77 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR, cuts_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(top_10) FROM table_name_77 WHERE top_5 > 3 AND cuts_made = 20 AND top_25 > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most wins for a position with more than 30 played and a goal difference of 11?\n\n### Context:\nCREATE TABLE table_name_46 (wins INTEGER, goal_difference VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_name_46 WHERE goal_difference = 11 AND played > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high earnings for players with 34 events and over 2 wins?\n\n### Context:\nCREATE TABLE table_name_90 (earnings___ INTEGER, events VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE events = 34 AND wins > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's ranked less than 2?\n\n### Context:\nCREATE TABLE table_name_32 (player VARCHAR, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_32 WHERE rank < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team that played against Manchester United?\n\n### Context:\nCREATE TABLE table_name_86 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_86 WHERE away_team = \"manchester united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the highest points for Justin Lofton when his top 10 is lower than 5?\n\n### Context:\nCREATE TABLE table_name_14 (points INTEGER, driver VARCHAR, top_10 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_14 WHERE driver = \"justin lofton\" AND top_10 < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team played Hawthorn?\n\n### Context:\nCREATE TABLE table_name_82 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_82 WHERE home_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Tier when the postseason shows -, and the season is 2012\u201313?\n\n### Context:\nCREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(tier) FROM table_name_56 WHERE postseason = \"\u2013\" AND season = \"2012\u201313\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest area when the density is greater than 234.77, the population is less than 965,040, and the rank is 32?\n\n### Context:\nCREATE TABLE table_name_75 (area INTEGER, population VARCHAR, density VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(area) FROM table_name_75 WHERE density > 234.77 AND rank = 32 AND population < 965 OFFSET 040"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did district of Columbia receive a score for evening gown?\n\n### Context:\nCREATE TABLE table_12094300_1 (evening_gown VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(evening_gown) FROM table_12094300_1 WHERE state = \"District of Columbia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00?\n\n### Context:\nCREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = \"R87.00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the highest Game that has the Opponent of atlanta hawks?\n\n### Context:\nCREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_56 WHERE opponent = \"atlanta hawks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year(s) of Manufacture has a Quantity larger than 60, and a Number(s) of 7001\u20137165?\n\n### Context:\nCREATE TABLE table_name_49 (year_s__of_manufacture VARCHAR, quantity VARCHAR, number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__of_manufacture FROM table_name_49 WHERE quantity > 60 AND number_s_ = \"7001\u20137165\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name is listed under representative for the 112th congress?\n\n### Context:\nCREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT representative FROM table_2841865_2 WHERE congress = \"112th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goals were conceded against the Chepo F.C. team where they lost 7 games?\n\n### Context:\nCREATE TABLE table_name_32 (goals_conceded__gc_ VARCHAR, lost__pp_ VARCHAR, team__equipo_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT goals_conceded__gc_ FROM table_name_32 WHERE lost__pp_ = 7 AND team__equipo_ = \"chepo f.c.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the average prices of all products from each manufacture, and list each company's name.\n\n### Context:\nCREATE TABLE products (price INTEGER, Manufacturer VARCHAR); CREATE TABLE manufacturers (name VARCHAR, code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(T1.price), T2.name FROM products AS T1 JOIN manufacturers AS T2 ON T1.Manufacturer = T2.code GROUP BY T2.name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games did Palmeiras win?\n\n### Context:\nCREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(won) FROM table_15318779_1 WHERE team = \"Palmeiras\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Peroutka with 46 others, and less than 15 electors?\n\n### Context:\nCREATE TABLE table_name_69 (peroutka INTEGER, others VARCHAR, electors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(peroutka) FROM table_name_69 WHERE others = 46 AND electors < 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the engine with entrant of larrousse f1\n\n### Context:\nCREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_59 WHERE entrant = \"larrousse f1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat AP increase has an AP duration of 0.75?\n\n### Context:\nCREATE TABLE table_name_68 (ap_increase__mv_ VARCHAR, ap_duration__ms_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = \"0.75\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode with e4515 as the production code?\n\n### Context:\nCREATE TABLE table_25750635_2 (written_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_25750635_2 WHERE production_code = \"E4515\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the English title for season 6?\n\n### Context:\nCREATE TABLE table_name_91 (title__english_ VARCHAR, number_of_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title__english_ FROM table_name_91 WHERE number_of_season = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average climb for Tenbosse?\n\n### Context:\nCREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = \"Tenbosse\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of draws when the played 9 and lost 3?\n\n### Context:\nCREATE TABLE table_name_23 (drew VARCHAR, played VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drew FROM table_name_23 WHERE played = \"9\" AND lost = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn 27 July 2003 what was the outcome of the game that resulted in a score of 7\u20135, 6\u20133?\n\n### Context:\nCREATE TABLE table_name_77 (outcome VARCHAR, score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_77 WHERE score = \"7\u20135, 6\u20133\" AND date = \"27 july 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did Mathieu play against Antonio Vei\u0107?\n\n### Context:\nCREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_60 WHERE opponent_in_the_final = \"antonio vei\u0107\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAt what venue did the team from Collingwood score 7.14 (56) - 4.5 (29)?\n\n### Context:\nCREATE TABLE table_name_51 (venue VARCHAR, opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_51 WHERE opponent = \"collingwood\" AND score = \"7.14 (56) - 4.5 (29)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the iata when the city is tripoli?\n\n### Context:\nCREATE TABLE table_name_71 (iata VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT iata FROM table_name_71 WHERE city = \"tripoli\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the film with a production number of 1023?\n\n### Context:\nCREATE TABLE table_name_48 (title VARCHAR, production_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_48 WHERE production_number = \"1023\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen chris barnes is on team usa how many europe teams are there?\n\n### Context:\nCREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = \"Chris Barnes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Domenik Hixon's average rush?\n\n### Context:\nCREATE TABLE table_name_76 (avg VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT avg FROM table_name_76 WHERE player = \"domenik hixon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Viewers (m) has a Rating of 1.7, and an Episode of the game of life?\n\n### Context:\nCREATE TABLE table_name_54 (viewers__m_ INTEGER, rating VARCHAR, episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(viewers__m_) FROM table_name_54 WHERE rating = \"1.7\" AND episode = \"the game of life\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game was in 2001?\n\n### Context:\nCREATE TABLE table_name_66 (game VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_66 WHERE year = 2001"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of losses for the over 30 games played?\n\n### Context:\nCREATE TABLE table_name_50 (losses VARCHAR, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_50 WHERE played > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Format(s) of the release on September 23, 2008?\n\n### Context:\nCREATE TABLE table_name_40 (format_s_ VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format_s_ FROM table_name_40 WHERE date = \"september 23, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was played on november 24?\n\n### Context:\nCREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_23211041_5 WHERE date = \"November 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the mission name for ocean of storms\n\n### Context:\nCREATE TABLE table_1558077_8 (mission_name VARCHAR, lunar_landing_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mission_name FROM table_1558077_8 WHERE lunar_landing_site = \"Ocean of Storms\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the lowest position when the name is esv t\u00fcrkheim, and Drawn more than 0?\n\n### Context:\nCREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(position) FROM table_name_12 WHERE name = \"esv t\u00fcrkheim\" AND drawn > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the points scored were 93.45%, what's the lowest amount of games lost?\n\n### Context:\nCREATE TABLE table_name_27 (lost INTEGER, _percentage_pts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(lost) FROM table_name_27 WHERE _percentage_pts = 93.45"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses for the team with 3 wins and more than 1919 against?\n\n### Context:\nCREATE TABLE table_name_28 (losses INTEGER, wins VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(losses) FROM table_name_28 WHERE wins = 3 AND against > 1919"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the latest first elected year\n\n### Context:\nCREATE TABLE table_1341472_49 (first_elected INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(first_elected) FROM table_1341472_49"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the winter olympics year when the fis nordic world ski championships is 1976?\n\n### Context:\nCREATE TABLE table_name_45 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winter_olympics FROM table_name_45 WHERE fis_nordic_world_ski_championships = \"1976\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the first and last name of students who are living in the dorms that have amenity TV Lounge.\n\n### Context:\nCREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE student (fname VARCHAR, lname VARCHAR, stuid VARCHAR); CREATE TABLE dorm_amenity (amenid VARCHAR, amenity_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.fname, T1.lname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T3.dormid FROM has_amenity AS T3 JOIN dorm_amenity AS T4 ON T3.amenid = T4.amenid WHERE T4.amenity_name = 'TV Lounge')"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least rank subcontinent for bangladesh\n\n### Context:\nCREATE TABLE table_2248784_3 (rank_subcontinent INTEGER, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank_subcontinent) FROM table_2248784_3 WHERE country = \"Bangladesh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Finish of 28 Wins?\n\n### Context:\nCREATE TABLE table_name_8 (finish VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_8 WHERE wins = \"28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the surface for score of 7\u20136(4), 6\u20131\n\n### Context:\nCREATE TABLE table_name_71 (surface VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_71 WHERE score = \"7\u20136(4), 6\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the away team from Melbourne score?\n\n### Context:\nCREATE TABLE table_name_40 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_40 WHERE away_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?\n\n### Context:\nCREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city___state FROM table_name_87 WHERE winner = \"russell ingall larry perkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the Blue Jays play against on April 11?\n\n### Context:\nCREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_52 WHERE date = \"april 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the race held most recently?\n\n### Context:\nCREATE TABLE races (name VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM races ORDER BY date DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Location, when the Score is 35-31?\n\n### Context:\nCREATE TABLE table_name_63 (location VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_63 WHERE score = \"35-31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest year for the role of joan gordon, aka francine la rue?\n\n### Context:\nCREATE TABLE table_name_65 (year INTEGER, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_65 WHERE role = \"joan gordon, aka francine la rue\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the British letter if American is \u0259?\n\n### Context:\nCREATE TABLE table_name_10 (british VARCHAR, american VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT british FROM table_name_10 WHERE american = \"\u0259\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the highest roll for coed and authority of state integrated with sacred heart school\n\n### Context:\nCREATE TABLE table_name_96 (roll INTEGER, name VARCHAR, gender VARCHAR, authority VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(roll) FROM table_name_96 WHERE gender = \"coed\" AND authority = \"state integrated\" AND name = \"sacred heart school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of title with a u.s. air date of April 17, 2009\n\n### Context:\nCREATE TABLE table_12294557_3 (title VARCHAR, us_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_12294557_3 WHERE us_airdate = \"April 17, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the opponents score at the game in Knoxville?\n\n### Context:\nCREATE TABLE table_22903773_2 (opp_points INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(opp_points) FROM table_22903773_2 WHERE location = \"Knoxville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the name of the race in Bordeaux?\n\n### Context:\nCREATE TABLE table_1140113_5 (race_name VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_name FROM table_1140113_5 WHERE circuit = \"Bordeaux\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich week had an attendance of 53,677?\n\n### Context:\nCREATE TABLE table_name_43 (week VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_name_43 WHERE attendance = \"53,677\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Byes have an Against of 972, and more than 11 wins?\n\n### Context:\nCREATE TABLE table_name_39 (byes INTEGER, against VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(byes) FROM table_name_39 WHERE against = 972 AND wins > 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank has less than 22 wins\n\n### Context:\nCREATE TABLE table_name_88 (rank VARCHAR, wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_88 WHERE wins < 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team has a midfielder of konrad warzycha?\n\n### Context:\nCREATE TABLE table_29626583_3 (mls_team VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mls_team FROM table_29626583_3 WHERE position = \"Midfielder\" AND player = \"Konrad Warzycha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many races did he do in the year he had 8 points?\n\n### Context:\nCREATE TABLE table_name_47 (races VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT races FROM table_name_47 WHERE points = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Class after 1986?\n\n### Context:\nCREATE TABLE table_name_13 (class VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_13 WHERE year > 1986"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times was revenue in millions recorded when the spending per capita was $6,736?\n\n### Context:\nCREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = \"$6,736\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the season number for herr ostropolyer, pastry chef\n\n### Context:\nCREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(season__number) FROM table_19852975_3 WHERE arties_disguises = \"Herr Ostropolyer, pastry chef\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the Tampa Bay Buccaneers play on december 23, 1995?\n\n### Context:\nCREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_60 WHERE date = \"december 23, 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many coins by Suzanne Duranceau were minted?\n\n### Context:\nCREATE TABLE table_name_93 (mintage VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mintage FROM table_name_93 WHERE artist = \"suzanne duranceau\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest Asian rank?\n\n### Context:\nCREATE TABLE table_2248784_4 (rank_asia INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank_asia) FROM table_2248784_4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class has a city of Richmond, Virginia?\n\n### Context:\nCREATE TABLE table_name_20 (class VARCHAR, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_20 WHERE city_of_license = \"richmond, virginia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points were there when there were less than 16 rebounds and 5 assists?\n\n### Context:\nCREATE TABLE table_name_83 (points VARCHAR, assists VARCHAR, rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_83 WHERE assists = 5 AND rebounds < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many U.S. viewers were there for the episode written by Lazar Saric & Jed Spingarn?\n\n### Context:\nCREATE TABLE table_25246990_5 (us_viewers__millions_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__millions_ FROM table_25246990_5 WHERE written_by = \"Lazar Saric & Jed Spingarn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Home with a Visitor of chicago, and a Series with 3 \u2013 2?\n\n### Context:\nCREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_82 WHERE visitor = \"chicago\" AND series = \"3 \u2013 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow big was the crowd size, at the Junction Oval venue?\n\n### Context:\nCREATE TABLE table_name_30 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_30 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winning team in 2008?\n\n### Context:\nCREATE TABLE table_name_22 (winning_team VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_team FROM table_name_22 WHERE year = 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the place with the 68 score?\n\n### Context:\nCREATE TABLE table_name_30 (place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_30 WHERE score = 68"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Capacity has a Location of mogilev?\n\n### Context:\nCREATE TABLE table_name_38 (capacity INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(capacity) FROM table_name_38 WHERE location = \"mogilev\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score vs. Terran when the score vs. Zerg is 69?\n\n### Context:\nCREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vs_terran FROM table_name_12 WHERE vs_zerg = \"69\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Tie number had Fulham as the away team?\n\n### Context:\nCREATE TABLE table_name_79 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_79 WHERE away_team = \"fulham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Package/Option, when Television Service is Sky Inside?\n\n### Context:\nCREATE TABLE table_name_74 (package_option VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT package_option FROM table_name_74 WHERE television_service = \"sky inside\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pick # is the lowest one that has a College of troy state, and a Name of reggie dwight, and an Overall smaller than 217?\n\n### Context:\nCREATE TABLE table_name_92 (pick__number INTEGER, overall VARCHAR, college VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick__number) FROM table_name_92 WHERE college = \"troy state\" AND name = \"reggie dwight\" AND overall < 217"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the NTFA Div 1 team that has 15 wins and less than 1 draw?\n\n### Context:\nCREATE TABLE table_name_30 (ntfa_div_1 VARCHAR, draws VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ntfa_div_1 FROM table_name_30 WHERE draws < 1 AND wins = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the engine when the chassis was a porsche 718??\n\n### Context:\nCREATE TABLE table_name_87 (engine VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_87 WHERE chassis = \"porsche 718\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2008 entry for the row that as a 2011 entry of 1R?\n\n### Context:\nCREATE TABLE table_name_32 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_32 WHERE 2011 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Bronze has a Silver larger than 2, and a Nation of mixed team, and a Rank larger than 4?\n\n### Context:\nCREATE TABLE table_name_70 (bronze VARCHAR, rank VARCHAR, silver VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_70 WHERE silver > 2 AND nation = \"mixed team\" AND rank > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich director had a worldwide gross of $30,471?\n\n### Context:\nCREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_97 WHERE gross__worldwide_ = \"$30,471\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich rank has a total smaller than 1?\n\n### Context:\nCREATE TABLE table_name_23 (rank INTEGER, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_23 WHERE total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total starts with more points than 1 and the driver is Nasser Al-Attiyah?\n\n### Context:\nCREATE TABLE table_name_47 (starts VARCHAR, driver VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(starts) FROM table_name_47 WHERE driver = \"nasser al-attiyah\" AND points > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the team website when the institution is indiana university of pennsylvania?\n\n### Context:\nCREATE TABLE table_name_93 (team_website VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_website FROM table_name_93 WHERE institution = \"indiana university of pennsylvania\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country has swimsuit more than 9.46 and interview more than 9.22 with average less than 9.6?\n\n### Context:\nCREATE TABLE table_name_22 (country VARCHAR, swimsuit VARCHAR, average VARCHAR, interview VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_22 WHERE average < 9.6 AND interview > 9.22 AND swimsuit > 9.46"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning score of the PGA Championship (3)?\n\n### Context:\nCREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_13026799_1 WHERE championship = \"PGA championship (3)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country is ranked 24?\n\n### Context:\nCREATE TABLE table_name_57 (country VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_57 WHERE rank = \"24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on october 17, 2007?\n\n### Context:\nCREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_33 WHERE date = \"october 17, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record for june 7\n\n### Context:\nCREATE TABLE table_17104539_9 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_17104539_9 WHERE date = \"June 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of attendance for round 3\n\n### Context:\nCREATE TABLE table_name_22 (attendance INTEGER, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_22 WHERE round = \"round 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Thickness has a Year of Issue smaller than 1983?\n\n### Context:\nCREATE TABLE table_name_35 (thickness VARCHAR, year_of_issue INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT thickness FROM table_name_35 WHERE year_of_issue < 1983"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Commercial Operation has both a Gross Capacity of 417 mw and an Electricity Grid 27.12.1971?\n\n### Context:\nCREATE TABLE table_name_48 (commercial_operation VARCHAR, gross_capacity VARCHAR, electricity_grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT commercial_operation FROM table_name_48 WHERE gross_capacity = \"417 mw\" AND electricity_grid = \"27.12.1971\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the challenger on Episode 5?\n\n### Context:\nCREATE TABLE table_23982399_1 (challenger VARCHAR, overall_episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Matt Allen's sail number?\n\n### Context:\nCREATE TABLE table_25595209_1 (sail_number VARCHAR, skipper VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sail_number FROM table_25595209_1 WHERE skipper = \"Matt Allen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich united states player had a To par of 12?\n\n### Context:\nCREATE TABLE table_name_63 (player VARCHAR, to_par VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_63 WHERE to_par = 12 AND country = \"united states\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1995 GDP when 1990 GDP is 441 and 1985 GDP is less than 359?\n\n### Context:\nCREATE TABLE table_name_14 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(1995) FROM table_name_14 WHERE 1990 = 441 AND 1985 < 359"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of bids in the Missouri Valley conference?\n\n### Context:\nCREATE TABLE table_name_47 (_number_of_bids INTEGER, conference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(_number_of_bids) FROM table_name_47 WHERE conference = \"missouri valley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nScore of 2\u20133 ot on what date?\n\n### Context:\nCREATE TABLE table_name_76 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_76 WHERE score = \"2\u20133 ot\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?\n\n### Context:\nCREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_74 WHERE round > 9 AND player = \"butch webster\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date for the 10b serial?\n\n### Context:\nCREATE TABLE table_name_46 (date VARCHAR, serial VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_46 WHERE serial = \"10b\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many medals under total when silver is less than 2, gold is 3, and bronze is less than 0?\n\n### Context:\nCREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the poor law union on Marshalstown?\n\n### Context:\nCREATE TABLE table_28802165_1 (poor_law_union VARCHAR, townland VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT poor_law_union FROM table_28802165_1 WHERE townland = \"Marshalstown\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?\n\n### Context:\nCREATE TABLE table_name_51 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2012 FROM table_name_51 WHERE 2009 = \"1r\" AND 2007 = \"2r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of a league in the sport of baseball?\n\n### Context:\nCREATE TABLE table_name_96 (league VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_name_96 WHERE sport = \"baseball\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the maximum and total number of followers of all users.\n\n### Context:\nCREATE TABLE user_profiles (followers INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(followers), SUM(followers) FROM user_profiles"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game had a result of 126-95?\n\n### Context:\nCREATE TABLE table_name_88 (game VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_88 WHERE result = \"126-95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the year that Dewi Claire Schreefel is the champion?\n\n### Context:\nCREATE TABLE table_12243817_1 (year VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_12243817_1 WHERE champion = \"Dewi Claire Schreefel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pct has Years of 1957\u20131970, and Wins smaller than 78?\n\n### Context:\nCREATE TABLE table_name_89 (pct INTEGER, years VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pct) FROM table_name_89 WHERE years = \"1957\u20131970\" AND wins < 78"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the official name of the land with an area of 276.84 km2?\n\n### Context:\nCREATE TABLE table_170958_2 (official_name VARCHAR, area_km_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT official_name FROM table_170958_2 WHERE area_km_2 = \"276.84\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho plays for the chicago bulls?\n\n### Context:\nCREATE TABLE table_name_92 (player VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_92 WHERE team = \"chicago bulls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Director Bona Fajardo's Producer?\n\n### Context:\nCREATE TABLE table_name_32 (producer VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT producer FROM table_name_32 WHERE director = \"bona fajardo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Year, when Venue is Rio De Janeiro, Brazil?\n\n### Context:\nCREATE TABLE table_name_42 (year INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_42 WHERE venue = \"rio de janeiro, brazil\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the name and gender for all artists who released songs in March.\n\n### Context:\nCREATE TABLE song (artist_name VARCHAR, releasedate VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.artist_name, T1.gender FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.releasedate LIKE \"%Mar%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the location of the Mong Kok Stadium?\n\n### Context:\nCREATE TABLE table_name_12 (location VARCHAR, home_ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_12 WHERE home_ground = \"mong kok stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many distinct birth places are there?\n\n### Context:\nCREATE TABLE people (Birth_Place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT Birth_Place) FROM people"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the airdate of the episode with 106000 dave ja vu viewers?\n\n### Context:\nCREATE TABLE table_25721_3 (airdate VARCHAR, dave_ja_vu_viewers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airdate FROM table_25721_3 WHERE dave_ja_vu_viewers = 106000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which date did Potts (I) poll at 9%?\n\n### Context:\nCREATE TABLE table_name_92 (date VARCHAR, potts__i_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_92 WHERE potts__i_ = \"9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the #/county that is ihsaa class aaa, has enrollment higher than 611 and the dragons is the mascot?\n\n### Context:\nCREATE TABLE table_name_13 (_number___county VARCHAR, mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _number___county FROM table_name_13 WHERE ihsaa_class = \"aaa\" AND enrollment > 611 AND mascot = \"dragons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich grade has the most high schoolers?\n\n### Context:\nCREATE TABLE Highschooler (grade VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grade FROM Highschooler GROUP BY grade ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponents for outcome of runner-up and date of august 7, 2011\n\n### Context:\nCREATE TABLE table_name_19 (opponents_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents_in_the_final FROM table_name_19 WHERE outcome = \"runner-up\" AND date = \"august 7, 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?\n\n### Context:\nCREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = \"49B\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0s mestizo\u00a0with\u00a0asians\u00a0being 0.2% and\u00a0whites\u00a0being 74.8%\n\n### Context:\nCREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT s_mestizo FROM table_1333612_1 WHERE asians = \"0.2%\" AND whites = \"74.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the poor law union of the Lackenagobidane townland?\n\n### Context:\nCREATE TABLE table_30121046_1 (poor_law_union VARCHAR, townland VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT poor_law_union FROM table_30121046_1 WHERE townland = \"Lackenagobidane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's hale irwin's average rank?\n\n### Context:\nCREATE TABLE table_name_7 (rank INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_7 WHERE player = \"hale irwin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of yards for avg of 9 and rec of 1\n\n### Context:\nCREATE TABLE table_name_99 (yards VARCHAR, avg VARCHAR, rec VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(yards) FROM table_name_99 WHERE avg = 9 AND rec = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 1997 for atp masters series 1992\n\n### Context:\nCREATE TABLE table_name_65 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1997 FROM table_name_65 WHERE 1992 = \"atp masters series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the innovation when the economic incentive grime is 7.14? \n\n### Context:\nCREATE TABLE table_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = \"7.14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the mens 45 when mens 40 was Sunwest Razorbacks def Sydney Mets?\n\n### Context:\nCREATE TABLE table_16724844_1 (mens_45 VARCHAR, mens_40 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_45 FROM table_16724844_1 WHERE mens_40 = \"SunWest Razorbacks def Sydney Mets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor what country is the skip Andy Kapp?\n\n### Context:\nCREATE TABLE table_name_49 (country VARCHAR, skip VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_49 WHERE skip = \"andy kapp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many draws have french as the language, with a place less than 1?\n\n### Context:\nCREATE TABLE table_name_93 (draw INTEGER, language VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(draw) FROM table_name_93 WHERE language = \"french\" AND place < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the maximum\u00a0pick #\u00a0where\u00a0player\u00a0is anthony blaylock\n\n### Context:\nCREATE TABLE table_10650711_1 (pick__number INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_10650711_1 WHERE player = \"Anthony Blaylock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat platform came out before 2009 with the game wii sports?\n\n### Context:\nCREATE TABLE table_name_38 (platform_s_ VARCHAR, year VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT platform_s_ FROM table_name_38 WHERE year < 2009 AND game = \"wii sports\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the operator to destination Dalston Junction?\n\n### Context:\nCREATE TABLE table_1612760_1 (operator VARCHAR, destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT operator FROM table_1612760_1 WHERE destination = \"Dalston Junction\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the pole position for the belgian grand prix?\n\n### Context:\nCREATE TABLE table_name_87 (pole_position VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_name_87 WHERE race = \"belgian grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party is Ettore Romoli from?\n\n### Context:\nCREATE TABLE table_name_99 (party VARCHAR, mayor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_99 WHERE mayor = \"ettore romoli\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result in the virginia 11 district?\n\n### Context:\nCREATE TABLE table_2668393_18 (result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_2668393_18 WHERE district = \"Virginia 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the region for georgia\n\n### Context:\nCREATE TABLE table_name_8 (region VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_8 WHERE state = \"georgia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of customers who have bought by at least three distinct products.\n\n### Context:\nCREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T1.customer_name FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id JOIN order_items AS T3 ON T2.order_id = T3.order_id GROUP BY T1.customer_id HAVING COUNT(DISTINCT T3.product_id) >= 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Pos., when From Club is \"Chelsea\", and when Date is \"30 July 2008\"?\n\n### Context:\nCREATE TABLE table_name_66 (pos VARCHAR, from_club VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pos FROM table_name_66 WHERE from_club = \"chelsea\" AND date = \"30 july 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value for Gold, when the value for Bronze is less than 0?\n\n### Context:\nCREATE TABLE table_name_31 (gold VARCHAR, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold) FROM table_name_31 WHERE bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the driver when the engine is mercedes fo110m?\n\n### Context:\nCREATE TABLE table_name_1 (driver VARCHAR, engine_\u2020 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_1 WHERE engine_\u2020 = \"mercedes fo110m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue of the match with a score of 33-22?\n\n### Context:\nCREATE TABLE table_name_45 (venue VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_45 WHERE score = \"33-22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the operator of the ensemble from Yorkshire?\n\n### Context:\nCREATE TABLE table_name_99 (operator VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT operator FROM table_name_99 WHERE region = \"yorkshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich municipalities located in the county of Finnmark have populations bigger than 6187.0?\n\n### Context:\nCREATE TABLE table_157826_1 (municipality VARCHAR, county VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT municipality FROM table_157826_1 WHERE county = \"Finnmark\" AND population > 6187.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the shape distortion for the range frequency of 10?\n\n### Context:\nCREATE TABLE table_27615520_1 (form_factor VARCHAR, bandwidth__gb_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT form_factor FROM table_27615520_1 WHERE bandwidth__gb_s_ = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the year with runs of 144?\n\n### Context:\nCREATE TABLE table_name_68 (year VARCHAR, runs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_68 WHERE runs = \"144\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the writers of the episode with production code IP02009?\n\n### Context:\nCREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_29273115_1 WHERE production_code = \"IP02009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent for a game over 31 and a date over 30?\n\n### Context:\nCREATE TABLE table_name_54 (opponent VARCHAR, game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_54 WHERE game > 31 AND date > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets?\n\n### Context:\nCREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_open FROM table_16724844_1 WHERE womens_40 = \"Sydney Scorpions defeated Hunter Hornets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Japanese voice actor of Eagle Rider Ollie Keeawani?\n\n### Context:\nCREATE TABLE table_name_25 (japanese_voice_actor VARCHAR, eagle_riders VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT japanese_voice_actor FROM table_name_25 WHERE eagle_riders = \"ollie keeawani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the home for 16 april 2008\n\n### Context:\nCREATE TABLE table_name_11 (home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_11 WHERE date = \"16 april 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the average bronze when the team is northwest territories and gold is more than 34?\n\n### Context:\nCREATE TABLE table_name_23 (bronze INTEGER, team VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bronze) FROM table_name_23 WHERE team = \"northwest territories\" AND gold > 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many average votes did producer carlos coelho have in a higher place than 6 and with a draw larger than 5?\n\n### Context:\nCREATE TABLE table_name_58 (votes INTEGER, draw VARCHAR, place VARCHAR, producer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(votes) FROM table_name_58 WHERE place < 6 AND producer = \"carlos coelho\" AND draw > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game with 38,062 people in attendance?\n\n### Context:\nCREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_80 WHERE attendance = \"38,062\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the location for trenton 300\n\n### Context:\nCREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_22669375_1 WHERE race_name = \"Trenton 300\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total listed when the average is 0.667 and the category is 3-pt field goal percentage?\n\n### Context:\nCREATE TABLE table_28628309_9 (totals VARCHAR, average VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT totals FROM table_28628309_9 WHERE average = \"0.667\" AND category = \"3-pt field goal percentage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the womens singles of naoko fukuman kurumi yonao?\n\n### Context:\nCREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = \"Naoko Fukuman Kurumi Yonao\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least amount of int yards\n\n### Context:\nCREATE TABLE table_15581223_8 (int INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(int) AS yards FROM table_15581223_8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the lowest position of brendan sole\n\n### Context:\nCREATE TABLE table_20090682_4 (pos INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pos) FROM table_20090682_4 WHERE driver = \"Brendan Sole\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most frequent status of bookings?\n\n### Context:\nCREATE TABLE BOOKINGS (Status_Code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Status_Code FROM BOOKINGS GROUP BY Status_Code ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the molecular target of the organism that has a disease area of antiviral?\n\n### Context:\nCREATE TABLE table_name_45 (molecular_target VARCHAR, disease_area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT molecular_target FROM table_name_45 WHERE disease_area = \"antiviral\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many new entries are there for a second phase that has 4 winners from previous rounds?\n\n### Context:\nCREATE TABLE table_name_71 (new_entries_this_round VARCHAR, phase VARCHAR, winners_from_previous_round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT new_entries_this_round FROM table_name_71 WHERE phase = \"second phase\" AND winners_from_previous_round = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich championship had arantxa s\u00e1nchez vicario todd woodbridge as opponents in the final \n\n### Context:\nCREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship FROM table_1918850_2 WHERE opponents_in_the_final = \"Arantxa S\u00e1nchez Vicario Todd Woodbridge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the setting for the hard difficulty?\n\n### Context:\nCREATE TABLE table_24463470_1 (setting VARCHAR, difficulty VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT setting FROM table_24463470_1 WHERE difficulty = \"Hard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many field goals did Stacey Thomas have? \n\n### Context:\nCREATE TABLE table_24850487_5 (field_goals VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT field_goals FROM table_24850487_5 WHERE player = \"Stacey Thomas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the inroductory phase for the episode with production code 4005?\n\n### Context:\nCREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT introductory_phrase FROM table_14835674_1 WHERE production_code = 4005"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the label for the album with a catalog number of 83061-2?\n\n### Context:\nCREATE TABLE table_name_96 (label VARCHAR, catalog__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_96 WHERE catalog__number = \"83061-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nReturn all players sorted by college in ascending alphabetical order.\n\n### Context:\nCREATE TABLE match_season (player VARCHAR, College VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM match_season ORDER BY College"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the total scores of body builders in ascending order.\n\n### Context:\nCREATE TABLE body_builder (Total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Total FROM body_builder ORDER BY Total"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat NHL team does Denis Desgagnes play for?\n\n### Context:\nCREATE TABLE table_1965650_8 (nhl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_1965650_8 WHERE player = \"Denis Desgagnes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes had 4.44m viewers?\n\n### Context:\nCREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = \"4.44m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich captain has Gintare Karpaviciute as an alternate?\n\n### Context:\nCREATE TABLE table_name_33 (captain VARCHAR, alternate__1_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_name_33 WHERE alternate__1_ = \"gintare karpaviciute\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the system called that is named ELKJS?\n\n### Context:\nCREATE TABLE table_name_56 (system VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT system FROM table_name_56 WHERE name = \"elkjs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silver for rank 22 when gold count was more than 0 and Bronze count was less than 5?\n\n### Context:\nCREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, bronze VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(silver) FROM table_name_45 WHERE bronze < 5 AND gold > 0 AND rank = \"22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat university was Kevan George affiliated with?\n\n### Context:\nCREATE TABLE table_29836557_2 (affiliation VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT affiliation FROM table_29836557_2 WHERE player = \"Kevan George\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most year for brookvale oval\n\n### Context:\nCREATE TABLE table_name_93 (year INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_93 WHERE venue = \"brookvale oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the distribution mechanism is the Microsoft website and the security issues id 98-004, what are all of the features?\n\n### Context:\nCREATE TABLE table_2263152_1 (features VARCHAR, security_issues VARCHAR, distribution_mechanism VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT features FROM table_2263152_1 WHERE security_issues = \"98-004\" AND distribution_mechanism = \"Microsoft website\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich grid is lower for thierry boutsen which laps less than 44?\n\n### Context:\nCREATE TABLE table_name_90 (grid INTEGER, driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_90 WHERE driver = \"thierry boutsen\" AND laps < 44"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich School/Club Team has a Round larger than 16?\n\n### Context:\nCREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_name_16 WHERE round > 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum enrollment of the schools?\n\n### Context:\nCREATE TABLE table_26355116_1 (enrollment INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(enrollment) FROM table_26355116_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Away team has a Home team of al-ain fc, and a Score of 1\u20131?\n\n### Context:\nCREATE TABLE table_name_58 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_58 WHERE home_team = \"al-ain fc\" AND score = \"1\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning score in the PGA Championship?\n\n### Context:\nCREATE TABLE table_name_14 (winning_score VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_14 WHERE championship = \"pga championship\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what venue was the hosted away team Essendon?\n\n### Context:\nCREATE TABLE table_name_59 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_59 WHERE away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total scored for the 8th position and a score more than 6.6\n\n### Context:\nCREATE TABLE table_name_8 (total INTEGER, position VARCHAR, a_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total) FROM table_name_8 WHERE position = \"8th\" AND a_score > 6.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date were there 50,324 votes?\n\n### Context:\nCREATE TABLE table_name_78 (date VARCHAR, votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_78 WHERE votes = \"50,324\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had a finish of t16?\n\n### Context:\nCREATE TABLE table_name_81 (player VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_81 WHERE finish = \"t16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of death of the Countess of Flanders who was born in 1309?\n\n### Context:\nCREATE TABLE table_name_69 (death VARCHAR, birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT death FROM table_name_69 WHERE birth = \"1309\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance on week 7?\n\n### Context:\nCREATE TABLE table_name_26 (attendance VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_26 WHERE week = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Version prior to 1996?\n\n### Context:\nCREATE TABLE table_name_45 (version VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT version FROM table_name_45 WHERE year < 1996"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the opponent that had a result of l 27-20\n\n### Context:\nCREATE TABLE table_name_84 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_84 WHERE result = \"l 27-20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has a less than 136.1 total and a 0.02 solar?\n\n### Context:\nCREATE TABLE table_name_38 (country VARCHAR, total VARCHAR, solar VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_38 WHERE total < 136.1 AND solar = 0.02"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat CD was released in 2009?\n\n### Context:\nCREATE TABLE table_name_64 (title VARCHAR, released VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_64 WHERE released = 2009"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the champion for israel bowl of iv\n\n### Context:\nCREATE TABLE table_name_33 (champion VARCHAR, israel_bowl VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT champion FROM table_name_33 WHERE israel_bowl = \"iv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Tie no when the Home team was carshalton athletic?\n\n### Context:\nCREATE TABLE table_name_50 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_50 WHERE home_team = \"carshalton athletic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all of the ids for left-footed players with a height between 180cm and 190cm.\n\n### Context:\nCREATE TABLE Player_Attributes (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR); CREATE TABLE Player (player_api_id VARCHAR, preferred_foot VARCHAR, height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player_api_id FROM Player WHERE height >= 180 AND height <= 190 INTERSECT SELECT player_api_id FROM Player_Attributes WHERE preferred_foot = \"left\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the largest ethnic group for kosan\u010di\u0107\n\n### Context:\nCREATE TABLE table_2562572_20 (largest_ethnic_group__2002_ VARCHAR, settlement VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT largest_ethnic_group__2002_ FROM table_2562572_20 WHERE settlement = \"Kosan\u010di\u0107\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of Courtney Walsh ?\n\n### Context:\nCREATE TABLE table_name_36 (result VARCHAR, home_captain VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_36 WHERE home_captain = \"courtney walsh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the h.s. principal with Dave Lovering as w.r. principal and Marty Pizur as m.s. principal?\n\n### Context:\nCREATE TABLE table_name_99 (hs_principal VARCHAR, wr_principal VARCHAR, ms_principal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hs_principal FROM table_name_99 WHERE wr_principal = \"dave lovering\" AND ms_principal = \"marty pizur\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the runner-up of the competition played at Minikahda Club?\n\n### Context:\nCREATE TABLE table_name_55 (runner_up VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_up FROM table_name_55 WHERE venue = \"minikahda club\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team is 9th in wickets?\n\n### Context:\nCREATE TABLE table_1670921_1 (fielding_team VARCHAR, wicket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fielding_team FROM table_1670921_1 WHERE wicket = \"9th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result if Coba is the song choice?\n\n### Context:\nCREATE TABLE table_22736523_1 (result VARCHAR, song_choice VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_22736523_1 WHERE song_choice = \"Coba\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich film, directed by Dana Dorian, was nominated?\n\n### Context:\nCREATE TABLE table_name_40 (film VARCHAR, rank VARCHAR, director_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film FROM table_name_40 WHERE rank = \"nominated\" AND director_s_ = \"dana dorian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent(s) in round 6?\n\n### Context:\nCREATE TABLE table_name_12 (opponents VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_name_12 WHERE round = \"round 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nInvestment income of 2%, and an other income sources of 3%, and an employment (salaries & wages) of 71% involves which self employed?\n\n### Context:\nCREATE TABLE table_name_15 (self_employed VARCHAR, investment_income VARCHAR, other_income_sources VARCHAR, employment___salaries_ VARCHAR, _wages_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT self_employed FROM table_name_15 WHERE investment_income = \"2%\" AND other_income_sources = \"3%\" AND employment___salaries_ & _wages_ = \"71%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho finished in third place when the winner was Karina Bacchi? \n\n### Context:\nCREATE TABLE table_25214321_1 (third_place VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT third_place FROM table_25214321_1 WHERE winner = \"Karina Bacchi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the london great britain for championship record\n\n### Context:\nCREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = \"Championship record\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the series # when the director is john showalter?\n\n### Context:\nCREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series__number FROM table_29747178_2 WHERE directed_by = \"John Showalter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE COUNTRY WITH DAVE BARR?\n\n### Context:\nCREATE TABLE table_name_26 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_26 WHERE player = \"dave barr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the venue when the away team was richmond\n\n### Context:\nCREATE TABLE table_name_6 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_6 WHERE away_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the apps for less than 61 goals and before rank 6?\n\n### Context:\nCREATE TABLE table_name_51 (apps INTEGER, rank VARCHAR, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(apps) FROM table_name_51 WHERE rank < 6 AND goals < 61"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away team when the attendance was 7,891?\n\n### Context:\nCREATE TABLE table_name_28 (away_team VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_28 WHERE attendance = \"7,891\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest pick of player paul stasiuk from a round greater than 12?\n\n### Context:\nCREATE TABLE table_name_45 (pick INTEGER, player VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_45 WHERE player = \"paul stasiuk\" AND round > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what district is the incumbent Charles Fisher?\n\n### Context:\nCREATE TABLE table_2668336_17 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_2668336_17 WHERE incumbent = \"Charles Fisher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many elections are there?\n\n### Context:\nCREATE TABLE election (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM election"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Ground was Optus Oval, what is the Home team score?\n\n### Context:\nCREATE TABLE table_name_28 (home_team VARCHAR, ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_28 WHERE ground = \"optus oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the mens singles for jeliazko valkov dobrinka peneva\n\n### Context:\nCREATE TABLE table_14903491_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mens_singles FROM table_14903491_1 WHERE mixed_doubles = \"Jeliazko Valkov Dobrinka Peneva\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many crops were damaged when the public property damage was 1,03,049.60?\n\n### Context:\nCREATE TABLE table_20403667_2 (crop_damaged__in_lakh_inr__ VARCHAR, public_property_damaged__in_lakh_inr__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crop_damaged__in_lakh_inr__ FROM table_20403667_2 WHERE public_property_damaged__in_lakh_inr__ = \"1,03,049.60\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHich Places have a score smaller than 69?\n\n### Context:\nCREATE TABLE table_name_12 (place VARCHAR, score INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_12 WHERE score < 69"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time for Russia?\n\n### Context:\nCREATE TABLE table_name_54 (time VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_54 WHERE nationality = \"russia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the medicine names and trade names that cannot interact with the enzyme with product 'Heme'.\n\n### Context:\nCREATE TABLE medicine (name VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR, enzyme_id VARCHAR); CREATE TABLE medicine (name VARCHAR, trade_name VARCHAR, id VARCHAR); CREATE TABLE enzyme (id VARCHAR, product VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, trade_name FROM medicine EXCEPT SELECT T1.name, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id JOIN enzyme AS T3 ON T3.id = T2.enzyme_id WHERE T3.product = 'Protoporphyrinogen IX'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the boiling point of diethyl ether?\n\n### Context:\nCREATE TABLE table_name_74 (boiling_point VARCHAR, solvent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT boiling_point FROM table_name_74 WHERE solvent = \"diethyl ether\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat network has an origin in India, a genre of general, and broadcasts in Bengali?\n\n### Context:\nCREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_name_20 WHERE origin_of_programming = \"india\" AND genre = \"general\" AND language = \"bengali\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat batting style does player Shahid Afridi have?\n\n### Context:\nCREATE TABLE table_name_88 (batting_style VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT batting_style FROM table_name_88 WHERE player = \"shahid afridi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points have a Drawn larger than 0, and a Lost larger than 1?\n\n### Context:\nCREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_38 WHERE drawn > 0 AND lost > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?\n\n### Context:\nCREATE TABLE table_name_99 (engine VARCHAR, entrant VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_99 WHERE entrant = \"marlboro team alfa romeo\" AND chassis = \"alfa romeo 179\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich engine(s) has a year of 1966, and a point of 42.\n\n### Context:\nCREATE TABLE table_name_57 (engine_s_ VARCHAR, year VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine_s_ FROM table_name_57 WHERE year = 1966 AND points = \"42\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest crowd for a Home team of carlton?\n\n### Context:\nCREATE TABLE table_name_96 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_96 WHERE home_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich junctions have \"replaced by bsi-35\" listed in their remarks section?\n\n### Context:\nCREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT junctions FROM table_11336756_6 WHERE remarks = \"Replaced by BSI-35\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the daily hire costs for the products with substring 'Book' in its name?\n\n### Context:\nCREATE TABLE Products_for_hire (daily_hire_cost VARCHAR, product_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT daily_hire_cost FROM Products_for_hire WHERE product_name LIKE '%Book%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the format for the label Mightier than Sword on January 12, 2010 in the United States?\n\n### Context:\nCREATE TABLE table_name_50 (format VARCHAR, label VARCHAR, region VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_50 WHERE region = \"united states\" AND date = \"january 12, 2010\" AND label = \"mightier than sword\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest win% in the 1999-2013 season?\n\n### Context:\nCREATE TABLE table_name_66 (win__percentage INTEGER, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(win__percentage) FROM table_name_66 WHERE season = \"1999-2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Byes have an Against larger than 1018, and a Wimmera FL of horsham diggers?\n\n### Context:\nCREATE TABLE table_name_56 (byes INTEGER, against VARCHAR, wimmera_fl VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(byes) FROM table_name_56 WHERE against > 1018 AND wimmera_fl = \"horsham diggers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the mascot at Hamilton Community?\n\n### Context:\nCREATE TABLE table_name_62 (mascot VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_name_62 WHERE school = \"hamilton community\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year(s) won has a Total larger than 295?\n\n### Context:\nCREATE TABLE table_name_31 (year_s__won VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT year_s__won FROM table_name_31 WHERE total > 295"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many official languages does Afghanistan have?\n\n### Context:\nCREATE TABLE country (Code VARCHAR, Name VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T1.Name = \"Afghanistan\" AND IsOfficial = \"T\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the pos for adrian sutil\n\n### Context:\nCREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pos FROM table_name_75 WHERE driver = \"adrian sutil\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the district for hugh glasgow\n\n### Context:\nCREATE TABLE table_2668352_14 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_2668352_14 WHERE incumbent = \"Hugh Glasgow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average Total has a Place smaller than 2, and a Draw smaller than 5?\n\n### Context:\nCREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the moment of intertia in torsion (j) Cm4) for the beam height (mm) 120??=\n\n### Context:\nCREATE TABLE table_2071644_1 (moment_of_inertia_in_torsion__j___cm_4__ VARCHAR, beam_height__mm_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(moment_of_inertia_in_torsion__j___cm_4__) FROM table_2071644_1 WHERE beam_height__mm_ = 120"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat division record did the Spartans hold?\n\n### Context:\nCREATE TABLE table_name_26 (division_record VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division_record FROM table_name_26 WHERE team = \"spartans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year was Martin Sheen nominated?\n\n### Context:\nCREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_3 WHERE nominee = \"martin sheen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the results for all games which involved the detroit red wings.\n\n### Context:\nCREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_23308178_7 WHERE opponent = \"Detroit Red Wings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Q1 order for Felipe Massa?\n\n### Context:\nCREATE TABLE table_1706942_1 (q1_order INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(q1_order) FROM table_1706942_1 WHERE driver = \"Felipe Massa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat grid is associated with 67 laps?\n\n### Context:\nCREATE TABLE table_name_45 (grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_45 WHERE laps = 67"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Club Team has a Position of (d), a Nationality of canada, and a Player of andrew macwilliam?\n\n### Context:\nCREATE TABLE table_name_7 (club_team VARCHAR, player VARCHAR, position VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club_team FROM table_name_7 WHERE position = \"(d)\" AND nationality = \"canada\" AND player = \"andrew macwilliam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for the Longitude when there is a Diameter (km) of 31km?\n\n### Context:\nCREATE TABLE table_name_54 (longitude VARCHAR, diameter__km_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT longitude FROM table_name_54 WHERE diameter__km_ = \"31km\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich name has the source apoelfc.com.cy and a type of transfer?\n\n### Context:\nCREATE TABLE table_name_94 (name VARCHAR, source VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_94 WHERE source = \"apoelfc.com.cy\" AND type = \"transfer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of music genre/style in which the lyrics are a detective story?\n\n### Context:\nCREATE TABLE table_10416547_1 (music_genre_style VARCHAR, lyrics_theme_style VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(music_genre_style) FROM table_10416547_1 WHERE lyrics_theme_style = \"Detective story\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Bronze has a Total of 4, and a Gold smaller than 1?\n\n### Context:\nCREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the position of the player from college of virginia\n\n### Context:\nCREATE TABLE table_name_96 (position VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_96 WHERE college = \"virginia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Name of the Ship attacked on 20February1942?\n\n### Context:\nCREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name_of_ship FROM table_name_64 WHERE date = \"20february1942\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2012 Employees (Total) when the rank (2012) is 7?\n\n### Context:\nCREATE TABLE table_name_63 (rank__2012_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2012 AS _employees__total_ FROM table_name_63 WHERE rank__2012_ = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat?\n\n### Context:\nCREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(elected) FROM table_name_69 WHERE party = \"democrat\" AND district > 2 AND incumbent = \"nydia velazquez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different countries did the champion Se Ri Pak (2) represent?\n\n### Context:\nCREATE TABLE table_229059_2 (country VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(country) FROM table_229059_2 WHERE champion = \"Se Ri Pak (2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWat is the tax source system code and master customer id of the taxes related to each parking fine id?\n\n### Context:\nCREATE TABLE CMI_Cross_References (source_system_code VARCHAR, master_customer_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Parking_Fines (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.source_system_code, T1.master_customer_id, T2.council_tax_id FROM CMI_Cross_References AS T1 JOIN Parking_Fines AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat California city has an active status and a greek designation of established colony?\n\n### Context:\nCREATE TABLE table_name_57 (city VARCHAR, greek_designation VARCHAR, status VARCHAR, us_state_district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_57 WHERE status = \"active\" AND us_state_district = \"california\" AND greek_designation = \"established colony\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the strike rate when there are 17 wickets?\n\n### Context:\nCREATE TABLE table_19662262_6 (strike_rate VARCHAR, wickets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT strike_rate FROM table_19662262_6 WHERE wickets = 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2000-2001 Team with a Jersey # that is 19?\n\n### Context:\nCREATE TABLE table_name_15 (jersey__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2000 AS _2001_team FROM table_name_15 WHERE jersey__number = 19"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2007 result when the 2010 result was 2r, at the US Open?\n\n### Context:\nCREATE TABLE table_name_91 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2007 FROM table_name_91 WHERE 2010 = \"2r\" AND tournament = \"us open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average pct for George Felton when he had losses greater than 7?\n\n### Context:\nCREATE TABLE table_name_4 (pct INTEGER, lost VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pct) FROM table_name_4 WHERE lost > 7 AND name = \"george felton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which tournaments was the score 135 (-7)?\n\n### Context:\nCREATE TABLE table_11622829_1 (tournament VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_11622829_1 WHERE score = \"135 (-7)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Matches, when Year is \"2003\"?\n\n### Context:\nCREATE TABLE table_name_72 (matches VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT matches FROM table_name_72 WHERE year = \"2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the perpetrator with the biggest weight.\n\n### Context:\nCREATE TABLE perpetrator (People_ID VARCHAR); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Name FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Weight DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich callsign has ERP W of 99 and a frequency of greater than 88.7MHz?\n\n### Context:\nCREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the id and trade name of the medicines can interact with at least 3 enzymes?\n\n### Context:\nCREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE RESULT WITH FILM LAKE OF TEARS?\n\n### Context:\nCREATE TABLE table_name_28 (result VARCHAR, film_title_used_in_nomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_28 WHERE film_title_used_in_nomination = \"lake of tears\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Score, when Country is \"United States\", and when Player is \"Lee Trevino\"?\n\n### Context:\nCREATE TABLE table_name_75 (score VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(score) FROM table_name_75 WHERE country = \"united states\" AND player = \"lee trevino\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Wednesday has a Monday of \u6708\u66dc\u65e5 getsuy\u014dbi?\n\n### Context:\nCREATE TABLE table_name_46 (wednesday VARCHAR, monday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wednesday FROM table_name_46 WHERE monday = \"\u6708\u66dc\u65e5 getsuy\u014dbi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team score when st kilda is the away team?\n\n### Context:\nCREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_51 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the reader on the download/cd format of the title written by author lidster, joseph joseph lidster? \n\n### Context:\nCREATE TABLE table_20174050_23 (reader VARCHAR, format VARCHAR, author VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reader FROM table_20174050_23 WHERE format = \"Download/CD\" AND author = \"Lidster, Joseph Joseph Lidster\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich episode was Transmitted on friday if the episode of \"414 insanely twisted shadow planet\" was transmitted on tuesday? \n\n### Context:\nCREATE TABLE table_18173916_8 (friday VARCHAR, tuesday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT friday FROM table_18173916_8 WHERE tuesday = \"414 Insanely Twisted Shadow Planet\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the leader at the summit earlier than 1956, when Carcassonne shows for finish?\n\n### Context:\nCREATE TABLE table_name_82 (leader_at_the_summit VARCHAR, year VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT leader_at_the_summit FROM table_name_82 WHERE year < 1956 AND finish = \"carcassonne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Cuts made has a Tournament of totals, and Wins smaller than 11?\n\n### Context:\nCREATE TABLE table_name_25 (cuts_made INTEGER, tournament VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(cuts_made) FROM table_name_25 WHERE tournament = \"totals\" AND wins < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponents conference has the result L, 62-10?\n\n### Context:\nCREATE TABLE table_26240481_1 (opponents_conference VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents_conference FROM table_26240481_1 WHERE result = \"L, 62-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the launched date of the destroyer completed 25 February 1936?\n\n### Context:\nCREATE TABLE table_name_13 (launched VARCHAR, completed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launched FROM table_name_13 WHERE completed = \"25 february 1936\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the percentage when the state delegate is 1662?\n\n### Context:\nCREATE TABLE table_16186152_1 (percentage VARCHAR, state_delegate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT percentage FROM table_16186152_1 WHERE state_delegate = 1662"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the gtc winners for pole position no. 21 team modena\n\n### Context:\nCREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gtc_winner FROM table_13079788_3 WHERE pole_position = \"No. 21 Team Modena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sum of AVE-No has a Name of albula alps, and a Height (m) larger than 3418?\n\n### Context:\nCREATE TABLE table_name_98 (ave__no INTEGER, name VARCHAR, height__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(ave__no) FROM table_name_98 WHERE name = \"albula alps\" AND height__m_ > 3418"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the phone number of employees whose salary is in the range of 8000 and 12000?\n\n### Context:\nCREATE TABLE employees (phone_number VARCHAR, salary INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT phone_number FROM employees WHERE salary BETWEEN 8000 AND 12000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Gold, when Silver is 2, and when Total is less than 7?\n\n### Context:\nCREATE TABLE table_name_34 (gold VARCHAR, silver VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold) FROM table_name_34 WHERE silver = 2 AND total < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many reserves were established on 19740329 29.03.1974?\n\n### Context:\nCREATE TABLE table_26013618_1 (nsg_nr VARCHAR, date_established VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(nsg_nr) FROM table_26013618_1 WHERE date_established = \"19740329 29.03.1974\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the driver of the Chevrolet engine that is sponsored by godaddy.com?\n\n### Context:\nCREATE TABLE table_2503102_1 (driver_s_ VARCHAR, engine VARCHAR, car_sponsor_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver_s_ FROM table_2503102_1 WHERE engine = \"Chevrolet\" AND car_sponsor_s_ = \"GoDaddy.com\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho built michael schumacher's car that went under 31 laps?\n\n### Context:\nCREATE TABLE table_name_24 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_24 WHERE laps < 31 AND driver = \"michael schumacher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the open 1st viii with u15 4th iv being gt\n\n### Context:\nCREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = \"GT\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the line 1 of addresses shared by some students and some teachers?\n\n### Context:\nCREATE TABLE Teachers (address_id VARCHAR); CREATE TABLE Students (address_id VARCHAR); CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.line_1 FROM Addresses AS T1 JOIN Students AS T2 ON T1.address_id = T2.address_id INTERSECT SELECT T1.line_1 FROM Addresses AS T1 JOIN Teachers AS T2 ON T1.address_id = T2.address_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of laps for grid 8?\n\n### Context:\nCREATE TABLE table_name_69 (laps INTEGER, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(laps) FROM table_name_69 WHERE grid = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the earliest week with a game at the Braves Field on October 2, 1932?\n\n### Context:\nCREATE TABLE table_name_78 (week INTEGER, game_site VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_name_78 WHERE game_site = \"braves field\" AND date = \"october 2, 1932\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the To par of the T4 Place Player with a Score of 72-69-73=214?\n\n### Context:\nCREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_63 WHERE place = \"t4\" AND score = 72 - 69 - 73 = 214"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Stacy Compton's position?\n\n### Context:\nCREATE TABLE table_name_31 (pos VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pos FROM table_name_31 WHERE driver = \"stacy compton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the low point total when there are over 5 games?\n\n### Context:\nCREATE TABLE table_name_56 (points INTEGER, games INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_56 WHERE games > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2003 value with 1r in 2009 at the Australian Open?\n\n### Context:\nCREATE TABLE table_name_16 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2003 FROM table_name_16 WHERE 2009 = \"1r\" AND tournament = \"australian open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2011 for tokyo tournament\n\n### Context:\nCREATE TABLE table_name_62 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2011 FROM table_name_62 WHERE tournament = \"tokyo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Place that has a Date of 22 august 2004?\n\n### Context:\nCREATE TABLE table_name_92 (place VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_92 WHERE date = \"22 august 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position?\n\n### Context:\nCREATE TABLE table_name_50 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_50 WHERE pole_position = \"jacky ickx\" AND race = \"canadian grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Round larger than 5, and a Position of (g)?\n\n### Context:\nCREATE TABLE table_name_1 (player VARCHAR, round VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_1 WHERE round > 5 AND position = \"(g)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Run 3, when Team is United States (USA) USA I?\n\n### Context:\nCREATE TABLE table_name_73 (run_3 VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT run_3 FROM table_name_73 WHERE team = \"united states (usa) usa i\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score for attendance of 13,617\n\n### Context:\nCREATE TABLE table_name_63 (score VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_63 WHERE attendance = \"13,617\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the Position is Running Back what is the Total number of Pick #?\n\n### Context:\nCREATE TABLE table_name_84 (pick__number VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_name_84 WHERE position = \"running back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen is the hire date for those employees whose first name does not containing the letter M?\n\n### Context:\nCREATE TABLE employees (hire_date VARCHAR, first_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hire_date FROM employees WHERE NOT first_name LIKE '%M%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country does Jeff Sluman play for?\n\n### Context:\nCREATE TABLE table_name_52 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_52 WHERE player = \"jeff sluman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest channel number?\n\n### Context:\nCREATE TABLE table_27871460_2 (channel_number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(channel_number) FROM table_27871460_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games were played at Cleveland Stadium?\n\n### Context:\nCREATE TABLE table_16729063_2 (date VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date) FROM table_16729063_2 WHERE game_site = \"Cleveland Stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich seaosn had a player of rohan ricketts?\n\n### Context:\nCREATE TABLE table_name_26 (season VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_name_26 WHERE player = \"rohan ricketts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Airport's ICAO is ENTO?\n\n### Context:\nCREATE TABLE table_name_23 (airport VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airport FROM table_name_23 WHERE icao = \"ento\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score in final has boris becker as the champion?\n\n### Context:\nCREATE TABLE table_name_54 (score_in_final VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score_in_final FROM table_name_54 WHERE champion = \"boris becker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team score when Home team is fitzroy?\n\n### Context:\nCREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_6 WHERE home_team = \"fitzroy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is them two (the two) when you and i is ng\u0153balngu?\n\n### Context:\nCREATE TABLE table_1015914_24 (them_two__the_two_ VARCHAR, you_and_i VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT them_two__the_two_ FROM table_1015914_24 WHERE you_and_i = \"ng\u0153balngu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the power of the unit built after 1995?\n\n### Context:\nCREATE TABLE table_name_71 (power__horsepower_ INTEGER, year_built INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(power__horsepower_) FROM table_name_71 WHERE year_built > 1995"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when Spennymoor United as the away team?\n\n### Context:\nCREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_67 WHERE away_team = \"spennymoor united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Total medals did the Nation the got 0 Bronze medals receive?\n\n### Context:\nCREATE TABLE table_name_47 (total INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_47 WHERE bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the kono with a bonthe greater than 21,238?\n\n### Context:\nCREATE TABLE table_name_38 (kono INTEGER, bonthe INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(kono) FROM table_name_38 WHERE bonthe > 21 OFFSET 238"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich visitor had a record of 7\u20135\u20133?\n\n### Context:\nCREATE TABLE table_name_49 (visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_49 WHERE record = \"7\u20135\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the name of the shop that has the most kind of devices in stock.\n\n### Context:\nCREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR); CREATE TABLE stock (Shop_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Catalog has a label of Alfa records and a date of November 21, 1980?\n\n### Context:\nCREATE TABLE table_name_31 (catalog VARCHAR, label VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalog FROM table_name_31 WHERE label = \"alfa records\" AND date = \"november 21, 1980\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was Tampa Bay's Week 4 game?\n\n### Context:\nCREATE TABLE table_name_2 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_2 WHERE week = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did Hudswell Clarke build the locomotive with 0-6-0 ST wheel arrangements?\n\n### Context:\nCREATE TABLE table_1157867_2 (date_built VARCHAR, wheel_arrangement VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_built FROM table_1157867_2 WHERE wheel_arrangement = \"0-6-0 ST\" AND builder = \"Hudswell Clarke\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score with record of 17-27\n\n### Context:\nCREATE TABLE table_name_6 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_6 WHERE record = \"17-27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of Golds that has Participants smaller than 14, and Rank of 1, and Total larger than 1?\n\n### Context:\nCREATE TABLE table_name_1 (gold INTEGER, total VARCHAR, participants VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_1 WHERE participants < 14 AND rank = 1 AND total > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the number of teams where conmebol 1996 did not qualify?\n\n### Context:\nCREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = \"did not qualify\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is game 9's record?\n\n### Context:\nCREATE TABLE table_name_36 (record VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_36 WHERE game = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Region of the release with Catalog number 3 12046 2?\n\n### Context:\nCREATE TABLE table_name_77 (region VARCHAR, catalog_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_77 WHERE catalog_number = \"3 12046 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the two-mora word with a low tone accented mora and a gloss of /\u02e9kusu\ua71cri/ [k\u026f\u0300s\u026f\u0301\u027d\u00ec]?\n\n### Context:\nCREATE TABLE table_name_53 (two_mora_word VARCHAR, gloss VARCHAR, accented_mora VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT two_mora_word FROM table_name_53 WHERE NOT accented_mora = \"low tone\" AND gloss = \"/\u02e9kusu\ua71cri/ [k\u026f\u0300s\u026f\u0301\u027d\u00ec]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the region 1 (Canada) date associated with a region 1 (US) date of January 16, 2007?\n\n### Context:\nCREATE TABLE table_240936_2 (region_1__can_ VARCHAR, region_1__us_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region_1__can_ FROM table_240936_2 WHERE region_1__us_ = \"January 16, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least internal transfers\n\n### Context:\nCREATE TABLE table_17650725_1 (internal_transfers INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(internal_transfers) FROM table_17650725_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school did Alexander Korobolin go to?\n\n### Context:\nCREATE TABLE table_name_27 (college_junior_club_team__league_ VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_27 WHERE player = \"alexander korobolin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the player from Maylands, Western Australia?\n\n### Context:\nCREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidate FROM table_24501530_1 WHERE hometown = \"Maylands, Western Australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tournament had a score of 6\u20137 (0\u20137) , 6\u20132, 4\u20136?\n\n### Context:\nCREATE TABLE table_name_3 (tournament VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_3 WHERE score = \"6\u20137 (0\u20137) , 6\u20132, 4\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat unit is in Mongolia?\n\n### Context:\nCREATE TABLE table_name_29 (unit VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT unit FROM table_name_29 WHERE location = \"mongolia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent in games over 58, after Feb 16, and having a record of 40-20-4?\n\n### Context:\nCREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = \"40-20-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the earliest game with a record of 16\u20134\u20133?\n\n### Context:\nCREATE TABLE table_name_96 (game INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_96 WHERE record = \"16\u20134\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number is the player that played 1998-2001\n\n### Context:\nCREATE TABLE table_10015132_21 (no INTEGER, years_in_toronto VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no) FROM table_10015132_21 WHERE years_in_toronto = \"1998-2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tyre has 1 round with Dave Charlton driving?\n\n### Context:\nCREATE TABLE table_name_91 (tyre VARCHAR, rounds VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_91 WHERE rounds = \"1\" AND driver = \"dave charlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes in the series has a production code of 111?\n\n### Context:\nCREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(series) FROM table_24425976_2 WHERE production_code = \"111\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the title with presentation of credentials of april 10, 1907\n\n### Context:\nCREATE TABLE table_name_62 (title VARCHAR, presentation_of_credentials VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_62 WHERE presentation_of_credentials = \"april 10, 1907\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record for a game smaller than 24, Lundqvist was the decision, November less than 8, and opponent Was New York Islanders?\n\n### Context:\nCREATE TABLE table_name_57 (record VARCHAR, opponent VARCHAR, november VARCHAR, game VARCHAR, decision VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_57 WHERE game < 24 AND decision = \"lundqvist\" AND november < 8 AND opponent = \"new york islanders\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the call sign is DXYR, what is the branding?\n\n### Context:\nCREATE TABLE table_19874169_3 (branding VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT branding FROM table_19874169_3 WHERE callsign = \"DXYR\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class's call sign is wokg?\n\n### Context:\nCREATE TABLE table_name_44 (class VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_44 WHERE call_sign = \"wokg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the part number that has a turbo of low power?\n\n### Context:\nCREATE TABLE table_name_85 (part_number_s_ VARCHAR, turbo VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT part_number_s_ FROM table_name_85 WHERE turbo = \"low power\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Losses, when Wins is \"16\", and when Against is less than 772?\n\n### Context:\nCREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the season # when ther are 5.3 million U.S viewers?\n\n### Context:\nCREATE TABLE table_29102612_1 (season__number INTEGER, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season__number) FROM table_29102612_1 WHERE us_viewers__millions_ = \"5.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the number of smallpox when typhoid fever is 293\n\n### Context:\nCREATE TABLE table_1007688_1 (smallpox INTEGER, typhoid_fever VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(smallpox) FROM table_1007688_1 WHERE typhoid_fever = 293"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player with a score less than 72 and a to par of +1?\n\n### Context:\nCREATE TABLE table_name_62 (player VARCHAR, score VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_62 WHERE score < 72 AND to_par = \"+1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum snatch score?\n\n### Context:\nCREATE TABLE body_builder (snatch INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(snatch) FROM body_builder"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue had an against smaller than 7?\n\n### Context:\nCREATE TABLE table_name_15 (venue VARCHAR, against INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_15 WHERE against < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum number of losses that the Minnesota Kicks had after 1979 with an average attendance of 16,605?\n\n### Context:\nCREATE TABLE table_name_40 (lost INTEGER, season VARCHAR, avg_attend VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lost) FROM table_name_40 WHERE season > 1979 AND avg_attend = 16 OFFSET 605"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Call Sign that has Tail Code ed?\n\n### Context:\nCREATE TABLE table_name_80 (call_sign VARCHAR, tail_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT call_sign FROM table_name_80 WHERE tail_code = \"ed\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years have a Title of kriegspiel?\n\n### Context:\nCREATE TABLE table_name_16 (year VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_16 WHERE title = \"kriegspiel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many airlines have the star alliance and are in brazil?\n\n### Context:\nCREATE TABLE table_name_13 (rank VARCHAR, alliance VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_13 WHERE alliance = \"star alliance\" AND country = \"brazil\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year had a title of Die Shaolin Affen EP and EP as the type?\n\n### Context:\nCREATE TABLE table_name_50 (year INTEGER, type VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_50 WHERE type = \"ep\" AND title = \"die shaolin affen ep\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the technical number for Jiang Tingting & Jiang Wenwen, and the total was more than 96.334?\n\n### Context:\nCREATE TABLE table_name_77 (technical INTEGER, athlete VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(technical) FROM table_name_77 WHERE athlete = \"jiang tingting & jiang wenwen\" AND total > 96.334"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest issue Arnie Kogen wrote for in December 1964?\n\n### Context:\nCREATE TABLE table_name_12 (issue INTEGER, writer VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(issue) FROM table_name_12 WHERE writer = \"arnie kogen\" AND date = \"december 1964\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Marriage has a Became Duchess of 12 december 1666?\n\n### Context:\nCREATE TABLE table_name_68 (marriage VARCHAR, became_duchess VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT marriage FROM table_name_68 WHERE became_duchess = \"12 december 1666\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many copies per particle does the protein nsp2 have?\n\n### Context:\nCREATE TABLE table_name_46 (copies_per_particle VARCHAR, protein VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT copies_per_particle FROM table_name_46 WHERE protein = \"nsp2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the film that Raymond Massey was nominated for?\n\n### Context:\nCREATE TABLE table_name_94 (film VARCHAR, nominee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film FROM table_name_94 WHERE nominee = \"raymond massey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the incoming head coach is Carlos Azenha, what is the date of vacancy?\n\n### Context:\nCREATE TABLE table_27133147_3 (date_of_vacancy VARCHAR, incoming_head_coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_vacancy FROM table_27133147_3 WHERE incoming_head_coach = \"Carlos Azenha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many teams are listed for February 18?\n\n### Context:\nCREATE TABLE table_15869204_7 (team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team) FROM table_15869204_7 WHERE date = \"February 18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the result for 1998\n\n### Context:\nCREATE TABLE table_25030512_24 (result VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_25030512_24 WHERE first_elected = \"1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich race has a position of 3rd and a speed of 123.628?\n\n### Context:\nCREATE TABLE table_name_90 (race VARCHAR, position VARCHAR, speed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_90 WHERE position = \"3rd\" AND speed = \"123.628\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat comments are made in 1875?\n\n### Context:\nCREATE TABLE table_name_64 (comments VARCHAR, year_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT comments FROM table_name_64 WHERE year_made = \"1875\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Team, when Game is 77?\n\n### Context:\nCREATE TABLE table_name_90 (team VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_90 WHERE game = 77"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of dates of successor formal installation when the vacator was Joshua Clayton ( F )?\n\n### Context:\nCREATE TABLE table_224839_3 (date_of_successors_formal_installation VARCHAR, vacator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date_of_successors_formal_installation) FROM table_224839_3 WHERE vacator = \"Joshua Clayton ( F )\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total gold in Norway with more than 1 bronze?\n\n### Context:\nCREATE TABLE table_name_84 (gold INTEGER, nation VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_84 WHERE nation = \"norway\" AND bronze > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date were the Ottawa Swans the away team?\n\n### Context:\nCREATE TABLE table_name_25 (date VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_25 WHERE away = \"ottawa swans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat location did the event kotc: mortal sins take place?\n\n### Context:\nCREATE TABLE table_name_30 (location VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_30 WHERE event = \"kotc: mortal sins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf second leg is Newell's Old Boys, what name is first leg?\n\n### Context:\nCREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = \"Newell's Old Boys\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival?\n\n### Context:\nCREATE TABLE table_name_41 (tourism_receipts__2011___millions_of_us INTEGER, tourist_arrivals__2011___millions_ VARCHAR, tourism_receipts__2011___us$_per_arrival_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(tourism_receipts__2011___millions_of_us) AS $_ FROM table_name_41 WHERE tourist_arrivals__2011___millions_ < 1.141 AND tourism_receipts__2011___us$_per_arrival_ > 1 OFFSET 449"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the driver when grid is 11?\n\n### Context:\nCREATE TABLE table_name_81 (driver VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_81 WHERE grid = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location for the office whose term ended December 2, 1976\n\n### Context:\nCREATE TABLE table_1602620_1 (location VARCHAR, term_ended VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_1602620_1 WHERE term_ended = \"December 2, 1976\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many grids for heinz-harald frentzen with 61 laps?\n\n### Context:\nCREATE TABLE table_name_12 (grid VARCHAR, laps VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(grid) FROM table_name_12 WHERE laps = 61 AND driver = \"heinz-harald frentzen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the size of the crowd for the home team of Footscray?\n\n### Context:\nCREATE TABLE table_name_28 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_28 WHERE home_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many constructions has a Wheel arrange- ment of 4-4-0?\n\n### Context:\nCREATE TABLE table_name_7 (construct__tion_no INTEGER, wheel_arrange__ment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(construct__tion_no) FROM table_name_7 WHERE wheel_arrange__ment = \"4-4-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Engine for model CF350.\n\n### Context:\nCREATE TABLE table_20866024_4 (engine VARCHAR, model_type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_20866024_4 WHERE model_type = \"CF350\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE AVERAGE WEEK WITH A DATE OF JULY 25?\n\n### Context:\nCREATE TABLE table_name_5 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_5 WHERE date = \"july 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many viewers did the episode directed by David Nutter draw in?\n\n### Context:\nCREATE TABLE table_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = \"David Nutter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen roy richardson 476cc aermacchi is the rider what is the time for saturday august 9th?\n\n### Context:\nCREATE TABLE table_23465864_3 (sat_29_aug VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sat_29_aug FROM table_23465864_3 WHERE rider = \"Roy Richardson 476cc Aermacchi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent when there was 117 rushing yards?\n\n### Context:\nCREATE TABLE table_26108103_2 (opponent VARCHAR, rushing_yards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_26108103_2 WHERE rushing_yards = 117"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the least tonnage grt when the nationality is british and the ship is kidalton?\n\n### Context:\nCREATE TABLE table_name_84 (tonnage_grt INTEGER, nationality VARCHAR, ship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(tonnage_grt) FROM table_name_84 WHERE nationality = \"british\" AND ship = \"kidalton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want to know the method for opponent of jerry bohlander\n\n### Context:\nCREATE TABLE table_name_71 (method VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_71 WHERE opponent = \"jerry bohlander\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?\n\n### Context:\nCREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_25773116_2 WHERE pole_position = \"Daniel Erickson\" AND fastest_lap = \"Cole Morgan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE Ceased to be Duke of Girona THAT HAS PETER IV?\n\n### Context:\nCREATE TABLE table_name_91 (ceased_to_be_duke_of_girona VARCHAR, heir_of VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ceased_to_be_duke_of_girona FROM table_name_91 WHERE heir_of = \"peter iv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest SHTS of Kasey Keller\n\n### Context:\nCREATE TABLE table_name_56 (shts INTEGER, goalkeeper VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(shts) FROM table_name_56 WHERE goalkeeper = \"kasey keller\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party did Thomas L. Young belong to?\n\n### Context:\nCREATE TABLE table_name_58 (party VARCHAR, representative VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_58 WHERE representative = \"thomas l. young\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2007 value for the 2010 wta premier 5 tournaments?\n\n### Context:\nCREATE TABLE table_name_12 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2007 FROM table_name_12 WHERE 2010 = \"wta premier 5 tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich is the earliest founded day school to have entered the competition after 1958?\n\n### Context:\nCREATE TABLE table_name_64 (founded INTEGER, day_boarding VARCHAR, year_entered_competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(founded) FROM table_name_64 WHERE day_boarding = \"day\" AND year_entered_competition > 1958"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCorey Maggette from the United States plays what position?\n\n### Context:\nCREATE TABLE table_name_70 (position VARCHAR, nationality VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_70 WHERE nationality = \"united states\" AND player = \"corey maggette\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most number of leitrim\n\n### Context:\nCREATE TABLE table_1705429_1 (no INTEGER, constituency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no) FROM table_1705429_1 WHERE constituency = \"Leitrim\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent in the final on 5 July 1992?\n\n### Context:\nCREATE TABLE table_name_46 (opponent_in_the_final VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_in_the_final FROM table_name_46 WHERE date = \"5 july 1992\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the away game in week 8?\n\n### Context:\nCREATE TABLE table_name_2 (date VARCHAR, home_away_game VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_2 WHERE home_away_game = \"away\" AND week = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat lifespan has a majors greater than 1, and fuzzy zoeller as the name?\n\n### Context:\nCREATE TABLE table_name_37 (lifespan VARCHAR, majors VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lifespan FROM table_name_37 WHERE majors > 1 AND name = \"fuzzy zoeller\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is home team Chelsea's Tie no?\n\n### Context:\nCREATE TABLE table_name_83 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_83 WHERE home_team = \"chelsea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when playing Milwaukee?\n\n### Context:\nCREATE TABLE table_23186738_10 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_23186738_10 WHERE team = \"Milwaukee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the match report for July 10, 2005?\n\n### Context:\nCREATE TABLE table_name_91 (match_report VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT match_report FROM table_name_91 WHERE date = \"july 10, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the attendance with record of 34-51\n\n### Context:\nCREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_61 WHERE record = \"34-51\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much absorption in nm does the orange dye have?\n\n### Context:\nCREATE TABLE table_26428602_1 (absorb__nm_ INTEGER, color VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(absorb__nm_) FROM table_26428602_1 WHERE color = \"orange\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPole smaller than 0 had what lowest podium?\n\n### Context:\nCREATE TABLE table_name_92 (podium INTEGER, pole INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(podium) FROM table_name_92 WHERE pole < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the unformatted capacity per side if the size is 8in?\n\n### Context:\nCREATE TABLE table_name_42 (unformatted_capacity_per_side VARCHAR, size VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT unformatted_capacity_per_side FROM table_name_42 WHERE size = \"8in\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Record, when Location is \"Boston Garden\", and when Date is \"Fri. Nov. 9\"?\n\n### Context:\nCREATE TABLE table_name_24 (record VARCHAR, location VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_24 WHERE location = \"boston garden\" AND date = \"fri. nov. 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum sellouts for the 2008 year, with less than 161,369 total for year?\n\n### Context:\nCREATE TABLE table_name_89 (sellouts INTEGER, year VARCHAR, total_for_year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(sellouts) FROM table_name_89 WHERE year = 2008 AND total_for_year < 161 OFFSET 369"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of matches with Bonus Pts of 19 and Total Points greater than 421?\n\n### Context:\nCREATE TABLE table_name_36 (matches INTEGER, bonus_pts VARCHAR, total_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(matches) FROM table_name_36 WHERE bonus_pts = 19 AND total_points > 421"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year is Japan the country?\n\n### Context:\nCREATE TABLE table_12243817_1 (year VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_12243817_1 WHERE country = \"Japan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the date of vacancy of Davy Fitzgerald being a replacement?\n\n### Context:\nCREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = \"Davy FitzGerald\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the tournament when 1992 is A?\n\n### Context:\nCREATE TABLE table_name_6 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_6 WHERE 1992 = \"a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich years did raymond floyd win?\n\n### Context:\nCREATE TABLE table_name_43 (year_s__won VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__won FROM table_name_43 WHERE player = \"raymond floyd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Swimming has a Total larger than 35, and a Volleyball of 1?\n\n### Context:\nCREATE TABLE table_name_96 (swimming VARCHAR, total VARCHAR, volleyball VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT swimming FROM table_name_96 WHERE total > 35 AND volleyball = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the film that received an award of \u00a36,245?\n\n### Context:\nCREATE TABLE table_name_10 (director_s_ VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director_s_ FROM table_name_10 WHERE award = \"\u00a36,245\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most gold where silver is 0?\n\n### Context:\nCREATE TABLE table_name_42 (gold INTEGER, silver INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_42 WHERE silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location and attendance for game 60?\n\n### Context:\nCREATE TABLE table_17121262_9 (location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_17121262_9 WHERE game = 60"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average of all Heats of competitors with a Time of 59.11 and a lane higher than 3?\n\n### Context:\nCREATE TABLE table_name_43 (heat INTEGER, time VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(heat) FROM table_name_43 WHERE time = \"59.11\" AND lane > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every total for the University of the Cordilleras UC Dance Squad?\n\n### Context:\nCREATE TABLE table_21995420_6 (total VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_21995420_6 WHERE school = \"University of the Cordilleras UC Dance Squad\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home of the team with a 16-8 record?\n\n### Context:\nCREATE TABLE table_name_81 (home VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_81 WHERE record = \"16-8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?\n\n### Context:\nCREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT version FROM table_2263152_1 WHERE features = \"Service release\" AND distribution_mechanism = \"Windows NT 4.0 Option Pack Microsoft Office 97\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date the successor was seated for the georgia 6th district?\n\n### Context:\nCREATE TABLE table_1446600_4 (date_successor_seated VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_successor_seated FROM table_1446600_4 WHERE district = \"Georgia 6th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of students with a teacher:student ratio of 20.8?\n\n### Context:\nCREATE TABLE table_1414743_1 (students INTEGER, pupil_teacher_ratio VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(students) FROM table_1414743_1 WHERE pupil_teacher_ratio = \"20.8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode with 9.81 million US viewers?\n\n### Context:\nCREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = \"9.81\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the result is d, who are the opponents?\n\n### Context:\nCREATE TABLE table_name_19 (opponents VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_name_19 WHERE result = \"d\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3?\n\n### Context:\nCREATE TABLE table_name_9 (points INTEGER, club VARCHAR, goal_difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_9 WHERE club = \"cf calvo sotelo\" AND goal_difference > -3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?\n\n### Context:\nCREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?. \n\n### Context:\nCREATE TABLE table_20325360_2 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(3 AS rd_runner_up) FROM table_20325360_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the outcome for the match in 1989?\n\n### Context:\nCREATE TABLE table_1399994_5 (outcome VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_1399994_5 WHERE year = \"1989\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Peak Position has a Date of 10 june 1998?\n\n### Context:\nCREATE TABLE table_name_21 (peak_position VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT peak_position FROM table_name_21 WHERE date = \"10 june 1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the order number for the beatles and result is safe\n\n### Context:\nCREATE TABLE table_15796054_3 (order__number VARCHAR, original_artist VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT order__number FROM table_15796054_3 WHERE original_artist = \"The Beatles\" AND result = \"Safe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho write episode number 48 in the series?\n\n### Context:\nCREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_2453243_5 WHERE no_in_series = \"48\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of points scored when there were 1,500 in attendance?\n\n### Context:\nCREATE TABLE table_name_50 (points INTEGER, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_50 WHERE attendance = \"1,500\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the target market for the station on 97.9 fm?\n\n### Context:\nCREATE TABLE table_134987_3 (target_city__market VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT target_city__market FROM table_134987_3 WHERE frequency = \"97.9 FM\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date that a player went to the club Doncaster Rovers?\n\n### Context:\nCREATE TABLE table_name_14 (exit_date VARCHAR, to_club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT exit_date FROM table_name_14 WHERE to_club = \"doncaster rovers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number of signicand with ~34.0 decimal digits and more than 128 total bits?\n\n### Context:\nCREATE TABLE table_name_41 (significand VARCHAR, number_of_decimal_digits VARCHAR, total_bits VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = \"~34.0\" AND total_bits > 128"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat institution had 6 wins and a current streak of won 2?\n\n### Context:\nCREATE TABLE table_1672976_2 (institution VARCHAR, wins VARCHAR, current_streak VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT institution FROM table_1672976_2 WHERE wins = 6 AND current_streak = \"Won 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the OF-4 of Albania?\n\n### Context:\nCREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT of_4 FROM table_name_47 WHERE country = \"albania\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine with the years of 1975-84 has a model of 1600?\n\n### Context:\nCREATE TABLE table_name_29 (engine VARCHAR, model VARCHAR, years VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_29 WHERE model = \"1600\" AND years = \"1975-84\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original Release date of the Track written by Dallas Frazier?\n\n### Context:\nCREATE TABLE table_name_27 (original_release VARCHAR, writer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_release FROM table_name_27 WHERE writer_s_ = \"dallas frazier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the season finale for season 4?\n\n### Context:\nCREATE TABLE table_10819266_8 (season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season AS finale FROM table_10819266_8 WHERE season = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average round the position of RB was drafted?\n\n### Context:\nCREATE TABLE table_name_90 (round INTEGER, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_90 WHERE position = \"rb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the description of the marketing region China?\n\n### Context:\nCREATE TABLE Marketing_Regions (Marketing_Region_Descriptrion VARCHAR, Marketing_Region_Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Marketing_Region_Descriptrion FROM Marketing_Regions WHERE Marketing_Region_Name = \"China\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the alternative names of those satellites where the notes are: mission failed. guidance system failed. no orbit.\n\n### Context:\nCREATE TABLE table_191323_2 (alt_name VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT alt_name FROM table_191323_2 WHERE notes = \"Mission failed. Guidance system failed. No orbit.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Hasan Shah's hometown?\n\n### Context:\nCREATE TABLE table_name_40 (hometown VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_name_40 WHERE name = \"hasan shah\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the artist where the vocal percussionist is Benjamin Holder?\n\n### Context:\nCREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_artist FROM table_28715942_6 WHERE vocal_percussionist = \"Benjamin Holder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of the regions which were affected by the storm that killed the greatest number of people.\n\n### Context:\nCREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE affected_region (region_id VARCHAR, storm_id VARCHAR); CREATE TABLE storm (storm_id VARCHAR, Number_Deaths VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.region_name FROM affected_region AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id JOIN storm AS T3 ON T1.storm_id = T3.storm_id ORDER BY T3.Number_Deaths DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest earnings for the golfer who has more than 37 wins?\n\n### Context:\nCREATE TABLE table_name_90 (earnings___ INTEGER, wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(earnings___) AS $__ FROM table_name_90 WHERE wins > 37"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the smallest assets with a Company of piraeus bank, and a Revenue (US$ billion) smaller than 3.9?\n\n### Context:\nCREATE TABLE table_name_16 (assets__us INTEGER, company VARCHAR, revenues__us$_billion_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(assets__us) AS $_billion_ FROM table_name_16 WHERE company = \"piraeus bank\" AND revenues__us$_billion_ < 3.9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average attendance on October 30, 1938?\n\n### Context:\nCREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_33 WHERE date = \"october 30, 1938\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the smallest grid for Prince bira?\n\n### Context:\nCREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_29 WHERE driver = \"prince bira\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich movies have 'Deleted Scenes' as a substring in the special feature?\n\n### Context:\nCREATE TABLE film (title VARCHAR, special_features VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM film WHERE special_features LIKE '%Deleted Scenes%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the boiler provider for Bhel, India's TG Set provider?\n\n### Context:\nCREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = \"BHEL, India\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the most recent year a height of 2770 m and a HC climb before 1992 was climbed?\n\n### Context:\nCREATE TABLE table_name_56 (most_recent VARCHAR, height__m_ VARCHAR, first_time_as_hc_climb VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(most_recent) FROM table_name_56 WHERE height__m_ = \"2770\" AND first_time_as_hc_climb < 1992"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?\n\n### Context:\nCREATE TABLE table_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_25773116_2 WHERE fastest_lap = \"Victor Carbone\" AND location = \"Braselton, Georgia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of customers who have more than one loan.\n\n### Context:\nCREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name HAVING COUNT(*) > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Thierry Henry's average goal when his rank was higher than 7?\n\n### Context:\nCREATE TABLE table_name_17 (goals INTEGER, player VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(goals) FROM table_name_17 WHERE player = \"thierry henry\" AND rank > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat driver won the VII Rand Grand Prix?\n\n### Context:\nCREATE TABLE table_name_26 (winning_driver VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_26 WHERE race_name = \"vii rand grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the weekly rank of the episode with more than 7.14mil viewers, a nightly rank of 5, and a rating/share of 2.9/10?\n\n### Context:\nCREATE TABLE table_name_73 (rank__week_ VARCHAR, viewers__millions_ VARCHAR, rank__night_ VARCHAR, rating VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank__week_ FROM table_name_73 WHERE viewers__millions_ > 7.14 AND rank__night_ = \"5\" AND rating / SHARE(18 - 49) = 2.9 / 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total End term with a Title of prince regent of bavaria?\n\n### Context:\nCREATE TABLE table_name_88 (end_term INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(end_term) FROM table_name_88 WHERE title = \"prince regent of bavaria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date settled for 40 years?\n\n### Context:\nCREATE TABLE table_1174162_1 (date_first_settled_as_a_suburb VARCHAR, median_age__in_2006_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_first_settled_as_a_suburb FROM table_1174162_1 WHERE median_age__in_2006_ = \"40 years\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlease show the most common reigns of wrestlers.\n\n### Context:\nCREATE TABLE wrestler (Reign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Reign FROM wrestler GROUP BY Reign ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the game number played on April 3?\n\n### Context:\nCREATE TABLE table_27723526_13 (game INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_27723526_13 WHERE date = \"April 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich poll resource provided the most number of candidate information?\n\n### Context:\nCREATE TABLE candidate (poll_source VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT poll_source FROM candidate GROUP BY poll_source ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many round values are associated with Cleveland McCrae?\n\n### Context:\nCREATE TABLE table_name_91 (round VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_91 WHERE player = \"cleveland mccrae\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player won less than $335?\n\n### Context:\nCREATE TABLE table_name_43 (player VARCHAR, money___$__ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_43 WHERE money___$__ < 335"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0jp -210-\u00a0with\u00a0title and source\u00a0being fun! fun! minigolf\n\n### Context:\nCREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = \"Fun! Fun! Minigolf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps did John Love have on a grid less than 11?\n\n### Context:\nCREATE TABLE table_name_18 (laps VARCHAR, grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_name_18 WHERE grid < 11 AND driver = \"john love\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the runner-up from Milwaukee?\n\n### Context:\nCREATE TABLE table_name_27 (runner_up VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_up FROM table_name_27 WHERE city = \"milwaukee\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest attendance by the game that had an away team of Vida?\n\n### Context:\nCREATE TABLE table_name_47 (attendance INTEGER, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_47 WHERE away = \"vida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the D43 associated with a D41 of r 21?\n\n### Context:\nCREATE TABLE table_name_44 (d_43 VARCHAR, d_41 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_43 FROM table_name_44 WHERE d_41 = \"r 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Snatch has a Total (kg) smaller than 257?\n\n### Context:\nCREATE TABLE table_name_79 (snatch INTEGER, total__kg_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(snatch) FROM table_name_79 WHERE total__kg_ < 257"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Party, when Took Office is 1998?\n\n### Context:\nCREATE TABLE table_name_14 (party VARCHAR, took_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_14 WHERE took_office = \"1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round does Bryan Berard do?\n\n### Context:\nCREATE TABLE table_name_64 (round VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_64 WHERE player = \"bryan berard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the production code for november 08, 1985\n\n### Context:\nCREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prod_code FROM table_20967430_2 WHERE original_air_date = \"November 08, 1985\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen belgrano is the home (1st leg) what is the home (2nd leg)?\n\n### Context:\nCREATE TABLE table_14219514_2 (home__2nd_leg_ VARCHAR, home__1st_leg_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home__2nd_leg_ FROM table_14219514_2 WHERE home__1st_leg_ = \"Belgrano\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Constructor for round 5?\n\n### Context:\nCREATE TABLE table_name_58 (constructor VARCHAR, rounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_58 WHERE rounds = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nGoalsagainst of 285, and a Season of 2006\u201307, and a Games smaller than 70 has what average points?\n\n### Context:\nCREATE TABLE table_name_88 (points INTEGER, games VARCHAR, goalsagainst VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(points) FROM table_name_88 WHERE goalsagainst = 285 AND season = \"2006\u201307\" AND games < 70"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the start of stage 11?\n\n### Context:\nCREATE TABLE table_name_8 (start VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start FROM table_name_8 WHERE stage = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times did tunde abdulrahman leave the team?\n\n### Context:\nCREATE TABLE table_28164986_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date_of_vacancy) FROM table_28164986_4 WHERE outgoing_manager = \"Tunde Abdulrahman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Eviction result has a Net vote of 31.86%?\n\n### Context:\nCREATE TABLE table_name_10 (eviction_result VARCHAR, net_vote VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT eviction_result FROM table_name_10 WHERE net_vote = \"31.86%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many gold medals when the total is more than 1 and 18 silver?\n\n### Context:\nCREATE TABLE table_name_80 (gold INTEGER, total VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gold) FROM table_name_80 WHERE total > 1 AND silver = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many field goals were scored by the player that got 7 touchdowns? \n\n### Context:\nCREATE TABLE table_25711913_14 (field_goals__4_points_ VARCHAR, touchdowns__5_points_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT field_goals__4_points_ FROM table_25711913_14 WHERE touchdowns__5_points_ = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the minimum enrollment of the cyclones?\n\n### Context:\nCREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = \"Cyclones\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest points when the second was 4?\n\n### Context:\nCREATE TABLE table_name_12 (points INTEGER, second VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_12 WHERE second = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Round is the lowest one that has a Circuit of donington?\n\n### Context:\nCREATE TABLE table_name_18 (round INTEGER, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_18 WHERE circuit = \"donington\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the result for winner of bc 3\n\n### Context:\nCREATE TABLE table_name_83 (result VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_83 WHERE winner = \"bc 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the m r romaja for kwanbuk\n\n### Context:\nCREATE TABLE table_160510_5 (m_r_romaja VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT m_r_romaja FROM table_160510_5 WHERE region = \"Kwanbuk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played as the away team when they played at Brunswick Street Oval?\n\n### Context:\nCREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_73 WHERE venue = \"brunswick street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record during the event, UFC 27?\n\n### Context:\nCREATE TABLE table_name_14 (record VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_14 WHERE event = \"ufc 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the scorers in round 3?\n\n### Context:\nCREATE TABLE table_name_83 (scorers VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT scorers FROM table_name_83 WHERE round = \"round 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country has a Lead of sarah wazney?\n\n### Context:\nCREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_50 WHERE lead = \"sarah wazney\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the GFL Premiership when the home ground was Leopold Memorial Park?\n\n### Context:\nCREATE TABLE table_name_4 (gfl_premierships VARCHAR, home_ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gfl_premierships FROM table_name_4 WHERE home_ground = \"leopold memorial park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich countries has the most number of airlines whose active status is 'Y'?\n\n### Context:\nCREATE TABLE airlines (country VARCHAR, active VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM airlines WHERE active = 'Y' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season has 36 pld, a bbl div, and 6th position?\n\n### Context:\nCREATE TABLE table_name_87 (season VARCHAR, pos VARCHAR, pld VARCHAR, div VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_87 WHERE pld = \"36\" AND div = \"bbl\" AND pos = \"6th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value for Croats if the value of Roma is 3.1%?\n\n### Context:\nCREATE TABLE table_2374338_2 (croats VARCHAR, roma VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT croats FROM table_2374338_2 WHERE roma = \"3.1%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Mark Joseph Kong's pick?\n\n### Context:\nCREATE TABLE table_name_15 (pick INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_15 WHERE player = \"mark joseph kong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the Best Female Artist where Best R&B Contributor won the Best Male Lyricist?\n\n### Context:\nCREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_lyricist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best_female_artist FROM table_22546460_4 WHERE best_male_lyricist = \"Best R&B Contributor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many number in series's are written by Greg Haddrick?\n\n### Context:\nCREATE TABLE table_21666472_1 (no_in_series VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_series) FROM table_21666472_1 WHERE written_by = \"Greg Haddrick\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?\n\n### Context:\nCREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = \"Burlington - Plattsburgh , Vermont - New York /143\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Date is Week 1?\n\n### Context:\nCREATE TABLE table_name_54 (date VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_54 WHERE week = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many maximum points did Curtis scored?\n\n### Context:\nCREATE TABLE table_25711913_2 (points INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_25711913_2 WHERE player = \"Curtis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is associated with the date July 6, 1949?\n\n### Context:\nCREATE TABLE table_name_93 (player VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_93 WHERE date = \"july 6, 1949\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the visiting team on December 17?\n\n### Context:\nCREATE TABLE table_name_90 (visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_90 WHERE date = \"december 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won Division Southwest when Mad\u017eari Solidarnost won Division North?\n\n### Context:\nCREATE TABLE table_name_4 (division_southwest VARCHAR, division_north VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division_southwest FROM table_name_4 WHERE division_north = \"mad\u017eari solidarnost\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich number was the lyricist ahmed metwally?\n\n### Context:\nCREATE TABLE table_28005100_1 (no VARCHAR, lyricist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_28005100_1 WHERE lyricist = \"Ahmed Metwally\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Position of forward?\n\n### Context:\nCREATE TABLE table_name_18 (player VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_18 WHERE position = \"forward\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFrom which country was the player whose year(s) won was 1983?\n\n### Context:\nCREATE TABLE table_name_9 (country VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_9 WHERE year_s__won = \"1983\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the role for Feb 4, 1961 closing date\n\n### Context:\nCREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT role FROM table_name_49 WHERE closing_date = \"feb 4, 1961\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Venue of the 2009 St. Louis Rams Home game?\n\n### Context:\nCREATE TABLE table_name_58 (venue VARCHAR, year VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_58 WHERE year = 2009 AND home_team = \"st. louis rams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much is the total BBC 2 viewing in 1999?\n\n### Context:\nCREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bbc_two_total_viewing FROM table_name_57 WHERE year = \"1999\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Status, when Date is 10/05/1975?\n\n### Context:\nCREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_33 WHERE date = \"10/05/1975\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opening film has the opening date of august 23?\n\n### Context:\nCREATE TABLE table_18220102_1 (opening_film VARCHAR, date__opening_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opening_film FROM table_18220102_1 WHERE date__opening_ = \"August 23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich season had a home 2-3?\n\n### Context:\nCREATE TABLE table_name_2 (season VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_2 WHERE home = \"2-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow big was the crowd when Geelong was the home team?\n\n### Context:\nCREATE TABLE table_name_96 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_96 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Finish of the Reno Bighorns Wins?\n\n### Context:\nCREATE TABLE table_name_41 (finish VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_41 WHERE wins = \"reno bighorns\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the R1st that has 36 RYds?\n\n### Context:\nCREATE TABLE table_name_49 (r1st VARCHAR, ryds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT r1st FROM table_name_49 WHERE ryds = \"36\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away team when the result was 2\u20131 and home team was the bohemians?\n\n### Context:\nCREATE TABLE table_24949975_1 (away_team VARCHAR, result VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_24949975_1 WHERE result = \"2\u20131\" AND home_team = \"Bohemians\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Run 1, when Run 4 is 1:56.59?\n\n### Context:\nCREATE TABLE table_name_62 (run_1 VARCHAR, run_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT run_1 FROM table_name_62 WHERE run_4 = \"1:56.59\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich TV Time has a Date of january 2, 2005?\n\n### Context:\nCREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tv_time FROM table_name_23 WHERE date = \"january 2, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many clubs were remaining in the preliminary round?\n\n### Context:\nCREATE TABLE table_28039032_1 (clubs_remaining VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT clubs_remaining FROM table_28039032_1 WHERE round = \"Preliminary round\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was Richmond hosted as the away team?\n\n### Context:\nCREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_50 WHERE away_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the country for geoff ogilvy?\n\n### Context:\nCREATE TABLE table_name_88 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_88 WHERE player = \"geoff ogilvy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Score on February 18, 2008?\n\n### Context:\nCREATE TABLE table_name_32 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_32 WHERE date = \"february 18, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?\n\n### Context:\nCREATE TABLE table_name_2 (total VARCHAR, gold VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_2 WHERE gold = 2 AND nation = \"brazil (bra)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich tournament was the champion nick saviano florin seg\u0103rceanu 6\u20133, 6\u20134?\n\n### Context:\nCREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_29296103_10 WHERE champion = \"Nick Saviano Florin Seg\u0103rceanu 6\u20133, 6\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Purpose has a Location of enewetak, runit (yvonne) and the Name of cactus?\n\n### Context:\nCREATE TABLE table_name_96 (purpose VARCHAR, location VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT purpose FROM table_name_96 WHERE location = \"enewetak, runit (yvonne)\" AND name = \"cactus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percentage of wins has 48 losses?\n\n### Context:\nCREATE TABLE table_name_4 (win__percentage VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT win__percentage FROM table_name_4 WHERE losses = \"48\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the prominence in m of moussa ali terara peak?\n\n### Context:\nCREATE TABLE table_name_88 (prominence__m_ INTEGER, peak VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(prominence__m_) FROM table_name_88 WHERE peak = \"moussa ali terara\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat RECNet has elk lake as the city of license?\n\n### Context:\nCREATE TABLE table_name_57 (recnet VARCHAR, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT recnet FROM table_name_57 WHERE city_of_license = \"elk lake\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the place of birth for the delegate who took office after 1982, delegates a district smaller than 43 and belongs to a Health and Government operations committee?\n\n### Context:\nCREATE TABLE table_name_31 (place_of_birth VARCHAR, committee VARCHAR, took_office VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place_of_birth FROM table_name_31 WHERE took_office > 1982 AND district < 43 AND committee = \"health and government operations\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTotal games for smaller than 15 points, date of november 15, and larger that 13,722 in attendance?\n\n### Context:\nCREATE TABLE table_name_2 (game VARCHAR, attendance VARCHAR, points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_name_2 WHERE points < 15 AND date = \"november 15\" AND attendance > 13 OFFSET 722"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sydney with perth of no, adelaide of no with melbourne of yes and gold coast of yes\n\n### Context:\nCREATE TABLE table_name_53 (sydney VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, perth VARCHAR, adelaide VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sydney FROM table_name_53 WHERE perth = \"no\" AND adelaide = \"no\" AND melbourne = \"yes\" AND gold_coast = \"yes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game that had a loss of Leonard (7\u20138)?\n\n### Context:\nCREATE TABLE table_name_82 (opponent VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_82 WHERE loss = \"leonard (7\u20138)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Drawn has Points smaller than 46, and a Position smaller than 20, and a Lost smaller than 19, and an Against of 56?\n\n### Context:\nCREATE TABLE table_name_7 (drawn VARCHAR, against VARCHAR, lost VARCHAR, points VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drawn FROM table_name_7 WHERE points < 46 AND position < 20 AND lost < 19 AND against = 56"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total for Canada during round 2?\n\n### Context:\nCREATE TABLE table_name_12 (overall VARCHAR, nationality VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall FROM table_name_12 WHERE nationality = \"canada\" AND round = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date had a CD format, under Columbia/Legacy from the UK?\n\n### Context:\nCREATE TABLE table_name_77 (date VARCHAR, country VARCHAR, format VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_77 WHERE format = \"cd\" AND label = \"columbia/legacy\" AND country = \"uk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich category was william ivey long a nominee and nominated in?\n\n### Context:\nCREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_55 WHERE result = \"nominated\" AND nominee = \"william ivey long\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the game with an attendance of 18304, what was the final score?\n\n### Context:\nCREATE TABLE table_17294353_1 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_17294353_1 WHERE attendance = 18304"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n What club is associated with draft number 155? \n\n### Context:\nCREATE TABLE table_2679061_8 (nhl_team VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_2679061_8 WHERE pick__number = 155"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen mixed doubles is didit juang indrianto yayu rahayu what is the most current year?\n\n### Context:\nCREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = \"Didit Juang Indrianto Yayu Rahayu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the tyre for the peugeot a20 engine?\n\n### Context:\nCREATE TABLE table_name_40 (tyre VARCHAR, engine_\u2020 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_40 WHERE engine_\u2020 = \"peugeot a20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won Silver in 2000?\n\n### Context:\nCREATE TABLE table_name_53 (silver VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_53 WHERE year = 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the build date when total produced is 2?\n\n### Context:\nCREATE TABLE table_name_80 (build_date VARCHAR, total_produced VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT build_date FROM table_name_80 WHERE total_produced = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percentage of the votes did McCain get in Hinds?\n\n### Context:\nCREATE TABLE table_20799587_1 (mccain_percentage VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mccain_percentage FROM table_20799587_1 WHERE county = \"Hinds\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner on the Amaroo Park circuit?\n\n### Context:\nCREATE TABLE table_name_38 (winner VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_38 WHERE circuit = \"amaroo park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number that had a rank larger than 17 and a gold greater than 0?\n\n### Context:\nCREATE TABLE table_name_73 (total VARCHAR, rank VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_73 WHERE rank > 17 AND gold > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the ids of the students who participate in Canoeing and Kayaking.\n\n### Context:\nCREATE TABLE activity (actid VARCHAR, activity_name VARCHAR); CREATE TABLE participates_in (stuid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Canoeing' INTERSECT SELECT T1.stuid FROM participates_in AS T1 JOIN activity AS T2 ON T2.actid = T2.actid WHERE T2.activity_name = 'Kayaking'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the attendance when the away team was boreham wood?\n\n### Context:\nCREATE TABLE table_name_84 (attendance VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_84 WHERE away_team = \"boreham wood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the distinguished service cross when the navy cross is Coast Guard commendation medal?\n\n### Context:\nCREATE TABLE table_2104176_1 (distinguished_service_cross VARCHAR, navy_cross VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distinguished_service_cross FROM table_2104176_1 WHERE navy_cross = \"Coast Guard Commendation Medal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the language of classes in the school founded in 1874?\n\n### Context:\nCREATE TABLE table_1930857_1 (language VARCHAR, year_founded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_1930857_1 WHERE year_founded = \"1874\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many teams came in fourth when Otsuka Pharmaceuticals won?\n\n### Context:\nCREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = \"Otsuka Pharmaceuticals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Population (2011) has a Land area (km\u00b2) larger than 15.69, and a Population density (per km\u00b2) larger than 57.3?\n\n### Context:\nCREATE TABLE table_name_28 (population__2011_ INTEGER, land_area__km\u00b2_ VARCHAR, population_density__per_km\u00b2_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(population__2011_) FROM table_name_28 WHERE land_area__km\u00b2_ > 15.69 AND population_density__per_km\u00b2_ > 57.3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Architecture and modelling has a Unit test of no, and a Projects templates of limited?\n\n### Context:\nCREATE TABLE table_name_5 (architecture_and_modelling VARCHAR, unit_test VARCHAR, projects_templates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT architecture_and_modelling FROM table_name_5 WHERE unit_test = \"no\" AND projects_templates = \"limited\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score from the Sacramento monarchs from the west and the Connecticut sun from the east?\n\n### Context:\nCREATE TABLE table_name_83 (result VARCHAR, western_champion VARCHAR, eastern_champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_83 WHERE western_champion = \"sacramento monarchs\" AND eastern_champion = \"connecticut sun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average age for each gender?\n\n### Context:\nCREATE TABLE Person (gender VARCHAR, age INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(age), gender FROM Person GROUP BY gender"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of results for octubre\n\n### Context:\nCREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_20963074_1 WHERE original_title = \"Octubre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich driver had less than 65 laps for Sigma Autosport?\n\n### Context:\nCREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_64 WHERE laps < 65 AND team = \"sigma autosport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season had a game in the first round with a result of 4\u20131, 0\u20131?\n\n### Context:\nCREATE TABLE table_name_87 (season VARCHAR, round VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_87 WHERE round = \"first round\" AND result = \"4\u20131, 0\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses had more than 122 years and more than 1244 total games?\n\n### Context:\nCREATE TABLE table_name_2 (lost INTEGER, years VARCHAR, total_games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_2 WHERE years > 122 AND total_games > 1244"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich School has a Year Joined larger than 1926, and a Mascot of vikings?\n\n### Context:\nCREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = \"vikings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT DATE HAS A CATALOG OF 486553.4?\n\n### Context:\nCREATE TABLE table_name_70 (date INTEGER, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(date) FROM table_name_70 WHERE catalog = \"486553.4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the episode that was written by Scott M. Gimple?\n\n### Context:\nCREATE TABLE table_27450976_1 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_27450976_1 WHERE written_by = \"Scott M. Gimple\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nReport the first name and last name of all the teachers.\n\n### Context:\nCREATE TABLE teachers (firstname VARCHAR, lastname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT firstname, lastname FROM teachers"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the relationship of the woman who died at 96?\n\n### Context:\nCREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT relationship FROM table_name_95 WHERE age_at_death = \"96\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had a score of 68-67=135?\n\n### Context:\nCREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_98 WHERE score = 68 - 67 = 135"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what season was there a club of South Melbourne?\n\n### Context:\nCREATE TABLE table_name_75 (season VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_75 WHERE club = \"south melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did the Rockets play Memphis?\n\n### Context:\nCREATE TABLE table_17288825_9 (date VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_17288825_9 WHERE team = \"Memphis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich BR number has an LMS number over 14768?\n\n### Context:\nCREATE TABLE table_name_5 (br_number VARCHAR, lms_number INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT br_number FROM table_name_5 WHERE lms_number > 14768"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Venue is Riyadh, Saudi Arabia, and when Result is \"Win\"?\n\n### Context:\nCREATE TABLE table_name_22 (score VARCHAR, venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_22 WHERE venue = \"riyadh, saudi arabia\" AND result = \"win\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many numbers were recorded on the fields goals of the Left End player?\n\n### Context:\nCREATE TABLE table_25711913_2 (field_goals VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(field_goals) FROM table_25711913_2 WHERE position = \"Left end\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Surface, when Score in Final is 3-6, 6-3, 6-2?\n\n### Context:\nCREATE TABLE table_name_23 (surface VARCHAR, score_in_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_23 WHERE score_in_final = \"3-6, 6-3, 6-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date and time has a sub-orbital of orbit, a function of aeronomy research, and a Nike Orion rocket, as well as a Poker Flat site?\n\n### Context:\nCREATE TABLE table_name_23 (date_and_time___utc__ VARCHAR, site VARCHAR, rocket VARCHAR, orbit VARCHAR, function VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_and_time___utc__ FROM table_name_23 WHERE orbit = \"sub-orbital\" AND function = \"aeronomy research\" AND rocket = \"nike orion\" AND site = \"poker flat\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score at mcg venue and footscray opponent\n\n### Context:\nCREATE TABLE table_name_13 (score VARCHAR, venue VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_13 WHERE venue = \"mcg\" AND opponent = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Mascot has an IHSAA Class of aaa, and a Location of russiaville?\n\n### Context:\nCREATE TABLE table_name_53 (mascot VARCHAR, ihsaa_class VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_name_53 WHERE ihsaa_class = \"aaa\" AND location = \"russiaville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has a Club/province of direito, less than 21 caps, and a Position of lock?\n\n### Context:\nCREATE TABLE table_name_99 (player VARCHAR, position VARCHAR, club_province VARCHAR, caps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_99 WHERE club_province = \"direito\" AND caps < 21 AND position = \"lock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when Ray Roberts was elected?\n\n### Context:\nCREATE TABLE table_1341718_44 (result VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1341718_44 WHERE incumbent = \"Ray Roberts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen John Harkes was the color commentator, and Alexi Lalas and Steve McManaman were the pregame analysts, who were the sideline reporters?\n\n### Context:\nCREATE TABLE table_name_84 (sideline_reporters VARCHAR, color_commentator VARCHAR, pregame_analysts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sideline_reporters FROM table_name_84 WHERE color_commentator = \"john harkes\" AND pregame_analysts = \"alexi lalas and steve mcmanaman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the home team was Stockport County?\n\n### Context:\nCREATE TABLE table_name_73 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_73 WHERE home_team = \"stockport county\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\ndisplay the department name and number of employees in each of the department.\n\n### Context:\nCREATE TABLE departments (department_name VARCHAR, department_id VARCHAR); CREATE TABLE employees (department_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number corresponds to Presidet Yves Krattinger of the Socialist party?\n\n### Context:\nCREATE TABLE table_name_14 (number VARCHAR, party VARCHAR, pr\u00e9sident VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number FROM table_name_14 WHERE party = \"socialist party\" AND pr\u00e9sident = \"yves krattinger\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat average week has october 8, 1950 as the date?\n\n### Context:\nCREATE TABLE table_name_8 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_8 WHERE date = \"october 8, 1950\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week of the season did the date December 2, 1962 fall on?\n\n### Context:\nCREATE TABLE table_14984078_1 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_14984078_1 WHERE date = \"December 2, 1962\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0\u20131 ot?\n\n### Context:\nCREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = \"0\u20131 ot\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Length of retirement of the President with an Age at inauguration of 70years, 53days?\n\n### Context:\nCREATE TABLE table_name_51 (length_of_retirement VARCHAR, age_at_inauguration VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT length_of_retirement FROM table_name_51 WHERE age_at_inauguration = \"70years, 53days\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the away team was geelong, what was the away team score?\n\n### Context:\nCREATE TABLE table_name_7 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_7 WHERE away_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich round was the winning constructor was Benetton - Ford and in the Pole Position was Damon Hill?\n\n### Context:\nCREATE TABLE table_1137702_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_1137702_3 WHERE winning_constructor = \"Benetton - Ford\" AND pole_position = \"Damon Hill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Attendance, when Visitor is Toronto?\n\n### Context:\nCREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_71 WHERE visitor = \"toronto\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the nationality is united states, and the time is 58.06, and the heat is larger than 5 what is the lowest rank?\n\n### Context:\nCREATE TABLE table_name_6 (rank INTEGER, heat VARCHAR, nationality VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_6 WHERE nationality = \"united states\" AND time = \"58.06\" AND heat > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode with the production code 2-19?\n\n### Context:\nCREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_234886_3 WHERE prod_code = \"2-19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day is collingwood the home side?\n\n### Context:\nCREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_79 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record for the game on November 28 when the decision was Backstrom?\n\n### Context:\nCREATE TABLE table_name_69 (record VARCHAR, decision VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_69 WHERE decision = \"backstrom\" AND date = \"november 28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the catalogue with song title of love me tonight\n\n### Context:\nCREATE TABLE table_name_33 (catalogue VARCHAR, song_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalogue FROM table_name_33 WHERE song_title = \"love me tonight\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had highest assists in game against Utah?\n\n### Context:\nCREATE TABLE table_28768469_5 (high_assists VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_28768469_5 WHERE team = \"Utah\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the game for june 7\n\n### Context:\nCREATE TABLE table_18894744_5 (game VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_18894744_5 WHERE date = \"June 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is HSN's official virtual channel in Minneapolis-St. Paul?\n\n### Context:\nCREATE TABLE table_1404984_1 (virtual_channel VARCHAR, network VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT virtual_channel FROM table_1404984_1 WHERE network = \"HSN\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007?\n\n### Context:\nCREATE TABLE table_name_35 (miss_air__1st_runner_up_ VARCHAR, year VARCHAR, miss_water__2nd_runner_up_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT miss_air__1st_runner_up_ FROM table_name_35 WHERE year < 2007 AND miss_water__2nd_runner_up_ = \"catherine untalan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score for the Date of April 23?\n\n### Context:\nCREATE TABLE table_name_69 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_69 WHERE date = \"april 23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Constructor at the Argentine Grand Prix?\n\n### Context:\nCREATE TABLE table_name_21 (constructor VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_21 WHERE race = \"argentine grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the the\u00a0womens doubles\u00a0with\u00a0mens doubles\u00a0being leopold bauer alfred kohlhauser\n\n### Context:\nCREATE TABLE table_15002265_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT womens_doubles FROM table_15002265_1 WHERE mens_doubles = \"Leopold Bauer Alfred Kohlhauser\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Game on May 24 with Road Team Seattle?\n\n### Context:\nCREATE TABLE table_name_76 (game VARCHAR, road_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_76 WHERE road_team = \"seattle\" AND date = \"may 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number for simon cellan jones\n\n### Context:\nCREATE TABLE table_26914076_2 (no VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_26914076_2 WHERE directed_by = \"Simon Cellan Jones\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich mideast regional state contains the city of Seattle?\n\n### Context:\nCREATE TABLE table_name_53 (state VARCHAR, region VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_53 WHERE region = \"mideast\" AND city = \"seattle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game that had a loss of Bell (6\u20139)?\n\n### Context:\nCREATE TABLE table_name_96 (opponent VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_96 WHERE loss = \"bell (6\u20139)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of the team with a T score greater than 8 and an E score less than 8.4?\n\n### Context:\nCREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all director names who have a movie in both year 1999 and 2000.\n\n### Context:\nCREATE TABLE movie (director VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lenth (miles) of endpoints westlake/macarthur park to wilshire/western?\n\n### Context:\nCREATE TABLE table_1817879_2 (length__miles_ VARCHAR, endpoints VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT length__miles_ FROM table_1817879_2 WHERE endpoints = \"Westlake/MacArthur Park to Wilshire/Western\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the church in the Sub-Parish of Fresvik called?\n\n### Context:\nCREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = \"fresvik\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nominated Work won in 2000?\n\n### Context:\nCREATE TABLE table_name_15 (nominated_work VARCHAR, year VARCHAR, results VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nominated_work FROM table_name_15 WHERE year = 2000 AND results = \"won\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different meanings does the verb with part 4 gegeven have?\n\n### Context:\nCREATE TABLE table_1745843_7 (verb_meaning VARCHAR, part_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(verb_meaning) FROM table_1745843_7 WHERE part_4 = \"gegeven\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has a 2-6 agg.?\n\n### Context:\nCREATE TABLE table_name_8 (position VARCHAR, agg VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_8 WHERE agg = \"2-6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the power that belongs to Class A with an Identifier of CBOC-FM?\n\n### Context:\nCREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power FROM table_name_90 WHERE class = \"a\" AND identifier = \"cboc-fm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the season number of the episode directed by Donald Crombie and the series number is 40?\n\n### Context:\nCREATE TABLE table_16175064_3 (season__number VARCHAR, director_s_ VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season__number FROM table_16175064_3 WHERE director_s_ = \"Donald Crombie\" AND series__number = 40"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many division did not qualify for u.s. open cup in 2003\n\n### Context:\nCREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division FROM table_1046170_5 WHERE us_open_cup = \"Did Not Qualify\" AND year = 2003"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many total Rank listings have Liu Xiaosheng listed as the athlete with a react entry that is smaller than 0.245?\n\n### Context:\nCREATE TABLE table_name_16 (rank VARCHAR, athlete VARCHAR, react VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_16 WHERE athlete = \"liu xiaosheng\" AND react < 0.245"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the home game against Accrington?\n\n### Context:\nCREATE TABLE table_name_65 (date VARCHAR, team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_65 WHERE team = \"accrington\" AND venue = \"home\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names of countries that have both players with position forward and players with position defender?\n\n### Context:\nCREATE TABLE country (Country_name VARCHAR, Country_id VARCHAR); CREATE TABLE match_season (Country VARCHAR, Position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = \"Forward\" INTERSECT SELECT T1.Country_name FROM country AS T1 JOIN match_season AS T2 ON T1.Country_id = T2.Country WHERE T2.Position = \"Defender\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich province had fewer than 190 South Asians in 2001 and 115 South Asians in 2011?\n\n### Context:\nCREATE TABLE table_name_56 (province VARCHAR, south_asians_2001 VARCHAR, south_asians_2011 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province FROM table_name_56 WHERE south_asians_2001 < 190 AND south_asians_2011 = 115"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most 3 car sets\n\n### Context:\nCREATE TABLE table_19255192_2 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(3 AS _car_sets) FROM table_19255192_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party had an incumbent of W. Jasper Talbert?\n\n### Context:\nCREATE TABLE table_name_70 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_70 WHERE incumbent = \"w. jasper talbert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the yacht where 12 is the overall place?\n\n### Context:\nCREATE TABLE table_name_28 (yacht_name VARCHAR, overall_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT yacht_name FROM table_name_28 WHERE overall_place = \"12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is in 2007 has 2004 olympic games?\n\n### Context:\nCREATE TABLE table_name_16 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2007 FROM table_name_16 WHERE 2004 = \"olympic games\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date which has a home team of north melbourne\n\n### Context:\nCREATE TABLE table_name_3 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_3 WHERE home_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest score for Black Milk?\n\n### Context:\nCREATE TABLE table_name_29 (average_score INTEGER, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(average_score) FROM table_name_29 WHERE artist = \"black milk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the man of the match when the Rockets won by 9 wickets? \n\n### Context:\nCREATE TABLE table_19576091_1 (man_of_the_match VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT man_of_the_match FROM table_19576091_1 WHERE result = \"Rockets won by 9 wickets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team?\n\n### Context:\nCREATE TABLE table_name_92 (visiting_team VARCHAR, host_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_92 WHERE host_team = \"jacksonville jaguars\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich professionals have done at least two types of treatments? List the professional id and cell phone.\n\n### Context:\nCREATE TABLE Professionals (professional_id VARCHAR, cell_number VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.professional_id, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has parlophone as the label, and lp as a format?\n\n### Context:\nCREATE TABLE table_name_17 (date VARCHAR, label VARCHAR, format VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_17 WHERE label = \"parlophone\" AND format = \"lp\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the sales breakdown for Nintendo's Mario Kart DS?\n\n### Context:\nCREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sales_breakdown FROM table_21458142_1 WHERE publisher = \"Nintendo\" AND title = \"Mario Kart DS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which host city was Margaret Thatcher the President-in-Office in 1981?\n\n### Context:\nCREATE TABLE table_name_85 (host_city VARCHAR, president_in_office VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host_city FROM table_name_85 WHERE president_in_office = \"margaret thatcher\" AND year = 1981"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of the top 10 airlines that operate the most number of routes.\n\n### Context:\nCREATE TABLE airlines (name VARCHAR, alid VARCHAR); CREATE TABLE routes (alid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, T2.alid FROM airlines AS T1 JOIN routes AS T2 ON T1.alid = T2.alid GROUP BY T2.alid ORDER BY COUNT(*) DESC LIMIT 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the surface when the us open is the championship in the year 1979?\n\n### Context:\nCREATE TABLE table_22860698_2 (surface VARCHAR, championship VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_22860698_2 WHERE championship = \"US Open\" AND year = 1979"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat party has an incumbent of Stanyarne Wilson?\n\n### Context:\nCREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_86 WHERE incumbent = \"stanyarne wilson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of nurses who are nursing an undergoing treatment.\n\n### Context:\nCREATE TABLE undergoes (AssistingNurse VARCHAR); CREATE TABLE nurse (name VARCHAR, EmployeeID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T2.name FROM undergoes AS T1 JOIN nurse AS T2 ON T1.AssistingNurse = T2.EmployeeID"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?\n\n### Context:\nCREATE TABLE table_name_96 (attendance INTEGER, leading_scorer VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_96 WHERE leading_scorer = \"tim duncan (24)\" AND home = \"spurs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played against the away team hereford united?\n\n### Context:\nCREATE TABLE table_name_16 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_16 WHERE away_team = \"hereford united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the minimum\u00a0rnd\u00a0with\u00a0race\u00a0 italian grand prix\n\n### Context:\nCREATE TABLE table_1140080_2 (rnd INTEGER, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rnd) FROM table_1140080_2 WHERE race = \"Italian Grand Prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average pick for Princeton after round 3?\n\n### Context:\nCREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = \"princeton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses have corinthians as the team, with an against greater than 26?\n\n### Context:\nCREATE TABLE table_name_32 (lost INTEGER, team VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_32 WHERE team = \"corinthians\" AND against > 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn how many locations is there a church named Askrova Bedehuskapell, built in 1957?\n\n### Context:\nCREATE TABLE table_178381_1 (location_of_the_church VARCHAR, year_built VARCHAR, church_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location_of_the_church) FROM table_178381_1 WHERE year_built = \"1957\" AND church_name = \"Askrova bedehuskapell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat type of record was made where result/games is 10 games (29,606 avg.)\n\n### Context:\nCREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type_of_record FROM table_21436373_12 WHERE result_games = \"10 games (29,606 avg.)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of song for solydo\n\n### Context:\nCREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(song) FROM table_19763199_5 WHERE artist = \"Solydo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the highest Gold that has the Bronze larger than 3, and the Total smaller than 24?\n\n### Context:\nCREATE TABLE table_name_15 (gold INTEGER, bronze VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(gold) FROM table_name_15 WHERE bronze > 3 AND total < 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Artist has an Issue Price of $8,159.95?\n\n### Context:\nCREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT artist FROM table_name_11 WHERE issue_price = \"$8,159.95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the entrant when the year is less than 1953?\n\n### Context:\nCREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_97 WHERE year < 1953"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the fastest lap in a race where Phil Hill had the Pole position and was won by Wolfgang von Trips?\n\n### Context:\nCREATE TABLE table_name_36 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_name_36 WHERE pole_position = \"phil hill\" AND winning_driver = \"wolfgang von trips\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Player has a To par of \u20132?\n\n### Context:\nCREATE TABLE table_name_20 (player VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_20 WHERE to_par = \"\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen aaron brooks (6) had the highest amount of assists what is the date?\n\n### Context:\nCREATE TABLE table_17288825_6 (date VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_17288825_6 WHERE high_assists = \"Aaron Brooks (6)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich constellation has hd 75732 as a destignation HD?\n\n### Context:\nCREATE TABLE table_name_38 (constellation VARCHAR, designation_hd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constellation FROM table_name_38 WHERE designation_hd = \"hd 75732\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school has the nickname of Cardinals?\n\n### Context:\nCREATE TABLE table_name_9 (founded INTEGER, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(founded) FROM table_name_9 WHERE nickname = \"cardinals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Hanja for McCune-Reischauer of ch\u014fn?\n\n### Context:\nCREATE TABLE table_name_56 (hanja VARCHAR, mccune_reischauer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hanja FROM table_name_56 WHERE mccune_reischauer = \"ch\u014fn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the unanimous result of the player from Michigan Dartmouth?\n\n### Context:\nCREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT unanimous FROM table_name_78 WHERE school = \"michigan dartmouth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n who is the\u00a0dudley tuckey medal\u00a0where\u00a0leading goalkicker\u00a0is scott simister (46)\n\n### Context:\nCREATE TABLE table_1165048_1 (dudley_tuckey_medal VARCHAR, leading_goalkicker VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dudley_tuckey_medal FROM table_1165048_1 WHERE leading_goalkicker = \"Scott Simister (46)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Finals has a A-League of 0 6, and a Pre-Season larger than 0?\n\n### Context:\nCREATE TABLE table_name_12 (finals INTEGER, a_league VARCHAR, pre_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(finals) FROM table_name_12 WHERE a_league = \"0 6\" AND pre_season > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Particle has a Makeup of d s s and a Spin (Parity) J P of 3\u20442 +?\n\n### Context:\nCREATE TABLE table_name_85 (particle VARCHAR, makeup VARCHAR, spin___parity___j_p VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT particle FROM table_name_85 WHERE makeup = \"d s s\" AND spin___parity___j_p = \"3\u20442 +\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the id of students who registered some courses and the number of their registered courses?\n\n### Context:\nCREATE TABLE students (student_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.student_id, COUNT(*) FROM students AS T1 JOIN student_course_registrations AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance for St Andrew's?\n\n### Context:\nCREATE TABLE table_name_17 (attendance VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_17 WHERE venue = \"st andrew's\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRound 1 of 71 has how many highest money?\n\n### Context:\nCREATE TABLE table_name_33 (money__ INTEGER, round_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(money__) AS $_ FROM table_name_33 WHERE round_1 = \"71\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the D 43 when it has D 45 of d 25\n\n### Context:\nCREATE TABLE table_name_45 (d_43 VARCHAR, d_45 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_43 FROM table_name_45 WHERE d_45 = \"d 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the Ohio 4 district, that is the first elected date that has a result of re-elected?\n\n### Context:\nCREATE TABLE table_name_66 (first_elected INTEGER, result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(first_elected) FROM table_name_66 WHERE result = \"re-elected\" AND district = \"ohio 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAccording to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. party?\n\n### Context:\nCREATE TABLE table_name_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT prog_cons FROM table_name_63 WHERE polling_firm = \"corporate research associates\" AND liberal = \"31%\" AND dates = \"february 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe canadian airdate of 11 february 2008 applied to what series number?\n\n### Context:\nCREATE TABLE table_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_series) FROM table_10935205_1 WHERE canadian_airdate = \"11 February 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which Game 4 did Michael O'Connor play wing position?\n\n### Context:\nCREATE TABLE table_name_8 (game_4 VARCHAR, position VARCHAR, game_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_4 FROM table_name_8 WHERE position = \"wing\" AND game_1 = \"michael o'connor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest average of the contestant from Texas with an evening gown larger than 8.875?\n\n### Context:\nCREATE TABLE table_name_57 (average INTEGER, state VARCHAR, evening_gown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(average) FROM table_name_57 WHERE state = \"texas\" AND evening_gown > 8.875"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue did he finish 7th?\n\n### Context:\nCREATE TABLE table_name_55 (venue VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_55 WHERE position = \"7th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the host in Georgia?\n\n### Context:\nCREATE TABLE table_name_51 (host VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host FROM table_name_51 WHERE state = \"georgia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the host city of the 8th edition in the the host country of Croatia?\n\n### Context:\nCREATE TABLE table_26669939_1 (host_city VARCHAR, host_country VARCHAR, edition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host_city FROM table_26669939_1 WHERE host_country = \"Croatia\" AND edition = \"8th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes had a viewership of 2.65 million?\n\n### Context:\nCREATE TABLE table_18274425_1 (no_in_season VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_season) FROM table_18274425_1 WHERE us_viewers__millions_ = \"2.65\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Nation - athlete(s), when the Sport is luge - men's singles, and when the Record is, \"track\"?\n\n### Context:\nCREATE TABLE table_name_12 (nation___athlete_s_ VARCHAR, sport VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation___athlete_s_ FROM table_name_12 WHERE sport = \"luge - men's singles\" AND record = \"track\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n who is the\u00a0winners\u00a0where\u00a0season result\u00a0is 9th\n\n### Context:\nCREATE TABLE table_1139835_3 (winners VARCHAR, season_result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winners FROM table_1139835_3 WHERE season_result = \"9th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the place when the score is 68-67-73-68=276?\n\n### Context:\nCREATE TABLE table_name_20 (place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 276"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich championship has a margin of 8 strokes?\n\n### Context:\nCREATE TABLE table_name_89 (championship VARCHAR, margin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship FROM table_name_89 WHERE margin = \"8 strokes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Tournament has a 2007 of 19\u20134?\n\n### Context:\nCREATE TABLE table_name_3 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_3 WHERE 2007 = \"19\u20134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the venue for eng by 6 wkts\n\n### Context:\nCREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_46 WHERE result = \"eng by 6 wkts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the high points for the date of november 24\n\n### Context:\nCREATE TABLE table_17323529_5 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_17323529_5 WHERE date = \"November 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points is the highest one that has a Position of 5, and a Played smaller than 18?\n\n### Context:\nCREATE TABLE table_name_80 (points INTEGER, position VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_80 WHERE position = 5 AND played < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich semesters do not have any student enrolled? List the semester name.\n\n### Context:\nCREATE TABLE Student_Enrolment (semester_name VARCHAR, semester_id VARCHAR); CREATE TABLE Semesters (semester_name VARCHAR, semester_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semester_name FROM Semesters WHERE NOT semester_id IN (SELECT semester_id FROM Student_Enrolment)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Wins, when Losses is less than 10, when Against is less than 1253, and when Byes is less than 0?\n\n### Context:\nCREATE TABLE table_name_42 (wins VARCHAR, byes VARCHAR, losses VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_42 WHERE losses < 10 AND against < 1253 AND byes < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the route of administration that has several ongoing and complete?\n\n### Context:\nCREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT route_of_administration FROM table_name_4 WHERE status = \"several ongoing and complete\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSrdjan Dragojevic worked on a film which earned what nomination?\n\n### Context:\nCREATE TABLE table_10236830_4 (nomination VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nomination FROM table_10236830_4 WHERE director = \"Srdjan Dragojevic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is teh average amount of goals for club real avil\u00e9s cf, which has more than 59 goals against and a -10 goal difference?\n\n### Context:\nCREATE TABLE table_name_53 (goals_for INTEGER, goal_difference VARCHAR, goals_against VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(goals_for) FROM table_name_53 WHERE goals_against > 59 AND club = \"real avil\u00e9s cf\" AND goal_difference > -10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?\n\n### Context:\nCREATE TABLE table_name_15 (no_7 VARCHAR, no_4 VARCHAR, no_10 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_7 FROM table_name_15 WHERE no_4 = \"madison\" AND no_10 = \"amelia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the year for victoria hristova neli nedialkova\n\n### Context:\nCREATE TABLE table_14903491_1 (year VARCHAR, womens_doubles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_14903491_1 WHERE womens_doubles = \"Victoria Hristova Neli Nedialkova\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the geo ID for the township with 0.771 square miles of water?\n\n### Context:\nCREATE TABLE table_18600760_10 (geo_id INTEGER, water__sqmi_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(geo_id) FROM table_18600760_10 WHERE water__sqmi_ = \"0.771\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat couple had a vote percentage of 5.8%?\n\n### Context:\nCREATE TABLE table_26375386_20 (couple VARCHAR, vote_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT couple FROM table_26375386_20 WHERE vote_percentage = \"5.8%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat players have a position of F?\n\n### Context:\nCREATE TABLE table_name_2 (player VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_2 WHERE position = \"f\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the No. 8 of the person with a No. 4 of Matthew and a No. 7 of Anthony?\n\n### Context:\nCREATE TABLE table_name_29 (no_8 VARCHAR, no_4 VARCHAR, no_7 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_8 FROM table_name_29 WHERE no_4 = \"matthew\" AND no_7 = \"anthony\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich location has a team that is nicknamed the Vikings?\n\n### Context:\nCREATE TABLE table_13759592_1 (location VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_13759592_1 WHERE nickname = \"Vikings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many United Airlines flights go to City 'Aberdeen'?\n\n### Context:\nCREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR); CREATE TABLE AIRLINES (uid VARCHAR, Airline VARCHAR); CREATE TABLE FLIGHTS (DestAirport VARCHAR, Airline VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode JOIN AIRLINES AS T3 ON T3.uid = T1.Airline WHERE T2.City = \"Aberdeen\" AND T3.Airline = \"United Airlines\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of votes for McCain in a county that voted 1.6% for other, 40.5% for McCain, and fewer than 256,299 votes for Obama?\n\n### Context:\nCREATE TABLE table_name_47 (mccain_number INTEGER, obama_number VARCHAR, others_percentage VARCHAR, mccain_percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(mccain_number) FROM table_name_47 WHERE others_percentage = \"1.6%\" AND mccain_percentage = \"40.5%\" AND obama_number < 256 OFFSET 299"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for November 25, 2001?\n\n### Context:\nCREATE TABLE table_name_45 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_45 WHERE date = \"november 25, 2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Points- when the Sets- is larger than 51?\n\n### Context:\nCREATE TABLE table_name_56 (points_ VARCHAR, sets_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Spouse has a Birth of 30 may 1653?\n\n### Context:\nCREATE TABLE table_name_38 (spouse VARCHAR, birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT spouse FROM table_name_38 WHERE birth = \"30 may 1653\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName all the team clasification where the combination classification is mederic clain\n\n### Context:\nCREATE TABLE table_15088557_1 (team_classification VARCHAR, combination_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_classification FROM table_15088557_1 WHERE combination_classification = \"Mederic Clain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country has a medical school established in 1969 with both an IMED and avicenna?\n\n### Context:\nCREATE TABLE table_name_15 (country_territory VARCHAR, imed_avicenna_listed VARCHAR, established VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country_territory FROM table_name_15 WHERE imed_avicenna_listed = \"both\" AND established = 1969"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich junior team is associated with an NHL pick by the Buffalo Sabres?\n\n### Context:\nCREATE TABLE table_2850912_4 (college_junior_club_team VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = \"Buffalo Sabres\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does the player Todd Wise play in?\n\n### Context:\nCREATE TABLE table_26847237_2 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_26847237_2 WHERE player = \"Todd Wise\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the average rating when the air date is november 23, 2007?\n\n### Context:\nCREATE TABLE table_name_46 (rating INTEGER, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rating) FROM table_name_46 WHERE air_date = \"november 23, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Player has a Round larger than 5, and a School/Club Team of bethune-cookman?\n\n### Context:\nCREATE TABLE table_name_52 (player VARCHAR, round VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_52 WHERE round > 5 AND school_club_team = \"bethune-cookman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silver medals did the team that had 5 bronze and less than 16 gold have?\n\n### Context:\nCREATE TABLE table_name_93 (silver INTEGER, bronze VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(silver) FROM table_name_93 WHERE bronze > 5 AND gold < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of values for attendance for the date October 1, 1978?\n\n### Context:\nCREATE TABLE table_14945112_1 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_14945112_1 WHERE date = \"October 1, 1978\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Time elapsed has 14 February 2011 as the Closest approach?\n\n### Context:\nCREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_elapsed FROM table_name_11 WHERE closest_approach = \"14 february 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich area 2006 km\u00b2 has an area 1996 km\u00b2 smaller than 17.31?\n\n### Context:\nCREATE TABLE table_name_38 (area_2006_km\u00b2 INTEGER, area_1996_km\u00b2 INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(area_2006_km\u00b2) FROM table_name_38 WHERE area_1996_km\u00b2 < 17.31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Goals against have Played more than 34?\n\n### Context:\nCREATE TABLE table_name_97 (goals_against VARCHAR, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals_against) FROM table_name_97 WHERE played > 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat bullet does the gun with a shoulder measurement of 12.5 (.491)?\n\n### Context:\nCREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bullet FROM table_name_51 WHERE shoulder = \"12.5 (.491)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was set 3 of 18-25?\n\n### Context:\nCREATE TABLE table_name_2 (date VARCHAR, set_3 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_2 WHERE set_3 = \"18-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist?\n\n### Context:\nCREATE TABLE table_name_90 (record VARCHAR, round VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_90 WHERE round > 2 AND event = \"raging wolf 6: mayhem in the mist\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the organisation in 2011 that was nominated and the award of best info-ed programme host?\n\n### Context:\nCREATE TABLE table_name_8 (organisation VARCHAR, award VARCHAR, year VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT organisation FROM table_name_8 WHERE year = 2011 AND result = \"nominated\" AND award = \"best info-ed programme host\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Christ made king date with a great tribulation in 1925?\n\n### Context:\nCREATE TABLE table_name_16 (christ_madeking VARCHAR, great_tribulation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT christ_madeking FROM table_name_16 WHERE great_tribulation = \"1925\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the January (\u00b0F) temperatures in the Corner Brook location?\n\n### Context:\nCREATE TABLE table_21980_1 (january__\u00b0f_ VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT january__\u00b0f_ FROM table_21980_1 WHERE location = \"Corner Brook\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of losses for Presidente Hayes, when the draws were more than 4?\n\n### Context:\nCREATE TABLE table_name_61 (losses INTEGER, team VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_name_61 WHERE team = \"presidente hayes\" AND draws > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the un region for 3314000 population\n\n### Context:\nCREATE TABLE table_16278349_1 (un_region VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT un_region FROM table_16278349_1 WHERE population = 3314000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the episode for 18-49 rating being 3.6\n\n### Context:\nCREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episode) FROM table_20971444_3 WHERE rating__18_49_ = \"3.6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich manager sponsor arke shirt?\n\n### Context:\nCREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manager FROM table_name_90 WHERE shirt_sponsor = \"arke\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team has a national league in 2001?\n\n### Context:\nCREATE TABLE table_name_31 (team VARCHAR, league VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_31 WHERE league = \"national\" AND year = 2001"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPost University has what nickname?\n\n### Context:\nCREATE TABLE table_name_4 (nickname VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nickname FROM table_name_4 WHERE institution = \"post university\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the entire inhabitants in Southeast Asia?\n\n### Context:\nCREATE TABLE table_1389609_3 (total_population INTEGER, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total_population) FROM table_1389609_3 WHERE region = \"Southeast Asia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the Red Wings game when Vancouver was the home team?\n\n### Context:\nCREATE TABLE table_name_71 (score VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_71 WHERE home = \"vancouver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what arena was the game against the Sharks played?\n\n### Context:\nCREATE TABLE table_name_33 (arena VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT arena FROM table_name_33 WHERE opponent = \"sharks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points?\n\n### Context:\nCREATE TABLE table_28601467_1 (winner VARCHAR, result VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_28601467_1 WHERE result = \"Scotland won on points table\" AND runner_up = \"[[|]] 4 points\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Date of january 31?\n\n### Context:\nCREATE TABLE table_name_18 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_18 WHERE date = \"january 31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest number of top division titles with a 2012 position of 10th?\n\n### Context:\nCREATE TABLE table_name_13 (top_division_titles INTEGER, position_in_2012 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(top_division_titles) FROM table_name_13 WHERE position_in_2012 = \"10th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)?\n\n### Context:\nCREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = \"big south (ncaa division i)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the chassis when the entrant was Lavazza March, and the points were 0.5?\n\n### Context:\nCREATE TABLE table_name_75 (chassis VARCHAR, entrant VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_75 WHERE entrant = \"lavazza march\" AND points = 0.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the notes when his position was 10th?\n\n### Context:\nCREATE TABLE table_name_2 (notes VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_2 WHERE position = \"10th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul?\n\n### Context:\nCREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = \"world pacific\" AND from_album = \"chile con soul\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Builder for the locomotive that has a works number of 323?\n\n### Context:\nCREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT builder FROM table_name_92 WHERE works_number = \"323\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of events a tournament with more than 1 top-10 and more than 0 wins has?\n\n### Context:\nCREATE TABLE table_name_77 (events INTEGER, top_10 VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(events) FROM table_name_77 WHERE top_10 > 1 AND wins > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the religion that has a growth rate of 1.56%\n\n### Context:\nCREATE TABLE table_28137918_5 (religion VARCHAR, growth_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT religion FROM table_28137918_5 WHERE growth_rate = \"1.56%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the high assists on April 7?\n\n### Context:\nCREATE TABLE table_17288825_10 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_17288825_10 WHERE date = \"April 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home of aggregate's 3-4?\n\n### Context:\nCREATE TABLE table_name_87 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home__2nd_leg_ FROM table_name_87 WHERE aggregate = \"3-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the home game for Hartford?\n\n### Context:\nCREATE TABLE table_name_87 (date VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_87 WHERE home = \"hartford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of points for a position less than 3 and less than 1 loss?\n\n### Context:\nCREATE TABLE table_name_19 (points INTEGER, position VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_19 WHERE position < 3 AND lost < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich division do the Toronto Raptors belong in?\n\n### Context:\nCREATE TABLE table_name_87 (division VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division FROM table_name_87 WHERE team = \"toronto raptors\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere are the london borough with the black caribbean population of 17974?\n\n### Context:\nCREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat institution won 2nd more recently than 2007 with Peter Agre as Chief Judge?\n\n### Context:\nCREATE TABLE table_name_67 (institution VARCHAR, chief_judge VARCHAR, year VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT institution FROM table_name_67 WHERE year > 2007 AND award = \"2nd\" AND chief_judge = \"peter agre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the aspect ratio for 720\n\n### Context:\nCREATE TABLE table_15928363_1 (aspect_ratio VARCHAR, horizontal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT aspect_ratio FROM table_15928363_1 WHERE horizontal = 720"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Total has a Rank smaller than 3, and a County of cork?\n\n### Context:\nCREATE TABLE table_name_18 (total INTEGER, rank VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_18 WHERE rank < 3 AND county = \"cork\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Loss for the player named total that has a long greater than 55?\n\n### Context:\nCREATE TABLE table_name_95 (loss INTEGER, name VARCHAR, long VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(loss) FROM table_name_95 WHERE name = \"total\" AND long > 55"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the extra result of the 4th game?\n\n### Context:\nCREATE TABLE table_name_37 (extra VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT extra FROM table_name_37 WHERE result = \"4th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0score\u00a0with\u00a0date\u00a0 oct 1\n\n### Context:\nCREATE TABLE table_11621915_1 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_11621915_1 WHERE date = \"Oct 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Away team on the result of 1-5 aet?\n\n### Context:\nCREATE TABLE table_name_61 (away VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_61 WHERE result = \"1-5 aet\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the score when the opponent is ann grossman?\n\n### Context:\nCREATE TABLE table_name_79 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_79 WHERE opponent = \"ann grossman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the amount of profits in billions for companies with a market value of 204.9 billion? \n\n### Context:\nCREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT profits__billion_$_ FROM table_1682026_6 WHERE market_value__billion_$_ = \"204.9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow often does Dengeki girl's style come out?\n\n### Context:\nCREATE TABLE table_name_5 (frequency VARCHAR, parent_magazine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_5 WHERE parent_magazine = \"dengeki girl's style\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the sum of wins for the ottawa hockey club when the games played is less than 10?\n\n### Context:\nCREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(wins) FROM table_name_53 WHERE team = \"ottawa hockey club\" AND games_played < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Converted has a Number of 35, and a Withdrawn smaller than 1952?\n\n### Context:\nCREATE TABLE table_name_71 (converted VARCHAR, number VARCHAR, withdrawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(converted) FROM table_name_71 WHERE number = \"35\" AND withdrawn < 1952"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?\n\n### Context:\nCREATE TABLE table_name_45 (byes INTEGER, wins VARCHAR, against VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = \"avoca\" AND wins > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did the New York Giants host a game?\n\n### Context:\nCREATE TABLE table_name_42 (date VARCHAR, host_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_42 WHERE host_team = \"new york giants\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the description of transaction type with code \"PUR\".\n\n### Context:\nCREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = \"PUR\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nMean of played with smaller than 7 conceded?\n\n### Context:\nCREATE TABLE table_name_62 (played INTEGER, conceded INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(played) FROM table_name_62 WHERE conceded < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people lived in san gabriel in the year 2000?\n\n### Context:\nCREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = \"San Gabriel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the trainer in 2013?\n\n### Context:\nCREATE TABLE table_name_71 (trainer VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trainer FROM table_name_71 WHERE year = 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Opponent is \"Philadelphia 76ers\"?\n\n### Context:\nCREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_6 WHERE opponent = \"philadelphia 76ers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat 2nd Party has an Election of 1885?\n\n### Context:\nCREATE TABLE table_name_53 (election VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_party FROM table_name_53 WHERE election = \"1885\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Location Attendance is \"US Airways Center 18,422\", and when Game is less than 22?\n\n### Context:\nCREATE TABLE table_name_27 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_27 WHERE location_attendance = \"us airways center 18,422\" AND game < 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the english gloss for ha\u014b\u021f\u2019\u00e1\u014bna\n\n### Context:\nCREATE TABLE table_1499774_5 (english_gloss VARCHAR, santee_sisseton VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT english_gloss FROM table_1499774_5 WHERE santee_sisseton = \"ha\u014b\u021f\u2019\u00e1\u014bna\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich young classification has an aggressive rider of Tim Johnson?\n\n### Context:\nCREATE TABLE table_name_89 (young_classification VARCHAR, aggressive_rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT young_classification FROM table_name_89 WHERE aggressive_rider = \"tim johnson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich works number has a class of 15th and year of 1940?\n\n### Context:\nCREATE TABLE table_name_69 (works_no VARCHAR, class VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT works_no FROM table_name_69 WHERE class = \"15th\" AND year = \"1940\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was picked for the draft by St. Louis Blues?\n\n### Context:\nCREATE TABLE table_2886617_9 (player VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_2886617_9 WHERE nhl_team = \"St. Louis Blues\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Attendance on November 26?\n\n### Context:\nCREATE TABLE table_name_98 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_98 WHERE date = \"november 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of bronze of the nation with more than 1 gold and 1 silver medal?\n\n### Context:\nCREATE TABLE table_name_96 (bronze INTEGER, gold VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(bronze) FROM table_name_96 WHERE gold > 1 AND silver = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the hometown of Devon Bookert who is 6-3 tall?\n\n### Context:\nCREATE TABLE table_name_62 (hometown VARCHAR, height VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_name_62 WHERE height = \"6-3\" AND name = \"devon bookert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the episode was directed by Michael Offer, what was the episode number?\n\n### Context:\nCREATE TABLE table_25084227_1 (no INTEGER, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no) FROM table_25084227_1 WHERE directed_by = \"Michael Offer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Played has Goals Against of 45, and Goals For smaller than 65?\n\n### Context:\nCREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the year when Scuderia Lancia Corse competed?\n\n### Context:\nCREATE TABLE table_name_51 (year VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_51 WHERE team = \"scuderia lancia corse\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWas the University of Southern California Signed?\n\n### Context:\nCREATE TABLE table_name_50 (signed VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT signed FROM table_name_50 WHERE school = \"university of southern california\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of wickets?\n\n### Context:\nCREATE TABLE table_27922491_8 (wickets INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wickets) FROM table_27922491_8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nationality of the ship when the principle victims are civilians?\n\n### Context:\nCREATE TABLE table_name_49 (nat VARCHAR, principal_victims VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nat FROM table_name_49 WHERE principal_victims = \"civilians\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Stage (Winner) has a Vladimir Karpets General classification and a Team classification of relax-gam, and a Points classification of Denis Menchov?\n\n### Context:\nCREATE TABLE table_name_17 (stage__winner_ VARCHAR, points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stage__winner_ FROM table_name_17 WHERE general_classification = \"vladimir karpets\" AND team_classification = \"relax-gam\" AND points_classification = \"denis menchov\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has High points of raymond felton (32)?\n\n### Context:\nCREATE TABLE table_name_56 (score VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_56 WHERE high_points = \"raymond felton (32)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for 2004 when 2005 is A, 2006 is A, tournament is US Open?\n\n### Context:\nCREATE TABLE table_name_60 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2004 FROM table_name_60 WHERE 2005 = \"a\" AND 2006 = \"a\" AND tournament = \"us open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the greatest rank for Fifth third center?\n\n### Context:\nCREATE TABLE table_name_27 (rank INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_27 WHERE name = \"fifth third center\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the start dates and end dates of all the apartment bookings.\n\n### Context:\nCREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, booking_end_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT booking_start_date, booking_end_date FROM Apartment_Bookings"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest episode# with the writer Paul West?\n\n### Context:\nCREATE TABLE table_2342078_2 (episode__number INTEGER, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(episode__number) FROM table_2342078_2 WHERE written_by = \"Paul West\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Placings have a Nation of west germany, and Points larger than 303.72?\n\n### Context:\nCREATE TABLE table_name_31 (placings INTEGER, nation VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(placings) FROM table_name_31 WHERE nation = \"west germany\" AND points > 303.72"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Semifinalists, when Tournament is Rome\n\n### Context:\nCREATE TABLE table_name_93 (semifinalists VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT semifinalists FROM table_name_93 WHERE tournament = \"rome\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the molecules when the percent mass is 1.0?\n\n### Context:\nCREATE TABLE table_name_8 (molecules VARCHAR, percent_of_mass VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT molecules FROM table_name_8 WHERE percent_of_mass = \"1.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the match on grass in 1955?\n\n### Context:\nCREATE TABLE table_2139023_2 (outcome VARCHAR, surface VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_2139023_2 WHERE surface = \"Grass\" AND year = 1955"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the value for model if processor is Kentsfield and brand name is Xeon?\n\n### Context:\nCREATE TABLE table_2467150_2 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT model__list_ FROM table_2467150_2 WHERE processor = \"Kentsfield\" AND brand_name = \"Xeon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the captain in Chaguaramas?\n\n### Context:\nCREATE TABLE table_24039173_1 (captain VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_24039173_1 WHERE location = \"Chaguaramas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Length/Fuel of the bus with a Quantity of 30?\n\n### Context:\nCREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT length_fuel FROM table_name_22 WHERE quantity = 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Finish, when Country is \"United States\", and when Player is \"Julius Boros\"?\n\n### Context:\nCREATE TABLE table_name_37 (finish VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_37 WHERE country = \"united states\" AND player = \"julius boros\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Attendance on November 6, 1960?\n\n### Context:\nCREATE TABLE table_name_65 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_65 WHERE date = \"november 6, 1960\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHich competition was held on Alvor with a score 1-0?\n\n### Context:\nCREATE TABLE table_name_77 (competition VARCHAR, score VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_77 WHERE score = \"1-0\" AND location = \"alvor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the defensive for week 9\n\n### Context:\nCREATE TABLE table_23265433_2 (defensive VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT defensive FROM table_23265433_2 WHERE week = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlease show the police forces and the number of counties with each police force.\n\n### Context:\nCREATE TABLE county_public_safety (Police_force VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Police_force, COUNT(*) FROM county_public_safety GROUP BY Police_force"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of pilots from team \"Bradley\" or \"Fordham\".\n\n### Context:\nCREATE TABLE pilot (Pilot_name VARCHAR, Team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Pilot_name FROM pilot WHERE Team = \"Bradley\" OR Team = \"Fordham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the genre for release-year of firsst charted less than 1980 and origin of jamaica\n\n### Context:\nCREATE TABLE table_name_92 (genre VARCHAR, release_year_of_first_charted_record VARCHAR, country_of_origin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_name_92 WHERE release_year_of_first_charted_record < 1980 AND country_of_origin = \"jamaica\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Apparatus, when Rank-Final is greater than 6, and when Competition Description is \"U.S. Championships\"?\n\n### Context:\nCREATE TABLE table_name_9 (apparatus VARCHAR, rank_final VARCHAR, competition_description VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT apparatus FROM table_name_9 WHERE rank_final > 6 AND competition_description = \"u.s. championships\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0winner\u00a0with\u00a0purse( $ )\u00a0value of bigger than 964017.2297960471 and\u00a0date\u00a0value of may 28\n\n### Context:\nCREATE TABLE table_11621915_1 (winner VARCHAR, purse__$__ VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_11621915_1 WHERE purse__$__ > 964017.2297960471 AND date = \"May 28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the school/club team whose season was in 2012 and were acquired via trade? \n\n### Context:\nCREATE TABLE table_15463188_17 (school_club_team VARCHAR, season VARCHAR, acquisition_via VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_15463188_17 WHERE season = \"2012\" AND acquisition_via = \"Trade\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the round where winners from the previous round totals 8?\n\n### Context:\nCREATE TABLE table_18328569_1 (round VARCHAR, winners_from_previous_round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_18328569_1 WHERE winners_from_previous_round = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country does Adam van Koeverden play for?\n\n### Context:\nCREATE TABLE table_name_31 (country VARCHAR, athletes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_31 WHERE athletes = \"adam van koeverden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many stages of the rally took 14:33.9 for the leader to finish?\n\n### Context:\nCREATE TABLE table_21326205_2 (length VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(length) FROM table_21326205_2 WHERE time = \"14:33.9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Tournament, when Date is \"6 April 1992\"?\n\n### Context:\nCREATE TABLE table_name_40 (tournament VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_40 WHERE date = \"6 april 1992\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the English Name of the Location in Chester?\n\n### Context:\nCREATE TABLE table_name_76 (name__english_ VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name__english_ FROM table_name_76 WHERE location = \"chester\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the grid for anthony davidson when the laps were less than 8?\n\n### Context:\nCREATE TABLE table_name_86 (grid VARCHAR, driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(grid) FROM table_name_86 WHERE driver = \"anthony davidson\" AND laps < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of package options for music box italia\n\n### Context:\nCREATE TABLE table_15887683_10 (package_option VARCHAR, television_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(package_option) FROM table_15887683_10 WHERE television_service = \"Music Box Italia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich people had the best 10-year period when Fischer had best 15-year period?\n\n### Context:\nCREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = \"Fischer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did Alan Hutcheson won Class B on round 1?\n\n### Context:\nCREATE TABLE table_24853015_1 (date VARCHAR, class_b_winner VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_24853015_1 WHERE class_b_winner = \"Alan Hutcheson\" AND round = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time/retired for grid 18?\n\n### Context:\nCREATE TABLE table_name_49 (time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_49 WHERE grid = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho drove a race car with a Mercedes IC 108e engine and has an 8-10 record?\n\n### Context:\nCREATE TABLE table_name_28 (drivers VARCHAR, engine VARCHAR, races VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drivers FROM table_name_28 WHERE engine = \"mercedes ic 108e\" AND races = \"8-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat actor was nominated for best actress?\n\n### Context:\nCREATE TABLE table_name_45 (actor VARCHAR, result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT actor FROM table_name_45 WHERE result = \"nominated\" AND category = \"best actress\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Top 10s have Wins larger than 0, and Poles larger than 0?\n\n### Context:\nCREATE TABLE table_name_35 (top_10 VARCHAR, wins VARCHAR, poles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(top_10) FROM table_name_35 WHERE wins > 0 AND poles > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team defeated the Capital City Giants?\n\n### Context:\nCREATE TABLE table_name_11 (team VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_11 WHERE runner_up = \"capital city giants\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country has a score of 70-66=136?\n\n### Context:\nCREATE TABLE table_name_31 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_31 WHERE score = 70 - 66 = 136"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2012 has a 2009 smaller than 3.38?\n\n### Context:\nCREATE TABLE table_name_33 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(2012) FROM table_name_33 WHERE 2009 < 3.38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)?\n\n### Context:\nCREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gpu_model FROM table_name_8 WHERE frequency = \"3.4 ghz\" AND sspec_number = \"sr00b(d2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the average gross tonnage for april 1919 entered service\n\n### Context:\nCREATE TABLE table_name_57 (gross_tonnage INTEGER, entered_service VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gross_tonnage) FROM table_name_57 WHERE entered_service = \"april 1919\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode that was directed by Terry Ingram?\n\n### Context:\nCREATE TABLE table_name_58 (written_by VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_name_58 WHERE directed_by = \"terry ingram\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest goal difference a club with 61 goals against and less than 11 draws has?\n\n### Context:\nCREATE TABLE table_name_94 (goal_difference INTEGER, goals_against VARCHAR, draws VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goal_difference) FROM table_name_94 WHERE goals_against = 61 AND draws < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the final score for the match held on April 11, 2007?\n\n### Context:\nCREATE TABLE table_name_68 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_68 WHERE date = \"april 11, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat title has a producer of MAQ and Anna as a role?\n\n### Context:\nCREATE TABLE table_name_18 (title VARCHAR, producer VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_18 WHERE producer = \"maq\" AND role = \"anna\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the placing when the jockey was Damien Oliver?\n\n### Context:\nCREATE TABLE table_24915874_1 (placing VARCHAR, jockey VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT placing FROM table_24915874_1 WHERE jockey = \"Damien Oliver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of affiliation for enrollment being 14898\n\n### Context:\nCREATE TABLE table_16383772_1 (affiliation VARCHAR, enrollment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(affiliation) FROM table_16383772_1 WHERE enrollment = 14898"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team at corio oval?\n\n### Context:\nCREATE TABLE table_name_26 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_26 WHERE venue = \"corio oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Away team of walthamstow avenue?\n\n### Context:\nCREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_44 WHERE away_team = \"walthamstow avenue\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum for gold when there is more than 17 silver and more than 24 bronze?\n\n### Context:\nCREATE TABLE table_name_28 (gold INTEGER, silver VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of seats in a vehicle currently retired and in quantities less than 8?\n\n### Context:\nCREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(number_of_seats) FROM table_name_21 WHERE current_status = \"retired\" AND quantity < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location and attendance of the game when High Assists were Andre Miller (7)?\n\n### Context:\nCREATE TABLE table_17323042_11 (location_attendance VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_17323042_11 WHERE high_assists = \"Andre Miller (7)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere in Sweden is the home of the Swedish team?\n\n### Context:\nCREATE TABLE table_name_14 (home VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_14 WHERE country = \"sweden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Total has a Bronze of 5, and a Silver smaller than 1?\n\n### Context:\nCREATE TABLE table_name_37 (total INTEGER, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_37 WHERE bronze = 5 AND silver < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was game 78 held?\n\n### Context:\nCREATE TABLE table_name_62 (location VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_62 WHERE game = 78"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the tournament when Idaho State won the regular season?\n\n### Context:\nCREATE TABLE table_22779004_1 (conference VARCHAR, regular_season_winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conference AS Tournament FROM table_22779004_1 WHERE regular_season_winner = \"Idaho State\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of production codes for episode #73?\n\n### Context:\nCREATE TABLE table_2623498_5 (prod_code VARCHAR, episode__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(prod_code) FROM table_2623498_5 WHERE episode__number = \"73\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich athletics nickname was founded in 1872?\n\n### Context:\nCREATE TABLE table_name_86 (athletics_nickname VARCHAR, founded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athletics_nickname FROM table_name_86 WHERE founded = \"1872\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many millions of U.S viewers watched the episode written by Liz Feldman? \n\n### Context:\nCREATE TABLE table_29920800_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_29920800_1 WHERE written_by = \"Liz Feldman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the points difference for a loss less than 6, and points less than 11?\n\n### Context:\nCREATE TABLE table_name_30 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_difference FROM table_name_30 WHERE lost < 6 AND points < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the annual change of GDP with a 20.5% GDP of EU in 2012?\n\n### Context:\nCREATE TABLE table_1598533_8 (annual_change__percentage_of_gdp__2012_ VARCHAR, gdp__percentage_of_eu__2012_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT annual_change__percentage_of_gdp__2012_ FROM table_1598533_8 WHERE gdp__percentage_of_eu__2012_ = \"20.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every Finnish name for the English name of Province of Viborg and Nyslott?\n\n### Context:\nCREATE TABLE table_198175_2 (finnish_name VARCHAR, english_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finnish_name FROM table_198175_2 WHERE english_name = \"Province of Viborg and Nyslott\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total number of league cup apps when the league goals were less than 0?\n\n### Context:\nCREATE TABLE table_name_15 (league_cup_apps VARCHAR, league_goals INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(league_cup_apps) FROM table_name_15 WHERE league_goals < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Series has an Actor of tom ward?\n\n### Context:\nCREATE TABLE table_name_92 (series VARCHAR, actor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_name_92 WHERE actor = \"tom ward\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest year that has fila world championships as the event, with toledo, united states as the venue, and a weight class (kg) less than 97?\n\n### Context:\nCREATE TABLE table_name_37 (year INTEGER, weight_class__kg_ VARCHAR, event VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_37 WHERE event = \"fila world championships\" AND venue = \"toledo, united states\" AND weight_class__kg_ < 97"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many percent of the votes in Debaca did McCain get?\n\n### Context:\nCREATE TABLE table_20539826_1 (mccain_percentage VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mccain_percentage FROM table_20539826_1 WHERE county = \"DeBaca\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the country that has the most stadiums.\n\n### Context:\nCREATE TABLE stadium (country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM stadium GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the part number of the processor that has an 1.8 ghz frequency and 2 \u00d7 256 kb L@ Cache?\n\n### Context:\nCREATE TABLE table_name_56 (part_number_s_ VARCHAR, l2_cache VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT part_number_s_ FROM table_name_56 WHERE l2_cache = \"2 \u00d7 256 kb\" AND frequency = \"1.8 ghz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0acronym\u00a0with\u00a0department\u00a0being department of finance kagawaran ng pananalapi\n\n### Context:\nCREATE TABLE table_1331313_1 (acronym VARCHAR, department VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT acronym FROM table_1331313_1 WHERE department = \"department of Finance Kagawaran ng Pananalapi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of FA cups associated with 0 malaysia cups?\n\n### Context:\nCREATE TABLE table_name_69 (fa_cup INTEGER, malaysia_cup INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(fa_cup) FROM table_name_69 WHERE malaysia_cup < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 98 is the points what is the club?\n\n### Context:\nCREATE TABLE table_17941032_1 (club VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_17941032_1 WHERE points = \"98\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the genre of developer(s) Lionhead Studios?\n\n### Context:\nCREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_name_41 WHERE developer_s_ = \"lionhead studios\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the competition type of the event with a result of 3-2 and a score of 2-1?\n\n### Context:\nCREATE TABLE table_name_36 (competition VARCHAR, result VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_36 WHERE result = \"3-2\" AND score = \"2-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is Alain Labrecque from?\n\n### Context:\nCREATE TABLE table_1965650_10 (nationality VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_1965650_10 WHERE player = \"Alain Labrecque\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the team that had 4:05.096, what was their day 2?\n\n### Context:\nCREATE TABLE table_name_23 (day_2 VARCHAR, day_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT day_2 FROM table_name_23 WHERE day_1 = \"4:05.096\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player from Auburn?\n\n### Context:\nCREATE TABLE table_name_86 (player VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_86 WHERE school_club_team = \"auburn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Year average that's got Trim of LS/LT and Power of HP (KW)?\n\n### Context:\nCREATE TABLE table_name_51 (year INTEGER, trim VARCHAR, power VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_51 WHERE trim = \"ls/lt\" AND power = \"hp (kw)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many districts had republican Bob Goodlatte as a candidate?\n\n### Context:\nCREATE TABLE table_17503169_1 (district VARCHAR, republican VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(district) FROM table_17503169_1 WHERE republican = \"Bob Goodlatte\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest value of Total Goals?\n\n### Context:\nCREATE TABLE table_10240125_1 (total_goals INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total_goals) FROM table_10240125_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did Nigel Connell have?\n\n### Context:\nCREATE TABLE table_name_44 (points VARCHAR, performer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_name_44 WHERE performer = \"nigel connell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Story Title that has Albers as the Letterer?\n\n### Context:\nCREATE TABLE table_name_60 (story_title VARCHAR, letterer_s VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT story_title FROM table_name_60 WHERE letterer_s = \"albers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Samuel Smith's party?\n\n### Context:\nCREATE TABLE table_2668329_11 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_2668329_11 WHERE incumbent = \"Samuel Smith\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game where Esteban Paredes scored 2 goals?\n\n### Context:\nCREATE TABLE table_name_62 (date VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_62 WHERE goal = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?\n\n### Context:\nCREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = \"alan sweeney\" AND league_cup_apps < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what years did Salina Kosgei compete in Singapore?\n\n### Context:\nCREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_70 WHERE venue = \"singapore\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the rdiers for jir team scot motogp\n\n### Context:\nCREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT riders FROM table_15327489_1 WHERE team_name = \"JiR Team Scot MotoGP\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas? \n\n### Context:\nCREATE TABLE table_25527255_2 (average_squad_age VARCHAR, shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT average_squad_age FROM table_25527255_2 WHERE shirt_sponsor = \"Sho'rtan Gaz Mahsulot\" AND kit_manufacturer = \"Adidas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the writer with the ratings 14.8?\n\n### Context:\nCREATE TABLE table_26591434_1 (writer VARCHAR, ratings__kanto_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT writer FROM table_26591434_1 WHERE ratings__kanto_ = \"14.8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the match with Brother Elephants as the opponent and a save of ||4,117?\n\n### Context:\nCREATE TABLE table_name_49 (date VARCHAR, opponent VARCHAR, save VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_49 WHERE opponent = \"brother elephants\" AND save = \"||4,117\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the average when the place is 16?\n\n### Context:\nCREATE TABLE table_29583818_3 (average VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT average FROM table_29583818_3 WHERE place = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat away game had a time of 10:00?\n\n### Context:\nCREATE TABLE table_name_98 (away VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away FROM table_name_98 WHERE time = \"10:00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is from the College of Alabama?\n\n### Context:\nCREATE TABLE table_name_97 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_97 WHERE college = \"alabama\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn 11 Feb 1990, the competition is listed as what?\n\n### Context:\nCREATE TABLE table_name_23 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_23 WHERE date = \"11 feb 1990\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Result, when Week is 16?\n\n### Context:\nCREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_72 WHERE week = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record when the visiting team was Ottawa?\n\n### Context:\nCREATE TABLE table_name_54 (record VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_54 WHERE visitor = \"ottawa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0party\u00a0with\u00a0incumbent\u00a0being william e. evans\n\n### Context:\nCREATE TABLE table_1342359_5 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1342359_5 WHERE incumbent = \"William E. Evans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the second leg that Valencia was on?\n\n### Context:\nCREATE TABLE table_name_33 (team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_name_33 WHERE team_2 = \"valencia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average attendance for a game against Phoenix?\n\n### Context:\nCREATE TABLE table_name_16 (attendance INTEGER, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_16 WHERE visitor = \"phoenix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the term limit for Senator Tom Niehaus? \n\n### Context:\nCREATE TABLE table_26129220_2 (term_limited INTEGER, senator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(term_limited) FROM table_26129220_2 WHERE senator = \"Tom Niehaus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average Pick # of mike williams?\n\n### Context:\nCREATE TABLE table_name_9 (pick__number INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick__number) FROM table_name_9 WHERE player = \"mike williams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the record when the opponent is jeff williams?\n\n### Context:\nCREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_37 WHERE opponent = \"jeff williams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat population (in thousands) is Lublin's seat?\n\n### Context:\nCREATE TABLE table_11614581_3 (population VARCHAR, _in_thousands VARCHAR, __1905__ VARCHAR, seat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population, _in_thousands, __1905__ FROM table_11614581_3 WHERE seat = \"Lublin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the lowest Col (m) with a Peak of pico basil\u00e9, and a Prominence (m) smaller than 3,011?\n\n### Context:\nCREATE TABLE table_name_50 (col__m_ INTEGER, peak VARCHAR, prominence__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(col__m_) FROM table_name_50 WHERE peak = \"pico basil\u00e9\" AND prominence__m_ < 3 OFFSET 011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of wins in 2010, when there were more than 14 matches?\n\n### Context:\nCREATE TABLE table_name_99 (wins VARCHAR, year VARCHAR, matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_99 WHERE year = \"2010\" AND matches > 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Place has a To par of \u20138?\n\n### Context:\nCREATE TABLE table_name_19 (place VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_19 WHERE to_par = \"\u20138\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when the attendance was 46,456?\n\n### Context:\nCREATE TABLE table_name_2 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_2 WHERE attendance = \"46,456\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average for the gymnast with a 9.9 start value and a total of 9.612?\n\n### Context:\nCREATE TABLE table_name_33 (average INTEGER, start_value VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(average) FROM table_name_33 WHERE start_value = 9.9 AND total = 9.612"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people watch at Western Oval venue?\n\n### Context:\nCREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_4 WHERE venue = \"western oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the opposition was sussex in liverpool?\n\n### Context:\nCREATE TABLE table_name_96 (score INTEGER, opposition VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(score) FROM table_name_96 WHERE opposition = \"sussex\" AND city = \"liverpool\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat torque does 1.9 diesel with 1905 cc have?\n\n### Context:\nCREATE TABLE table_name_30 (torque VARCHAR, name VARCHAR, capacity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT torque FROM table_name_30 WHERE name = \"1.9 diesel\" AND capacity = \"1905 cc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the location attendance for austin daye , tracy mcgrady , tayshaun prince (20)\n\n### Context:\nCREATE TABLE table_27755603_8 (location_attendance VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_27755603_8 WHERE high_points = \"Austin Daye , Tracy McGrady , Tayshaun Prince (20)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the original air date for season 11?\n\n### Context:\nCREATE TABLE table_20704243_6 (original_air_date VARCHAR, season__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_20704243_6 WHERE season__number = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the game played at home against the opponent Siena?\n\n### Context:\nCREATE TABLE table_name_58 (date VARCHAR, opponent VARCHAR, ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_58 WHERE opponent = \"siena\" AND ground = \"home\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich School/Club Team does Vince Carter Play for?\n\n### Context:\nCREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_name_95 WHERE player = \"vince carter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Name, when Authors are Kammerer & Sidor?\n\n### Context:\nCREATE TABLE table_name_51 (name VARCHAR, authors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_51 WHERE authors = \"kammerer & sidor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when Mark parterned with lorenzo manta?\n\n### Context:\nCREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_19 WHERE partner = \"lorenzo manta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the final score of the tournament played in Clearwater, Florida?\n\n### Context:\nCREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_47 WHERE tournament = \"clearwater, florida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Name of the Player from Albuquerque, New Mexico?\n\n### Context:\nCREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_69 WHERE hometown = \"albuquerque, new mexico\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many draft pick positions did Matt Bradley have?\n\n### Context:\nCREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(position) FROM table_2840500_4 WHERE player = \"Matt Bradley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has the least wins when ranked above 3 with over 10 events?\n\n### Context:\nCREATE TABLE table_name_5 (wins INTEGER, rank VARCHAR, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_5 WHERE rank < 3 AND events > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the score 6\u20133, 3\u20136, 6\u20130?\n\n### Context:\nCREATE TABLE table_name_55 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_55 WHERE score = \"6\u20133, 3\u20136, 6\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich club participated with a record of 45 tries against?\n\n### Context:\nCREATE TABLE table_name_91 (club VARCHAR, tries_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club FROM table_name_91 WHERE tries_against = \"45\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat kind of sockets does a 2100MHz Athlon X2 QL-64 use?\n\n### Context:\nCREATE TABLE table_27277284_27 (socket VARCHAR, frequency VARCHAR, model_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_27277284_27 WHERE frequency = \"2100MHz\" AND model_number = \"Athlon X2 QL-64\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is listed under Played that has a Club of Morriston RFC?\n\n### Context:\nCREATE TABLE table_name_35 (played VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_name_35 WHERE club = \"morriston rfc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the outcomes of matches with bill tilden florence ballin as opponents?\n\n### Context:\nCREATE TABLE table_2127933_3 (outcome VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_2127933_3 WHERE opponents = \"Bill Tilden Florence Ballin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the highest top-5 when the top-25 is less than 4, cuts made is more than 3 and wins is 0?\n\n### Context:\nCREATE TABLE table_name_29 (top_5 INTEGER, wins VARCHAR, top_25 VARCHAR, cuts_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(top_5) FROM table_name_29 WHERE top_25 < 4 AND cuts_made > 3 AND wins < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the surface for 6\u20130, 6\u20133\n\n### Context:\nCREATE TABLE table_22597626_6 (surface VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_22597626_6 WHERE score_in_the_final = \"6\u20130, 6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district is Wyatt Aiken in?\n\n### Context:\nCREATE TABLE table_name_19 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_19 WHERE incumbent = \"wyatt aiken\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player is ranked 2 and played in the seasons of 1982\u201383, 1983\u201384, 1984\u201385?\n\n### Context:\nCREATE TABLE table_name_10 (player VARCHAR, rank VARCHAR, seasons VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_10 WHERE rank = 2 AND seasons = \"1982\u201383, 1983\u201384, 1984\u201385\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho coached the team in the season with a 6-1 conference record?\n\n### Context:\nCREATE TABLE table_20319085_2 (coach VARCHAR, conference_record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coach FROM table_20319085_2 WHERE conference_record = \"6-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Date had a Result of draw, and a Venue of lord's?\n\n### Context:\nCREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_28 WHERE result = \"draw\" AND venue = \"lord's\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent for black knights points 27\n\n### Context:\nCREATE TABLE table_21091145_1 (opponent VARCHAR, black_knights_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_21091145_1 WHERE black_knights_points = 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331?\n\n### Context:\nCREATE TABLE table_name_74 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the box score during a game that had a score of 86-96?\n\n### Context:\nCREATE TABLE table_name_20 (Box VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Box AS score FROM table_name_20 WHERE score = \"86-96\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Competition has a Year larger than 2000?\n\n### Context:\nCREATE TABLE table_name_45 (competition VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_45 WHERE year > 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the german total population after 1910 with an other total of 143 and 32 hungarians?\n\n### Context:\nCREATE TABLE table_name_59 (german VARCHAR, hungarian VARCHAR, year VARCHAR, other VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT german FROM table_name_59 WHERE year > 1910 AND other = \"143\" AND hungarian = \"32\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of colleges for jerome pathon\n\n### Context:\nCREATE TABLE table_28059992_2 (college VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(college) FROM table_28059992_2 WHERE player = \"Jerome Pathon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place is associated with under 28 points, under 11 games lost, and under 18 games played?\n\n### Context:\nCREATE TABLE table_name_71 (place INTEGER, played VARCHAR, points VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(place) FROM table_name_71 WHERE points < 28 AND lost < 11 AND played < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn 1924/25, who was in the playoffs?\n\n### Context:\nCREATE TABLE table_name_27 (playoffs VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT playoffs FROM table_name_27 WHERE year = \"1924/25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of stadiums that some Australian swimmers have been to.\n\n### Context:\nCREATE TABLE swimmer (id VARCHAR, nationality VARCHAR); CREATE TABLE record (swimmer_id VARCHAR, event_id VARCHAR); CREATE TABLE stadium (name VARCHAR, id VARCHAR); CREATE TABLE event (id VARCHAR, stadium_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t4.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id JOIN event AS t3 ON t2.event_id = t3.id JOIN stadium AS t4 ON t4.id = t3.stadium_id WHERE t1.nationality = 'Australia'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the 250cc in 1927?\n\n### Context:\nCREATE TABLE table_name_31 (year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 250 AS _cc FROM table_name_31 WHERE year = \"1927\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the durations of the longest and the shortest tracks in milliseconds?\n\n### Context:\nCREATE TABLE TRACK (Milliseconds INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(Milliseconds), MIN(Milliseconds) FROM TRACK"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the conference record in the season where the Pandas had an overall record of 33-4-1?\n\n### Context:\nCREATE TABLE table_27069503_2 (conf_record VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conf_record FROM table_27069503_2 WHERE overall = \"33-4-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAt Time Warner Cable Arena 12,096, what was the high points?\n\n### Context:\nCREATE TABLE table_name_85 (high_points VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_name_85 WHERE location_attendance = \"time warner cable arena 12,096\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many millions of viewers did the episode directed by Jeffrey Blitz have?\n\n### Context:\nCREATE TABLE table_25341765_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_25341765_1 WHERE directed_by = \"Jeffrey Blitz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game had the date was it with the final score of 7-23\n\n### Context:\nCREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_35 WHERE final_score = \"7-23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year did team Yamaha have 0 wins, a rank of 8th, and more than 22 points?\n\n### Context:\nCREATE TABLE table_name_96 (year VARCHAR, points VARCHAR, rank VARCHAR, team VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_96 WHERE team = \"yamaha\" AND wins = 0 AND rank = \"8th\" AND points > 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho won with a score of 199 (-14) on oct 31?\n\n### Context:\nCREATE TABLE table_name_21 (winner VARCHAR, score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_21 WHERE score = \"199 (-14)\" AND date = \"oct 31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of guns when the superintendent was Silas Talbot?\n\n### Context:\nCREATE TABLE table_name_36 (guns VARCHAR, superintendent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT guns FROM table_name_36 WHERE superintendent = \"silas talbot\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the year with Laps less than 197 and start of 2\n\n### Context:\nCREATE TABLE table_name_96 (year VARCHAR, laps VARCHAR, start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_96 WHERE laps < 197 AND start = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the unemployment rate where the market income per capita is $16,406?\n\n### Context:\nCREATE TABLE table_22815568_13 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT unemployment_rate FROM table_22815568_13 WHERE market_income_per_capita = \"$16,406\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich parts have more than 2 faults? Show the part name and id.\n\n### Context:\nCREATE TABLE Parts (part_name VARCHAR, part_id VARCHAR); CREATE TABLE Part_Faults (part_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.part_name, T1.part_id FROM Parts AS T1 JOIN Part_Faults AS T2 ON T1.part_id = T2.part_id GROUP BY T1.part_id HAVING COUNT(*) > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team was the opponent on week 15?\n\n### Context:\nCREATE TABLE table_name_7 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_7 WHERE week = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the attendance 3686?\n\n### Context:\nCREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_23 WHERE attendance = 3686"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum number of associate professors when there are more than 5 assistant professors and fewer than 14 professors?\n\n### Context:\nCREATE TABLE table_name_29 (associate_professors INTEGER, assistant_professors VARCHAR, professors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(associate_professors) FROM table_name_29 WHERE assistant_professors > 5 AND professors < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was No. 5 when No. 6 Mason and No. 10 Jackson?\n\n### Context:\nCREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_5 FROM table_name_17 WHERE no_6 = \"mason\" AND no_10 = \"jackson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the season with Africa as its destination?\n\n### Context:\nCREATE TABLE table_20026849_1 (winner VARCHAR, destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_20026849_1 WHERE destination = \"Africa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Opponents in Final, when Partner is \"Jill Hetherington\", and when Year is after 1988?\n\n### Context:\nCREATE TABLE table_name_96 (opponents_in_final VARCHAR, partner VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents_in_final FROM table_name_96 WHERE partner = \"jill hetherington\" AND year > 1988"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the distance in the race where the weight in kg was 56 and the winner/2nd was 2nd - Fritz?\n\n### Context:\nCREATE TABLE table_2581397_4 (distance VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_2581397_4 WHERE weight__kg_ = \"56\" AND winner_2nd = \"2nd - Fritz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the result when the opponent is blackburn rovers?\n\n### Context:\nCREATE TABLE table_name_39 (result VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_39 WHERE opponent = \"blackburn rovers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 'calling at' station of the train that departed on 18.16?\n\n### Context:\nCREATE TABLE table_18365784_3 (calling_at VARCHAR, departure VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT calling_at FROM table_18365784_3 WHERE departure = \"18.16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the first transcript released? List the date and details.\n\n### Context:\nCREATE TABLE Transcripts (transcript_date VARCHAR, other_details VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transcript_date, other_details FROM Transcripts ORDER BY transcript_date LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the GDP for the region with an area of 7,263 sq. mi.?\n\n### Context:\nCREATE TABLE table_name_74 (gdp___bn__ VARCHAR, area__sq_mi_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gdp___bn__ FROM table_name_74 WHERE area__sq_mi_ = \"7,263\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Country is \"United States\", and when To Par is \"+4\"?\n\n### Context:\nCREATE TABLE table_name_56 (score VARCHAR, country VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_56 WHERE country = \"united states\" AND to_par = \"+4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat class is the verb wich its part 4 is frosinn\n\n### Context:\nCREATE TABLE table_1745843_10 (class VARCHAR, part_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_1745843_10 WHERE part_4 = \"frosinn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124?\n\n### Context:\nCREATE TABLE table_name_46 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = \"+1:17.124\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich College/junior/club team (league) was the player from Switzerland from?\n\n### Context:\nCREATE TABLE table_name_58 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_58 WHERE nationality = \"switzerland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nationality has a time of 50.92?\n\n### Context:\nCREATE TABLE table_name_52 (nationality VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_52 WHERE time = 50.92"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what League is Left Wing Yanick Dupre?\n\n### Context:\nCREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = \"left wing\" AND player = \"yanick dupre\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat state is susana martinez from?\n\n### Context:\nCREATE TABLE table_name_72 (state VARCHAR, current_governor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_72 WHERE current_governor = \"susana martinez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the average finish the year Bodine finished 3rd?\n\n### Context:\nCREATE TABLE table_2387790_2 (avg_finish VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT avg_finish FROM table_2387790_2 WHERE position = \"3rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was their record when they played at Riverfront Stadium?\n\n### Context:\nCREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_25 WHERE game_site = \"riverfront stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the number of the player with 68.46 (1144 pts) in riding?\n\n### Context:\nCREATE TABLE table_12407546_1 (_number INTEGER, riding VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number) FROM table_12407546_1 WHERE riding = \"68.46 (1144 pts)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team drove a Dodge vehicle?\n\n### Context:\nCREATE TABLE table_name_27 (team VARCHAR, make VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_27 WHERE make = \"dodge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the number of shows that had 12.04 million viewers in the united states\n\n### Context:\nCREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = \"12.04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the plural if the meaning is python and the plural gender is n?\n\n### Context:\nCREATE TABLE table_name_92 (plural VARCHAR, plural_gender VARCHAR, meaning VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT plural FROM table_name_92 WHERE plural_gender = \"n\" AND meaning = \"python\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT ARE THE RACES FOR 2010 WITH FLAPS LARGER THAN 6?\n\n### Context:\nCREATE TABLE table_name_27 (races INTEGER, season VARCHAR, flaps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(races) FROM table_name_27 WHERE season = \"2010\" AND flaps > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the arranger for the song that had a lyricist of Sirapatara Kalayapanid?\n\n### Context:\nCREATE TABLE table_name_8 (arranger_s_ VARCHAR, lyricist_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT arranger_s_ FROM table_name_8 WHERE lyricist_s_ = \"sirapatara kalayapanid\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many tonnes of cargo did the airport have with the IATA Code IND?\n\n### Context:\nCREATE TABLE table_18047346_5 (tonnes VARCHAR, iata_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tonnes FROM table_18047346_5 WHERE iata_code = \"IND\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the score when scoville jenkins was the opponent?\n\n### Context:\nCREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_59 WHERE opponent = \"scoville jenkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the incumbent for lost re-election democratic-republican hold\n\n### Context:\nCREATE TABLE table_2668352_14 (incumbent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_2668352_14 WHERE result = \"Lost re-election Democratic-Republican hold\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's the opposition at westpac stadium when the attendance is 31,853?\n\n### Context:\nCREATE TABLE table_name_56 (opposition VARCHAR, stadium VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opposition FROM table_name_56 WHERE stadium = \"westpac stadium\" AND attendance = \"31,853\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nKimball, toby toby kimball is a player; How many times at school/ club team/country was the player present?\n\n### Context:\nCREATE TABLE table_11734041_10 (school_club_team_country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(school_club_team_country) FROM table_11734041_10 WHERE player = \"Kimball, Toby Toby Kimball\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the present share for australia\n\n### Context:\nCREATE TABLE table_23195_5 (present_share VARCHAR, producing_nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT present_share FROM table_23195_5 WHERE producing_nation = \"Australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won womens doubles the year magn\u00fas ingi helgason tinna helgad\u00f3ttir won mixed doubles and ragna ing\u00f3lfsd\u00f3ttir won womens singles in 2010\n\n### Context:\nCREATE TABLE table_14903999_1 (womens_doubles VARCHAR, year VARCHAR, mixed_doubles VARCHAR, womens_singles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT womens_doubles FROM table_14903999_1 WHERE mixed_doubles = \"Magn\u00fas Ingi Helgason Tinna Helgad\u00f3ttir\" AND womens_singles = \"Ragna Ing\u00f3lfsd\u00f3ttir\" AND year = 2010"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0record\u00a0with\u00a0date\u00a0being january 13\n\n### Context:\nCREATE TABLE table_13480122_5 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_13480122_5 WHERE date = \"January 13\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine was used in 1999?\n\n### Context:\nCREATE TABLE table_name_76 (engine VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_76 WHERE year = \"1999\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date for the name of Granville?\n\n### Context:\nCREATE TABLE table_name_39 (date VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_39 WHERE name = \"granville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Goals for has a Position smaller than 16, and Wins smaller than 19, and Goals against smaller than 32?\n\n### Context:\nCREATE TABLE table_name_17 (goals_for INTEGER, goals_against VARCHAR, position VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals_for) FROM table_name_17 WHERE position < 16 AND wins < 19 AND goals_against < 32"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are airlines that have flights arriving at airport 'AHD'?\n\n### Context:\nCREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR); CREATE TABLE FLIGHTS (Airline VARCHAR, DestAirport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline WHERE T2.DestAirport = \"AHD\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is h.l birkett if w.h. archer is r. cochrane?\n\n### Context:\nCREATE TABLE table_1320857_1 (hl_birkett VARCHAR, wh_archer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hl_birkett FROM table_1320857_1 WHERE wh_archer = \"R. Cochrane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT PICK HAD STEVE HAMILTON IN ROUND LARGER THAN 2?\n\n### Context:\nCREATE TABLE table_name_30 (pick VARCHAR, name VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick) FROM table_name_30 WHERE name = \"steve hamilton\" AND round > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game that was attended by 41,650 people?\n\n### Context:\nCREATE TABLE table_name_56 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_56 WHERE attendance = \"41,650\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year when the composition is 99.99% silver and the issue price is $94.95?\n\n### Context:\nCREATE TABLE table_name_66 (year INTEGER, composition VARCHAR, issue_price VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_66 WHERE composition = \"99.99% silver\" AND issue_price = \"$94.95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of year when start is less than 30\n\n### Context:\nCREATE TABLE table_name_68 (year INTEGER, start INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(year) FROM table_name_68 WHERE start < 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the bronze medals when there were more than 2 silver medals and a rank larger than 6?\n\n### Context:\nCREATE TABLE table_name_89 (bronze INTEGER, silver VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(bronze) FROM table_name_89 WHERE silver > 2 AND rank > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the cornerback from Wisconsin college?\n\n### Context:\nCREATE TABLE table_name_45 (name VARCHAR, position VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_45 WHERE position = \"cornerback\" AND college = \"wisconsin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the ship that had a fate of 'converted to laker, 1961; still in service' commissioned?\n\n### Context:\nCREATE TABLE table_name_14 (commissioned VARCHAR, fate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT commissioned FROM table_name_14 WHERE fate = \"converted to laker, 1961; still in service\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn January 15, what was the most in attendance?\n\n### Context:\nCREATE TABLE table_name_42 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_42 WHERE date = \"january 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the 279 wheels?\n\n### Context:\nCREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_15412381_5 WHERE wheels = 279"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name that has a DCSF number bigger than 2448 and an Ofsted number of 131319?\n\n### Context:\nCREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score against the team with an 11-3 record against the Hawks?\n\n### Context:\nCREATE TABLE table_23248910_5 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_23248910_5 WHERE record = \"11-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the rank when the total is 39 in the county of dublin and the matches is less than 4?\n\n### Context:\nCREATE TABLE table_name_31 (rank INTEGER, matches VARCHAR, total VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_31 WHERE total = 39 AND county = \"dublin\" AND matches < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of loses of the club with a 4 position and less than 23 goals conceded?\n\n### Context:\nCREATE TABLE table_name_96 (loses VARCHAR, position VARCHAR, goals_conceded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(loses) FROM table_name_96 WHERE position = 4 AND goals_conceded < 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the student ID and middle name for all the students with at most two enrollments.\n\n### Context:\nCREATE TABLE Student_Course_Enrolment (student_id VARCHAR); CREATE TABLE Students (middle_name VARCHAR, student_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.student_id, T2.middle_name FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id GROUP BY T1.student_id HAVING COUNT(*) <= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Overall Record that has the Away Team of miami?\n\n### Context:\nCREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall_record FROM table_name_46 WHERE away_team = \"miami\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Loss of buehrle (7-2)?\n\n### Context:\nCREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_91 WHERE loss = \"buehrle (7-2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the modern equivalents for the province of \"hanju\"?\n\n### Context:\nCREATE TABLE table_160510_1 (modern_equivalent VARCHAR, province VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT modern_equivalent FROM table_160510_1 WHERE province = \"Hanju\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was game 41 held, and how many people attended?\n\n### Context:\nCREATE TABLE table_22883210_7 (location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_22883210_7 WHERE game = 41"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many C-95 aircrafts originating in Brazil are currently in service?\n\n### Context:\nCREATE TABLE table_name_12 (in_service VARCHAR, origin VARCHAR, versions VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT in_service FROM table_name_12 WHERE origin = \"brazil\" AND versions = \"c-95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the incumbent in the Kentucky 8 district? \n\n### Context:\nCREATE TABLE table_2668367_7 (incumbent VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_2668367_7 WHERE district = \"Kentucky 8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen emt 9 is the series what is the date?\n\n### Context:\nCREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_25572118_1 WHERE series = \"EMT 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was nese malifa born?\n\n### Context:\nCREATE TABLE table_name_19 (date_of_birth__age_ VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_birth__age_ FROM table_name_19 WHERE player = \"nese malifa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on April 21?\n\n### Context:\nCREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_12 WHERE date = \"april 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the High rebounds of a Game with 56?\n\n### Context:\nCREATE TABLE table_name_70 (high_rebounds VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_70 WHERE game = 56"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Total with a Rank greater than 1, and a Bronze larger than 8?\n\n### Context:\nCREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor all games with los angeles as visitor, what is the highest attendance of all?\n\n### Context:\nCREATE TABLE table_name_12 (attendance INTEGER, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_12 WHERE visitor = \"los angeles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times is the home team wollongong hawks?\n\n### Context:\nCREATE TABLE table_name_62 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_62 WHERE home_team = \"wollongong hawks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the division for detroit diesel series 50egr allison wb-400r\n\n### Context:\nCREATE TABLE table_24193494_3 (division VARCHAR, powertrain__engine_transmission_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT division FROM table_24193494_3 WHERE powertrain__engine_transmission_ = \"Detroit Diesel Series 50EGR Allison WB-400R\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the Modena circuit?\n\n### Context:\nCREATE TABLE table_1140116_5 (winning_driver VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_1140116_5 WHERE circuit = \"Modena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Country is Rocco Mediate from?\n\n### Context:\nCREATE TABLE table_name_49 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_49 WHERE player = \"rocco mediate\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the origin of the one whose final destination is Brandholmen?\n\n### Context:\nCREATE TABLE table_name_15 (origin VARCHAR, final_destination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT origin FROM table_name_15 WHERE final_destination = \"brandholmen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many to par in England?\n\n### Context:\nCREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_93 WHERE country = \"england\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe nation of denmark has what average total nad more than 0 gold?\n\n### Context:\nCREATE TABLE table_name_70 (total INTEGER, nation VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_70 WHERE nation = \"denmark\" AND gold > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the club that had 453 points against, losing bonus of 5 and played of 22, what is the drawn?\n\n### Context:\nCREATE TABLE table_name_94 (drawn VARCHAR, losing_bonus VARCHAR, played VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drawn FROM table_name_94 WHERE played = \"22\" AND points_against = \"453\" AND losing_bonus = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when geelong was the away team?\n\n### Context:\nCREATE TABLE table_name_45 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_45 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the notes of the 400 m event before 2004 with a position of 12th (h)?\n\n### Context:\nCREATE TABLE table_name_69 (notes VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_69 WHERE event = \"400 m\" AND year < 2004 AND position = \"12th (h)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the crowd total for glenferrie oval?\n\n### Context:\nCREATE TABLE table_name_77 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_77 WHERE venue = \"glenferrie oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location of the tallahassee open, with a Score of 269 (\u201319)?\n\n### Context:\nCREATE TABLE table_name_83 (location VARCHAR, score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_83 WHERE score = \"269 (\u201319)\" AND tournament = \"tallahassee open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the circuit held on 15 april?\n\n### Context:\nCREATE TABLE table_name_49 (circuit VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_49 WHERE date = \"15 april\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest yards for a rating larger than 52.8 and more than 13 games?\n\n### Context:\nCREATE TABLE table_name_47 (yards INTEGER, rating VARCHAR, games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(yards) FROM table_name_47 WHERE rating > 52.8 AND games > 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of episodes aired in Canada on 22 October 2004?\n\n### Context:\nCREATE TABLE table_name_18 (episode VARCHAR, airdate__canada_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(episode) FROM table_name_18 WHERE airdate__canada_ = \"22 october 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many no votes did North Dakota have?\n\n### Context:\nCREATE TABLE table_name_48 (no_vote VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_vote FROM table_name_48 WHERE state = \"north dakota\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year in which Kim was nominated for Thirst as Best Actress at the Baeksang Arts Awards?\n\n### Context:\nCREATE TABLE table_name_92 (year INTEGER, group VARCHAR, award VARCHAR, result VARCHAR, film_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_92 WHERE result = \"nominated\" AND film_series = \"thirst\" AND award = \"best actress\" AND group = \"baeksang arts awards\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score with opponent of javier genaro-martinez\n\n### Context:\nCREATE TABLE table_name_44 (score VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_44 WHERE opponent = \"javier genaro-martinez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the carpet w-l in 1993?\n\n### Context:\nCREATE TABLE table_22860698_8 (carpet_w_l VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT carpet_w_l FROM table_22860698_8 WHERE year = 1993"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of amendments cosponsored associated with 53 amendments originally cosponsored and over 54 bills sponsored?\n\n### Context:\nCREATE TABLE table_name_25 (all_amendments_cosponsored INTEGER, amendments_originally_cosponsored VARCHAR, all_bills_sponsored VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(all_amendments_cosponsored) FROM table_name_25 WHERE amendments_originally_cosponsored = 53 AND all_bills_sponsored > 54"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDoes the Scout Association of Hong Kong admit boys, girls, or both?\n\n### Context:\nCREATE TABLE table_104858_1 (admits_boys_girls VARCHAR, name_of_member_organization VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT admits_boys_girls FROM table_104858_1 WHERE name_of_member_organization = \"The Scout Association of Hong Kong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank of the nation with more than 0 silver medals and 38 bronze medals?\n\n### Context:\nCREATE TABLE table_name_97 (rank VARCHAR, silver VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_97 WHERE silver > 0 AND bronze = 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich lead had a season of 2009-10?\n\n### Context:\nCREATE TABLE table_name_40 (lead VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lead FROM table_name_40 WHERE season = \"2009-10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the game in which Deron Williams (13) did the high assists played?\n\n### Context:\nCREATE TABLE table_23286223_5 (date VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_23286223_5 WHERE high_assists = \"Deron Williams (13)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many runners had placings over 8?\n\n### Context:\nCREATE TABLE table_name_34 (runners VARCHAR, placing INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(runners) FROM table_name_34 WHERE placing > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Cole for years before 2009 where Dylan was nominated for big daddy at mtv movie awards\n\n### Context:\nCREATE TABLE table_name_94 (cole VARCHAR, award VARCHAR, work VARCHAR, year VARCHAR, dylan VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cole FROM table_name_94 WHERE year < 2009 AND dylan = \"nominated\" AND work = \"big daddy\" AND award = \"mtv movie awards\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest minutes a goalkeeper with 13 games played has?\n\n### Context:\nCREATE TABLE table_name_25 (minutes INTEGER, games_played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(minutes) FROM table_name_25 WHERE games_played = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is moving from fee in Hun country?\n\n### Context:\nCREATE TABLE table_name_33 (moving_from VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT moving_from FROM table_name_33 WHERE country = \"hun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho ran the fastest lap in the team that competed in Zolder, in which Ferrari was the Constructor?\n\n### Context:\nCREATE TABLE table_name_39 (fastest_lap VARCHAR, constructor VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_name_39 WHERE constructor = \"ferrari\" AND location = \"zolder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the socket with an order part number of amm300dbo22gq and a September 10, 2009 release date?\n\n### Context:\nCREATE TABLE table_name_34 (socket VARCHAR, release_date VARCHAR, order_part_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT socket FROM table_name_34 WHERE release_date = \"september 10, 2009\" AND order_part_number = \"amm300dbo22gq\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the sideline reporter(s) on NBC with al michaels on the play-by-play after 2013?\n\n### Context:\nCREATE TABLE table_name_22 (sideline_reporter_s_ VARCHAR, year VARCHAR, network VARCHAR, play_by_play VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sideline_reporter_s_ FROM table_name_22 WHERE network = \"nbc\" AND play_by_play = \"al michaels\" AND year > 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nA list of the top 10 countries by average invoice size. List country name and average invoice size.\n\n### Context:\nCREATE TABLE invoices (billing_country VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT billing_country, AVG(total) FROM invoices GROUP BY billing_country ORDER BY AVG(total) DESC LIMIT 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the regular season results for the year 2011-2012?\n\n### Context:\nCREATE TABLE table_21756039_1 (regular_season_results VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT regular_season_results FROM table_21756039_1 WHERE year = \"2011-2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which series was his position NC\u2020 ?\n\n### Context:\nCREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_25557880_1 WHERE position = \"NC\u2020\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the 'first season of current spell in top division' if the first season in top division is in 1964-65?\n\n### Context:\nCREATE TABLE table_18143210_2 (first_season_of_current_spell_in_top_division VARCHAR, first_season_in_top_division VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_season_of_current_spell_in_top_division FROM table_18143210_2 WHERE first_season_in_top_division = \"1964-65\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the boat that was built by Chatham and Laid down of 25 april 1887?\n\n### Context:\nCREATE TABLE table_name_75 (name VARCHAR, builder VARCHAR, laid_down VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_75 WHERE builder = \"chatham\" AND laid_down = \"25 april 1887\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of To par when the Finish is t11?\n\n### Context:\nCREATE TABLE table_name_59 (to_par INTEGER, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(to_par) FROM table_name_59 WHERE finish = \"t11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich position was the World Indoor Championships in a year later than 2008?\n\n### Context:\nCREATE TABLE table_name_64 (position VARCHAR, competition VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_64 WHERE competition = \"world indoor championships\" AND year > 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich claimant's rank is 200?\n\n### Context:\nCREATE TABLE table_name_7 (claimant VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT claimant FROM table_name_7 WHERE rank = 200"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes in the season had 3.81 million US viewers?\n\n### Context:\nCREATE TABLE table_24319661_3 (no_in_season VARCHAR, us_viewers__million_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_season) FROM table_24319661_3 WHERE us_viewers__million_ = \"3.81\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the co-presenter of the series Seven (2007)?\n\n### Context:\nCREATE TABLE table_14345690_15 (co_presenter VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT co_presenter FROM table_14345690_15 WHERE series = \"Seven (2007)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of top-10s in events with more than 0 wins?\n\n### Context:\nCREATE TABLE table_name_46 (top_10 INTEGER, wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(top_10) FROM table_name_46 WHERE wins > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average births that had a death rate of 0.4\n\n### Context:\nCREATE TABLE table_name_38 (births__000s_ INTEGER, deaths VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(births__000s_) FROM table_name_38 WHERE deaths = 0.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team did the Flames play against when 526 people attended the game?\n\n### Context:\nCREATE TABLE table_name_11 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_11 WHERE attendance = 526"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the origin of the tth version?\n\n### Context:\nCREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT origin FROM table_name_37 WHERE versions = \"tth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the width for the year of the 1970?\n\n### Context:\nCREATE TABLE table_name_38 (width VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT width FROM table_name_38 WHERE year = \"1970\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended when the record was broken with 47\u201363?\n\n### Context:\nCREATE TABLE table_name_38 (attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_38 WHERE record = \"47\u201363\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nationality of the player who played during the years 1989-92; 1994-95?\n\n### Context:\nCREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_11545282_5 WHERE years_for_jazz = \"1989-92; 1994-95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player has +21 as the to par?\n\n### Context:\nCREATE TABLE table_name_36 (player VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_36 WHERE to_par = \"+21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up?\n\n### Context:\nCREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_24 WHERE winners = \"galatasaray\" AND runners_up = \"trabzonspor\" AND year = 1990"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Rank of the Swimmer in Lane 5?\n\n### Context:\nCREATE TABLE table_name_16 (rank INTEGER, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_16 WHERE lane = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did United States place when the player was Raymond Floyd?\n\n### Context:\nCREATE TABLE table_name_84 (place VARCHAR, country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_84 WHERE country = \"united states\" AND player = \"raymond floyd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Stage 1 winner?\n\n### Context:\nCREATE TABLE table_22917458_15 (winner VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_22917458_15 WHERE stage = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all customers\u2019 names in the alphabetical order.\n\n### Context:\nCREATE TABLE accounts (name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM accounts ORDER BY name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of teams at the philips arena 19,335?\n\n### Context:\nCREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team) FROM table_11961582_6 WHERE location_attendance = \"Philips Arena 19,335\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich week was the game on December 14, 1967?\n\n### Context:\nCREATE TABLE table_name_27 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_27 WHERE date = \"december 14, 1967\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat athletes represented the country of germany?\n\n### Context:\nCREATE TABLE table_name_82 (athletes VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athletes FROM table_name_82 WHERE country = \"germany\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the games with marks of 21\n\n### Context:\nCREATE TABLE table_name_71 (games VARCHAR, marks VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT games FROM table_name_71 WHERE marks = \"21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Region that has a Total GDP (\u20ac bn ) of \u20ac11,745.353?\n\n### Context:\nCREATE TABLE table_name_58 (region VARCHAR, total_gdp__\u20ac_bn__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_58 WHERE total_gdp__\u20ac_bn__ = \"\u20ac11,745.353\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates when ed markey was the incumbent?\n\n### Context:\nCREATE TABLE table_1341395_22 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341395_22 WHERE incumbent = \"Ed Markey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game has the highest score in October with 9?\n\n### Context:\nCREATE TABLE table_name_41 (october INTEGER, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(october) FROM table_name_41 WHERE game = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the original air date for bryan moore & chris peterson\n\n### Context:\nCREATE TABLE table_27988408_1 (original_air_date VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_27988408_1 WHERE written_by = \"Bryan Moore & Chris Peterson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the country for athlete of ziedonis za\u013ckalns\n\n### Context:\nCREATE TABLE table_name_72 (country VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_72 WHERE athlete = \"ziedonis za\u013ckalns\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich office has 1 New Hampshire as a third place state?\n\n### Context:\nCREATE TABLE table_20246201_9 (office VARCHAR, states___third_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT office FROM table_20246201_9 WHERE states___third_place = \"1 New Hampshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of rank for percentage change yoy 13.1%\n\n### Context:\nCREATE TABLE table_27956_3 (national_rank VARCHAR, percentage_change_yoy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(national_rank) FROM table_27956_3 WHERE percentage_change_yoy = \"13.1%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of the products that have the color description \"red\" and have the characteristic name \"fast\".\n\n### Context:\nCREATE TABLE CHARACTERISTICS (characteristic_id VARCHAR, characteristic_name VARCHAR); CREATE TABLE ref_colors (color_code VARCHAR, color_description VARCHAR); CREATE TABLE products (product_id VARCHAR, color_code VARCHAR); CREATE TABLE product_characteristics (product_id VARCHAR, characteristic_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT product_name FROM products AS t1 JOIN product_characteristics AS t2 ON t1.product_id = t2.product_id JOIN CHARACTERISTICS AS t3 ON t2.characteristic_id = t3.characteristic_id JOIN ref_colors AS t4 ON t1.color_code = t4.color_code WHERE t4.color_description = \"red\" AND t3.characteristic_name = \"fast\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0regionalliga west/s\u00fcdwest\u00a0with\u00a0regionalliga s\u00fcd\u00a0being stuttgarter kickers\n\n### Context:\nCREATE TABLE table_14242137_11 (regionalliga_west_s\u00fcdwest VARCHAR, regionalliga_s\u00fcd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT regionalliga_west_s\u00fcdwest FROM table_14242137_11 WHERE regionalliga_s\u00fcd = \"Stuttgarter Kickers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich segment A also has a segment D of kitchen shears?\n\n### Context:\nCREATE TABLE table_name_57 (segment_a VARCHAR, segment_d VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT segment_a FROM table_name_57 WHERE segment_d = \"kitchen shears\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of Ken Still (3) when he won first place?\n\n### Context:\nCREATE TABLE table_name_14 (score VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_14 WHERE winner = \"ken still (3)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Player in 2005 Wimbledon had less than 5 Sets?\n\n### Context:\nCREATE TABLE table_name_12 (player VARCHAR, sets VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_12 WHERE sets < 5 AND event = \"2005 wimbledon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and partition id for users who tweeted less than twice.\n\n### Context:\nCREATE TABLE user_profiles (name VARCHAR, partitionid VARCHAR, uid VARCHAR); CREATE TABLE tweets (uid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, T1.partitionid FROM user_profiles AS T1 JOIN tweets AS T2 ON T1.uid = T2.uid GROUP BY T2.uid HAVING COUNT(*) < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the class of the race that takes place on August 25?\n\n### Context:\nCREATE TABLE table_name_20 (class VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_20 WHERE date = \"august 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the area for german\n\n### Context:\nCREATE TABLE table_26519486_1 (area__km\u00b2_ VARCHAR, languages VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_26519486_1 WHERE languages = \"German\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the music director in 1994?\n\n### Context:\nCREATE TABLE table_name_3 (music_director VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT music_director FROM table_name_3 WHERE year = 1994"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average for the top five having a number of 42 cuts made.\n\n### Context:\nCREATE TABLE table_name_79 (top_5 INTEGER, cuts_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(top_5) FROM table_name_79 WHERE cuts_made = 42"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho came in 3rd place in Kr\u0161ko , Slovenia Matije Gubca Stadium\n\n### Context:\nCREATE TABLE table_19317584_2 (city_and_venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 3 AS rd_placed FROM table_19317584_2 WHERE city_and_venue = \"Kr\u0161ko , Slovenia Matije Gubca Stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the dates when 224 Assassin's Creed: Brotherhood Circus Training was shown on Tuesday?\n\n### Context:\nCREATE TABLE table_18173916_6 (episodes VARCHAR, tuesday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episodes FROM table_18173916_6 WHERE tuesday = \"224 Assassin's Creed: Brotherhood Circus Training\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Competition when the Club was costa rica u-20?\n\n### Context:\nCREATE TABLE table_name_94 (competition VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_94 WHERE club = \"costa rica u-20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich founding year corresponds with the highest enrollment? \n\n### Context:\nCREATE TABLE table_261946_3 (founded INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(founded) FROM table_261946_3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the participant or recipient for the Best Female Actor?\n\n### Context:\nCREATE TABLE table_26282750_1 (participants_recipients VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT participants_recipients FROM table_26282750_1 WHERE category = \"Best Female Actor\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat decade is the artist the replacements?\n\n### Context:\nCREATE TABLE table_name_92 (decade VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT decade FROM table_name_92 WHERE artist = \"the replacements\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the Capitals game when Columbus was the home team?\n\n### Context:\nCREATE TABLE table_name_28 (date VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_28 WHERE home = \"columbus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the game that was played on february 27, 2000?\n\n### Context:\nCREATE TABLE table_name_38 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_38 WHERE date = \"february 27, 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHICH Regular Season has a League of npsl, and a Year of 2008?\n\n### Context:\nCREATE TABLE table_name_64 (regular_season VARCHAR, league VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT regular_season FROM table_name_64 WHERE league = \"npsl\" AND year = \"2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Total of the player who won before 1983 with a smaller than 4 To par?\n\n### Context:\nCREATE TABLE table_name_46 (total VARCHAR, to_par VARCHAR, year_won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_46 WHERE to_par < 4 AND year_won < 1983"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?\n\n### Context:\nCREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(grid) FROM table_name_99 WHERE constructor = \"mclaren - mercedes\" AND driver = \"david coulthard\" AND laps < 66"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record at Arrowhead Pond of Anaheim, when the loss was Bryzgalov (10\u201311\u20131)?\n\n### Context:\nCREATE TABLE table_name_53 (record VARCHAR, arena VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_53 WHERE arena = \"arrowhead pond of anaheim\" AND loss = \"bryzgalov (10\u201311\u20131)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the southern lakota for h\u00ed\u014bha\u014bna\n\n### Context:\nCREATE TABLE table_1499774_5 (southern_lakota VARCHAR, yankton_yanktonai VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT southern_lakota FROM table_1499774_5 WHERE yankton_yanktonai = \"h\u00ed\u014bha\u014bna\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the term in office for liberal and state of sa for ian mclachlan\n\n### Context:\nCREATE TABLE table_name_27 (term_in_office VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT term_in_office FROM table_name_27 WHERE party = \"liberal\" AND state = \"sa\" AND member = \"ian mclachlan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day did they play the bolton wanderers with a result F\u2013A of 1\u20132?\n\n### Context:\nCREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_78 WHERE result_f_a = \"1\u20132\" AND opponent = \"bolton wanderers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the location and attendance for the game against New Jersey?\n\n### Context:\nCREATE TABLE table_name_33 (location_attendance VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_33 WHERE team = \"new jersey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the incumbent for north carolina 9\n\n### Context:\nCREATE TABLE table_19753079_36 (incumbent VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_19753079_36 WHERE district = \"North Carolina 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location and attendance when the team's record was 16-44?\n\n### Context:\nCREATE TABLE table_13464416_8 (location_attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_13464416_8 WHERE record = \"16-44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year did Ilju\u0161t\u0161enko compete in Barcelona, Spain?\n\n### Context:\nCREATE TABLE table_name_70 (year VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_70 WHERE venue = \"barcelona, spain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow tall is someone who is able to wear 33-24-35\n\n### Context:\nCREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_27515452_3 WHERE sizes = \"33-24-35\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen in 2008 that has a 2007 of f?\n\n### Context:\nCREATE TABLE table_name_30 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_30 WHERE 2007 = \"f\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sanskrit word for the color red?\n\n### Context:\nCREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sanskrit_word FROM table_180802_3 WHERE color = \"red\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the game when 45,943 attended?\n\n### Context:\nCREATE TABLE table_name_56 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_56 WHERE attendance = \"45,943\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the interview subject when the centerfold model was Sherry Arnett?\n\n### Context:\nCREATE TABLE table_1566848_7 (interview_subject VARCHAR, centerfold_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(interview_subject) FROM table_1566848_7 WHERE centerfold_model = \"Sherry Arnett\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nYear larger than 2008 includes which notes?\n\n### Context:\nCREATE TABLE table_name_35 (notes VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_35 WHERE year > 2008"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Hon. Vicente Q. Roxas appointment date?\n\n### Context:\nCREATE TABLE table_name_25 (date_of_appointment VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_name_25 WHERE name = \"hon. vicente q. roxas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many cinema do we have?\n\n### Context:\nCREATE TABLE cinema (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM cinema"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the title of the episode with a production code of 3x6404?\n\n### Context:\nCREATE TABLE table_27776266_1 (title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_27776266_1 WHERE production_code = \"3X6404\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many winning drivers are there when the winning team is Bryan herta autosport?\n\n### Context:\nCREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = \"Bryan Herta Autosport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode that has the production code ad1c05?\n\n### Context:\nCREATE TABLE table_name_4 (written_by VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_name_4 WHERE production_code = \"ad1c05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many international builders are there?\n\n### Context:\nCREATE TABLE table_name_84 (total VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_84 WHERE builder = \"international\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the college of dave adams, who has a pick greater than 7?\n\n### Context:\nCREATE TABLE table_name_63 (college VARCHAR, pick VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_63 WHERE pick > 7 AND name = \"dave adams\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Gold where the Nation is Russia (rus) and the number of silver is less than 2?\n\n### Context:\nCREATE TABLE table_name_99 (gold INTEGER, nation VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_99 WHERE nation = \"russia (rus)\" AND silver < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many challenge leaders were there of the games won by virginia (87-79)?\n\n### Context:\nCREATE TABLE table_29535057_4 (challenge_leader VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(challenge_leader) FROM table_29535057_4 WHERE winner = \"Virginia (87-79)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest value for 1970, when the value for 1960 is less than 61.9, when the value for 1980 is less than 3.8, when the value for 1990 is 3.3, and when the value for 2000 is greater than 3.2?\n\n### Context:\nCREATE TABLE table_name_81 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(1970) FROM table_name_81 WHERE 1960 < 61.9 AND 1980 < 3.8 AND 1990 = 3.3 AND 2000 > 3.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the accompaniment when the title is stormy seas blues?\n\n### Context:\nCREATE TABLE table_name_26 (accompaniment VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT accompaniment FROM table_name_26 WHERE title = \"stormy seas blues\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHich October has a Record of 1\u20130\u20130?\n\n### Context:\nCREATE TABLE table_name_50 (october INTEGER, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(october) FROM table_name_50 WHERE record = \"1\u20130\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere the Vancouver Grizzlies is the awards, what is the conference?\n\n### Context:\nCREATE TABLE table_name_29 (conference VARCHAR, awards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conference FROM table_name_29 WHERE awards = \"vancouver grizzlies\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first game played against the Chicago Black Hawks?\n\n### Context:\nCREATE TABLE table_name_92 (game INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_92 WHERE opponent = \"chicago black hawks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the state of Ted Stevens?\n\n### Context:\nCREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state_represented FROM table_10644188_3 WHERE name = \"Ted Stevens\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has 7 as the round, with a pick # less than 214?\n\n### Context:\nCREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the \"normalized\" transliteration for Roman i\n\n### Context:\nCREATE TABLE table_name_9 (roman_equivalent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT \"normalised\" AS _transliteration FROM table_name_9 WHERE roman_equivalent = \"i\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many values for attendance on the date of August 26?\n\n### Context:\nCREATE TABLE table_23916462_3 (attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_23916462_3 WHERE date = \"August 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Grid for Rider Ruben Xaus?\n\n### Context:\nCREATE TABLE table_name_22 (grid INTEGER, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_22 WHERE rider = \"ruben xaus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the ground of the tim trophy competition, which had a time of 23:00 cet?\n\n### Context:\nCREATE TABLE table_name_83 (ground VARCHAR, competition VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ground FROM table_name_83 WHERE competition = \"tim trophy\" AND time = \"23:00 cet\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away team that played Northampton Town at home with a tie number of replay?\n\n### Context:\nCREATE TABLE table_name_53 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_53 WHERE tie_no = \"replay\" AND home_team = \"northampton town\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn season 5 what episode number was production 06-03-519?\n\n### Context:\nCREATE TABLE table_1876825_6 (no_in_season VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_in_season) FROM table_1876825_6 WHERE production_code = \"06-03-519\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the match report for the game that was played on 23 august 2008 in stark's park during the second division competition?\n\n### Context:\nCREATE TABLE table_name_13 (match_report VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT match_report FROM table_name_13 WHERE venue = \"stark's park\" AND competition = \"second division\" AND date = \"23 august 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number that 0 silver?\n\n### Context:\nCREATE TABLE table_name_14 (total VARCHAR, silver INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_14 WHERE silver < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow man innings were there during the period with a career average of 41.43?\n\n### Context:\nCREATE TABLE table_21100348_10 (innings VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT innings FROM table_21100348_10 WHERE average = \"41.43\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the tyres for hans binder\n\n### Context:\nCREATE TABLE table_name_46 (tyres VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyres FROM table_name_46 WHERE driver = \"hans binder\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 7.08 is the amount of viewers what is the air date?\n\n### Context:\nCREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT air_date FROM table_24781886_3 WHERE viewers = \"7.08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the other awards for 1995?\n\n### Context:\nCREATE TABLE table_name_77 (other_awards VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT other_awards FROM table_name_77 WHERE year = 1995"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner of the game in 1999 with Kansas City Chiefs as the loser?\n\n### Context:\nCREATE TABLE table_name_29 (winner VARCHAR, year VARCHAR, loser VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_29 WHERE year = 1999 AND loser = \"kansas city chiefs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week did the Seahawks play at los angeles memorial coliseum?\n\n### Context:\nCREATE TABLE table_13258876_2 (week INTEGER, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(week) FROM table_13258876_2 WHERE game_site = \"Los Angeles Memorial Coliseum\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all the results for mahmoud ahmadinejad when candidate mir-hossein mousavi obtained 218481 votes.\n\n### Context:\nCREATE TABLE table_23390604_1 (mahmoud_ahmadinejad VARCHAR, mir_hossein_mousavi VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mahmoud_ahmadinejad FROM table_23390604_1 WHERE mir_hossein_mousavi = 218481"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the lowest Long that has the Gain of 20, and the Loss smaller than 0?\n\n### Context:\nCREATE TABLE table_name_19 (long INTEGER, gain VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(long) FROM table_name_19 WHERE gain = 20 AND loss < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the position for pick number 39\n\n### Context:\nCREATE TABLE table_2508633_2 (position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2508633_2 WHERE pick__number = 39"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest first elected for district georgia 1?\n\n### Context:\nCREATE TABLE table_1341640_11 (first_elected INTEGER, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1341640_11 WHERE district = \"Georgia 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of party with the incubent james william trimble\n\n### Context:\nCREATE TABLE table_1341930_5 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_1341930_5 WHERE incumbent = \"James William Trimble\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Bike with 18 laps and +41.280 as the time?\n\n### Context:\nCREATE TABLE table_name_51 (bike VARCHAR, laps VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bike FROM table_name_51 WHERE laps = 18 AND time = \"+41.280\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat home team has a rank greater than 6, and 94,392 as the capacity?\n\n### Context:\nCREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = \"94,392\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the value \"League Cup\", when the Total is less than 1, and when the League is less than 0?\n\n### Context:\nCREATE TABLE table_name_7 (league INTEGER, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(league) AS Cup FROM table_name_7 WHERE total < 1 AND league < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat series was directed by Frank Tashlin and has the production number, 8053?\n\n### Context:\nCREATE TABLE table_name_28 (series VARCHAR, director VARCHAR, production_num VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_name_28 WHERE director = \"frank tashlin\" AND production_num = \"8053\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much is the Singapore Gross for the film that Siu Wing directed?\n\n### Context:\nCREATE TABLE table_name_93 (singapore_gross VARCHAR, director VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT singapore_gross FROM table_name_93 WHERE director = \"siu wing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the premier team that has 38 points and won with a score of 38-0?\n\n### Context:\nCREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT premiers FROM table_name_16 WHERE points = 38 AND score = \"38-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat argon has a neon of 10.5?\n\n### Context:\nCREATE TABLE table_name_51 (argon VARCHAR, neon VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT argon FROM table_name_51 WHERE neon = \"10.5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance when they played at Dallas Cowboys?\n\n### Context:\nCREATE TABLE table_name_69 (attendance VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_69 WHERE opponent = \"at dallas cowboys\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the pick of Charley Taylor, who has an overall greater than 3?\n\n### Context:\nCREATE TABLE table_name_58 (pick INTEGER, name VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(pick) FROM table_name_58 WHERE name = \"charley taylor\" AND overall > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the game with a Score of 6\u20134, 6\u20132?\n\n### Context:\nCREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_26 WHERE score = \"6\u20134, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date with the distance of km (mi) at the course of roccaraso to san giorgio del sannio?\n\n### Context:\nCREATE TABLE table_name_20 (date VARCHAR, distance VARCHAR, course VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_20 WHERE distance = \"km (mi)\" AND course = \"roccaraso to san giorgio del sannio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lead has a Skip of mike mcewen?\n\n### Context:\nCREATE TABLE table_name_73 (lead VARCHAR, skip VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lead FROM table_name_73 WHERE skip = \"mike mcewen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the least amount of milk cattle in ontario\n\n### Context:\nCREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = \"Ontario\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich points classification was used in stage 15?\n\n### Context:\nCREATE TABLE table_name_54 (points_classification VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_classification FROM table_name_54 WHERE stage = \"15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nation has a Bronze and Silver smaller than 1 and a Gold larger than 1?\n\n### Context:\nCREATE TABLE table_name_87 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_87 WHERE bronze < 1 AND silver < 1 AND gold > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is richmond's scores when they are the home team?\n\n### Context:\nCREATE TABLE table_name_53 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_53 WHERE home_team = \"richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Position is listed against a Venue of Debrecen, Hungary\n\n### Context:\nCREATE TABLE table_name_64 (position VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_64 WHERE venue = \"debrecen, hungary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Cardinalatial Title has an Elevator of pope eugenius iv?\n\n### Context:\nCREATE TABLE table_name_77 (cardinalatial_title VARCHAR, elevator VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cardinalatial_title FROM table_name_77 WHERE elevator = \"pope eugenius iv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name with the builder of Kerr Stuart\n\n### Context:\nCREATE TABLE table_142159_1 (name VARCHAR, builder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_142159_1 WHERE builder = \"Kerr Stuart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the area of the nation with GDP per capita (US$) of 11,929?\n\n### Context:\nCREATE TABLE table_name_11 (area__km\u00b2_ VARCHAR, gdp_per_capita__us$_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT area__km\u00b2_ FROM table_name_11 WHERE gdp_per_capita__us$_ = \"11,929\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich episode was Transmitted on wednesday if the episode of \"438 magic: the gathering mini masters tournament\" was transmitted on thursday? \n\n### Context:\nCREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wednesday FROM table_18173916_8 WHERE thursday = \"438 Magic: The Gathering Mini Masters Tournament\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith an issue date(s) of 12 September, what is in the column for Weeks on Top?\n\n### Context:\nCREATE TABLE table_name_96 (weeks_on_top VARCHAR, issue_date_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT weeks_on_top FROM table_name_96 WHERE issue_date_s_ = \"12 september\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played Blackpool when Blackpool was at home?\n\n### Context:\nCREATE TABLE table_name_2 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_2 WHERE home_team = \"blackpool\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day was the game held at Firhill against AYR United?\n\n### Context:\nCREATE TABLE table_name_60 (date VARCHAR, venue VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_60 WHERE venue = \"firhill\" AND opponent = \"ayr united\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of\u00a0average\u00a0where\u00a0evening gown\u00a0is 8.988\n\n### Context:\nCREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = \"8.988\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich years had other a of 8 (1)?\n\n### Context:\nCREATE TABLE table_14962287_1 (years VARCHAR, other_a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_14962287_1 WHERE other_a = \"8 (1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of students who have at least 2 likes.\n\n### Context:\nCREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when the attendance was 12,000?\n\n### Context:\nCREATE TABLE table_name_77 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_77 WHERE attendance = \"12,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the k. r. narayanan values for pondicherry\n\n### Context:\nCREATE TABLE table_22897453_1 (kr_narayanan__values_ VARCHAR, states VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kr_narayanan__values_ FROM table_22897453_1 WHERE states = \"Pondicherry\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Yaroslav Popovych won most corageous, who won the mountains classification?\n\n### Context:\nCREATE TABLE table_25055040_22 (mountains_classification VARCHAR, most_courageous VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mountains_classification FROM table_25055040_22 WHERE most_courageous = \"Yaroslav Popovych\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the NBA draft status for Northeast High School?\n\n### Context:\nCREATE TABLE table_name_7 (nba_draft VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nba_draft FROM table_name_7 WHERE school = \"northeast high school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goals against have 58 points?\n\n### Context:\nCREATE TABLE table_name_82 (goals_against VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT goals_against FROM table_name_82 WHERE points = 58"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the round when nueza silva played against greece?\n\n### Context:\nCREATE TABLE table_name_31 (round VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_31 WHERE against = \"greece\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the comprehension for non-fluent, effortful, slow\n\n### Context:\nCREATE TABLE table_2088_1 (auditory_comprehension VARCHAR, fluency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT auditory_comprehension FROM table_2088_1 WHERE fluency = \"non-fluent, effortful, slow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Against, when Status is \"First Test\", and when Date is \"26/05/2007\"?\n\n### Context:\nCREATE TABLE table_name_42 (against INTEGER, status VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(against) FROM table_name_42 WHERE status = \"first test\" AND date = \"26/05/2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the nation when bronze is less than 7, gold is larger than 0, total is larger than 7, and silver is smaller than 3?\n\n### Context:\nCREATE TABLE table_name_96 (nation VARCHAR, silver VARCHAR, total VARCHAR, bronze VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_96 WHERE bronze < 7 AND gold > 0 AND total > 7 AND silver < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Tuesday has a Saturday of \u571f\u66dc\u65e5 doy\u014dbi?\n\n### Context:\nCREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tuesday FROM table_name_94 WHERE saturday = \"\u571f\u66dc\u65e5 doy\u014dbi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the george bush for ronald reagan of 43%\n\n### Context:\nCREATE TABLE table_name_59 (george_h_w_bush VARCHAR, ronald_reagan VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT george_h_w_bush FROM table_name_59 WHERE ronald_reagan = \"43%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the distance for the course Civitavecchia to San Vincenzo?\n\n### Context:\nCREATE TABLE table_name_72 (distance VARCHAR, course VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_name_72 WHERE course = \"civitavecchia to san vincenzo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Circuit has a Winning Driver of hans-joachim stuck, and a Round of 3?\n\n### Context:\nCREATE TABLE table_name_74 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_74 WHERE winning_driver = \"hans-joachim stuck\" AND round = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of goals on the debut date of 14-04-1907?\n\n### Context:\nCREATE TABLE table_11585313_1 (number_of_goals VARCHAR, date_of_debut VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(number_of_goals) FROM table_11585313_1 WHERE date_of_debut = \"14-04-1907\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue that has 34-18 as the score?\n\n### Context:\nCREATE TABLE table_21350934_2 (venue VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_21350934_2 WHERE score = \"34-18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the rating in 1997?\n\n### Context:\nCREATE TABLE table_11691212_2 (ratings VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ratings FROM table_11691212_2 WHERE year = 1997"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE PLACE WITH PLAYER mark o'meara?\n\n### Context:\nCREATE TABLE table_name_78 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_78 WHERE player = \"mark o'meara\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Frequency in Davao City?\n\n### Context:\nCREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_name_91 WHERE location = \"davao city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf collingwood was the Home team, what Date did they play?\n\n### Context:\nCREATE TABLE table_name_71 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_71 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere the time/retired is +1 lap, the constructor is BRM, and the grid is above 1, what's the highest laps recorded?\n\n### Context:\nCREATE TABLE table_name_25 (laps INTEGER, grid VARCHAR, time_retired VARCHAR, constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_25 WHERE time_retired = \"+1 lap\" AND constructor = \"brm\" AND grid > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the date for game 8\n\n### Context:\nCREATE TABLE table_21091157_1 (date VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_21091157_1 WHERE game = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent before week 5 that played on September 23, 2001?\n\n### Context:\nCREATE TABLE table_name_99 (opponent VARCHAR, week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_99 WHERE week < 5 AND date = \"september 23, 2001\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of bronzes that is less than 1 in total?\n\n### Context:\nCREATE TABLE table_name_24 (bronze VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_24 WHERE total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich circuit did alfa romeo win?\n\n### Context:\nCREATE TABLE table_name_41 (circuit VARCHAR, winning_constructor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_41 WHERE winning_constructor = \"alfa romeo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position had notes of 20km and a year earlier than 2002?\n\n### Context:\nCREATE TABLE table_name_29 (position VARCHAR, notes VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_29 WHERE notes = \"20km\" AND year < 2002"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the proto-semitic is *bayt-, what are the geez?\n\n### Context:\nCREATE TABLE table_26919_7 (geez VARCHAR, proto_semitic VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT geez FROM table_26919_7 WHERE proto_semitic = \"*bayt-\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the finish when there was more than 192 laps and a qual of 135.736?\n\n### Context:\nCREATE TABLE table_name_2 (finish VARCHAR, laps VARCHAR, qual VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT finish FROM table_name_2 WHERE laps > 192 AND qual = \"135.736\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years runner-up is Birmingham city, with over 1 runners-up?\n\n### Context:\nCREATE TABLE table_name_91 (years_runner_up VARCHAR, runners_up VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = \"birmingham city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the FIS Nordic World Ski Championships when holmenkollen is 1976?\n\n### Context:\nCREATE TABLE table_174491_2 (fis_nordic_world_ski_championships VARCHAR, holmenkollen VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fis_nordic_world_ski_championships FROM table_174491_2 WHERE holmenkollen = \"1976\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the jockey for the winning horse Rafael Bejarano?\n\n### Context:\nCREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_horse FROM table_name_81 WHERE winning_jockey = \"rafael bejarano\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the candidates in the race where Wright Patman is the incumbent?\n\n### Context:\nCREATE TABLE table_1342315_42 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1342315_42 WHERE incumbent = \"Wright Patman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Surface of the court against Ivo Klec with a Score of 6\u20133, 6\u20133?\n\n### Context:\nCREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_61 WHERE opponent = \"ivo klec\" AND score = \"6\u20133, 6\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Tries Against, when Points For is 98?\n\n### Context:\nCREATE TABLE table_name_22 (tries_against VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_against FROM table_name_22 WHERE points_for = \"98\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the player who is Sco and moving to greenock morton in the summer?\n\n### Context:\nCREATE TABLE table_name_83 (name VARCHAR, moving_to VARCHAR, nat VARCHAR, transfer_window VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_83 WHERE nat = \"sco\" AND transfer_window = \"summer\" AND moving_to = \"greenock morton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lap total for the grid under 15 that retired due to transmission?\n\n### Context:\nCREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(laps) FROM table_name_65 WHERE grid < 15 AND time_retired = \"transmission\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the actor/actress with a last appearance of 1 january 2010 and total is 20 and character is vanessa 'nessa' jenkins?\n\n### Context:\nCREATE TABLE table_25831483_1 (actor_actress VARCHAR, character VARCHAR, last_appearance VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT actor_actress FROM table_25831483_1 WHERE last_appearance = \"1 January 2010\" AND total = 20 AND character = \"Vanessa 'Nessa' Jenkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of a player from North Carolina?\n\n### Context:\nCREATE TABLE table_name_57 (position VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_57 WHERE school = \"north carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the highest rebounds against detroit?\n\n### Context:\nCREATE TABLE table_name_65 (high_rebounds VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_65 WHERE team = \"detroit\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponents have a Team of arsenal, and a Year of 1963\u201364?\n\n### Context:\nCREATE TABLE table_name_49 (opponents VARCHAR, team VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents FROM table_name_49 WHERE team = \"arsenal\" AND year = \"1963\u201364\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on February 9?\n\n### Context:\nCREATE TABLE table_name_84 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_84 WHERE date = \"february 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many scores are listed for game 37?\n\n### Context:\nCREATE TABLE table_17001658_7 (score VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(score) FROM table_17001658_7 WHERE game = 37"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Winning driver of mercedes on 22 august?\n\n### Context:\nCREATE TABLE table_name_91 (winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_91 WHERE winning_constructor = \"mercedes\" AND date = \"22 august\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2012 club of the cf pos. player?\n\n### Context:\nCREATE TABLE table_name_85 (pos VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2012 AS _club FROM table_name_85 WHERE pos = \"cf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE FIRST LEG OF TUILLA?\n\n### Context:\nCREATE TABLE table_name_79 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_79 WHERE team_1 = \"tuilla\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many were in Attendance during a Tie no of 1?\n\n### Context:\nCREATE TABLE table_name_89 (attendance VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_89 WHERE tie_no = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Tournament, when 2003 is \"A\"?\n\n### Context:\nCREATE TABLE table_name_90 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_90 WHERE 2003 = \"a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Footscray's score as the away team?\n\n### Context:\nCREATE TABLE table_name_94 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_94 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the Loss of Plesac (1-5), what is the Record?\n\n### Context:\nCREATE TABLE table_name_63 (record VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_63 WHERE loss = \"plesac (1-5)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of points for field goals being 1\n\n### Context:\nCREATE TABLE table_14342480_6 (points VARCHAR, field_goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_14342480_6 WHERE field_goals = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many averages were listed for the couple who had 12 dances?\n\n### Context:\nCREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score with a Winning team that is san antonio spurs?\n\n### Context:\nCREATE TABLE table_name_48 (score VARCHAR, winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_48 WHERE winning_team = \"san antonio spurs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFulham as Team 1 has the 2nd leg score of what?\n\n### Context:\nCREATE TABLE table_name_44 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_name_44 WHERE team_1 = \"fulham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Away captain with a Venue that is old trafford?\n\n### Context:\nCREATE TABLE table_name_36 (away_captain VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_captain FROM table_name_36 WHERE venue = \"old trafford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the height in inches if the represented is Erongo?\n\n### Context:\nCREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height__in_ FROM table_23576576_2 WHERE represented = \"Erongo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average goals scored when less than 34 were played and there were more than 2 draws?\n\n### Context:\nCREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the first elected for kentucky 1\n\n### Context:\nCREATE TABLE table_2668378_5 (first_elected VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_2668378_5 WHERE district = \"Kentucky 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the tyre with a 56 chassis?\n\n### Context:\nCREATE TABLE table_name_99 (tyre VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyre FROM table_name_99 WHERE chassis = \"56\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score for fiji\n\n### Context:\nCREATE TABLE table_name_99 (score VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_99 WHERE country = \"fiji\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich method's event was flawless fighting championship 1: the beginning?\n\n### Context:\nCREATE TABLE table_name_42 (method VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_42 WHERE event = \"flawless fighting championship 1: the beginning\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Saturday has a Thursday of \u6728\u66dc\u65e5 mokuy\u014dbi\n\n### Context:\nCREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT saturday FROM table_name_8 WHERE thursday = \"\u6728\u66dc\u65e5 mokuy\u014dbi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the ship types delivered when the total vessels built for usmc is 13 ships for usmc (plus 37 more for usn)?\n\n### Context:\nCREATE TABLE table_name_21 (ship_types_delivered VARCHAR, total_vessels_built_for_usmc VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ship_types_delivered FROM table_name_21 WHERE total_vessels_built_for_usmc = \"13 ships for usmc (plus 37 more for usn)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first round when team 1 was toulouse fc (d1)?\n\n### Context:\nCREATE TABLE table_name_44 (team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_round FROM table_name_44 WHERE team_1 = \"toulouse fc (d1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest rink for Kingston?\n\n### Context:\nCREATE TABLE table_name_94 (rank INTEGER, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_94 WHERE location = \"kingston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Points have a Score of 3\u20132, and an Attendance larger than 17,398?\n\n### Context:\nCREATE TABLE table_name_86 (points INTEGER, score VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_86 WHERE score = \"3\u20132\" AND attendance > 17 OFFSET 398"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the of games when for the term [c] of 1969 \u2013 1973?\n\n### Context:\nCREATE TABLE table_name_24 (games INTEGER, term_ VARCHAR, c_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(games) FROM table_name_24 WHERE term_[c_] = \"1969 \u2013 1973\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the team with the nickname pride established?\n\n### Context:\nCREATE TABLE table_name_14 (established VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(established) FROM table_name_14 WHERE nickname = \"pride\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind all the stores in the district with the most population.\n\n### Context:\nCREATE TABLE store_district (store_id VARCHAR); CREATE TABLE district (district_id VARCHAR, city_population VARCHAR); CREATE TABLE store (store_name VARCHAR, store_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.store_name FROM store AS t1 JOIN store_district AS t2 ON t1.store_id = t2.store_id WHERE district_id = (SELECT district_id FROM district ORDER BY city_population DESC LIMIT 1)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many hometowns for faisal aden?\n\n### Context:\nCREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(hometown) FROM table_29598261_1 WHERE name = \"Faisal Aden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe player with a rank of 9, made a move from what football club?\n\n### Context:\nCREATE TABLE table_name_55 (moving_from VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT moving_from FROM table_name_55 WHERE rank = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of captains for barcelona\n\n### Context:\nCREATE TABLE table_29398373_2 (captain VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(captain) FROM table_29398373_2 WHERE team = \"Barcelona\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho did the Blue Jays lose to when their record was 36-20?\n\n### Context:\nCREATE TABLE table_name_3 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_3 WHERE record = \"36-20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the visiting team who played at the hubert h. humphrey metrodome stadium?\n\n### Context:\nCREATE TABLE table_name_67 (visiting_team VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_67 WHERE stadium = \"hubert h. humphrey metrodome\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the end (UTC) for spacecraft STS-114 Eva 3?\n\n### Context:\nCREATE TABLE table_22385461_6 (end__utc_ VARCHAR, spacecraft VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT end__utc_ FROM table_22385461_6 WHERE spacecraft = \"STS-114 EVA 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Total Congregations, when % LDS is 0.54%, and when Population is greater than 105,275?\n\n### Context:\nCREATE TABLE table_name_85 (total_congregations VARCHAR, _percentage_lds VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_congregations) FROM table_name_85 WHERE _percentage_lds = \"0.54%\" AND population > 105 OFFSET 275"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was Hon Les Johnson in office?\n\n### Context:\nCREATE TABLE table_name_74 (term_in_office VARCHAR, member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT term_in_office FROM table_name_74 WHERE member = \"hon les johnson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of Bronze with a total smaller than 3, and a nation of Poland, and a rank larger than 4?\n\n### Context:\nCREATE TABLE table_name_52 (bronze VARCHAR, rank VARCHAR, total VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_52 WHERE total < 3 AND nation = \"poland\" AND rank > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the orchestra when the year of recording is 1934?\n\n### Context:\nCREATE TABLE table_222198_1 (orchestra VARCHAR, year_of_recording VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT orchestra FROM table_222198_1 WHERE year_of_recording = 1934"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the To par for leland gibson\n\n### Context:\nCREATE TABLE table_name_59 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_59 WHERE player = \"leland gibson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Team has a Class of 350cc, with less than 13 points in 1959?\n\n### Context:\nCREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_93 WHERE class = \"350cc\" AND points < 13 AND year = 1959"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich chassis-engine had 77 laps?\n\n### Context:\nCREATE TABLE table_name_9 (chassis___engine VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis___engine FROM table_name_9 WHERE laps = 77"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of \u00bd\u2013\u00bd?\n\n### Context:\nCREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_19 WHERE result = \"\u00bd\u2013\u00bd\" AND black = \"kramnik\" AND opening = \"e05 catalan opening\" AND moves > 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Japanese orthography for the abbreviation of ndmc?\n\n### Context:\nCREATE TABLE table_name_39 (japanese_orthography VARCHAR, abbreviation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT japanese_orthography FROM table_name_39 WHERE abbreviation = \"ndmc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of users whose emails contain \u2018superstar\u2019 or \u2018edu\u2019.\n\n### Context:\nCREATE TABLE user_profiles (name VARCHAR, email VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM user_profiles WHERE email LIKE '%superstar%' OR email LIKE '%edu%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest number of members lost when the net change is \u22121?\n\n### Context:\nCREATE TABLE table_27671835_3 (members_lost INTEGER, net_change VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(members_lost) FROM table_27671835_3 WHERE net_change = \"\u22121\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me lived for name of 1994/2003\n\n### Context:\nCREATE TABLE table_name_99 (lived_when___mya__ VARCHAR, discovery___publication_of_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lived_when___mya__ FROM table_name_99 WHERE discovery___publication_of_name = \"1994/2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat name has 8 as the number?\n\n### Context:\nCREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_5 WHERE number = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the Colts play New York Jets?\n\n### Context:\nCREATE TABLE table_14945608_1 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_14945608_1 WHERE opponent = \"New York Jets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the newest season?\n\n### Context:\nCREATE TABLE table_2140071_7 (season INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season) FROM table_2140071_7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is To Par, when Country is \"United States\", when Place is \"T4\", and when Score is \"71-68=139\"?\n\n### Context:\nCREATE TABLE table_name_75 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_75 WHERE country = \"united states\" AND place = \"t4\" AND score = 71 - 68 = 139"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date for the 130-56 game?\n\n### Context:\nCREATE TABLE table_name_26 (date VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_26 WHERE score = \"130-56\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many figures for wickets when the strike rate is 54.0?\n\n### Context:\nCREATE TABLE table_19662262_6 (wickets VARCHAR, strike_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wickets) FROM table_19662262_6 WHERE strike_rate = \"54.0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat away team score has carlton home team?\n\n### Context:\nCREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_85 WHERE home_team = \"carlton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many attended the game when the score was tie at 4?\n\n### Context:\nCREATE TABLE table_name_65 (attendance VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_65 WHERE tie_no = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day did Geelong play as the away team?\n\n### Context:\nCREATE TABLE table_name_73 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_73 WHERE away_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the result for New York 7 district\n\n### Context:\nCREATE TABLE table_1341395_33 (result VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1341395_33 WHERE district = \"New York 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the name of all rooms sorted by their prices.\n\n### Context:\nCREATE TABLE Rooms (roomName VARCHAR, basePrice VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT roomName FROM Rooms ORDER BY basePrice"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the id for the employee called Ebba?\n\n### Context:\nCREATE TABLE Employees (employee_ID VARCHAR, employee_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT employee_ID FROM Employees WHERE employee_name = \"Ebba\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many millions of US viewers watched the episode written by Jack Sanderson?\n\n### Context:\nCREATE TABLE table_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__millions_ FROM table_27462177_1 WHERE written_by = \"Jack Sanderson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the highest chapter with chinese of \u91cb\u8a00\n\n### Context:\nCREATE TABLE table_name_24 (chapter INTEGER, chinese VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(chapter) FROM table_name_24 WHERE chinese = \"\u91cb\u8a00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has a competition of 2012 afc challenge cup, and dasarath rangasala stadium, kathmandu as the venue?\n\n### Context:\nCREATE TABLE table_name_56 (date VARCHAR, competition VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_56 WHERE competition = \"2012 afc challenge cup\" AND venue = \"dasarath rangasala stadium, kathmandu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most points that the Maserati 250F chassis scored in years after 1955?\n\n### Context:\nCREATE TABLE table_name_39 (points INTEGER, chassis VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_39 WHERE chassis = \"maserati 250f\" AND year > 1955"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the earliest year that there was a cosworth v8 engine and 12 points?\n\n### Context:\nCREATE TABLE table_name_39 (year INTEGER, engine VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_39 WHERE engine = \"cosworth v8\" AND points = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Fatalities when the tail number was unknown and in Kabul>\n\n### Context:\nCREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fatalities FROM table_name_53 WHERE tail_number = \"unknown\" AND location = \"kabul\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich college's overall number is more than 158 when Travian Robertson is the name?\n\n### Context:\nCREATE TABLE table_name_87 (college VARCHAR, overall VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_87 WHERE overall > 158 AND name = \"travian robertson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many countries spent $83.7 billion on international tourism in 2012?\n\n### Context:\nCREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = \"$83.7 billion\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many viewers watched the episode written by shana goldberg-meehan & greg malins? \n\n### Context:\nCREATE TABLE table_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = \"Shana Goldberg-Meehan & Greg Malins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school is in Riverside, CA?\n\n### Context:\nCREATE TABLE table_name_76 (school VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_76 WHERE hometown = \"riverside, ca\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of To Par, when Score is \"70-75-76=221\"?\n\n### Context:\nCREATE TABLE table_name_16 (to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(to_par) FROM table_name_16 WHERE score = 70 - 75 - 76 = 221"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school has a size less than 674, has a county of 19 dubois, and has the rangers as their mascot?\n\n### Context:\nCREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, size VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_43 WHERE size < 674 AND county = \"19 dubois\" AND mascot = \"rangers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn Colorado 6 district what is the party?\n\n### Context:\nCREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_66 WHERE district = \"colorado 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average draw has points greater than 12?\n\n### Context:\nCREATE TABLE table_name_52 (draw INTEGER, points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(draw) FROM table_name_52 WHERE points > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent that has attendance of 76,965\n\n### Context:\nCREATE TABLE table_name_86 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_86 WHERE attendance = \"76,965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the name of the shop that have the largest quantity of devices in stock.\n\n### Context:\nCREATE TABLE stock (Shop_ID VARCHAR, quantity INTEGER); CREATE TABLE shop (Shop_Name VARCHAR, Shop_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Shop_Name FROM stock AS T1 JOIN shop AS T2 ON T1.Shop_ID = T2.Shop_ID GROUP BY T1.Shop_ID ORDER BY SUM(T1.quantity) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the average number of silver medals when bronze is less than 0?\n\n### Context:\nCREATE TABLE table_name_86 (silver INTEGER, bronze INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_86 WHERE bronze < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest crowd population when the away team is Geelong?\n\n### Context:\nCREATE TABLE table_name_33 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_33 WHERE away_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the nba draft for al-farouq aminu?\n\n### Context:\nCREATE TABLE table_name_53 (nba_draft VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nba_draft FROM table_name_53 WHERE player = \"al-farouq aminu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of processors for october 2006 - january 2010\n\n### Context:\nCREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = \"October 2006 - January 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of sinhalese for indian tamil being 177\n\n### Context:\nCREATE TABLE table_24574438_1 (sinhalese VARCHAR, indian_tamil VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(sinhalese) FROM table_24574438_1 WHERE indian_tamil = 177"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the office held by member Mark Coulton?\n\n### Context:\nCREATE TABLE table_name_58 (in_office VARCHAR, member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT in_office FROM table_name_58 WHERE member = \"mark coulton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the poor law union when the townland is bohonagh?\n\n### Context:\nCREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT poor_law_union FROM table_30121075_1 WHERE townland = \"Bohonagh\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the opponent of the home team of essendon?\n\n### Context:\nCREATE TABLE table_name_47 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_47 WHERE home_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the market income per capita in a county where the status is distressed and the unemployment rate is at 10.5%? \n\n### Context:\nCREATE TABLE table_22815568_3 (market_income_per_capita VARCHAR, status VARCHAR, unemployment_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT market_income_per_capita FROM table_22815568_3 WHERE status = \"Distressed\" AND unemployment_rate = \"10.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player played in 2000?\n\n### Context:\nCREATE TABLE table_name_66 (player VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_66 WHERE year = 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what Date did the massacre result with 21 Injured?\n\n### Context:\nCREATE TABLE table_name_73 (date VARCHAR, injured VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_73 WHERE injured = \"21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games played for the team with 48 points?\n\n### Context:\nCREATE TABLE table_1676073_12 (played VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_1676073_12 WHERE points = \"48\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nLeopold VI, Duke of Austria is the father-in-law of which person?\n\n### Context:\nCREATE TABLE table_name_26 (spouse VARCHAR, father VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT spouse FROM table_name_26 WHERE father = \"leopold vi, duke of austria\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich party was elected in 2003 with incumbent Mark Obenshain?\n\n### Context:\nCREATE TABLE table_name_47 (party VARCHAR, elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_47 WHERE elected = 2003 AND incumbent = \"mark obenshain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Tie no when Scarborough is the Home team?\n\n### Context:\nCREATE TABLE table_name_98 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_98 WHERE home_team = \"scarborough\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years did the person coach who had less than 82 wins and more than 24 losses?\n\n### Context:\nCREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_99 WHERE wins < 82 AND losses > 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type is locomotive number CTN 46?\n\n### Context:\nCREATE TABLE table_name_26 (type VARCHAR, locomotive_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_26 WHERE locomotive_number = \"ctn 46\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of series episode for s piston\n\n### Context:\nCREATE TABLE table_15187735_8 (series_ep VARCHAR, segment_a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(series_ep) FROM table_15187735_8 WHERE segment_a = \"s Piston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Losses have a Ballarat FL of melton south, and an Against larger than 1468?\n\n### Context:\nCREATE TABLE table_name_10 (losses VARCHAR, ballarat_fl VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(losses) FROM table_name_10 WHERE ballarat_fl = \"melton south\" AND against > 1468"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat countries are visited in the episode presented by Brian B. Thompson?\n\n### Context:\nCREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT countries_visited FROM table_15211468_1 WHERE presenter = \"Brian B. Thompson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record for the opponent St. Louis Cardinals?\n\n### Context:\nCREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_72 WHERE opponent = \"st. louis cardinals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the event average for a top-25 smaller than 0?\n\n### Context:\nCREATE TABLE table_name_84 (events INTEGER, top_25 INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(events) FROM table_name_84 WHERE top_25 < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Injured, when Date is \"09.15 Sep. 15\"?\n\n### Context:\nCREATE TABLE table_name_98 (injured VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT injured FROM table_name_98 WHERE date = \"09.15 sep. 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the description when the reserve is Half Moon Caye?\n\n### Context:\nCREATE TABLE table_name_40 (description VARCHAR, reserve VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT description FROM table_name_40 WHERE reserve = \"half moon caye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?\n\n### Context:\nCREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_name_68 WHERE round = \"5\" AND winning_driver = \"james winslow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the number of times that the heat is 3 and the name is cxhristy ekpukhon ihunaegbo?\n\n### Context:\nCREATE TABLE table_name_29 (lane VARCHAR, heat VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(lane) FROM table_name_29 WHERE heat = 3 AND name = \"cxhristy ekpukhon ihunaegbo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat boat was laid down on 25 april 1887?\n\n### Context:\nCREATE TABLE table_name_26 (name VARCHAR, laid_down VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_26 WHERE laid_down = \"25 april 1887\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the attendance when the st kilda score is 13.10.88?\n\n### Context:\nCREATE TABLE table_28211103_1 (attendance VARCHAR, st_kilda_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_28211103_1 WHERE st_kilda_score = \"13.10.88\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the capital (endonym) where Douglas is the Capital (exonym)?\n\n### Context:\nCREATE TABLE table_1008653_9 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT capital___endonym__ FROM table_1008653_9 WHERE capital___exonym__ = \"Douglas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum horsepower and the make of the car models with 3 cylinders?\n\n### Context:\nCREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the altitude for the distance medellin downtown (km) is 42?\n\n### Context:\nCREATE TABLE table_name_10 (altitude_m VARCHAR, distance_medell\u00edn_downtown___km__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT altitude_m FROM table_name_10 WHERE distance_medell\u00edn_downtown___km__ = \"42\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Input/output operations per second for the emlc flash?\n\n### Context:\nCREATE TABLE table_27615520_1 (speed___iops__ VARCHAR, storage_medium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT speed___iops__ FROM table_27615520_1 WHERE storage_medium = \"eMLC Flash\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the people in attendance when there was a Loss of clement (5\u20137)?\n\n### Context:\nCREATE TABLE table_name_83 (attendance INTEGER, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_83 WHERE loss = \"clement (5\u20137)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Losing bonus has a Points against of 588?\n\n### Context:\nCREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losing_bonus FROM table_name_62 WHERE points_against = \"588\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich city is Alianza?\n\n### Context:\nCREATE TABLE table_name_62 (city VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_62 WHERE name = \"alianza\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the GVW for model 97H00?\n\n### Context:\nCREATE TABLE table_20866024_4 (gvw__kg_ton_ VARCHAR, model_designation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gvw__kg_ton_ FROM table_20866024_4 WHERE model_designation = \"97H00\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the to par when South Africa was in T4 place?\n\n### Context:\nCREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_16 WHERE place = \"t4\" AND country = \"south africa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Term end that has a Party of united australia and 184 days in office?\n\n### Context:\nCREATE TABLE table_name_74 (term_end VARCHAR, party VARCHAR, term_in_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT term_end FROM table_name_74 WHERE party = \"united australia\" AND term_in_office = \"184 days\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 1st leg of the match that had an aggregate of 4-3?\n\n### Context:\nCREATE TABLE table_name_11 (agg VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_11 WHERE agg = \"4-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game that had a loss of Embree (1-2)?\n\n### Context:\nCREATE TABLE table_name_98 (score VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_98 WHERE loss = \"embree (1-2)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the innings for 5088 runs scored\n\n### Context:\nCREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Class Pos has a Year larger than 1997, a Team of corvette racing, a Class of gt1, and 327 laps?\n\n### Context:\nCREATE TABLE table_name_25 (class VARCHAR, laps VARCHAR, year VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class AS pos FROM table_name_25 WHERE year > 1997 AND team = \"corvette racing\" AND class = \"gt1\" AND laps = 327"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many poles were there in 1996?\n\n### Context:\nCREATE TABLE table_2182573_2 (poles INTEGER, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(poles) FROM table_2182573_2 WHERE year = 1996"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of West Asian Games 2005 on 10 dec 2005?\n\n### Context:\nCREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_44 WHERE competition = \"west asian games 2005\" AND date = \"10 dec 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue of teh carfax 250 race?\n\n### Context:\nCREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_62 WHERE race = \"carfax 250\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when andray blatche , al thornton (20) had the high points?\n\n### Context:\nCREATE TABLE table_27721131_6 (score VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_27721131_6 WHERE high_points = \"Andray Blatche , Al Thornton (20)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the number of attempts for Vanderberg on Iowa when the recorded yards were 2,249?\n\n### Context:\nCREATE TABLE table_name_42 (attempts VARCHAR, team VARCHAR, yards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attempts FROM table_name_42 WHERE team = \"iowa\" AND yards = \"2,249\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n what's the date entered service with ships name koningin wilhelmina\n\n### Context:\nCREATE TABLE table_11662133_3 (date_entered_service VARCHAR, ships_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_entered_service FROM table_11662133_3 WHERE ships_name = \"Koningin Wilhelmina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the batting style of Makhaya Ntini?\n\n### Context:\nCREATE TABLE table_name_85 (batting_style VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT batting_style FROM table_name_85 WHERE player = \"makhaya ntini\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many numbers have Charles Salmon as the producer and January 27, 2007 was the television premiere?\n\n### Context:\nCREATE TABLE table_19982699_1 (_number INTEGER, producer VARCHAR, television_premiere VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(_number) FROM table_19982699_1 WHERE producer = \"Charles Salmon\" AND television_premiere = \"January 27, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat episode was writted by John A. Norris?\n\n### Context:\nCREATE TABLE table_11695215_1 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_11695215_1 WHERE written_by = \"John A. Norris\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes did actress Vanessa Ferlito appear in?\n\n### Context:\nCREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episodes FROM table_11240028_1 WHERE portrayed_by = \"Vanessa Ferlito\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest round for Southern College?\n\n### Context:\nCREATE TABLE table_name_58 (round INTEGER, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_58 WHERE college = \"southern\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the venue for 27th position\n\n### Context:\nCREATE TABLE table_name_1 (venue VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_1 WHERE position = \"27th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor R. Magjistari scores over 12, what is the highest number of points?\n\n### Context:\nCREATE TABLE table_name_33 (points INTEGER, r_magjistari INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_33 WHERE r_magjistari > 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total having a bronze value over 1, silver under 5, and ranked 9?\n\n### Context:\nCREATE TABLE table_name_55 (total VARCHAR, rank VARCHAR, bronze VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_55 WHERE bronze > 1 AND silver < 5 AND rank = \"9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record for february 27\n\n### Context:\nCREATE TABLE table_name_67 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_67 WHERE date = \"february 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is player Stanislas Wawrinka on the list?\n\n### Context:\nCREATE TABLE table_26218783_6 (points VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) AS defending FROM table_26218783_6 WHERE player = \"Stanislas Wawrinka\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team with the ny rangers as the visitor team?\n\n### Context:\nCREATE TABLE table_name_16 (home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_16 WHERE visitor = \"ny rangers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the postion when the nhl team is los angeles kings?\n\n### Context:\nCREATE TABLE table_2850912_7 (position VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_2850912_7 WHERE nhl_team = \"Los Angeles Kings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the names listed in the family il-1f2?\n\n### Context:\nCREATE TABLE table_29871617_1 (name VARCHAR, family_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_29871617_1 WHERE family_name = \"IL-1F2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the London Marathon held?\n\n### Context:\nCREATE TABLE table_name_19 (venue VARCHAR, event VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_19 WHERE event = \"marathon\" AND competition = \"london marathon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the driver for the Forsythe Racing team that has the best time of 1:00.099?\n\n### Context:\nCREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_42 WHERE team = \"forsythe racing\" AND best = \"1:00.099\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for thomas s. mcmillan?\n\n### Context:\nCREATE TABLE table_1342359_39 (result VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1342359_39 WHERE incumbent = \"Thomas S. McMillan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many outgoing managers were replaced by Bob Peeters?\n\n### Context:\nCREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = \"Bob Peeters\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the runner-up on Jul 14, 1968?\n\n### Context:\nCREATE TABLE table_name_64 (runner_s__up VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_s__up FROM table_name_64 WHERE date = \"jul 14, 1968\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player on a team from the 1970s?\n\n### Context:\nCREATE TABLE table_name_63 (player VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_63 WHERE team = \"1970s\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home teams score at Victoria Park?\n\n### Context:\nCREATE TABLE table_name_31 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_31 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the Blue Jays had a record of 39-20?\n\n### Context:\nCREATE TABLE table_name_56 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_56 WHERE record = \"39-20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent on November 20, 1966?\n\n### Context:\nCREATE TABLE table_name_88 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_88 WHERE date = \"november 20, 1966\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much does each charge type costs? List both charge type and amount.\n\n### Context:\nCREATE TABLE Charges (charge_type VARCHAR, charge_amount VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT charge_type, charge_amount FROM Charges"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat movie did Vijayalaxmi Co-star in and Shakeel Badayuni write the lyrics?\n\n### Context:\nCREATE TABLE table_2528382_5 (movie_album VARCHAR, co_stars VARCHAR, lyricist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT movie_album FROM table_2528382_5 WHERE co_stars = \"VijayaLaxmi\" AND lyricist = \"Shakeel Badayuni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type is Gonz\u00e1lez?\n\n### Context:\nCREATE TABLE table_name_20 (type VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_20 WHERE name = \"gonz\u00e1lez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the nationality of Cardinal-Bishop of Albano?\n\n### Context:\nCREATE TABLE table_name_32 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_32 WHERE cardinalatial_order_and_title = \"cardinal-bishop of albano\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the torque when the notes are laredo, limited, overland and the engine is 5.7l hemi v8?\n\n### Context:\nCREATE TABLE table_name_69 (torque VARCHAR, notes VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT torque FROM table_name_69 WHERE notes = \"laredo, limited, overland\" AND engine = \"5.7l hemi v8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every construction date for the registration of HB-HOS?\n\n### Context:\nCREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT construction AS date FROM table_22180353_1 WHERE registration = \"HB-HOS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has april 28 as the date?\n\n### Context:\nCREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_5 WHERE date = \"april 28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the episode with the 183,000 viewers?\n\n### Context:\nCREATE TABLE table_name_64 (episode VARCHAR, viewers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_name_64 WHERE viewers = \"183,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?\n\n### Context:\nCREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = \"Cabarita River\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat shows for miles [One Way] when the fans took 340?\n\n### Context:\nCREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = \"340\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the 1994 if 1995 has a 1R?\n\n### Context:\nCREATE TABLE table_name_84 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1994 FROM table_name_84 WHERE 1995 = \"1r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Gold, when Rank is 7?\n\n### Context:\nCREATE TABLE table_name_38 (gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_38 WHERE rank = \"7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the result was l 13-7 ot, who was the opponent?\n\n### Context:\nCREATE TABLE table_name_27 (opponent VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_27 WHERE result = \"l 13-7 ot\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the score for international friendly 17 august 2013\n\n### Context:\nCREATE TABLE table_name_70 (score VARCHAR, type VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_70 WHERE type = \"international friendly\" AND date = \"17 august 2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the race where the pole position is niki lauda and the date is 27 april?\n\n### Context:\nCREATE TABLE table_1140085_2 (race VARCHAR, pole_position VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_1140085_2 WHERE pole_position = \"Niki Lauda\" AND date = \"27 April\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the circuit for jim clark\n\n### Context:\nCREATE TABLE table_name_25 (circuit VARCHAR, fastest_lap VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_25 WHERE fastest_lap = \"jim clark\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0incumbent\u00a0with\u00a0first elected\u00a0being 1932\n\n### Context:\nCREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year that includes a Seattle Storm guard?\n\n### Context:\nCREATE TABLE table_name_54 (year INTEGER, position VARCHAR, wnba_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_54 WHERE position = \"guard\" AND wnba_team = \"seattle storm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow big was the crowd of the Home team of Collingwood?\n\n### Context:\nCREATE TABLE table_name_92 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_92 WHERE home_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of sliver medals when there were 2 gold medals, less than 15 total medals, and the rank is greater than 5?\n\n### Context:\nCREATE TABLE table_name_88 (silver INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(silver) FROM table_name_88 WHERE gold = 2 AND total < 15 AND rank > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the district for others being 18.3\n\n### Context:\nCREATE TABLE table_23214055_2 (district VARCHAR, others VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_23214055_2 WHERE others = \"18.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 1993, when Tournament is \"Cincinnati\"?\n\n### Context:\nCREATE TABLE table_name_35 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1993 FROM table_name_35 WHERE tournament = \"cincinnati\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the player for ballarat football league\n\n### Context:\nCREATE TABLE table_name_94 (player VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_94 WHERE competition = \"ballarat football league\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Position, when Overallis less than 314, and when Pick is less than 8?\n\n### Context:\nCREATE TABLE table_name_84 (position VARCHAR, overall VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_84 WHERE overall < 314 AND pick < 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score on March 18?\n\n### Context:\nCREATE TABLE table_name_97 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_97 WHERE date = \"march 18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the visiting team for the game that ended 82-75?\n\n### Context:\nCREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_51 WHERE score = \"82-75\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the top picki n the draft?\n\n### Context:\nCREATE TABLE table_10360656_1 (choice INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(choice) FROM table_10360656_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the rooms of faculties with rank professor who live in building NEB.\n\n### Context:\nCREATE TABLE FACULTY (Room VARCHAR, Rank VARCHAR, Building VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Room FROM FACULTY WHERE Rank = \"Professor\" AND Building = \"NEB\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich best 5-year period has a best 15-year period of alekhine; lasker?\n\n### Context:\nCREATE TABLE table_name_37 (best_5_year_period VARCHAR, best_15_year_period VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best_5_year_period FROM table_name_37 WHERE best_15_year_period = \"alekhine; lasker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Lost has an Against larger than 19, and a Drawn smaller than 1?\n\n### Context:\nCREATE TABLE table_name_67 (lost INTEGER, against VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_67 WHERE against > 19 AND drawn < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich teams had a difference of 8 between goals scored and goals conceeded\n\n### Context:\nCREATE TABLE table_15420044_1 (team VARCHAR, difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_15420044_1 WHERE difference = \"8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of mens doubles for 2004/2005\n\n### Context:\nCREATE TABLE table_12193259_1 (mens_doubles VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(mens_doubles) FROM table_12193259_1 WHERE season = \"2004/2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of all the tracks that contain the word \"you\".\n\n### Context:\nCREATE TABLE TRACK (Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM TRACK WHERE Name LIKE '%you%'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many ranks are for Switzerland with more than 2 total medals?\n\n### Context:\nCREATE TABLE table_name_39 (rank VARCHAR, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_39 WHERE nation = \"switzerland\" AND total > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the lowest pick number for the Boston Celtics?\n\n### Context:\nCREATE TABLE table_name_5 (pick INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_5 WHERE team = \"boston celtics\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe driver Jacky Ickx had what time/retired?\n\n### Context:\nCREATE TABLE table_name_64 (time_retired VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_64 WHERE driver = \"jacky ickx\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the host team for the game with the final score of 26-24?\n\n### Context:\nCREATE TABLE table_name_67 (host_team VARCHAR, final_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT host_team FROM table_name_67 WHERE final_score = \"26-24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Wins have Goals against smaller than 30, and Goals for larger than 25, and Draws larger than 5?\n\n### Context:\nCREATE TABLE table_name_66 (wins VARCHAR, draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_66 WHERE goals_against < 30 AND goals_for > 25 AND draws > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich terminations correspond to a US MSRP of $49?\n\n### Context:\nCREATE TABLE table_1601027_1 (termination VARCHAR, us_msrp VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT termination FROM table_1601027_1 WHERE us_msrp = \"$49\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat league has a number less than 122, and least wins as the record?\n\n### Context:\nCREATE TABLE table_name_38 (league VARCHAR, number VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_name_38 WHERE number < 122 AND record = \"least wins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was Ryan Callahan, who received a penalty for roughing, playing for?\n\n### Context:\nCREATE TABLE table_name_87 (team VARCHAR, penalty VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_87 WHERE penalty = \"roughing\" AND player = \"ryan callahan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much money did the player Ed Oliver win?\n\n### Context:\nCREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = \"ed oliver\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho won the points classification when the teams classification winner was Lampre-Farnese?\n\n### Context:\nCREATE TABLE table_28092844_16 (points_classification_klasyfikacja_punktowa VARCHAR, teams_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_classification_klasyfikacja_punktowa FROM table_28092844_16 WHERE teams_classification = \"Lampre-Farnese\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho drove for team Circle Sport?\n\n### Context:\nCREATE TABLE table_1266602_2 (driver_s_ VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver_s_ FROM table_1266602_2 WHERE team = \"Circle Sport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the loss of the game when the record was 32\u201334?\n\n### Context:\nCREATE TABLE table_name_52 (loss VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT loss FROM table_name_52 WHERE record = \"32\u201334\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the series when wins is less than 3, points is 9 and podiums is 1?\n\n### Context:\nCREATE TABLE table_name_7 (series VARCHAR, podiums VARCHAR, wins VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_name_7 WHERE wins < 3 AND points = \"9\" AND podiums = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich Record is on March of 12\n\n### Context:\nCREATE TABLE table_name_53 (record VARCHAR, march VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_53 WHERE march = 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team had fans took of 288?\n\n### Context:\nCREATE TABLE table_name_71 (team VARCHAR, fans_took VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_71 WHERE fans_took = \"288\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the club/province of the player born on 12 May 1984?\n\n### Context:\nCREATE TABLE table_name_77 (club_province VARCHAR, date_of_birth__age_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT club_province FROM table_name_77 WHERE date_of_birth__age_ = \"12 may 1984\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Away is High Park Demons?\n\n### Context:\nCREATE TABLE table_name_43 (date VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_43 WHERE away = \"high park demons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type has an overall length of 1.605 m?\n\n### Context:\nCREATE TABLE table_name_92 (type VARCHAR, length_overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_92 WHERE length_overall = \"1.605 m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDate of 8 july 1994 involves which performer 1?\n\n### Context:\nCREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performer_1 FROM table_name_31 WHERE date = \"8 july 1994\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had high assists in game number 9?\n\n### Context:\nCREATE TABLE table_27712702_7 (high_assists VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_27712702_7 WHERE game = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when Dundee were the Opponent at Venue A on 6 September 1986?\n\n### Context:\nCREATE TABLE table_name_9 (result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_9 WHERE opponent = \"dundee\" AND venue = \"a\" AND date = \"6 september 1986\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Works number has a Number larger than 807, and a Type of 0-6-0, and a Date of 1920?\n\n### Context:\nCREATE TABLE table_name_1 (works_number INTEGER, date VARCHAR, number VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(works_number) FROM table_name_1 WHERE number > 807 AND type = \"0-6-0\" AND date = 1920"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least series number\n\n### Context:\nCREATE TABLE table_2430014_9 (series_no INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(series_no) FROM table_2430014_9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the team's score against detroit?\n\n### Context:\nCREATE TABLE table_27713030_8 (score VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_27713030_8 WHERE team = \"Detroit\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 2013 finish for the tournament that had a 2007 finish of A?\n\n### Context:\nCREATE TABLE table_name_94 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2013 FROM table_name_94 WHERE 2007 = \"a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the trainer when Crowd Pleaser won?\n\n### Context:\nCREATE TABLE table_name_67 (trainer VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT trainer FROM table_name_67 WHERE winner = \"crowd pleaser\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result with a record of 58\u201311?\n\n### Context:\nCREATE TABLE table_name_49 (result VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_49 WHERE record = \"58\u201311\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average pick number for jerry hackenbruck who was overall pick less than 282?\n\n### Context:\nCREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pick) FROM table_name_78 WHERE name = \"jerry hackenbruck\" AND overall < 282"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the lowest points for officine alfieri maserati\n\n### Context:\nCREATE TABLE table_name_7 (points INTEGER, entrant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_7 WHERE entrant = \"officine alfieri maserati\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor location Caversham, what is the name of the captain?\n\n### Context:\nCREATE TABLE table_18752986_1 (captain VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_18752986_1 WHERE location = \"Caversham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player is a lock with 1 cap?\n\n### Context:\nCREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, caps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_16 WHERE position = \"lock\" AND caps = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Goals For has a Lost of 12, and a Played larger than 34?\n\n### Context:\nCREATE TABLE table_name_28 (goals_for INTEGER, lost VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goals_for) FROM table_name_28 WHERE lost = 12 AND played > 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the poll winner for march 19, 2008\n\n### Context:\nCREATE TABLE table_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(poll_winner) FROM table_15781170_2 WHERE original_air_date = \"March 19, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is District, when Incumbent is \"Richard Neal\"?\n\n### Context:\nCREATE TABLE table_name_8 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_8 WHERE incumbent = \"richard neal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Season has a Home of 0\u20131?\n\n### Context:\nCREATE TABLE table_name_24 (season VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_24 WHERE home = \"0\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWaht laps have points smaller than 1, and a team of dale coyne racing, and the grid larger than 13?\n\n### Context:\nCREATE TABLE table_name_87 (laps VARCHAR, grid VARCHAR, points VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT laps FROM table_name_87 WHERE points < 1 AND team = \"dale coyne racing\" AND grid > 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was Luis Gutierrez election\n\n### Context:\nCREATE TABLE table_1341423_13 (first_elected INTEGER, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1341423_13 WHERE incumbent = \"Luis Gutierrez\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the lowest Round with Opponent of rolando delgado?\n\n### Context:\nCREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_18 WHERE opponent = \"rolando delgado\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total Money (\u00a3) with a Place of t6, and a Player of ian baker-finch?\n\n### Context:\nCREATE TABLE table_name_61 (money___ VARCHAR, place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(money___) AS \u00a3__ FROM table_name_61 WHERE place = \"t6\" AND player = \"ian baker-finch\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct?\n\n### Context:\nCREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(blank_ends) FROM table_name_57 WHERE stolen_ends = 17 AND skip = \"jennifer jones\" AND shot_pct > 83"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Cancelable of yes, and a Type of drag, what was the Category?\n\n### Context:\nCREATE TABLE table_name_72 (category VARCHAR, cancelable VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_72 WHERE cancelable = \"yes\" AND type = \"drag\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what week was the December 21, 1969 game?\n\n### Context:\nCREATE TABLE table_name_68 (week INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_68 WHERE date = \"december 21, 1969\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the score on 1978-12-16\n\n### Context:\nCREATE TABLE table_name_91 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_91 WHERE date = \"1978-12-16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the interacting settings for co-operate, plan, take care of, help\n\n### Context:\nCREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = \"co-operate, plan, take care of, help\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many height entries are there for players from bayside high school?\n\n### Context:\nCREATE TABLE table_22496374_1 (height VARCHAR, high_school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(height) FROM table_22496374_1 WHERE high_school = \"Bayside\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 22 is the number what is the episode title?\n\n### Context:\nCREATE TABLE table_29475589_3 (episode_title VARCHAR, no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode_title FROM table_29475589_3 WHERE no = 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?\n\n### Context:\nCREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_74 WHERE type = \"primary\" AND dcsf_number > 2337 AND ofsted_number < 135339"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original air date of the episode \"Another Happy Day\"?\n\n### Context:\nCREATE TABLE table_2570269_3 (original_air_date__uk_ VARCHAR, episode_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date__uk_ FROM table_2570269_3 WHERE episode_title = \"Another Happy Day\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the driver with a grid less than 14, laps smaller than 53 and a Time/Retired of collision, and a Constructor of ferrari?\n\n### Context:\nCREATE TABLE table_name_58 (driver VARCHAR, constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_58 WHERE grid < 14 AND laps < 53 AND time_retired = \"collision\" AND constructor = \"ferrari\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the %2006 that has fewer seats than 23 in Seats 2001, more seats than 4 in 2006 Seats, and a % in 2001 of 25.4?\n\n### Context:\nCREATE TABLE table_name_12 (_percentage_2006 VARCHAR, _percentage_2001 VARCHAR, seats_2001 VARCHAR, seats_2006 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _percentage_2006 FROM table_name_12 WHERE seats_2001 < 23 AND seats_2006 > 4 AND _percentage_2001 = 25.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow may draws did libertad have?\n\n### Context:\nCREATE TABLE table_14889048_2 (draws VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(draws) FROM table_14889048_2 WHERE team = \"Libertad\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow tall was Player #10?\n\n### Context:\nCREATE TABLE table_12962773_10 (height VARCHAR, no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_12962773_10 WHERE no = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people voted in the election of 1941?\n\n### Context:\nCREATE TABLE table_name_79 (number_of_votes VARCHAR, election VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT number_of_votes FROM table_name_79 WHERE election = 1941"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the province where the age of the contestant is 27?\n\n### Context:\nCREATE TABLE table_18349697_1 (province VARCHAR, _community VARCHAR, age VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT province, _community FROM table_18349697_1 WHERE age = 27"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date did the Suns have high points with a record of 33\u201313?\n\n### Context:\nCREATE TABLE table_name_8 (date VARCHAR, high_points VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_8 WHERE high_points = \"suns\" AND record = \"33\u201313\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tie number had an away team of the Tranmere Rovers?\n\n### Context:\nCREATE TABLE table_name_44 (tie_no VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_44 WHERE away_team = \"tranmere rovers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2007 value with a 4r in 2006, a 1r in 2004, and a 4r in 2009?\n\n### Context:\nCREATE TABLE table_name_48 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2007 FROM table_name_48 WHERE 2006 = \"4r\" AND 2004 = \"1r\" AND 2009 = \"4r\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had a qual 1 of 1:01.461?\n\n### Context:\nCREATE TABLE table_name_98 (name VARCHAR, qual_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_98 WHERE qual_1 = \"1:01.461\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Week 2 has a Week 1 of crystal beddows?\n\n### Context:\nCREATE TABLE table_name_66 (week_2 VARCHAR, week_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_2 FROM table_name_66 WHERE week_1 = \"crystal beddows\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many deaths per year have 66.3 as the life expectancy females?\n\n### Context:\nCREATE TABLE table_23423_2 (deaths_per_year VARCHAR, life_expectancy_females VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT deaths_per_year FROM table_23423_2 WHERE life_expectancy_females = \"66.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what day is geelong the home team?\n\n### Context:\nCREATE TABLE table_name_37 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_37 WHERE home_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the epicenter of the earthquake on March 2, 1825 with an unknown intensity?\n\n### Context:\nCREATE TABLE table_name_10 (epicenter VARCHAR, intensity VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT epicenter FROM table_name_10 WHERE intensity = \"unknown\" AND date = \"march 2, 1825\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the population density in Buffalo Lake?\n\n### Context:\nCREATE TABLE table_2500440_1 (population_density__per_km_2__ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population_density__per_km_2__ FROM table_2500440_1 WHERE name = \"Buffalo Lake\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the lane with a time of 1:00.66?\n\n### Context:\nCREATE TABLE table_name_93 (lane INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lane) FROM table_name_93 WHERE time = \"1:00.66\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the acronym used for Beirut Arab University?\n\n### Context:\nCREATE TABLE table_1160660_1 (acronym VARCHAR, university_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT acronym FROM table_1160660_1 WHERE university_name = \"Beirut Arab University\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended Junction Oval?\n\n### Context:\nCREATE TABLE table_name_17 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_17 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Rank has a Player of matt ruth?\n\n### Context:\nCREATE TABLE table_name_62 (rank INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_62 WHERE player = \"matt ruth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 54 holes for The Open Championship (4)?\n\n### Context:\nCREATE TABLE table_name_7 (championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 54 AS _holes FROM table_name_7 WHERE championship = \"the open championship (4)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the opponent in the final was iroda tulyaganova?\n\n### Context:\nCREATE TABLE table_name_44 (score VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_44 WHERE opponent_in_the_final = \"iroda tulyaganova\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat home team plays at princes park?\n\n### Context:\nCREATE TABLE table_name_81 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_81 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the party of the politician who left office on January 12, 1857\n\n### Context:\nCREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_47 WHERE left_office = \"january 12, 1857\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nManufacturer of honda, and a Rank of 8 had what highest wins?\n\n### Context:\nCREATE TABLE table_name_71 (wins INTEGER, manufacturer VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(wins) FROM table_name_71 WHERE manufacturer = \"honda\" AND rank = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did Steve Stricker score?\n\n### Context:\nCREATE TABLE table_name_54 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_54 WHERE player = \"steve stricker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich ship has a Pennant number of h.69?\n\n### Context:\nCREATE TABLE table_name_43 (ship VARCHAR, pennant_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ship FROM table_name_43 WHERE pennant_number = \"h.69\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen there are more than 12 total medals and less than 5 gold medals, how many bronze medals are there?\n\n### Context:\nCREATE TABLE table_name_55 (bronze VARCHAR, total VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_55 WHERE total > 12 AND gold < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Area's are there for Armstrong?\n\n### Context:\nCREATE TABLE table_28367242_1 (area__km\u00b2_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(area__km\u00b2_) FROM table_28367242_1 WHERE name = \"Armstrong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the name ofhte company where the plant is in burnaston?\n\n### Context:\nCREATE TABLE table_250309_1 (company VARCHAR, plant VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT company FROM table_250309_1 WHERE plant = \"Burnaston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name that has July 1823 as the Laid down, and portsmouth as the built by hm dockyard?\n\n### Context:\nCREATE TABLE table_name_96 (name VARCHAR, laid_down VARCHAR, built_by_hm_dockyard VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_96 WHERE laid_down = \"july 1823\" AND built_by_hm_dockyard = \"portsmouth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of products that are in orders with status \"Cancelled\"?\n\n### Context:\nCREATE TABLE customer_orders (order_id VARCHAR, order_status VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(t2.order_quantity) FROM customer_orders AS t1 JOIN order_items AS t2 ON t1.order_id = t2.order_id WHERE t1.order_status = \"Cancelled\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich NBA draft has a School of st. mary's high school?\n\n### Context:\nCREATE TABLE table_name_91 (nba_draft VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nba_draft FROM table_name_91 WHERE school = \"st. mary's high school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the listed crowd at junction oval?\n\n### Context:\nCREATE TABLE table_name_54 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_54 WHERE venue = \"junction oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho constructed the I Italian Republic Grand Prix?\n\n### Context:\nCREATE TABLE table_1140088_6 (constructor VARCHAR, race_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_1140088_6 WHERE race_name = \"I Italian Republic Grand Prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fewest wins for Thomas in events he had entered exactly 9 times?\n\n### Context:\nCREATE TABLE table_name_13 (wins INTEGER, events VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(wins) FROM table_name_13 WHERE events = 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich college did the player picked number 136 go to?\n\n### Context:\nCREATE TABLE table_name_54 (college VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_54 WHERE pick = 136"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the lost when there were more than 16 points and had a drawn less than 1?\n\n### Context:\nCREATE TABLE table_name_18 (lost INTEGER, points VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_18 WHERE points > 16 AND drawn < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the player that scored 4 times.\n\n### Context:\nCREATE TABLE table_24565004_15 (name VARCHAR, goals\u00b9 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_24565004_15 WHERE goals\u00b9 = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen there were 767 points, what was the point difference?\n\n### Context:\nCREATE TABLE table_name_34 (points_difference VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_difference FROM table_name_34 WHERE points_against = \"767\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Grid, when Time is +45.855?\n\n### Context:\nCREATE TABLE table_name_87 (grid INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(grid) FROM table_name_87 WHERE time = \"+45.855\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the IcAO of Frankfurt?\n\n### Context:\nCREATE TABLE table_name_91 (icao VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT icao FROM table_name_91 WHERE city = \"frankfurt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2010 with tournament of grand slam tournaments\n\n### Context:\nCREATE TABLE table_name_33 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_33 WHERE tournament = \"grand slam tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Mascot has an Enrollment greater than 2,464?\n\n### Context:\nCREATE TABLE table_name_23 (mascot VARCHAR, enrollment INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_name_23 WHERE enrollment > 2 OFFSET 464"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the venue was A and the date was 2 january 2008, what was the average attendance?\n\n### Context:\nCREATE TABLE table_name_61 (attendance INTEGER, venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_61 WHERE venue = \"a\" AND date = \"2 january 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tracks have a length of 18:36?\n\n### Context:\nCREATE TABLE table_name_26 (tracks INTEGER, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(tracks) FROM table_name_26 WHERE length = \"18:36\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich species show a negative result with both voges-proskauer and indole?\n\n### Context:\nCREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT species FROM table_16083989_1 WHERE voges_proskauer = \"Negative\" AND indole = \"Negative\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the scores for david baddiel and maureen lipman\n\n### Context:\nCREATE TABLE table_23575917_2 (scores VARCHAR, davids_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(scores) FROM table_23575917_2 WHERE davids_team = \"David Baddiel and Maureen Lipman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people were in attendance when the home shows as Bulls?\n\n### Context:\nCREATE TABLE table_name_89 (attendance VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_89 WHERE home = \"bulls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the data with a percent gain of 28.4%\n\n### Context:\nCREATE TABLE table_name_41 (data VARCHAR, percent_gain VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT data FROM table_name_41 WHERE percent_gain = \"28.4%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the casualties in the Baghlan location?\n\n### Context:\nCREATE TABLE table_name_64 (casualties VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT casualties FROM table_name_64 WHERE location = \"baghlan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total number of places in which the draw was less than 4 and the amount lost was less than 6?\n\n### Context:\nCREATE TABLE table_name_73 (place VARCHAR, draw VARCHAR, lost VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(place) FROM table_name_73 WHERE draw < 4 AND lost < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen south Melbourne was the home team, what was the away team?\n\n### Context:\nCREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_53 WHERE home_team = \"south melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Footscray play as the home team?\n\n### Context:\nCREATE TABLE table_name_41 (venue VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_41 WHERE home_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is ids of the songs whose resolution is higher than the resolution of any songs with rating lower than 8?\n\n### Context:\nCREATE TABLE song (f_id VARCHAR, resolution INTEGER, rating INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT f_id FROM song WHERE resolution > (SELECT MAX(resolution) FROM song WHERE rating < 8)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high rebounds with a record that is 18-14?\n\n### Context:\nCREATE TABLE table_name_44 (high_rebounds VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_rebounds FROM table_name_44 WHERE record = \"18-14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of game #3?\n\n### Context:\nCREATE TABLE table_27712180_13 (date VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_27712180_13 WHERE game = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people were in the crowd when the Home Team was Hawthorn?\n\n### Context:\nCREATE TABLE table_name_58 (crowd INTEGER, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_58 WHERE home_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city and state are the miners located in?\n\n### Context:\nCREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_11044765_1 WHERE mascot = \"Miners\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Points with a Series of italian formula renault 2.0, and Poles smaller than 0?\n\n### Context:\nCREATE TABLE table_name_39 (points VARCHAR, series VARCHAR, poles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_39 WHERE series = \"italian formula renault 2.0\" AND poles < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Player, when Year(s) Won is 1955?\n\n### Context:\nCREATE TABLE table_name_84 (player VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_84 WHERE year_s__won = \"1955\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6?\n\n### Context:\nCREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_74 WHERE gold > 0 AND total > 4 AND rank = \"6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many opponents were in North Carolina state game?\n\n### Context:\nCREATE TABLE table_20928649_1 (opponents VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(opponents) FROM table_20928649_1 WHERE opponent = \"North Carolina State\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 4.45 for Yelena Isinbayeva?\n\n### Context:\nCREATE TABLE table_name_5 (name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 445 FROM table_name_5 WHERE name = \"yelena isinbayeva\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country was rank 4?\n\n### Context:\nCREATE TABLE table_name_43 (country VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_43 WHERE rank = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich college had rounds smaller than 2?\n\n### Context:\nCREATE TABLE table_name_80 (college VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_80 WHERE round < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the latest episode number that was directed by Tom Dicillo?\n\n### Context:\nCREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = \"Tom DiCillo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the name and date the battle that has lost the ship named 'Lettice' and the ship named 'HMS Atalanta'\n\n### Context:\nCREATE TABLE ship (lost_in_battle VARCHAR, name VARCHAR); CREATE TABLE battle (name VARCHAR, date VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name, T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'Lettice' INTERSECT SELECT T1.name, T1.date FROM battle AS T1 JOIN ship AS T2 ON T1.id = T2.lost_in_battle WHERE T2.name = 'HMS Atalanta'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the network in 2011?\n\n### Context:\nCREATE TABLE table_name_25 (network VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_name_25 WHERE year = 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date has dallas cowboys as the opponent?\n\n### Context:\nCREATE TABLE table_name_91 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_91 WHERE opponent = \"dallas cowboys\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average lost that has a match less than 14?\n\n### Context:\nCREATE TABLE table_name_9 (lost INTEGER, match INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lost) FROM table_name_9 WHERE match < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the last name of the author with first name \"Amal\".\n\n### Context:\nCREATE TABLE authors (lname VARCHAR, fname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lname FROM authors WHERE fname = \"Amal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the top grid that roger williamson lapped less than 7?\n\n### Context:\nCREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(grid) FROM table_name_73 WHERE driver = \"roger williamson\" AND laps < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the calls for frequency of 1290 khz\n\n### Context:\nCREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT calls FROM table_name_88 WHERE frequency = \"1290 khz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time is listed against Elimination number 2?\n\n### Context:\nCREATE TABLE table_name_21 (time VARCHAR, elimination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_21 WHERE elimination = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the home for season 1949-50?\n\n### Context:\nCREATE TABLE table_name_79 (home VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_79 WHERE season = \"1949-50\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the High assists for February 2?\n\n### Context:\nCREATE TABLE table_name_12 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_12 WHERE date = \"february 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the developer(s) of the genre Adventure?\n\n### Context:\nCREATE TABLE table_name_22 (developer_s_ VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT developer_s_ FROM table_name_22 WHERE genre = \"adventure\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the price for the manufacturer LETech?\n\n### Context:\nCREATE TABLE table_29778616_1 (price VARCHAR, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT price FROM table_29778616_1 WHERE manufacturer = \"LETech\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Alliance Constituency has Seamus Close, position 2 and an election smaller than 1997?\n\n### Context:\nCREATE TABLE table_name_41 (constituency VARCHAR, candidate VARCHAR, position VARCHAR, party VARCHAR, election VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constituency FROM table_name_41 WHERE party = \"alliance\" AND election < 1997 AND position = 2 AND candidate = \"seamus close\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Li-FeS 2, when Type is Nominal Voltage?\n\n### Context:\nCREATE TABLE table_name_9 (li_fes_2 VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT li_fes_2 FROM table_name_9 WHERE type = \"nominal voltage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all pilot names in ascending alphabetical order.\n\n### Context:\nCREATE TABLE pilot (Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM pilot ORDER BY Name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is listed under try bonus when listed under Tries for is tries for?\n\n### Context:\nCREATE TABLE table_13399573_3 (try_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT try_bonus FROM table_13399573_3 WHERE \"tries_for\" = \"tries_for\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the highest assists on November 4\n\n### Context:\nCREATE TABLE table_11959669_3 (high_assists VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_11959669_3 WHERE date = \"November 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has an October smaller than 15, and a Record of 2\u20130\u20130?\n\n### Context:\nCREATE TABLE table_name_73 (score VARCHAR, october VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_73 WHERE october < 15 AND record = \"2\u20130\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Class has a Weight of 203?\n\n### Context:\nCREATE TABLE table_name_57 (class VARCHAR, weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_57 WHERE weight = 203"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most season for old hoss radbourn\n\n### Context:\nCREATE TABLE table_242813_2 (season INTEGER, pitcher VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season) FROM table_242813_2 WHERE pitcher = \"Old Hoss Radbourn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Lost has a Drawn larger than 5, and a Played larger than 18?\n\n### Context:\nCREATE TABLE table_name_78 (lost INTEGER, drawn VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lost) FROM table_name_78 WHERE drawn > 5 AND played > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the first election in the district whose incumbent is Ron Kind?\n\n### Context:\nCREATE TABLE table_1341423_49 (first_elected INTEGER, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1341423_49 WHERE incumbent = \"Ron Kind\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team 2 has lokomotiva as team 1?\n\n### Context:\nCREATE TABLE table_name_16 (team_2 VARCHAR, team_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_2 FROM table_name_16 WHERE team_1 = \"lokomotiva\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score to par in 1960?\n\n### Context:\nCREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_74 WHERE year_s__won = \"1960\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of goals for entries with more than 12 losses, more than 10 wins, more than 3 draws, and fewer than 29 points?\n\n### Context:\nCREATE TABLE table_name_99 (goals_for INTEGER, draws VARCHAR, points VARCHAR, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(goals_for) FROM table_name_99 WHERE losses > 12 AND wins > 10 AND points < 29 AND draws > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Opponent, when Date is December 18, 1988?\n\n### Context:\nCREATE TABLE table_name_7 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_7 WHERE date = \"december 18, 1988\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the source on 6 September?\n\n### Context:\nCREATE TABLE table_name_27 (source VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT source FROM table_name_27 WHERE date = \"6 september\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nA list of the top 8 countries by gross/total invoice size. List country name and gross invoice size.\n\n### Context:\nCREATE TABLE invoices (billing_country VARCHAR, total INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT billing_country, SUM(total) FROM invoices GROUP BY billing_country ORDER BY SUM(total) DESC LIMIT 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the original Japanese cast if Sean Barrett acted on the English (Manga UK) version?\n\n### Context:\nCREATE TABLE table_2160215_1 (original_japanese VARCHAR, english___manga_uk__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_japanese FROM table_2160215_1 WHERE english___manga_uk__ = \"Sean Barrett\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest district for delegate Cheryl Glenn, that she had taken after 2006?\n\n### Context:\nCREATE TABLE table_name_30 (district INTEGER, delegate VARCHAR, took_office VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(district) FROM table_name_30 WHERE delegate = \"cheryl glenn\" AND took_office > 2006"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the location and attendance on the May 22 game?\n\n### Context:\nCREATE TABLE table_name_13 (location_attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_13 WHERE date = \"may 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest round for the player whose position is guard and had a pick number smaller than 144?\n\n### Context:\nCREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_84 WHERE position = \"guard\" AND pick < 144"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich F/Laps has Podiums of 1, and a Season of 2000, and a Final Placing of nc?\n\n### Context:\nCREATE TABLE table_name_98 (f_laps VARCHAR, final_placing VARCHAR, podiums VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT f_laps FROM table_name_98 WHERE podiums = \"1\" AND season = 2000 AND final_placing = \"nc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nZack Jordan has the lowest pick and a round of less than 28?\n\n### Context:\nCREATE TABLE table_name_69 (pick INTEGER, player VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_69 WHERE player = \"zack jordan\" AND round < 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Region is Yugoslavia?\n\n### Context:\nCREATE TABLE table_name_33 (date VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_33 WHERE region = \"yugoslavia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the translation of chetvert?\n\n### Context:\nCREATE TABLE table_name_81 (translation VARCHAR, unit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT translation FROM table_name_81 WHERE unit = \"chetvert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the NCAA Tournament record after the June 26 game?\n\n### Context:\nCREATE TABLE table_28001186_8 (ncaat_record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ncaat_record FROM table_28001186_8 WHERE date = \"June 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the commissioned date with laid down of 17 dec 1951?\n\n### Context:\nCREATE TABLE table_name_8 (commissioned VARCHAR, laid_down VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT commissioned FROM table_name_8 WHERE laid_down = \"17 dec 1951\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the to par for Bart Bryant?\n\n### Context:\nCREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_9 WHERE player = \"bart bryant\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the type of loan and the transfer fee loan?\n\n### Context:\nCREATE TABLE table_name_32 (nat VARCHAR, type VARCHAR, transfer_fee VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nat FROM table_name_32 WHERE type = \"loan\" AND transfer_fee = \"loan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPlease list all songs in volumes in ascending alphabetical order.\n\n### Context:\nCREATE TABLE volume (Song VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Song FROM volume ORDER BY Song"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Cincinnati College player?\n\n### Context:\nCREATE TABLE table_name_71 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_71 WHERE college = \"cincinnati\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest start for a player with 14 conv, 10 tries and more than 22 pens?\n\n### Context:\nCREATE TABLE table_name_29 (start INTEGER, pens VARCHAR, conv VARCHAR, tries VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(start) FROM table_name_29 WHERE conv = 14 AND tries = 10 AND pens > 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many parks is Zippin Pippin located in\n\n### Context:\nCREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(park) FROM table_2665085_1 WHERE name = \"Zippin Pippin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title rank of the actor who played the character of arthur hastings during series 1-8, 13?\n\n### Context:\nCREATE TABLE table_name_7 (title_rank VARCHAR, series VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title_rank FROM table_name_7 WHERE series = \"1-8, 13\" AND character = \"arthur hastings\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average grid number that had Team China with less than 10 laps?\n\n### Context:\nCREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = \"china\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWjat score is greater than 22 with this song: \u6797\u4fca\u6770 - \u6728\u4e43\u4f0a?\n\n### Context:\nCREATE TABLE table_name_86 (name VARCHAR, score VARCHAR, song VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_86 WHERE score > 22 AND song = \"\u6797\u4fca\u6770 - \u6728\u4e43\u4f0a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the account details with the largest value or with value having char '5' in it?\n\n### Context:\nCREATE TABLE Accounts (Account_details INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(Account_details) FROM Accounts UNION SELECT Account_details FROM Accounts WHERE Account_details LIKE \"%5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor End of Fiscal Years past 1980 that also have as % of GDP Low-High of 83.4-84.4, and a Debt Held By Public ($Billions) smaller than 7,552 what would be the average Gross Debt in $Billions undeflated Treas. in said years?\n\n### Context:\nCREATE TABLE table_name_1 (gross_debt_in_ INTEGER, debt_held_by_public__$billions_ VARCHAR, end_of_fiscal_year VARCHAR, as__percentage_of_gdp_low_high VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gross_debt_in_) AS $billions_undeflated_treas FROM table_name_1 WHERE end_of_fiscal_year > 1980 AND as__percentage_of_gdp_low_high = \"83.4-84.4\" AND debt_held_by_public__$billions_ < 7 OFFSET 552"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest crowd at the Victoria Park Venue?\n\n### Context:\nCREATE TABLE table_name_94 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_94 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Total, when Year(s) Won is \"1966 , 1970 , 1978\", and when To par is less than 4?\n\n### Context:\nCREATE TABLE table_name_81 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_81 WHERE year_s__won = \"1966 , 1970 , 1978\" AND to_par < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the catalog number for the January 25, 1987 release?\n\n### Context:\nCREATE TABLE table_name_5 (catalog VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalog FROM table_name_5 WHERE date = \"january 25, 1987\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the reason for change to the successor that was seated on December 13, 1880?\n\n### Context:\nCREATE TABLE table_2417395_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_change FROM table_2417395_4 WHERE date_successor_seated = \"December 13, 1880\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the captain of Neil Warnock's team?\n\n### Context:\nCREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team AS captain FROM table_26593762_2 WHERE manager = \"Neil Warnock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times did Robin Hayes run?\n\n### Context:\nCREATE TABLE table_1805191_34 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(candidates) FROM table_1805191_34 WHERE incumbent = \"Robin Hayes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?\n\n### Context:\nCREATE TABLE table_name_89 (operator VARCHAR, project_name VARCHAR, peak VARCHAR, year_startup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT operator FROM table_name_89 WHERE peak = \"90\" AND year_startup = \"2010\" AND project_name = \"aosp expansion 1 (jackpine ph 1a)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Top-25 when events shows 12, the top-5 is 1, and less than 11 cuts?\n\n### Context:\nCREATE TABLE table_name_63 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR, top_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(top_25) FROM table_name_63 WHERE events = 12 AND top_5 = 1 AND cuts_made < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the earliest round for nominee david mundy?\n\n### Context:\nCREATE TABLE table_name_98 (round INTEGER, nominees VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_98 WHERE nominees = \"david mundy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the number of days in 1945 where the constituent was heywood and radcliffe?\n\n### Context:\nCREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT days FROM table_name_18 WHERE year = \"1945\" AND constituency = \"heywood and radcliffe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich level has wale as artist 1?\n\n### Context:\nCREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT level FROM table_23649244_1 WHERE artist_1 = \"Wale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the 3rd performer when christopher smith was the 2nd performer?\n\n### Context:\nCREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT performer_3 FROM table_name_19 WHERE performer_2 = \"christopher smith\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score during week 16?\n\n### Context:\nCREATE TABLE table_name_12 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_12 WHERE week = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rounds have a position of C?\n\n### Context:\nCREATE TABLE table_name_95 (round VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(round) FROM table_name_95 WHERE position = \"c\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat batting partners batted for pakistan?\n\n### Context:\nCREATE TABLE table_1670921_2 (batting_partners VARCHAR, batting_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT batting_partners FROM table_1670921_2 WHERE batting_team = \"Pakistan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was built in 1857?\n\n### Context:\nCREATE TABLE table_name_89 (name VARCHAR, year_built VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_89 WHERE year_built = 1857"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow may players played for the Grizzlies from 2000-2002?\n\n### Context:\nCREATE TABLE table_16494599_1 (no VARCHAR, years_for_grizzlies VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no) FROM table_16494599_1 WHERE years_for_grizzlies = \"2000-2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game when the opponent is the Cleveland Browns?\n\n### Context:\nCREATE TABLE table_name_98 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_98 WHERE opponent = \"cleveland browns\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Authority has a Gender of coed, a Decile smaller than 6, and an Area of merivale?\n\n### Context:\nCREATE TABLE table_name_21 (authority VARCHAR, area VARCHAR, gender VARCHAR, decile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT authority FROM table_name_21 WHERE gender = \"coed\" AND decile < 6 AND area = \"merivale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Ram's conference record when they were the CBI champions?\n\n### Context:\nCREATE TABLE table_14609295_4 (conference VARCHAR, postseason VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conference FROM table_14609295_4 WHERE postseason = \"CBI Champions\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat number is shown for november 3 where january 15-16 is 151?\n\n### Context:\nCREATE TABLE table_25252080_3 (november_3 VARCHAR, january_15_16 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT november_3 FROM table_25252080_3 WHERE january_15_16 = \"151\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the surface of the French Championships?\n\n### Context:\nCREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_2215159_2 WHERE championship = \"French championships\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Silver, when Gold is less than 34, when Rank is \"6\", and when Total is greater than 10?\n\n### Context:\nCREATE TABLE table_name_81 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = \"6\" AND total > 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps?\n\n### Context:\nCREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_43 WHERE bike = \"honda cbr1000rr\" AND laps < 22 AND time = \"+2 laps\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Nelson Philippe drove with a grid larger than 16, what was the timre/retired?\n\n### Context:\nCREATE TABLE table_name_2 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_2 WHERE grid > 16 AND driver = \"nelson philippe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 1st leg has a Team #1 of ummc ekaterinburg?\n\n### Context:\nCREATE TABLE table_name_33 (team__number1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = \"ummc ekaterinburg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPosition of defensive back, and an Overall smaller than 69 is what lowest pick #?\n\n### Context:\nCREATE TABLE table_name_7 (pick__number INTEGER, position VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick__number) FROM table_name_7 WHERE position = \"defensive back\" AND overall < 69"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest season with an advertising account manager profile?\n\n### Context:\nCREATE TABLE table_name_38 (season INTEGER, profile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(season) FROM table_name_38 WHERE profile = \"advertising account manager\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich college was the wide receiver whose pick was less than 130.0 picked from?\n\n### Context:\nCREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_14649522_1 WHERE position = \"Wide Receiver\" AND pick__number < 130.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many losses for the team with less than 4 wins, more than 0 byes and 2510 against?\n\n### Context:\nCREATE TABLE table_name_39 (losses INTEGER, byes VARCHAR, wins VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(losses) FROM table_name_39 WHERE wins < 4 AND against = 2510 AND byes > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total?\n\n### Context:\nCREATE TABLE table_name_44 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_44 WHERE rank < 8 AND total = 12 AND bronze < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the first names and last names of the employees who live in Calgary city.\n\n### Context:\nCREATE TABLE EMPLOYEE (FirstName VARCHAR, LastName VARCHAR, City VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT FirstName, LastName FROM EMPLOYEE WHERE City = \"Calgary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the Burnley Home game?\n\n### Context:\nCREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_57 WHERE home_team = \"burnley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the tournament on august 17, 2008?\n\n### Context:\nCREATE TABLE table_name_14 (tournament VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_14 WHERE date = \"august 17, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest rank for the boys swimming team in Albuquerque?\n\n### Context:\nCREATE TABLE table_name_72 (rank INTEGER, sport VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_72 WHERE sport = \"boys swimming\" AND city = \"albuquerque\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many laps had a time of +2.987?\n\n### Context:\nCREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(laps) FROM table_name_37 WHERE time = \"+2.987\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have?\n\n### Context:\nCREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(silver) FROM table_name_45 WHERE rank > 1 AND gold = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\non what date was tie number 4?\n\n### Context:\nCREATE TABLE table_name_80 (date VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_80 WHERE tie_no = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the maximum completed for address on 410 22nd st e\n\n### Context:\nCREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT completed FROM table_13397394_1 WHERE address = \"410 22nd St E\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people lived in the city which has 1.2530 km\u00b2 in the year 2000?\n\n### Context:\nCREATE TABLE table_2004733_2 (population__2000_ INTEGER, area__in_km_2__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(population__2000_) FROM table_2004733_2 WHERE area__in_km_2__ = \"1.2530\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many floors does detroit marriott at the renaissance center have?\n\n### Context:\nCREATE TABLE table_name_70 (floors INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(floors) FROM table_name_70 WHERE name = \"detroit marriott at the renaissance center\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the partnering that had the opponents of Marcelo Melo Andr\u00e9 S\u00e1?\n\n### Context:\nCREATE TABLE table_name_29 (partnering VARCHAR, opponents_in_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT partnering FROM table_name_29 WHERE opponents_in_final = \"marcelo melo andr\u00e9 s\u00e1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was in Human Resources & Operations when David Hornsby was in Academic & University Affairs?\n\n### Context:\nCREATE TABLE table_name_56 (human_resources_ VARCHAR, _operations VARCHAR, academic_ VARCHAR, _university_affairs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT human_resources_ & _operations FROM table_name_56 WHERE academic_ & _university_affairs = \"david hornsby\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the traditional for \u5c4f\u5357\u53bf\n\n### Context:\nCREATE TABLE table_2013618_1 (traditional VARCHAR, simplified VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT traditional FROM table_2013618_1 WHERE simplified = \"\u5c4f\u5357\u53bf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position did the kr team player play?\n\n### Context:\nCREATE TABLE table_name_15 (position VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_15 WHERE team = \"kr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of field goals scored by a right halfback who had more than 3 touchdowns?\n\n### Context:\nCREATE TABLE table_name_80 (field_goals INTEGER, position VARCHAR, touchdowns VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(field_goals) FROM table_name_80 WHERE position = \"right halfback\" AND touchdowns > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bronzes have a Nation of jamaica (jam), and a Total smaller than 7?\n\n### Context:\nCREATE TABLE table_name_6 (bronze VARCHAR, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_6 WHERE nation = \"jamaica (jam)\" AND total < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the title for the Undercard of Stevenson/Bellew?\n\n### Context:\nCREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT titles FROM table_25840200_1 WHERE notes = \"Undercard of Stevenson/Bellew\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the longitude of the feature named Razia Patera? \n\n### Context:\nCREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT longitude FROM table_16799784_8 WHERE name = \"Razia Patera\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location of the game that has a number smaller than 2?\n\n### Context:\nCREATE TABLE table_name_68 (location VARCHAR, game INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_68 WHERE game < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average game that has December 17 as the date?\n\n### Context:\nCREATE TABLE table_name_32 (game INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(game) FROM table_name_32 WHERE date = \"december 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Broadcasts (TV) 1, when Series is \"3 4\", and when US Release Date is \"27 December 2006\"?\n\n### Context:\nCREATE TABLE table_name_47 (broadcasts__tv__1 INTEGER, series VARCHAR, us_release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(broadcasts__tv__1) FROM table_name_47 WHERE series = \"3 4\" AND us_release_date = \"27 december 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of points for a position over 5 with more than 2 draws?\n\n### Context:\nCREATE TABLE table_name_79 (points INTEGER, drawn VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_79 WHERE drawn > 2 AND position > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the production code of the episode seen by 7.49 million people in the US?\n\n### Context:\nCREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = \"7.49\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich school shows #/county of 29 hamilton?\n\n### Context:\nCREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_49 WHERE _number___county = \"29 hamilton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the song of artist liam reilly?\n\n### Context:\nCREATE TABLE table_name_8 (song VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_name_8 WHERE artist = \"liam reilly\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 1st Edition for the Episode 4?\n\n### Context:\nCREATE TABLE table_name_77 (episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_edition FROM table_name_77 WHERE episode = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the money for the player with a score of 68-69-67-73=277?\n\n### Context:\nCREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nAvg/G that has a Att-Cmp-Int of 1\u20131\u20130, and an Effic larger than 394 is what total?\n\n### Context:\nCREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = \"1\u20131\u20130\" AND effic > 394"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Rider had a Time of +1:08.291?\n\n### Context:\nCREATE TABLE table_name_14 (rider VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_14 WHERE time = \"+1:08.291\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silver medals did Estonia, which won more than 1 gold and less than 97 medals total, win?\n\n### Context:\nCREATE TABLE table_name_20 (silver VARCHAR, nation VARCHAR, gold VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT silver FROM table_name_20 WHERE gold > 1 AND total < 97 AND nation = \"estonia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of series sorted for when released is april 2010\n\n### Context:\nCREATE TABLE table_1620397_2 (series_sorted VARCHAR, released VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(series_sorted) FROM table_1620397_2 WHERE released = \"April 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich language has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service?\n\n### Context:\nCREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_name_80 WHERE origin_of_programming = \"india\" AND genre = \"general\" AND network = \"ptc punjabi\" AND service = \"bell fibe tv\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many ties do teams with 25 Goals For and more than 5 wins have?\n\n### Context:\nCREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n who is the\u00a0captain\u00a0where\u00a0coach\u00a0is geoff miles\n\n### Context:\nCREATE TABLE table_1165048_1 (captain VARCHAR, coach VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT captain FROM table_1165048_1 WHERE coach = \"Geoff Miles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year(s) did Raymond Floyd have a total of less than 291 and a To par of +10?\n\n### Context:\nCREATE TABLE table_name_34 (year_s__won VARCHAR, player VARCHAR, total VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_s__won FROM table_name_34 WHERE total < 291 AND to_par = \"+10\" AND player = \"raymond floyd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the lead for the team from Saskatoon, Saskatchewan?\n\n### Context:\nCREATE TABLE table_name_84 (lead VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lead FROM table_name_84 WHERE home = \"saskatoon, saskatchewan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Hawthorn play as the away team?\n\n### Context:\nCREATE TABLE table_name_89 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_89 WHERE away_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Location, when Class / Type is \"Sloop\"?\n\n### Context:\nCREATE TABLE table_name_33 (location VARCHAR, class___type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_33 WHERE class___type = \"sloop\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine has the Mercedes AMG Petronas f1 team, and 93 points?\n\n### Context:\nCREATE TABLE table_name_1 (engine VARCHAR, entrant VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_1 WHERE entrant = \"mercedes amg petronas f1 team\" AND points = \"93\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition did he win on August 15, 2012?\n\n### Context:\nCREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_54 WHERE result = \"win\" AND date = \"august 15, 2012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the coin that weighs 3 g made of?\n\n### Context:\nCREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT composition FROM table_name_33 WHERE weight = \"3 g\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away team at punt road oval?\n\n### Context:\nCREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_5 WHERE venue = \"punt road oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for 2006 of a tournament that is 107 in 2010?\n\n### Context:\nCREATE TABLE table_name_73 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2006 FROM table_name_73 WHERE 2010 = \"107\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the highest % hydropower when the % oil is less than 24.5, country is united arab emirates and the % nuclear power is 0?\n\n### Context:\nCREATE TABLE table_name_80 (_percentage_hydropower INTEGER, _percentage_nuclear_power VARCHAR, _percentage_oil VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_percentage_hydropower) FROM table_name_80 WHERE _percentage_oil < 24.5 AND country = \"united arab emirates\" AND _percentage_nuclear_power < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the sum of closed for city of pittsburgh and capacity larger than 59,000\n\n### Context:\nCREATE TABLE table_name_73 (closed INTEGER, city VARCHAR, capacity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(closed) FROM table_name_73 WHERE city = \"pittsburgh\" AND capacity > 59 OFFSET 000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the attendance amount of the race with a time of 2:07?\n\n### Context:\nCREATE TABLE table_name_38 (attendance INTEGER, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_38 WHERE time = \"2:07\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWas the University of Michigan Signed?\n\n### Context:\nCREATE TABLE table_name_13 (signed VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT signed FROM table_name_13 WHERE school = \"university of michigan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the countries of mountains with height bigger than 5000?\n\n### Context:\nCREATE TABLE mountain (Country VARCHAR, Height INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT Country FROM mountain WHERE Height > 5000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 1821 with 1861 of 3733\n\n### Context:\nCREATE TABLE table_name_30 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1821 FROM table_name_30 WHERE 1861 = \"3733\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the category number that was released in November 2007?\n\n### Context:\nCREATE TABLE table_name_85 (cat__number VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT cat__number FROM table_name_85 WHERE release_date = \"november 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat place had a ribbon below 9.8 and a 19.2 total?\n\n### Context:\nCREATE TABLE table_name_23 (place INTEGER, ribbon VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(place) FROM table_name_23 WHERE ribbon < 9.8 AND total = 19.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was sent to the third island in week 1?\n\n### Context:\nCREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was in 2nd leg when Boca Juniors was in home (1st leg)?\n\n### Context:\nCREATE TABLE table_14219514_1 (home__1st_leg_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_14219514_1 WHERE home__1st_leg_ = \"Boca Juniors\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSteve Nash (24) got high points for how many teams?\n\n### Context:\nCREATE TABLE table_17340355_10 (team VARCHAR, high_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team) FROM table_17340355_10 WHERE high_points = \"Steve Nash (24)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Law Hiu Fung's time?\n\n### Context:\nCREATE TABLE table_name_26 (time VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_26 WHERE athlete = \"law hiu fung\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the chassis for engine of brm v12\n\n### Context:\nCREATE TABLE table_name_49 (chassis VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_49 WHERE engine = \"brm v12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich result did the Republican have with the incumbent, Billy Tauzin?\n\n### Context:\nCREATE TABLE table_1341472_20 (result VARCHAR, party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_1341472_20 WHERE party = \"Republican\" AND incumbent = \"Billy Tauzin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the kickoff that has a NFL.com recap, is played before week 17, and is played at arrowhead stadium?\n\n### Context:\nCREATE TABLE table_name_53 (kickoff VARCHAR, game_site VARCHAR, nflcom_recap VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kickoff FROM table_name_53 WHERE nflcom_recap = \"recap\" AND week < 17 AND game_site = \"arrowhead stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho drives for Newman-Haas Racing with a time of 1:51:47.260?\n\n### Context:\nCREATE TABLE table_name_43 (driver VARCHAR, team VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_43 WHERE team = \"newman-haas racing\" AND time_retired = \"1:51:47.260\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least track with song of little sister\n\n### Context:\nCREATE TABLE table_name_67 (track INTEGER, song_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(track) FROM table_name_67 WHERE song_title = \"little sister\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the literacy rate for groups that grew 103.1% between 1991 and 2001?\n\n### Context:\nCREATE TABLE table_10710364_2 (literacy___percentage_ VARCHAR, growth__1991_2001_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT literacy___percentage_ FROM table_10710364_2 WHERE growth__1991_2001_ = \"103.1%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the tournament played 13 November 2000?\n\n### Context:\nCREATE TABLE table_name_35 (tournament VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_35 WHERE date = \"13 november 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?\n\n### Context:\nCREATE TABLE table_name_39 (result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = \"seoul samsung thunders\" AND champions = \"jeonju kcc egis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the object number of railways that do not have any trains.\n\n### Context:\nCREATE TABLE train (ObjectNumber VARCHAR, Railway_ID VARCHAR); CREATE TABLE railway (ObjectNumber VARCHAR, Railway_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ObjectNumber FROM railway WHERE NOT Railway_ID IN (SELECT Railway_ID FROM train)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played the bass for the Against the Grain album after 1982?\n\n### Context:\nCREATE TABLE table_name_97 (bass VARCHAR, year VARCHAR, album VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bass FROM table_name_97 WHERE year > 1982 AND album = \"against the grain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the duchess, who was married on 11 july 1643, born?\n\n### Context:\nCREATE TABLE table_name_12 (birth VARCHAR, marriage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT birth FROM table_name_12 WHERE marriage = \"11 july 1643\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote episode 23 in the season?\n\n### Context:\nCREATE TABLE table_27823359_1 (written_by VARCHAR, season__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_27823359_1 WHERE season__number = \"23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average rank has an Earning amount that is less than $224,589?\n\n### Context:\nCREATE TABLE table_name_82 (rank INTEGER, earnings__$__ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rank) FROM table_name_82 WHERE earnings__$__ < 224 OFFSET 589"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Japanese title has a Disc smaller than 12, and an Artist of k\u014dz\u014d murashita?\n\n### Context:\nCREATE TABLE table_name_44 (japanese_title VARCHAR, disc VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT japanese_title FROM table_name_44 WHERE disc < 12 AND artist = \"k\u014dz\u014d murashita\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest crowd when st kilda was the away team?\n\n### Context:\nCREATE TABLE table_name_60 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(crowd) FROM table_name_60 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn which circuit does lorenzo bandini have the fastest lap as well as the pole position?\n\n### Context:\nCREATE TABLE table_name_91 (circuit VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_91 WHERE fastest_lap = \"lorenzo bandini\" AND pole_position = \"lorenzo bandini\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine does the Tasman Motorsports team have?\n\n### Context:\nCREATE TABLE table_name_63 (engine VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_63 WHERE team = \"tasman motorsports\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team's record on may 12 when they play the giants?\n\n### Context:\nCREATE TABLE table_name_58 (record VARCHAR, opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_58 WHERE opponent = \"giants\" AND date = \"may 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year with nominated result?\n\n### Context:\nCREATE TABLE table_name_32 (year INTEGER, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(year) FROM table_name_32 WHERE result = \"nominated\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team score for the home team listed as Footscray?\n\n### Context:\nCREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_16 WHERE home_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of\u00a0kickoff [a ]\u00a0where\u00a0week\u00a0is week\n\n### Context:\nCREATE TABLE table_11406866_2 (a_ VARCHAR, kickoff_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(kickoff_)[a_] FROM table_11406866_2 WHERE \"week\" = \"week\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of vacancy for Tommy McLean?\n\n### Context:\nCREATE TABLE table_name_80 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_vacancy FROM table_name_80 WHERE outgoing_manager = \"tommy mclean\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the type when the bie recognised is yes and year(s) is 1960?\n\n### Context:\nCREATE TABLE table_name_62 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_62 WHERE bie_recognised = \"yes\" AND year_s_ = \"1960\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen has a surface of road and an event of half marathon?\n\n### Context:\nCREATE TABLE table_name_63 (date VARCHAR, surface VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_63 WHERE surface = \"road\" AND event = \"half marathon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nMatches of 127 has how many total number of inns?\n\n### Context:\nCREATE TABLE table_name_56 (inns VARCHAR, matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(inns) FROM table_name_56 WHERE matches = 127"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team classification has alejandro valverde as points classification, with alejandro valverde as the winner, with 3 as the stage?\n\n### Context:\nCREATE TABLE table_name_26 (team_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_classification FROM table_name_26 WHERE points_classification = \"alejandro valverde\" AND winner = \"alejandro valverde\" AND stage = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat proto-oceanic has louse as the animal?\n\n### Context:\nCREATE TABLE table_name_86 (proto_oceanic VARCHAR, animal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT proto_oceanic FROM table_name_86 WHERE animal = \"louse\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Position has a Pick # smaller than 23, and a Player of garrett sutherland?\n\n### Context:\nCREATE TABLE table_name_12 (position VARCHAR, pick__number VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_12 WHERE pick__number < 23 AND player = \"garrett sutherland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record for a game lower than 79?\n\n### Context:\nCREATE TABLE table_name_90 (record VARCHAR, game INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_90 WHERE game < 79"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original air date for no. 2?\n\n### Context:\nCREATE TABLE table_12722302_2 (original_air_date VARCHAR, no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_12722302_2 WHERE no = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many masters fought using a boxing style?\n\n### Context:\nCREATE TABLE table_14937957_1 (masters VARCHAR, martial_art_style VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(masters) FROM table_14937957_1 WHERE martial_art_style = \"Boxing\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?\n\n### Context:\nCREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_25 WHERE time___et__ = \"1:00pm\" AND opponent = \"kansas city chiefs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Prime Minister of Antoine Wehenkel?\n\n### Context:\nCREATE TABLE table_name_71 (Prime VARCHAR, minister VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Prime AS minister FROM table_name_71 WHERE minister = \"antoine wehenkel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record for houston\n\n### Context:\nCREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_23186738_6 WHERE team = \"Houston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on December 10, 2000?\n\n### Context:\nCREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_36 WHERE date = \"december 10, 2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the entrant for Gary Brabham?\n\n### Context:\nCREATE TABLE table_name_5 (entrant VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT entrant FROM table_name_5 WHERE driver = \"gary brabham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which races did the jockey weigh less than 55.5 kg?\n\n### Context:\nCREATE TABLE table_name_78 (race VARCHAR, weight__kg_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_78 WHERE weight__kg_ < 55.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game where North Melbourne was the home team?\n\n### Context:\nCREATE TABLE table_name_65 (date VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_65 WHERE home_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the grid of driver tomas scheckter from vision racing team?\n\n### Context:\nCREATE TABLE table_name_22 (grid VARCHAR, team VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_22 WHERE team = \"vision racing\" AND driver = \"tomas scheckter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the time 13.6?\n\n### Context:\nCREATE TABLE table_name_76 (athlete VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_76 WHERE time = 13.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is ranked larger than 4?\n\n### Context:\nCREATE TABLE table_name_72 (country VARCHAR, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_72 WHERE rank > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the awardee for tingya\n\n### Context:\nCREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT awardee_s_ FROM table_24446718_3 WHERE name_of_film = \"Tingya\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of points of the honda hr-1 engine?\n\n### Context:\nCREATE TABLE table_name_41 (points VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_41 WHERE engine = \"honda hr-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were Holly Scouler's total votes?\n\n### Context:\nCREATE TABLE table_name_27 (total_votes VARCHAR, members VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total_votes FROM table_name_27 WHERE members = \"holly scouler\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of popular votes for mn attorney general in 1994\n\n### Context:\nCREATE TABLE table_name_74 (popular_votes VARCHAR, office VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(popular_votes) FROM table_name_74 WHERE office = \"mn attorney general\" AND year = 1994"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the courtesy title of the person whose tenure goes from 1766\u20131794?\n\n### Context:\nCREATE TABLE table_name_1 (courtesy_title VARCHAR, tenure VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT courtesy_title FROM table_name_1 WHERE tenure = \"1766\u20131794\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich term had a Democratic representative from district 7?\n\n### Context:\nCREATE TABLE table_name_22 (term VARCHAR, district VARCHAR, party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT term FROM table_name_22 WHERE district = \"7\" AND party = \"democratic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average value for Rd 8 in a position less than 2 for Audi Sport Australia?\n\n### Context:\nCREATE TABLE table_name_68 (rd_8 INTEGER, team VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(rd_8) FROM table_name_68 WHERE team = \"audi sport australia\" AND position < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHome of buffalo happened on what date?\n\n### Context:\nCREATE TABLE table_name_39 (date VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_39 WHERE home = \"buffalo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average Top 5 which has a Position of 52nd with a Year smaller than 2000?\n\n### Context:\nCREATE TABLE table_name_29 (top_5 INTEGER, position VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(top_5) FROM table_name_29 WHERE position = \"52nd\" AND year < 2000"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance of the match with motagua as the home team?\n\n### Context:\nCREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_51 WHERE home = \"motagua\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many position does Jim Farmer play in?\n\n### Context:\nCREATE TABLE table_11545282_6 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(position) FROM table_11545282_6 WHERE player = \"Jim Farmer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people attended the game whose score was 1-1?\n\n### Context:\nCREATE TABLE table_name_62 (attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_62 WHERE record = \"1-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nJury larger than 6, and a Artist of zhenya rasskazova, and a Draw larger than 9 had what sum of points?\n\n### Context:\nCREATE TABLE table_name_17 (points INTEGER, draw VARCHAR, jury VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_17 WHERE jury > 6 AND artist = \"zhenya rasskazova\" AND draw > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the series number of the episode originally viewed by 4.1 million people and written by Douglas Lieblein?\n\n### Context:\nCREATE TABLE table_18055005_1 (no_in_series VARCHAR, viewers__millions_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no_in_series FROM table_18055005_1 WHERE viewers__millions_ = \"4.1\" AND written_by = \"Douglas Lieblein\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the hometown for tre madden?\n\n### Context:\nCREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hometown FROM table_name_68 WHERE player = \"tre madden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen james seaton is the incumbent what is the reason?\n\n### Context:\nCREATE TABLE table_28898974_3 (reason VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason FROM table_28898974_3 WHERE incumbent = \"James Seaton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTotal larger than 3, and a Rank of 4, and a Silver larger than 0 has what average gold?\n\n### Context:\nCREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(gold) FROM table_name_2 WHERE total > 3 AND rank = \"4\" AND silver > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many 4 credits is the hand two pair?\n\n### Context:\nCREATE TABLE table_11200856_1 (hand VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(4 AS _credits) FROM table_11200856_1 WHERE hand = \"Two pair\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all institutions with a team name of the Cardinals. \n\n### Context:\nCREATE TABLE table_18483171_1 (institution VARCHAR, team_nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT institution FROM table_18483171_1 WHERE team_nickname = \"Cardinals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for Nick Faldo?\n\n### Context:\nCREATE TABLE table_name_83 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_83 WHERE player = \"nick faldo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Time/Retired, when Team is \"Team Vodafone\", and when Grid is greater than 4?\n\n### Context:\nCREATE TABLE table_name_16 (time_retired VARCHAR, team VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_16 WHERE team = \"team vodafone\" AND grid > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me what is FCC info for harmony township, new jersey?\n\n### Context:\nCREATE TABLE table_name_39 (fcc_info VARCHAR, city_of_license VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fcc_info FROM table_name_39 WHERE city_of_license = \"harmony township, new jersey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the tournament the masters tournament and the top-10 is less than 2?\n\n### Context:\nCREATE TABLE table_name_6 (top_5 VARCHAR, tournament VARCHAR, top_10 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(top_5) FROM table_name_6 WHERE tournament = \"masters tournament\" AND top_10 < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many locations logged a score of 206 (-7)?\n\n### Context:\nCREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(location) FROM table_11622840_1 WHERE score = \"206 (-7)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the numbers in series written by sam meikle, which have 21 numbers in the season?\n\n### Context:\nCREATE TABLE table_name_5 (no_in_series INTEGER, written_by VARCHAR, no_in_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(no_in_series) FROM table_name_5 WHERE written_by = \"sam meikle\" AND no_in_season = 21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did the away team score when playing against fitzroy?\n\n### Context:\nCREATE TABLE table_name_62 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_62 WHERE home_team = \"fitzroy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week was the Bye attendance week?\n\n### Context:\nCREATE TABLE table_name_20 (week VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_20 WHERE attendance = \"bye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the highest game number when the opponent was the Miami Heat?\n\n### Context:\nCREATE TABLE table_name_5 (game INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_5 WHERE opponent = \"miami heat\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the states where have the colleges whose enrollments are less than the largest size.\n\n### Context:\nCREATE TABLE college (state VARCHAR, enr INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT state FROM college WHERE enr < (SELECT MAX(enr) FROM college)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the home team when the away team was Frickley Athletic?\n\n### Context:\nCREATE TABLE table_name_3 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_3 WHERE away_team = \"frickley athletic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the premiere date for the episode whose alternate title was mi\u0142o\u015b\u0107 i przeznaczenie?\n\n### Context:\nCREATE TABLE table_29799700_2 (series_premiere VARCHAR, alternante_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series_premiere FROM table_29799700_2 WHERE alternante_title = \"Mi\u0142o\u015b\u0107 i przeznaczenie\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country is Howard Clark from?\n\n### Context:\nCREATE TABLE table_name_18 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_18 WHERE player = \"howard clark\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of wind m/s for sunday emmanuel\n\n### Context:\nCREATE TABLE table_1231316_6 (wind__m_s_ VARCHAR, athlete VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wind__m_s_) FROM table_1231316_6 WHERE athlete = \"Sunday Emmanuel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the format of the date February 14, 2002?\n\n### Context:\nCREATE TABLE table_name_53 (format VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT format FROM table_name_53 WHERE date = \"february 14, 2002\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player with a +3 to par and a 74-71-68=213 score?\n\n### Context:\nCREATE TABLE table_name_42 (player VARCHAR, to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_42 WHERE to_par = \"+3\" AND score = 74 - 71 - 68 = 213"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Tournament has a Surface of hard, and a Date of 24 september 2011?\n\n### Context:\nCREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_40 WHERE surface = \"hard\" AND date = \"24 september 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many tries against got the club with 62 tries for?\n\n### Context:\nCREATE TABLE table_13564702_4 (tries_against VARCHAR, tries_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_against FROM table_13564702_4 WHERE tries_for = \"62\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is from Marshall and played 1974-75?\n\n### Context:\nCREATE TABLE table_11545282_12 (player VARCHAR, years_for_jazz VARCHAR, school_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11545282_12 WHERE years_for_jazz = \"1974-75\" AND school_club_team = \"Marshall\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away score when North Melbourne was played?\n\n### Context:\nCREATE TABLE table_name_91 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_91 WHERE home_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many matches had the result of 6\u20133, 6\u20132?\n\n### Context:\nCREATE TABLE table_11636213_7 (partnering VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(partnering) FROM table_11636213_7 WHERE result = \"6\u20133, 6\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game number was played at Chicago Stadium?\n\n### Context:\nCREATE TABLE table_name_63 (game VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_63 WHERE location = \"chicago stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the finishes maximum number?\n\n### Context:\nCREATE TABLE table_23385853_20 (finishes INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(finishes) FROM table_23385853_20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had most laps led at Chicagoland speedway? \n\n### Context:\nCREATE TABLE table_2454550_1 (most_laps_led VARCHAR, track VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT most_laps_led FROM table_2454550_1 WHERE track = \"Chicagoland Speedway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Player has 23 Tries?\n\n### Context:\nCREATE TABLE table_name_61 (player VARCHAR, tries VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_61 WHERE tries = 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the Steals are 20, what are the blocks?\n\n### Context:\nCREATE TABLE table_25342713_5 (blocks INTEGER, steals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(blocks) FROM table_25342713_5 WHERE steals = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the score on December 12, 1998?\n\n### Context:\nCREATE TABLE table_name_11 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_11 WHERE date = \"december 12, 1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich engine was on a car with G tires, a chassis model of 003 002 004 005 006, driven by Jackie Stewart?\n\n### Context:\nCREATE TABLE table_name_98 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_98 WHERE tyre = \"g\" AND chassis = \"003 002 004 005 006\" AND driver = \"jackie stewart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Delivered as name of the H3 Locomotive?\n\n### Context:\nCREATE TABLE table_name_64 (delivered_as VARCHAR, locomotive VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT delivered_as FROM table_name_64 WHERE locomotive = \"h3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game had a record of 6-9-7?\n\n### Context:\nCREATE TABLE table_17360840_5 (game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_17360840_5 WHERE record = \"6-9-7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many inches is the barrel length when the rear sight is weaver and the barrel profile is A2?\n\n### Context:\nCREATE TABLE table_12834315_8 (barrel_length VARCHAR, rear_sight VARCHAR, barrel_profile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT barrel_length FROM table_12834315_8 WHERE rear_sight = \"Weaver\" AND barrel_profile = \"A2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat districts does incumbent Curt Weldon hold?\n\n### Context:\nCREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1341568_39 WHERE incumbent = \"Curt Weldon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many female students (sex is F) whose age is below 25?\n\n### Context:\nCREATE TABLE student (sex VARCHAR, age VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM student WHERE sex = 'F' AND age < 25"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the population 1891 for area being 175836\n\n### Context:\nCREATE TABLE table_14925084_1 (population_1891 VARCHAR, area_1891__statute_acres_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population_1891) FROM table_14925084_1 WHERE area_1891__statute_acres_ = 175836"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team was opponen in baltimore, at 2:00pm, on 4/06/08?\n\n### Context:\nCREATE TABLE table_name_11 (opponent VARCHAR, date VARCHAR, city VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_11 WHERE city = \"baltimore\" AND time = \"2:00pm\" AND date = \"4/06/08\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Average crowd when the away team was north melbourne?\n\n### Context:\nCREATE TABLE table_name_17 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_17 WHERE away_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many viewers in millions watched the episode with the production code 6acx16?\n\n### Context:\nCREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_viewers__million_ FROM table_22261877_1 WHERE production_code = \"6ACX16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the pole position of the Belgian Grand Prix?\n\n### Context:\nCREATE TABLE table_name_27 (pole_position VARCHAR, grand_prix VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_name_27 WHERE grand_prix = \"belgian grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the competition played in budva against italy?\n\n### Context:\nCREATE TABLE table_name_56 (competition VARCHAR, town VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_56 WHERE town = \"budva\" AND opponent = \"italy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich manager had less than 287 losses, less than 80 wins, a win percentage of 0.296, and was employed in 1904?\n\n### Context:\nCREATE TABLE table_name_96 (manager VARCHAR, wpct VARCHAR, years VARCHAR, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manager FROM table_name_96 WHERE losses < 287 AND wins < 80 AND years = \"1904\" AND wpct = 0.296"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the song title with time of 1:51\n\n### Context:\nCREATE TABLE table_name_75 (song_title VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song_title FROM table_name_75 WHERE time = \"1:51\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat line is 24.7 km and head towards Toyohashi East?\n\n### Context:\nCREATE TABLE table_name_36 (name VARCHAR, direction VARCHAR, length__km_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_36 WHERE direction = \"toyohashi east\" AND length__km_ = 24.7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team plays at Lake Oval?\n\n### Context:\nCREATE TABLE table_name_39 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_39 WHERE venue = \"lake oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the satellite that has a COSPAR ID of 1967-042a launched?\n\n### Context:\nCREATE TABLE table_name_80 (launch_date VARCHAR, cospar_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launch_date FROM table_name_80 WHERE cospar_id = \"1967-042a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Jushin Liger has a Super Shocker of liger (13:59)?\n\n### Context:\nCREATE TABLE table_name_44 (jushin_liger VARCHAR, super_shocker VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT jushin_liger FROM table_name_44 WHERE super_shocker = \"liger (13:59)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich score has a record of 58\u201315\u20138?\n\n### Context:\nCREATE TABLE table_name_80 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_80 WHERE record = \"58\u201315\u20138\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pre-Season has a A-League of 0 1, and a Finals larger than 0?\n\n### Context:\nCREATE TABLE table_name_4 (pre_season INTEGER, a_league VARCHAR, finals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pre_season) FROM table_name_4 WHERE a_league = \"0 1\" AND finals > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record of the game on November 24 with a Score of 6\u20132?\n\n### Context:\nCREATE TABLE table_name_75 (record VARCHAR, score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_75 WHERE score = \"6\u20132\" AND date = \"november 24\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 July?\n\n### Context:\nCREATE TABLE table_name_55 (winning_driver VARCHAR, winning_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_driver FROM table_name_55 WHERE winning_team = \"engstler motorsport engstler motorsport\" AND date = \"22 july\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many lands with longitude of -100.895783 are?\n\n### Context:\nCREATE TABLE table_18600760_19 (land___sqmi__ VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(land___sqmi__) FROM table_18600760_19 WHERE longitude = \"-100.895783\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people at Arden Street Oval?\n\n### Context:\nCREATE TABLE table_name_21 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_21 WHERE venue = \"arden street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani?\n\n### Context:\nCREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = \"piercarlo ghinzani\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nation's total is less than 19 when there's less than 1 bronze?\n\n### Context:\nCREATE TABLE table_name_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_54 WHERE total < 19 AND bronze < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the visitor at the axa sports center in round 20?\n\n### Context:\nCREATE TABLE table_name_6 (visitor VARCHAR, venue VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_6 WHERE venue = \"axa sports center\" AND round = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the built date when the CR number is more than 940 and the LMS number is 14760?\n\n### Context:\nCREATE TABLE table_name_57 (built VARCHAR, cr_no VARCHAR, lms_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT built FROM table_name_57 WHERE cr_no > 940 AND lms_no = 14760"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich player played on Team Hamilton?\n\n### Context:\nCREATE TABLE table_name_33 (player VARCHAR, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_33 WHERE cfl_team = \"hamilton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich faith has a name of Belswains?\n\n### Context:\nCREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT faith FROM table_name_40 WHERE name = \"belswains\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the match with UTC as the runner-up and Saint-Gaudens Bears as the winners?\n\n### Context:\nCREATE TABLE table_name_77 (score VARCHAR, runner_up VARCHAR, winners VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_77 WHERE runner_up = \"utc\" AND winners = \"saint-gaudens bears\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest number of injured in mayurbhanj, odisha and less than 1 killed?\n\n### Context:\nCREATE TABLE table_name_49 (injured INTEGER, place VARCHAR, killed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(injured) FROM table_name_49 WHERE place = \"mayurbhanj, odisha\" AND killed < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the launch site of the satellite with a 2003-041a COSPAR ID?\n\n### Context:\nCREATE TABLE table_name_71 (launch_site VARCHAR, cospar_id_satcat_\u2116 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT launch_site FROM table_name_71 WHERE cospar_id_satcat_\u2116 = \"2003-041a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the losing bonus that had 1 draw and a 10 try bonus?\n\n### Context:\nCREATE TABLE table_name_51 (losing_bonus VARCHAR, drawn VARCHAR, try_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT losing_bonus FROM table_name_51 WHERE drawn = \"1\" AND try_bonus = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest area in Alaska with a population of 39 and rank over 19?\n\n### Context:\nCREATE TABLE table_name_41 (area__km_2__ INTEGER, rank VARCHAR, location VARCHAR, population__2000_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(area__km_2__) FROM table_name_41 WHERE location = \"alaska\" AND population__2000_ = \"39\" AND rank > 19"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho owned the team Jeremy Mayfield raced for?\n\n### Context:\nCREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = \"Jeremy Mayfield\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?\n\n### Context:\nCREATE TABLE table_name_64 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number listed under against when there were 15 losses and more than 1 win?\n\n### Context:\nCREATE TABLE table_name_97 (against INTEGER, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(against) FROM table_name_97 WHERE losses = 15 AND wins > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Notre Dame position has a pick lower than 5 and round 7?\n\n### Context:\nCREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, pick VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_88 WHERE pick < 5 AND college = \"notre dame\" AND round = 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition has a Score of 7\u20130?\n\n### Context:\nCREATE TABLE table_name_85 (competition VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_85 WHERE score = \"7\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nfor goals less than 48 and 8 games played what is the count of losses?\n\n### Context:\nCREATE TABLE table_name_19 (losses INTEGER, games_played VARCHAR, goals_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_name_19 WHERE games_played = 8 AND goals_for < 48"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the match on December 9, 1962?\n\n### Context:\nCREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_78 WHERE date = \"december 9, 1962\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the fight against Brandon Bledsoe, how many rounds did the fight last?\n\n### Context:\nCREATE TABLE table_name_91 (round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_91 WHERE opponent = \"brandon bledsoe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere has a cause of gas explosion, a Death toll larger than 38 on 10 june?\n\n### Context:\nCREATE TABLE table_name_97 (location VARCHAR, date VARCHAR, cause VARCHAR, death_toll VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_97 WHERE cause = \"gas explosion\" AND death_toll > 38 AND date = \"10 june\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of the swimmers who have both \"win\" and \"loss\" results in the record.\n\n### Context:\nCREATE TABLE record (swimmer_id VARCHAR); CREATE TABLE swimmer (name VARCHAR, id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Win' INTERSECT SELECT t1.name FROM swimmer AS t1 JOIN record AS t2 ON t1.id = t2.swimmer_id WHERE RESULT = 'Loss'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games were played when the record was 26-21?\n\n### Context:\nCREATE TABLE table_13619135_6 (game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(game) FROM table_13619135_6 WHERE record = \"26-21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times was incumbent Noble Jones Gregory first elected?\n\n### Context:\nCREATE TABLE table_1342218_17 (first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(first_elected) FROM table_1342218_17 WHERE incumbent = \"Noble Jones Gregory\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Team Classification if the Winner is Cyril Dessel?\n\n### Context:\nCREATE TABLE table_name_30 (team_classification VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_classification FROM table_name_30 WHERE winner = \"cyril dessel\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day was St. Louis the visitor?\n\n### Context:\nCREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_85 WHERE visitor = \"st. louis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of phones that have total number of stocks bigger than 2000, in descending order of the total number of stocks.\n\n### Context:\nCREATE TABLE phone_market (Phone_ID VARCHAR, Num_of_stock INTEGER); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Name FROM phone_market AS T1 JOIN phone AS T2 ON T1.Phone_ID = T2.Phone_ID GROUP BY T2.Name HAVING SUM(T1.Num_of_stock) >= 2000 ORDER BY SUM(T1.Num_of_stock) DESC"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere the length is 91', what is the year built?\n\n### Context:\nCREATE TABLE table_name_38 (year_built VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_built FROM table_name_38 WHERE length = \"91'\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record in a week less than 13 on November 9, 2003?\n\n### Context:\nCREATE TABLE table_name_69 (record VARCHAR, week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_69 WHERE week < 13 AND date = \"november 9, 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was taxidermia nominated? \n\n### Context:\nCREATE TABLE table_14975415_1 (year__ceremony_ VARCHAR, hungarian_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year__ceremony_ FROM table_14975415_1 WHERE hungarian_title = \"Taxidermia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has the first leg that has a round in the semi-final?\n\n### Context:\nCREATE TABLE table_name_53 (first_leg VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_leg FROM table_name_53 WHERE round = \"semi-final\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when the tie number was a replay and the home team was mansfield town?\n\n### Context:\nCREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_59 WHERE tie_no = \"replay\" AND home_team = \"mansfield town\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 4zr's callsign?\n\n### Context:\nCREATE TABLE table_name_67 (callsign VARCHAR, on_air_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT callsign FROM table_name_67 WHERE on_air_id = \"4zr\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the population in 2011 for the name Beaubassin East?\n\n### Context:\nCREATE TABLE table_26321719_1 (population__2011_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population__2011_ FROM table_26321719_1 WHERE name = \"Beaubassin East\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the points classification for levi leipheimer\n\n### Context:\nCREATE TABLE table_29077342_19 (points_classification VARCHAR, general_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_classification FROM table_29077342_19 WHERE general_classification = \"Levi Leipheimer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Country, when Score is 70-73=143?\n\n### Context:\nCREATE TABLE table_name_50 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_50 WHERE score = 70 - 73 = 143"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Raw bandwidth (Mbit/s) for the SAS 300?\n\n### Context:\nCREATE TABLE table_name_8 (raw_bandwidth__mbit_s_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT raw_bandwidth__mbit_s_ FROM table_name_8 WHERE name = \"sas 300\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the place when the televote/sms is 2.39%?\n\n### Context:\nCREATE TABLE table_name_47 (place INTEGER, televote_sms VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(place) FROM table_name_47 WHERE televote_sms = \"2.39%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has a birth of 16 august 1401?\n\n### Context:\nCREATE TABLE table_name_21 (name VARCHAR, birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_21 WHERE birth = \"16 august 1401\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has a height (cm) greater than 180, and brian lawton as the name?\n\n### Context:\nCREATE TABLE table_name_68 (position VARCHAR, height__cm_ VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_68 WHERE height__cm_ > 180 AND name = \"brian lawton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is channel 83 broadcasted?\n\n### Context:\nCREATE TABLE table_name_86 (territory VARCHAR, channel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT territory FROM table_name_86 WHERE channel = 83"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPeterson Gym is in what city?\n\n### Context:\nCREATE TABLE table_name_60 (city VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_60 WHERE venue = \"peterson gym\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the television commentator for the year 2006?\n\n### Context:\nCREATE TABLE table_1998037_9 (television_commentator VARCHAR, year_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT television_commentator FROM table_1998037_9 WHERE year_s_ = 2006"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the highest laps for Marco Melandri?\n\n### Context:\nCREATE TABLE table_name_67 (laps INTEGER, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(laps) FROM table_name_67 WHERE rider = \"marco melandri\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many people are women's singles in the season of 2000/01?\n\n### Context:\nCREATE TABLE table_28211988_1 (womens_singles VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(womens_singles) FROM table_28211988_1 WHERE season = \"2000/01\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Market/Rank is associated with WCRN calls?\n\n### Context:\nCREATE TABLE table_10333757_1 (market_rank VARCHAR, calls VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT market_rank FROM table_10333757_1 WHERE calls = \"WCRN\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did the episode rank that was written by thomas l. moran?\n\n### Context:\nCREATE TABLE table_28026156_1 (rank__week_ VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank__week_ FROM table_28026156_1 WHERE written_by = \"Thomas L. Moran\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the location attendance for 20\n\n### Context:\nCREATE TABLE table_17322817_6 (location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_17322817_6 WHERE game = 20"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the (MT) time which has kansas city chiefs as an opponent on nov 11?\n\n### Context:\nCREATE TABLE table_name_13 (time___mt__ VARCHAR, opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time___mt__ FROM table_name_13 WHERE opponent = \"kansas city chiefs\" AND date = \"nov 11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat digital channel corresponds to virtual channel 23.2?\n\n### Context:\nCREATE TABLE table_2857352_3 (digital_channel VARCHAR, virtual_channel VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT digital_channel FROM table_2857352_3 WHERE virtual_channel = \"23.2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?\n\n### Context:\nCREATE TABLE table_name_4 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the game played on January 25?\n\n### Context:\nCREATE TABLE table_17288825_7 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_17288825_7 WHERE date = \"January 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tournament was held on 21 May 2006?\n\n### Context:\nCREATE TABLE table_name_80 (tournament VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_80 WHERE date = \"21 may 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Founded year of the school located in Paul Smiths, New York?\n\n### Context:\nCREATE TABLE table_name_99 (founded VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT founded FROM table_name_99 WHERE location = \"paul smiths, new york\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the Toronto Downtown Dingos score?\n\n### Context:\nCREATE TABLE table_26200568_16 (points_for INTEGER, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points_for) FROM table_26200568_16 WHERE club = \"Toronto Downtown Dingos\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score for a match where Sophie Gustafson played?\n\n### Context:\nCREATE TABLE table_name_44 (score VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_44 WHERE player = \"sophie gustafson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the playoffs reached Conference Finals?\n\n### Context:\nCREATE TABLE table_15409403_1 (year VARCHAR, playoffs VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_15409403_1 WHERE playoffs = \"Conference Finals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2011 value with a 134 in 2008?\n\n### Context:\nCREATE TABLE table_name_31 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2011 FROM table_name_31 WHERE 2008 = \"134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Game smaller than 19, and Points smaller than 19, and a Score of 4\u20136?\n\n### Context:\nCREATE TABLE table_name_24 (record VARCHAR, score VARCHAR, game VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_24 WHERE game < 19 AND points < 19 AND score = \"4\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class starts after 1939 and has a road number smaller than 3508?\n\n### Context:\nCREATE TABLE table_name_9 (class VARCHAR, year VARCHAR, road_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_9 WHERE year > 1939 AND road_number < 3508"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n how many\u00a0bubbles\u00a0with\u00a0category\u00a0being input\n\n### Context:\nCREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = \"Input\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich bowl game had a conference matchup of Ohio State vs. Texas?\n\n### Context:\nCREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bowl_game FROM table_name_77 WHERE conference_matchups = \"ohio state vs. texas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the grid when the laps is more than 0, the time/retired is engine and the driver is pedro de la rosa?\n\n### Context:\nCREATE TABLE table_name_5 (grid VARCHAR, driver VARCHAR, laps VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_5 WHERE laps > 0 AND time_retired = \"engine\" AND driver = \"pedro de la rosa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all the candidates for the seat where the incumbent is Sam Gibbons?\n\n### Context:\nCREATE TABLE table_1341472_11 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341472_11 WHERE incumbent = \"Sam Gibbons\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen st kilda was playing at home what was the away teams score?\n\n### Context:\nCREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_23 WHERE home_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRome is in which country?\n\n### Context:\nCREATE TABLE table_14903081_1 (country VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_14903081_1 WHERE location = \"Rome\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date had a kickoff of 1:00 and a result of l 27-14?\n\n### Context:\nCREATE TABLE table_name_81 (date VARCHAR, result VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_81 WHERE kickoff_[a_] = \"1:00\" AND result = \"l 27-14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on the date of November 29, 1970 and the attendance was less than 31,427?\n\n### Context:\nCREATE TABLE table_name_41 (week INTEGER, date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(week) FROM table_name_41 WHERE date = \"november 29, 1970\" AND attendance < 31 OFFSET 427"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith theme the Year They Were Born, what is the song of choice?\n\n### Context:\nCREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song_choice FROM table_21501565_1 WHERE theme = \"Year They Were Born\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date for the catalog 32xa-112?\n\n### Context:\nCREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_42 WHERE catalog = \"32xa-112\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the home team with a round of 2nd and Vit\u00f3ria da Conquista as the way team?\n\n### Context:\nCREATE TABLE table_name_57 (home_team VARCHAR, round VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_57 WHERE round = \"2nd\" AND away_team = \"vit\u00f3ria da conquista\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is moving with the nationality of Tri?\n\n### Context:\nCREATE TABLE table_name_78 (moving_to VARCHAR, nat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT moving_to FROM table_name_78 WHERE nat = \"tri\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of date for round 26\n\n### Context:\nCREATE TABLE table_21269143_1 (date VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date) FROM table_21269143_1 WHERE round = \"26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Points against has a Lost of 13, and Points for of 671?\n\n### Context:\nCREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR, points_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_against FROM table_name_9 WHERE lost = \"13\" AND points_for = \"671\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many top tens had an average start of 29.4?\n\n### Context:\nCREATE TABLE table_1012730_1 (top_10 VARCHAR, avg_start VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(top_10) FROM table_1012730_1 WHERE avg_start = \"29.4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the circuit when the date is 16 april?\n\n### Context:\nCREATE TABLE table_name_60 (circuit VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_60 WHERE date = \"16 april\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Winner when the Runner-up was Real Salt Lake?\n\n### Context:\nCREATE TABLE table_name_20 (winner VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_20 WHERE runner_up = \"real salt lake\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 15 is the number in season what is the highest number in series?\n\n### Context:\nCREATE TABLE table_2468961_7 (no_in_series INTEGER, no_in_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_2468961_7 WHERE no_in_season = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the region 2 (UK) date associated with a region 4 (Aus) date of July 31, 2008?\n\n### Context:\nCREATE TABLE table_240936_2 (region_2__uk_ VARCHAR, region_4__australia_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region_2__uk_ FROM table_240936_2 WHERE region_4__australia_ = \"July 31, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the IHSAA Class Football if the panthers are the mascot?\n\n### Context:\nCREATE TABLE table_name_7 (ihsaa_class VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ihsaa_class AS Football FROM table_name_7 WHERE mascot = \"panthers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many entries are listed for party during the 69th congress?\n\n### Context:\nCREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(party) FROM table_2841865_2 WHERE congress = \"69th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2006 censusn population when is the administrative capital is Eleme?\n\n### Context:\nCREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE administrative_capital = \"Eleme\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year is the highest that has a Team of walker racing, and Wins larger than 1?\n\n### Context:\nCREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_58 WHERE team = \"walker racing\" AND wins > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat points for have 30 as the game, and 73 as the total points?\n\n### Context:\nCREATE TABLE table_name_92 (points_for VARCHAR, games VARCHAR, total_points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_for FROM table_name_92 WHERE games = \"30\" AND total_points = \"73\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the rank for switzerland\n\n### Context:\nCREATE TABLE table_24489942_10 (rank VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_24489942_10 WHERE nationality = \"Switzerland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the To par of payne stewart?\n\n### Context:\nCREATE TABLE table_name_4 (to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_4 WHERE player = \"payne stewart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the jury of 10 points\n\n### Context:\nCREATE TABLE table_14977252_2 (professional_jury VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT professional_jury FROM table_14977252_2 WHERE points = 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many games did Robert Peare play?\n\n### Context:\nCREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(games) FROM table_28693349_2 WHERE player = \"Robert Peare\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season has a regionalliga s\u00fcd league, a 1-0 home, and an away of 2-3?\n\n### Context:\nCREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_38 WHERE league = \"regionalliga s\u00fcd\" AND home = \"1-0\" AND away = \"2-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich airport is in Xinjiang province in the city Kuqa?\n\n### Context:\nCREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airport FROM table_name_45 WHERE province = \"xinjiang\" AND city = \"kuqa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins are with Dodge vehicles?\n\n### Context:\nCREATE TABLE table_2241841_1 (miles__km_ VARCHAR, manufacturer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(miles__km_) FROM table_2241841_1 WHERE manufacturer = \"Dodge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the builder in 1920?\n\n### Context:\nCREATE TABLE table_name_84 (builder VARCHAR, built VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT builder FROM table_name_84 WHERE built = \"1920\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest rank for Nat Lofthouse, and goals more than 255?\n\n### Context:\nCREATE TABLE table_name_20 (rank INTEGER, name VARCHAR, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_20 WHERE name = \"nat lofthouse\" AND goals > 255"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many golds have a bronze greater than 1, total as the nation, and a silver less than 18?\n\n### Context:\nCREATE TABLE table_name_27 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold) FROM table_name_27 WHERE bronze > 1 AND nation = \"total\" AND silver < 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what stadium were the New England Patriots the visiting team?\n\n### Context:\nCREATE TABLE table_name_13 (stadium VARCHAR, visiting_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stadium FROM table_name_13 WHERE visiting_team = \"new england patriots\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the individual in the event of 1998 Pokljuka?\n\n### Context:\nCREATE TABLE table_name_33 (individual VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT individual FROM table_name_33 WHERE event = \"1998 pokljuka\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many counties have a place name of Macedonia?\n\n### Context:\nCREATE TABLE table_249512_2 (a_ VARCHAR, county_ies__ VARCHAR, place_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(county_ies__)[a_] FROM table_249512_2 WHERE place_name = \"Macedonia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total when the rank is 7 and gold is more than 0?\n\n### Context:\nCREATE TABLE table_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(total) FROM table_name_41 WHERE rank = \"7\" AND gold > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Position of the Player from Temple Hills, MD?\n\n### Context:\nCREATE TABLE table_name_86 (position VARCHAR, home_town VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_86 WHERE home_town = \"temple hills, md\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the names of all players who have a crossing score higher than 90 and prefer their right foot.\n\n### Context:\nCREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, crossing VARCHAR, preferred_foot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.crossing > 90 AND T2.preferred_foot = \"right\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team played at home for the second leg and has an aggregate score of 2-4?\n\n### Context:\nCREATE TABLE table_name_39 (home__2nd_leg_ VARCHAR, aggregate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home__2nd_leg_ FROM table_name_39 WHERE aggregate = \"2-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Title of the Pye Label mono LP release?\n\n### Context:\nCREATE TABLE table_name_18 (title VARCHAR, format VARCHAR, label VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_18 WHERE format = \"mono lp\" AND label = \"pye\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the votes given for michael russo, genevy dimitrion , manny ortega\n\n### Context:\nCREATE TABLE table_1855841_1 (votes_given VARCHAR, running_with__in_team_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT votes_given FROM table_1855841_1 WHERE running_with__in_team_ = \"Michael Russo, Genevy Dimitrion , Manny Ortega\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich year had more than 0 points?\n\n### Context:\nCREATE TABLE table_name_67 (year VARCHAR, points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_67 WHERE points > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date of the game with a Record of 5-3?\n\n### Context:\nCREATE TABLE table_name_53 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_53 WHERE record = \"5-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of region 4 for the series of the complete seventh series?\n\n### Context:\nCREATE TABLE table_1337525_1 (region_4 VARCHAR, complete_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(region_4) FROM table_1337525_1 WHERE complete_series = \"The Complete Seventh Series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many silvers did the country with more than 0 gold and a rank above 1 win that had a total less than 4?\n\n### Context:\nCREATE TABLE table_name_65 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(silver) FROM table_name_65 WHERE gold > 0 AND rank > 1 AND total < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Name has a Height (m) of 2980?\n\n### Context:\nCREATE TABLE table_name_63 (name VARCHAR, height__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_63 WHERE height__m_ = 2980"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the class of the player with a weight of 242 pounds?\n\n### Context:\nCREATE TABLE table_name_9 (class VARCHAR, weight VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_9 WHERE weight = 242"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the wekk for eastern #2 of houston\n\n### Context:\nCREATE TABLE table_name_37 (week VARCHAR, eastern__number2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_37 WHERE eastern__number2 = \"houston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the years with authority of state and decile more than 6 with roll less than 33\n\n### Context:\nCREATE TABLE table_name_40 (years VARCHAR, roll VARCHAR, authority VARCHAR, decile VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_40 WHERE authority = \"state\" AND decile > 6 AND roll < 33"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many king beds are there?\n\n### Context:\nCREATE TABLE Rooms (beds INTEGER, bedtype VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(beds) FROM Rooms WHERE bedtype = 'King'"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the names of conductors that have conducted more than one orchestras.\n\n### Context:\nCREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID GROUP BY T2.Conductor_ID HAVING COUNT(*) > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Grades has an Enrollment larger htan 443 with a Student body of Co-ed?\n\n### Context:\nCREATE TABLE table_name_36 (grades VARCHAR, enrollment VARCHAR, student_body VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grades FROM table_name_36 WHERE enrollment > 443 AND student_body = \"co-ed\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Home Team in Game 2?\n\n### Context:\nCREATE TABLE table_name_80 (home_team VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_80 WHERE game = \"game 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the margin of the score 52-12?\n\n### Context:\nCREATE TABLE table_name_14 (margin INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(margin) FROM table_name_14 WHERE score = \"52-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game attended by 25,022?\n\n### Context:\nCREATE TABLE table_name_70 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_70 WHERE attendance = \"25,022\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the fifth district for steve rudoni\n\n### Context:\nCREATE TABLE table_15442974_1 (fifth_district VARCHAR, fourth_district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fifth_district FROM table_15442974_1 WHERE fourth_district = \"Steve Rudoni\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the opposing team Poverty Bay?\n\n### Context:\nCREATE TABLE table_name_94 (date VARCHAR, opposing_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_94 WHERE opposing_team = \"poverty bay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the NHL team that has Peter Strom?\n\n### Context:\nCREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nhl_team FROM table_1013129_8 WHERE player = \"Peter Strom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of the product that has the smallest capacity.\n\n### Context:\nCREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT catalog_entry_name FROM catalog_contents ORDER BY capacity LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn April 28, what was the average number of people attending?\n\n### Context:\nCREATE TABLE table_name_6 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_6 WHERE date = \"april 28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total amount of players for the rockets in 1998 only?\n\n### Context:\nCREATE TABLE table_11734041_16 (player VARCHAR, years_for_rockets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(player) FROM table_11734041_16 WHERE years_for_rockets = \"1998\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the game ending with a record of 31-43-2, what was the decision?\n\n### Context:\nCREATE TABLE table_name_10 (decision VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT decision FROM table_name_10 WHERE record = \"31-43-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round had a record of 4-1?\n\n### Context:\nCREATE TABLE table_name_17 (round VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_17 WHERE record = \"4-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue was the 2000 AFC Asian Cup qualification held at?\n\n### Context:\nCREATE TABLE table_name_9 (venue VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_9 WHERE competition = \"2000 afc asian cup qualification\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich countries have more than two members?\n\n### Context:\nCREATE TABLE member (Country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Country FROM member GROUP BY Country HAVING COUNT(*) > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score of the Fifa World Cup 1986 Qualifying Competition?\n\n### Context:\nCREATE TABLE table_name_86 (score VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_86 WHERE competition = \"fifa world cup 1986 qualifying\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat kind of Voltage has a Frequency of 2000mhz, and a Release date in q3 2008?\n\n### Context:\nCREATE TABLE table_name_64 (voltage VARCHAR, frequency VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT voltage FROM table_name_64 WHERE frequency = \"2000mhz\" AND release_date = \"q3 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year has an Award of 17th bangkok critics assembly awards, and a Category of best original score?\n\n### Context:\nCREATE TABLE table_name_7 (year VARCHAR, award VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_7 WHERE award = \"17th bangkok critics assembly awards\" AND category = \"best original score\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe tournament Buick Classic occured on what dates?\n\n### Context:\nCREATE TABLE table_1507431_1 (date VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_1507431_1 WHERE tournament = \"Buick Classic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Air Force - Navy score in the 1983 season?\n\n### Context:\nCREATE TABLE table_1850339_2 (air_force___navy_score VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT air_force___navy_score FROM table_1850339_2 WHERE season = 1983"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different counts of tue number of Barangays are there for the municipality with 13824 citizens in 2010?\n\n### Context:\nCREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, population__2010_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(no_of_barangays) FROM table_2402209_1 WHERE population__2010_ = 13824"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph?\n\n### Context:\nCREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = \"23' 54.54 94.684mph\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich years did the Tampa Bay Storm win the Championships?\n\n### Context:\nCREATE TABLE table_name_71 (championships__years_ VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championships__years_ FROM table_name_71 WHERE club = \"tampa bay storm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 125cc winner with circuit of estoril\n\n### Context:\nCREATE TABLE table_name_2 (circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = \"estoril\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the position for van den brink, bas\n\n### Context:\nCREATE TABLE table_21220720_1 (position VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_21220720_1 WHERE name = \"van den Brink, Bas\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Melbourne's score as the home team?\n\n### Context:\nCREATE TABLE table_name_16 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_16 WHERE home_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich drivers won $40,000 in the NASCAR Winston Cup?\n\n### Context:\nCREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_21297652_1 WHERE series = \"NASCAR Winston Cup\" AND winnings = \"$40,000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Home team that has a Tie no of 20?\n\n### Context:\nCREATE TABLE table_name_74 (home_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_74 WHERE tie_no = \"20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Distance had a Race Leader in Km (mi)?\n\n### Context:\nCREATE TABLE table_name_94 (distance VARCHAR, race_leader VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT distance FROM table_name_94 WHERE race_leader = \"km (mi)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team?\n\n### Context:\nCREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_32 WHERE engine = \"rotax max\" AND class = \"rotax heavy\" AND chassis = \"arrow\" AND team = \"twr raceline seating\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the historical reference of the episode that aired on October 23, 2005?\n\n### Context:\nCREATE TABLE table_name_38 (historical_references VARCHAR, podcast_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT historical_references FROM table_name_38 WHERE podcast_date = \"october 23, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat being the maximum\u00a0total passengers 2008\u00a0with\u00a0change 2008/09\u00a0being 6.5%\n\n### Context:\nCREATE TABLE table_13836704_4 (total_passengers_2008 INTEGER, change_2008_09 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total_passengers_2008) FROM table_13836704_4 WHERE change_2008_09 = \"6.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what type of surface did they play on 13 February 1994?\n\n### Context:\nCREATE TABLE table_name_80 (surface VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_80 WHERE date = \"13 february 1994\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Venue when the result was 2-1?\n\n### Context:\nCREATE TABLE table_name_60 (venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_60 WHERE result = \"2-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the game played where Collingwood was the away team?\n\n### Context:\nCREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_99 WHERE away_team = \"collingwood\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Lijsttrekker, when Cabinet is \"Hans Van Mierlo\", and when Fractievoorzitter is \"Thom De Graaf\"?\n\n### Context:\nCREATE TABLE table_name_81 (lijsttrekker VARCHAR, cabinet VARCHAR, fractievoorzitter VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lijsttrekker FROM table_name_81 WHERE cabinet = \"hans van mierlo\" AND fractievoorzitter = \"thom de graaf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the listing date for the verdigris creek bridge in royal of antelope county?\n\n### Context:\nCREATE TABLE table_name_83 (listed VARCHAR, name VARCHAR, county VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT listed FROM table_name_83 WHERE county = \"antelope\" AND location = \"royal\" AND name = \"verdigris creek bridge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number in attendance for when the bulls visited\n\n### Context:\nCREATE TABLE table_name_50 (attendance VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(attendance) FROM table_name_50 WHERE visitor = \"bulls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the analog type for wxmi?\n\n### Context:\nCREATE TABLE table_name_9 (analog VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT analog FROM table_name_9 WHERE callsign = \"wxmi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe league of 400 (21) has what years listed?\n\n### Context:\nCREATE TABLE table_name_87 (years VARCHAR, league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_87 WHERE league = \"400 (21)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nNamr the total number of played for 5 losses\n\n### Context:\nCREATE TABLE table_18703133_1 (played VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(played) FROM table_18703133_1 WHERE losses = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Genre for Malina (ger.-aus.-fr.), an Original Title?\n\n### Context:\nCREATE TABLE table_name_12 (genre VARCHAR, original_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_name_12 WHERE original_title = \"malina (ger.-aus.-fr.)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich League Cup has a FA Cup of 5, and a Club of boston united, and a League smaller than 16?\n\n### Context:\nCREATE TABLE table_name_18 (league INTEGER, fa_cup VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(league) AS Cup FROM table_name_18 WHERE fa_cup = 5 AND club = \"boston united\" AND league < 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in Hampden Park, Glasgow?\n\n### Context:\nCREATE TABLE table_name_68 (score VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_68 WHERE venue = \"hampden park, glasgow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has a Result of third place, and a Style of cha-cha-cha?\n\n### Context:\nCREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_18 WHERE result = \"third place\" AND style = \"cha-cha-cha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat document status codes do we have?\n\n### Context:\nCREATE TABLE Ref_Document_Status (document_status_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT document_status_code FROM Ref_Document_Status"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the away captain for matches played at Trent Bridge?\n\n### Context:\nCREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_captain FROM table_name_81 WHERE venue = \"trent bridge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the label for the CD format in North America?\n\n### Context:\nCREATE TABLE table_name_91 (label VARCHAR, format VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_91 WHERE format = \"cd\" AND region = \"north america\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow high is Macedonia's highest point?\n\n### Context:\nCREATE TABLE table_name_53 (height__ft_ VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height__ft_ FROM table_name_53 WHERE country = \"macedonia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the quake that began at 14:07?\n\n### Context:\nCREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_25643046_1 WHERE origin_time = \"14:07\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the original title of the film Zozo?\n\n### Context:\nCREATE TABLE table_20061872_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_title FROM table_20061872_1 WHERE film_title_used_in_nomination = \"Zozo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many league goals did the player with 10 league apps and 0 FA cup goals have?\n\n### Context:\nCREATE TABLE table_name_93 (league_goals VARCHAR, fa_cup_goals VARCHAR, league_apps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(league_goals) FROM table_name_93 WHERE fa_cup_goals = 0 AND league_apps = \"10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the main contestant eliminated with a score of 1 + 7 + 5 = 13?\n\n### Context:\nCREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT main_contestant FROM table_name_11 WHERE status = \"eliminated\" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the matches for NQF is 2009, what is the position?\n\n### Context:\nCREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_21223773_2 WHERE matches_for_nqf = \"2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the greatest number of losses when there are more than 0 draws and 1390 against matches?\n\n### Context:\nCREATE TABLE table_name_22 (losses INTEGER, draws VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(losses) FROM table_name_22 WHERE draws > 0 AND against = 1390"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Away team that has the Home team of south dragons, and the Score of 94-81?\n\n### Context:\nCREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_17 WHERE home_team = \"south dragons\" AND score = \"94-81\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Date of designation has a Name of kurume?\n\n### Context:\nCREATE TABLE table_name_36 (date_of_designation VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_designation FROM table_name_36 WHERE name = \"kurume\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the number of candidates when Leon Sacks was incumbent?\n\n### Context:\nCREATE TABLE table_1342256_38 (candidates VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = \"Leon Sacks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the propulsion for the RB 04 earlier than 1962?\n\n### Context:\nCREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT propulsion FROM table_name_79 WHERE year < 1962 AND name = \"rb 04\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Power has Location in metro manila\n\n### Context:\nCREATE TABLE table_name_75 (power__kw_ VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power__kw_ FROM table_name_75 WHERE location = \"metro manila\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the fa cup apps for george green\n\n### Context:\nCREATE TABLE table_19730892_1 (fa_cup_apps VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fa_cup_apps FROM table_19730892_1 WHERE name = \"George Green\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the U.S. Rap chart number of the album west coast bad boyz, vol. 3: poppin' collars?\n\n### Context:\nCREATE TABLE table_name_98 (us_rap VARCHAR, album VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT us_rap FROM table_name_98 WHERE album = \"west coast bad boyz, vol. 3: poppin' collars\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the event in a year before 1989?\n\n### Context:\nCREATE TABLE table_name_37 (event VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_37 WHERE year < 1989"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the minimum impressions for sammy traor\u00e9\n\n### Context:\nCREATE TABLE table_24565004_21 (appearances\u00b9 INTEGER, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(appearances\u00b9) FROM table_24565004_21 WHERE name = \"Sammy Traor\u00e9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat venue featured a notes of 2:38:44?\n\n### Context:\nCREATE TABLE table_name_63 (venue VARCHAR, notes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_63 WHERE notes = \"2:38:44\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the w/l for czech republic\n\n### Context:\nCREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT w_l FROM table_22825058_23 WHERE against = \"Czech Republic\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the visiting team on April 6?\n\n### Context:\nCREATE TABLE table_name_27 (visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_27 WHERE date = \"april 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the team for game 34?\n\n### Context:\nCREATE TABLE table_name_79 (team VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_79 WHERE game = 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the game whose developer was Ailive, is it a Move-only release?\n\n### Context:\nCREATE TABLE table_26538035_1 (move_only VARCHAR, developer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT move_only FROM table_26538035_1 WHERE developer = \"AiLive\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the best score, with the worst dancer(s) gethin jones/kenny logan?\n\n### Context:\nCREATE TABLE table_name_19 (best_score VARCHAR, worst_dancer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT best_score FROM table_name_19 WHERE worst_dancer_s_ = \"gethin jones/kenny logan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the party with edward boland\n\n### Context:\nCREATE TABLE table_1341865_23 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1341865_23 WHERE incumbent = \"Edward Boland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCollege of san diego state, and a Pick # smaller than 30 has what lowest overall?\n\n### Context:\nCREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(overall) FROM table_name_46 WHERE college = \"san diego state\" AND pick__number < 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Top-25 with Wins less than 0?\n\n### Context:\nCREATE TABLE table_name_2 (top_25 INTEGER, wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(top_25) FROM table_name_2 WHERE wins < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team in the game with more than 1675, and Olimpia was the away side?\n\n### Context:\nCREATE TABLE table_name_28 (home VARCHAR, attendance VARCHAR, away VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_28 WHERE attendance > 1675 AND away = \"olimpia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many played where the points were 80?\n\n### Context:\nCREATE TABLE table_12807904_5 (played VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_12807904_5 WHERE points = \"80\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the candidates in the election in the Tennessee 9 district? \n\n### Context:\nCREATE TABLE table_1342370_41 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1342370_41 WHERE district = \"Tennessee 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the average number lost when points is 14 and position is more than 1?\n\n### Context:\nCREATE TABLE table_name_64 (lost INTEGER, points VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lost) FROM table_name_64 WHERE points = 14 AND position > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the time of round 2 against Taylor Mccorriston?\n\n### Context:\nCREATE TABLE table_name_69 (time VARCHAR, round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_69 WHERE round = \"2\" AND opponent = \"taylor mccorriston\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition had an opponent of Police at the Selayang Stadium?\n\n### Context:\nCREATE TABLE table_name_31 (competition VARCHAR, opponent VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_31 WHERE opponent = \"police\" AND venue = \"selayang stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat years did J. Smith Young serve as a Representative?\n\n### Context:\nCREATE TABLE table_name_36 (years VARCHAR, representative VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years FROM table_name_36 WHERE representative = \"j. smith young\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the unique first names, last names, and phone numbers for all customers with any account.\n\n### Context:\nCREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T1.customer_first_name, T1.customer_last_name, T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team has a bowl of humanitarian?\n\n### Context:\nCREATE TABLE table_name_21 (team VARCHAR, bowl VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_21 WHERE bowl = \"humanitarian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Mass, when Launch Date/Time ( GMT ) is 25 November 1976, 03:59?\n\n### Context:\nCREATE TABLE table_name_29 (mass VARCHAR, launch_date_time___gmt__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mass FROM table_name_29 WHERE launch_date_time___gmt__ = \"25 november 1976, 03:59\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the nationality of five-eighth player Darren Lockyer?\n\n### Context:\nCREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_96 WHERE player = \"darren lockyer\" AND position = \"five-eighth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did lucy benjamin exit?\n\n### Context:\nCREATE TABLE table_name_18 (exited VARCHAR, celebrity VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT exited FROM table_name_18 WHERE celebrity = \"lucy benjamin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich church had a Split off/Continuation in 1836?\n\n### Context:\nCREATE TABLE table_name_40 (split_off___continuation_of VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT split_off___continuation_of FROM table_name_40 WHERE date = \"1836\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the nominated work, nominated for the drama league award before 2007?\n\n### Context:\nCREATE TABLE table_name_29 (nominated_work VARCHAR, year VARCHAR, result VARCHAR, award VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nominated_work FROM table_name_29 WHERE result = \"nominated\" AND award = \"drama league award\" AND year < 2007"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0record\u00a0with\u00a0date\u00a0being december 29\n\n### Context:\nCREATE TABLE table_13762472_4 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_13762472_4 WHERE date = \"December 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many wins did he have when he played under 2 events?\n\n### Context:\nCREATE TABLE table_name_22 (wins VARCHAR, events INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(wins) FROM table_name_22 WHERE events < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich opponent has a Record of 54-38?\n\n### Context:\nCREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_73 WHERE record = \"54-38\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the earliest founded university?\n\n### Context:\nCREATE TABLE table_261941_1 (founded INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(founded) FROM table_261941_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want to know the date with attendance of 35,763\n\n### Context:\nCREATE TABLE table_name_88 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_88 WHERE attendance = \"35,763\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the 2nd leg for team 2 san francisco?\n\n### Context:\nCREATE TABLE table_name_62 (team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_name_62 WHERE team_2 = \"san francisco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the p\u00e4rnu manager?\n\n### Context:\nCREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manager FROM table_27409644_1 WHERE club = \"P\u00e4rnu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE BUDGET FOR THE INCREDIBLES?\n\n### Context:\nCREATE TABLE table_name_28 (budget VARCHAR, film VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT budget FROM table_name_28 WHERE film = \"the incredibles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many courses are there in total?\n\n### Context:\nCREATE TABLE COURSE (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM COURSE"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the tournament played on Oct 17, 1982, what was the winning score?\n\n### Context:\nCREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_69 WHERE date = \"oct 17, 1982\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all party names and their region names.\n\n### Context:\nCREATE TABLE region (region_name VARCHAR, region_id VARCHAR); CREATE TABLE party (party_name VARCHAR, region_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.party_name, T2.region_name FROM party AS T1 JOIN region AS T2 ON T1.region_id = T2.region_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has the score 72-67-69=208?\n\n### Context:\nCREATE TABLE table_name_95 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_95 WHERE score = 72 - 67 - 69 = 208"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the away team Bournemouth?\n\n### Context:\nCREATE TABLE table_name_24 (date VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_24 WHERE away_team = \"bournemouth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDisplay the serial numbers for the players who play at the center.\n\n### Context:\nCREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT no FROM table_23670057_4 WHERE position = \"Center\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was Skyline High School founded?\n\n### Context:\nCREATE TABLE table_13759592_1 (founded VARCHAR, high_school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(founded) FROM table_13759592_1 WHERE high_school = \"Skyline\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the date for johanna konta\n\n### Context:\nCREATE TABLE table_name_8 (date VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_8 WHERE opponent_in_the_final = \"johanna konta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho has a Jersey number of 31?\n\n### Context:\nCREATE TABLE table_name_84 (player VARCHAR, jersey_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_84 WHERE jersey_number_s_ = \"31\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the title of episode 28\n\n### Context:\nCREATE TABLE table_16390576_3 (title VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_16390576_3 WHERE no_in_series = 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2008 for wta premier mandatory tournaments of 2007\n\n### Context:\nCREATE TABLE table_name_77 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2008 FROM table_name_77 WHERE 2007 = \"wta premier mandatory tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Total has an A Score of 6.5, and a Position larger than 5?\n\n### Context:\nCREATE TABLE table_name_79 (total INTEGER, a_score VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_79 WHERE a_score = 6.5 AND position > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Opponent when the location was groves stadium \u2022 winston-salem, nc, with a result of t 17-17?\n\n### Context:\nCREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_20 WHERE location = \"groves stadium \u2022 winston-salem, nc\" AND result = \"t 17-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what Date is Tie no 19?\n\n### Context:\nCREATE TABLE table_name_36 (date VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_36 WHERE tie_no = \"19\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is College/Junior/Club Team (League), when Position is \"Defence\", when Nationality is \"Canada\", when Round is less than 5, and when Player is \"Josiah Didier\"?\n\n### Context:\nCREATE TABLE table_name_18 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college_junior_club_team__league_ FROM table_name_18 WHERE position = \"defence\" AND nationality = \"canada\" AND round < 5 AND player = \"josiah didier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the church that is located in eikefjord?\n\n### Context:\nCREATE TABLE table_name_8 (church_name VARCHAR, location_of_the_church VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT church_name FROM table_name_8 WHERE location_of_the_church = \"eikefjord\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the owner of Miss Terrible?\n\n### Context:\nCREATE TABLE table_name_40 (owner VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT owner FROM table_name_40 WHERE winner = \"miss terrible\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk\n\n### Context:\nCREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = \"wood\" AND date_commissioned > 1846 AND ship = \"esk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the alternate of the nation with hubert gr\u00fcndhammer as the second?\n\n### Context:\nCREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT alternate FROM table_name_97 WHERE second = \"hubert gr\u00fcndhammer\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the attendance of the game on November 20, 1966 after week 10?\n\n### Context:\nCREATE TABLE table_name_54 (attendance VARCHAR, week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_54 WHERE week > 10 AND date = \"november 20, 1966\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the tourism receipts 2003 for tourism competitiveness 3.26\n\n### Context:\nCREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_exports_ VARCHAR, tourism_competitiveness__2011___ttci_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(tourism_receipts__2003___as__percentage_of_exports_) FROM table_18524_6 WHERE tourism_competitiveness__2011___ttci_ = \"3.26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the casualities for kabul area\n\n### Context:\nCREATE TABLE table_name_74 (casualties VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT casualties FROM table_name_74 WHERE location = \"kabul area\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Brown's transfer window?\n\n### Context:\nCREATE TABLE table_name_52 (transfer_window VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT transfer_window FROM table_name_52 WHERE name = \"brown\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich producer did Daniel Cormack direct?\n\n### Context:\nCREATE TABLE table_name_50 (producer_s_ VARCHAR, director_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT producer_s_ FROM table_name_50 WHERE director_s_ = \"daniel cormack\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nDuring which years was Marcus Banks in Toronto?\n\n### Context:\nCREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT years_in_toronto FROM table_10015132_2 WHERE player = \"Marcus Banks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance when the VFL played Arden Street Oval?\n\n### Context:\nCREATE TABLE table_name_50 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_50 WHERE venue = \"arden street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average of lost for place less than 10, less than 23 points, and goals conceded less than 26 for the Chorrillo team?\n\n### Context:\nCREATE TABLE table_name_21 (lost INTEGER, goals_conceded VARCHAR, team VARCHAR, place VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(lost) FROM table_name_21 WHERE place < 10 AND points < 23 AND team = \"chorrillo\" AND goals_conceded < 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Country, when Place is \"1\"?\n\n### Context:\nCREATE TABLE table_name_46 (country VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_46 WHERE place = \"1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 1st leg score for the team with an Agg score of 151-134?\n\n### Context:\nCREATE TABLE table_name_36 (agg VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_36 WHERE agg = \"151-134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's China's heat for Zhang Lin in a lane after 6?\n\n### Context:\nCREATE TABLE table_name_61 (heat INTEGER, lane VARCHAR, nationality VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(heat) FROM table_name_61 WHERE nationality = \"china\" AND name = \"zhang lin\" AND lane > 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat decision had a Record of 3\u20135\u20130?\n\n### Context:\nCREATE TABLE table_name_17 (decision VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT decision FROM table_name_17 WHERE record = \"3\u20135\u20130\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which county is the city/town of Halden located?\n\n### Context:\nCREATE TABLE table_157826_1 (county VARCHAR, city_town VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_157826_1 WHERE city_town = \"Halden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game 1 has halfback as a position?\n\n### Context:\nCREATE TABLE table_name_13 (game_1 VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_1 FROM table_name_13 WHERE position = \"halfback\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the lowest Round that has the Location of indiana, united states, and the Method of submission (guillotine choke)?\n\n### Context:\nCREATE TABLE table_name_6 (round INTEGER, location VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(round) FROM table_name_6 WHERE location = \"indiana, united states\" AND method = \"submission (guillotine choke)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the high Population (total) from 1976 with a (Barcaldine) smaller than 1,780?\n\n### Context:\nCREATE TABLE table_name_96 (population__total_ INTEGER, year VARCHAR, _barcaldine_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(population__total_) FROM table_name_96 WHERE year = 1976 AND _barcaldine_ < 1 OFFSET 780"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 2011 has an Airport of bole international airport?\n\n### Context:\nCREATE TABLE table_name_38 (airport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(2011) FROM table_name_38 WHERE airport = \"bole international airport\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the 1st leg score when Mufulira Wanderers played as Team 2?\n\n### Context:\nCREATE TABLE table_name_6 (team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1 AS st_leg FROM table_name_6 WHERE team_2 = \"mufulira wanderers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the manufacturer in the year when the race lasted 2:30:28?\n\n### Context:\nCREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manufacturer FROM table_2266976_1 WHERE race_time = \"2:30:28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many goals did he score with under 26 appearances for werder bremen?\n\n### Context:\nCREATE TABLE table_name_87 (goals VARCHAR, apps VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(goals) FROM table_name_87 WHERE apps < 26 AND club = \"werder bremen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere attendance is 79,431 what is date?\n\n### Context:\nCREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_61 WHERE attendance = \"79,431\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the population of each community with city status?\n\n### Context:\nCREATE TABLE table_171361_1 (population VARCHAR, status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population FROM table_171361_1 WHERE status = \"City\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game with 62 points?\n\n### Context:\nCREATE TABLE table_name_51 (date VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_51 WHERE points = 62"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nSmaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold?\n\n### Context:\nCREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = \"3\" AND bronze < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the medal named fatuma roba category:articles with hcards for?\n\n### Context:\nCREATE TABLE table_name_73 (medal VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT medal FROM table_name_73 WHERE name = \"fatuma roba category:articles with hcards\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are all the approved treatments for the target CD30?\n\n### Context:\nCREATE TABLE table_1661124_1 (approved_treatment_s_ VARCHAR, target VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT approved_treatment_s_ FROM table_1661124_1 WHERE target = \"CD30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the max character (per page row) of the encoding with a bit rate of 6.203?\n\n### Context:\nCREATE TABLE table_1926240_1 (max_characters__per_page_row_ INTEGER, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(max_characters__per_page_row_) FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = \"6.203\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was round of 16 when in round 32 it was koryttseva ( ukr ) w 2\u20136, 6\u20131, 7\u20135?\n\n### Context:\nCREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = \"Koryttseva ( UKR ) W 2\u20136, 6\u20131, 7\u20135\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is who-two when you two is ngipelngu?\n\n### Context:\nCREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT who_two FROM table_1015914_24 WHERE you_two = \"ngipelngu\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Lost is the lowest one that has a Name of esc holzkirchen, and Played smaller than 14?\n\n### Context:\nCREATE TABLE table_name_79 (lost INTEGER, name VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(lost) FROM table_name_79 WHERE name = \"esc holzkirchen\" AND played < 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the partner of the winner after 2012?\n\n### Context:\nCREATE TABLE table_name_12 (partner VARCHAR, year VARCHAR, outcome VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT partner FROM table_name_12 WHERE year > 2012 AND outcome = \"winner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total for New York's game?\n\n### Context:\nCREATE TABLE table_name_39 (game INTEGER, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(game) FROM table_name_39 WHERE team = \"new york\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type of event had the wrestler with a reign of 2 and held the title for 35 days?\n\n### Context:\nCREATE TABLE table_name_31 (event VARCHAR, reign VARCHAR, days_held VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_31 WHERE reign = \"2\" AND days_held = \"35\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country that the player is from with +3 to par and score of 74-73=147?\n\n### Context:\nCREATE TABLE table_name_30 (country VARCHAR, to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_30 WHERE to_par = \"+3\" AND score = 74 - 73 = 147"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich is the lowest point value that had not only a Chevrolet car, but also a car number smaller than 24, total laps of 312, and a winning purse of $122,325?\n\n### Context:\nCREATE TABLE table_name_17 (points INTEGER, winnings VARCHAR, laps VARCHAR, make VARCHAR, car__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_17 WHERE make = \"chevrolet\" AND car__number < 24 AND laps = 312 AND winnings = \"$122,325\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many templates have template type code CV?\n\n### Context:\nCREATE TABLE Templates (template_type_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM Templates WHERE template_type_code = \"CV\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was Mike Jackson a handler at the Indianapolis Boat, Sport & Travel Show?\n\n### Context:\nCREATE TABLE table_name_56 (date VARCHAR, handler VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_56 WHERE handler = \"mike jackson\" AND event = \"indianapolis boat, sport & travel show\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of return for the program for the program \"Big Brother\"?\n\n### Context:\nCREATE TABLE table_29566606_11 (date_of_return VARCHAR, programme VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_return FROM table_29566606_11 WHERE programme = \"Big Brother\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat song came out on March 8, 2008?\n\n### Context:\nCREATE TABLE table_name_8 (song VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT song FROM table_name_8 WHERE date = \"march 8, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun?\n\n### Context:\nCREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_55 WHERE notes = \"sa/b\" AND rank > 1 AND athlete = \"zhang xiuyun\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode originally aired on February 2, 2008?\n\n### Context:\nCREATE TABLE table_name_65 (title VARCHAR, original_airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_65 WHERE original_airdate = \"february 2, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what day did the team play the Indianapolis Colts?\n\n### Context:\nCREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_26 WHERE opponent = \"indianapolis colts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the competition that has a score of 2-0?\n\n### Context:\nCREATE TABLE table_name_91 (competition VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_91 WHERE score = \"2-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Label has a Date smaller than 2008, and a Catalog of fall cd 006?\n\n### Context:\nCREATE TABLE table_name_82 (label VARCHAR, date VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_82 WHERE date < 2008 AND catalog = \"fall cd 006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Venue which has a Position of 5th?\n\n### Context:\nCREATE TABLE table_name_39 (venue VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_39 WHERE position = \"5th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location attendance of the game on February 25?\n\n### Context:\nCREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_52 WHERE date = \"february 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow other account details for account with name 338.\n\n### Context:\nCREATE TABLE Accounts (other_account_details VARCHAR, account_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT other_account_details FROM Accounts WHERE account_name = \"338\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the total number of\u00a0report\u00a0with\u00a0date\u00a0 29 april\n\n### Context:\nCREATE TABLE table_1140080_2 (report VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(report) FROM table_1140080_2 WHERE date = \"29 April\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the outgoing manager that was replaced by Thomas Von Heesen?\n\n### Context:\nCREATE TABLE table_name_80 (outgoing_manager VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outgoing_manager FROM table_name_80 WHERE replaced_by = \"thomas von heesen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of people that attended a game when Essendon was the away team?\n\n### Context:\nCREATE TABLE table_name_83 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_83 WHERE away_team = \"essendon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Away team has a Venue of arden street oval?\n\n### Context:\nCREATE TABLE table_name_32 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_32 WHERE venue = \"arden street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the compression ratio for the 302-2v Windsor v8 engine?\n\n### Context:\nCREATE TABLE table_name_41 (compression_ratio VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT compression_ratio FROM table_name_41 WHERE engine = \"302-2v windsor v8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Tally in Kerry County?\n\n### Context:\nCREATE TABLE table_name_36 (tally VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tally FROM table_name_36 WHERE county = \"kerry\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all locations that have train stations with at least 15 platforms and train stations with more than 25 total passengers.\n\n### Context:\nCREATE TABLE station (LOCATION VARCHAR, number_of_platforms VARCHAR, total_passengers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT LOCATION FROM station WHERE number_of_platforms >= 15 AND total_passengers > 25"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Season, when Goals is less than 6, and when Team is \"Tarbiat Yazd\"?\n\n### Context:\nCREATE TABLE table_name_42 (season VARCHAR, goals VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_42 WHERE goals < 6 AND team = \"tarbiat yazd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2012 value with A in 2007 and qf in 2011?\n\n### Context:\nCREATE TABLE table_name_11 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2012 FROM table_name_11 WHERE 2007 = \"a\" AND 2011 = \"qf\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most silver won by the country with more than 1 gold, 3 bronze, ranked 1, and less than 12 as the total?\n\n### Context:\nCREATE TABLE table_name_54 (silver INTEGER, total VARCHAR, rank VARCHAR, gold VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(silver) FROM table_name_54 WHERE gold > \"1\" AND bronze = 3 AND rank = \"1\" AND total < 12"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Tournament, when Career SR is \"ATP Masters Series\"?\n\n### Context:\nCREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_73 WHERE career_sr = \"atp masters series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat digital channel does Three Angels Broadcasting Network own?\n\n### Context:\nCREATE TABLE table_name_16 (Digital VARCHAR, owner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Digital AS channel FROM table_name_16 WHERE owner = \"three angels broadcasting network\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Aug 2013 with a Nov 2011 smaller than 968, and a Jul 2012 with 31, and a Jun 2011 larger than 30?\n\n### Context:\nCREATE TABLE table_name_27 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(aug_2013) FROM table_name_27 WHERE nov_2011 < 968 AND jul_2012 = 31 AND jun_2011 > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Year completed has a Dam type of earthfill embankment, and a Dam constructed of khancoban dam?\n\n### Context:\nCREATE TABLE table_name_25 (year_completed INTEGER, dam_type VARCHAR, dam_constructed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year_completed) FROM table_name_25 WHERE dam_type = \"earthfill embankment\" AND dam_constructed = \"khancoban dam\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the organized date of the stake with an occupation of senior buyer for Wal-mart?\n\n### Context:\nCREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT organized FROM table_name_67 WHERE occupation = \"senior buyer for wal-mart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Place, when Player is \"Ben Crenshaw\"?\n\n### Context:\nCREATE TABLE table_name_99 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_99 WHERE player = \"ben crenshaw\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first year of the European Championships competition?\n\n### Context:\nCREATE TABLE table_name_52 (year INTEGER, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_52 WHERE competition = \"european championships\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest percent of yes Alberta, which had less than 60.2 vote no, has?\n\n### Context:\nCREATE TABLE table_name_29 (percent_yes INTEGER, jurisdiction VARCHAR, percent_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(percent_yes) FROM table_name_29 WHERE jurisdiction = \"alberta\" AND percent_no < 60.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of runner-up that National University, which has more than 2 total championships, has?\n\n### Context:\nCREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(runner_up) FROM table_name_62 WHERE university = \"national university\" AND total_championships > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nMame the reg season for 2001\n\n### Context:\nCREATE TABLE table_2511876_1 (reg_season VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reg_season FROM table_2511876_1 WHERE year = 2001"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most games for standing of 5th, lebel and goals against larger than 220 with lost more than 52\n\n### Context:\nCREATE TABLE table_name_2 (games INTEGER, lost VARCHAR, standing VARCHAR, goals_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(games) FROM table_name_2 WHERE standing = \"5th, lebel\" AND goals_against > 220 AND lost > 52"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho proceeded to the quarter final when the london irish were eliminated from competition?\n\n### Context:\nCREATE TABLE table_28068063_3 (proceed_to_quarter_final VARCHAR, eliminated_from_competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT proceed_to_quarter_final FROM table_28068063_3 WHERE eliminated_from_competition = \"London Irish\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the national final main host when the semi final/heat host shows internal selection in 2011?\n\n### Context:\nCREATE TABLE table_name_83 (national_final_main_host VARCHAR, semi_final_heat_host VARCHAR, year_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT national_final_main_host FROM table_name_83 WHERE semi_final_heat_host = \"internal selection\" AND year_s_ = \"2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game at Commerce Bank Ballpark?\n\n### Context:\nCREATE TABLE table_name_67 (date VARCHAR, field VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_67 WHERE field = \"commerce bank ballpark\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the stadium in Brisbane?\n\n### Context:\nCREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stadium FROM table_name_17 WHERE city = \"brisbane\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor what episode was the rating/share for 18-49 at 2.8/8\n\n### Context:\nCREATE TABLE table_25391981_20 (episode VARCHAR, rating VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT episode FROM table_25391981_20 WHERE rating / SHARE(18 AS \u201349) = 2.8 / 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich season did Tich Freeman play against opponent V Warwickshire?\n\n### Context:\nCREATE TABLE table_name_62 (season VARCHAR, player VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_62 WHERE player = \"tich freeman\" AND opponent = \"v warwickshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is fitzroy's score as the home team?\n\n### Context:\nCREATE TABLE table_name_49 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_49 WHERE home_team = \"fitzroy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nScore F\u2013A of 2\u20130, and a Opponents of walsall has what date?\n\n### Context:\nCREATE TABLE table_name_49 (date VARCHAR, score_f_a VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_49 WHERE score_f_a = \"2\u20130\" AND opponents = \"walsall\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat party was Lane Evans?\n\n### Context:\nCREATE TABLE table_1341568_14 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_1341568_14 WHERE incumbent = \"Lane Evans\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow the product ids and the number of unique orders containing each product.\n\n### Context:\nCREATE TABLE Order_items (product_id VARCHAR, order_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT product_id, COUNT(DISTINCT order_id) FROM Order_items GROUP BY product_id"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the winning score of the Valero Texas Open?\n\n### Context:\nCREATE TABLE table_name_99 (winning_score VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_score FROM table_name_99 WHERE tournament = \"valero texas open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest year that has all-ireland hurling final as the competition, and 6-08 (24) as the waterford score?\n\n### Context:\nCREATE TABLE table_name_95 (year INTEGER, competition VARCHAR, waterford_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_95 WHERE competition = \"all-ireland hurling final\" AND waterford_score = \"6-08 (24)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich sport had the club of the Montgomery Biscuits?\n\n### Context:\nCREATE TABLE table_name_22 (sport VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sport FROM table_name_22 WHERE club = \"montgomery biscuits\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the audition venue where Peninha was the guest fourth judge?\n\n### Context:\nCREATE TABLE table_27615445_1 (audition_venue VARCHAR, guest_fourth_judge VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT audition_venue FROM table_27615445_1 WHERE guest_fourth_judge = \"Peninha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name and job title of the staff who was assigned the latest?\n\n### Context:\nCREATE TABLE staff (staff_name VARCHAR, staff_id VARCHAR); CREATE TABLE staff_department_assignments (job_title_code VARCHAR, staff_id VARCHAR, date_assigned_to VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.staff_name, T2.job_title_code FROM staff AS T1 JOIN staff_department_assignments AS T2 ON T1.staff_id = T2.staff_id ORDER BY T2.date_assigned_to DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Game, when Team is \"Celtics\", and when High Assists is \"Hedo T\u00fcrko\u011flu (4)\"?\n\n### Context:\nCREATE TABLE table_name_34 (game INTEGER, team VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_34 WHERE team = \"celtics\" AND high_assists = \"hedo t\u00fcrko\u011flu (4)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the original title of the film from years after 1985 from the UK?\n\n### Context:\nCREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_title FROM table_name_75 WHERE year > 1985 AND country = \"uk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the most points and how many did they have on April 22? \n\n### Context:\nCREATE TABLE table_27700530_15 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_27700530_15 WHERE date = \"April 22\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Date has a Winning driver of ugo sivocci?\n\n### Context:\nCREATE TABLE table_name_61 (date VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_61 WHERE winning_driver = \"ugo sivocci\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the name of the couple if the number of dances is 6?\n\n### Context:\nCREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT couple FROM table_23662272_4 WHERE number_of_dances = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day was the visitor Cleveland when the record was 34-26?\n\n### Context:\nCREATE TABLE table_name_43 (date VARCHAR, visitor VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_43 WHERE visitor = \"cleveland\" AND record = \"34-26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the styled used to defeat the opponent within the time frame of 32:32?\n\n### Context:\nCREATE TABLE table_18598175_2 (method_of_elimination VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method_of_elimination FROM table_18598175_2 WHERE time = \"32:32\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich telescopes were sponsored by or originated in Belgium?\n\n### Context:\nCREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_23851574_2 WHERE nationality_sponsors = \"Belgium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat score has hard (i) as the surface, and Columbus, Ohio as the tournament?\n\n### Context:\nCREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_26 WHERE surface = \"hard (i)\" AND tournament = \"columbus, ohio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the regulated retail price for the tariff code ff0 prs?\n\n### Context:\nCREATE TABLE table_10408617_5 (bts_retail_price__regulated_ VARCHAR, tariff_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bts_retail_price__regulated_ FROM table_10408617_5 WHERE tariff_code = \"ff0 PRS\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent for week 5?\n\n### Context:\nCREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_96 WHERE week = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat television service has italian as the language, and sky famiglia as the package option?\n\n### Context:\nCREATE TABLE table_name_20 (television_service VARCHAR, language VARCHAR, package_option VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT television_service FROM table_name_20 WHERE language = \"italian\" AND package_option = \"sky famiglia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWith a date of May 1262 under elevated, Guillaume de Bray as the elector, what is the order and title?\n\n### Context:\nCREATE TABLE table_name_78 (order_and_title VARCHAR, elevated VARCHAR, elector VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT order_and_title FROM table_name_78 WHERE elevated = \"may 1262\" AND elector = \"guillaume de bray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year for Alabama with a pick under 26?\n\n### Context:\nCREATE TABLE table_name_78 (year INTEGER, college VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_78 WHERE college = \"alabama\" AND pick < 26"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the swuinsuit for oregon\n\n### Context:\nCREATE TABLE table_17516967_1 (swimsuit VARCHAR, state VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT swimsuit FROM table_17516967_1 WHERE state = \"Oregon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?\n\n### Context:\nCREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = \"joanne malar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the game with an attendance of 71,962?\n\n### Context:\nCREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points against did the club with a losing bonus of 3 and 84 tries have?\n\n### Context:\nCREATE TABLE table_name_68 (points_against VARCHAR, losing_bonus VARCHAR, tries_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_against FROM table_name_68 WHERE losing_bonus = \"3\" AND tries_for = \"84\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow may assists per game have 7.7 points per game?\n\n### Context:\nCREATE TABLE table_2387461_1 (assists_per_game VARCHAR, points_per_game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT assists_per_game FROM table_2387461_1 WHERE points_per_game = \"7.7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Reason for termination has Appointed by of eisenhower category:articles with hcards?\n\n### Context:\nCREATE TABLE table_name_14 (reason_for_termination VARCHAR, appointed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT reason_for_termination FROM table_name_14 WHERE appointed_by = \"eisenhower category:articles with hcards\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRussia has films in which category?\n\n### Context:\nCREATE TABLE table_name_45 (category VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_45 WHERE country = \"russia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the race 12 hours in length?\n\n### Context:\nCREATE TABLE table_name_20 (race VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_20 WHERE length = \"12 hours\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2nd verb for Khola?\n\n### Context:\nCREATE TABLE table_name_34 (verb VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS __f_ FROM table_name_34 WHERE verb = \"khola\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every Gregorian month when the season in Tamil is \u0b87\u0bb3\u0bb5\u0bc7\u0ba9\u0bbf\u0bb2\u0bcd?\n\n### Context:\nCREATE TABLE table_1740431_3 (gregorian_months VARCHAR, season_in_tamil VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gregorian_months FROM table_1740431_3 WHERE season_in_tamil = \"\u0b87\u0bb3\u0bb5\u0bc7\u0ba9\u0bbf\u0bb2\u0bcd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Heats have a Name of miguel molina?\n\n### Context:\nCREATE TABLE table_name_39 (heat VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(heat) FROM table_name_39 WHERE name = \"miguel molina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the VFL played Victoria Park what was the home team score?\n\n### Context:\nCREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_11 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the longitude of Carmenta Farra in 1994?\n\n### Context:\nCREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = \"carmenta farra\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the label in the region of Argentina and had a format of CD?\n\n### Context:\nCREATE TABLE table_name_82 (label VARCHAR, format VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_82 WHERE format = \"cd\" AND region = \"argentina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every event date on Sunday with a starting time of 9:30 am?\n\n### Context:\nCREATE TABLE table_28003469_1 (event_date VARCHAR, event_day VARCHAR, starting_time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event_date FROM table_28003469_1 WHERE event_day = \"Sunday\" AND starting_time = \"9:30 am\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seats were there in 2001 when there were 11 seats in 2006?\n\n### Context:\nCREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the lowest capacity when the margin is 03:30?\n\n### Context:\nCREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(capacity) FROM table_name_77 WHERE margin = \"03:30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what county is the entry that has a Construction Completed date of 07/19/2000 and a Listed date of 09/21/1984 located?\n\n### Context:\nCREATE TABLE table_name_68 (county VARCHAR, listed VARCHAR, construction_completed VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_name_68 WHERE listed = \"09/21/1984\" AND construction_completed = \"07/19/2000\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did the club with a losing bonus of 2 and 300 points against have?\n\n### Context:\nCREATE TABLE table_name_44 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_for FROM table_name_44 WHERE losing_bonus = \"2\" AND points_against = \"300\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich operator has a Reserve of 100 bbbl?\n\n### Context:\nCREATE TABLE table_name_96 (operator_s_ VARCHAR, reserves VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT operator_s_ FROM table_name_96 WHERE reserves = \"100 bbbl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Record, when Visitor is \"Chicago Black Hawks\", and when Date is \"April 17\"?\n\n### Context:\nCREATE TABLE table_name_32 (record VARCHAR, visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_32 WHERE visitor = \"chicago black hawks\" AND date = \"april 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue has more than 9 against and a status of second test?\n\n### Context:\nCREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_90 WHERE against > 9 AND status = \"second test\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date did the oakland raiders play as the opponent when the Bills first downs were under 28?\n\n### Context:\nCREATE TABLE table_name_76 (date VARCHAR, bills_first_downs VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_76 WHERE bills_first_downs < 28 AND opponent = \"oakland raiders\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of 2nd place finishes for racers active in the year 2000 and more than 0 titles?\n\n### Context:\nCREATE TABLE table_name_16 (years_active VARCHAR, titles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(2 AS nd_pl) FROM table_name_16 WHERE years_active = \"2000\" AND titles > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of To Par, when Player is \"Bob Rosburg\"?\n\n### Context:\nCREATE TABLE table_name_4 (to_par INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(to_par) FROM table_name_4 WHERE player = \"bob rosburg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of wins in the playoffs league?\n\n### Context:\nCREATE TABLE table_name_10 (wins VARCHAR, league VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_10 WHERE league = \"playoffs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team is in 9th place?\n\n### Context:\nCREATE TABLE table_name_98 (class VARCHAR, pos VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class AS pos FROM table_name_98 WHERE pos = \"9th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?\n\n### Context:\nCREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of participants in 2013 for Russia when there were 5 in 2010 and less than 4 in 2012?\n\n### Context:\nCREATE TABLE table_name_99 (country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(2013) FROM table_name_99 WHERE 2010 = 5 AND country = \"russia\" AND 2012 < 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is runner-up Betsy Rawls from?\n\n### Context:\nCREATE TABLE table_name_76 (location VARCHAR, runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_76 WHERE runner_s__up = \"betsy rawls\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nChristian Fittipaldi drove in what team?\n\n### Context:\nCREATE TABLE table_name_74 (team VARCHAR, drivers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_74 WHERE drivers = \"christian fittipaldi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Time/ Behind, when Jockey is \"Jose Lezcano\"?\n\n### Context:\nCREATE TABLE table_name_44 (time__behind VARCHAR, jockey VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time__behind FROM table_name_44 WHERE jockey = \"jose lezcano\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the gore number for others % being 5.3%\n\n### Context:\nCREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gore__number FROM table_23014476_1 WHERE others__percentage = \"5.3%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\non january 12 who was the visitor?\n\n### Context:\nCREATE TABLE table_name_16 (visitor VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_16 WHERE date = \"january 12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position shows for canada, and an NHL team of new york islanders, and a Pick # of 113?\n\n### Context:\nCREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_29 WHERE nationality = \"canada\" AND nhl_team = \"new york islanders\" AND pick__number = \"113\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country for the score 72-63-71-68=274?\n\n### Context:\nCREATE TABLE table_28498999_3 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_28498999_3 WHERE score = 72 - 63 - 71 - 68 = 274"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the career caps for half-back, when tests is more than 3?\n\n### Context:\nCREATE TABLE table_name_73 (career_caps VARCHAR, position VARCHAR, tests VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT career_caps FROM table_name_73 WHERE position = \"half-back\" AND tests > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the competition when the date is 16 january 1996?\n\n### Context:\nCREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_14 WHERE date = \"16 january 1996\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opposing team in the 3rd round?\n\n### Context:\nCREATE TABLE table_name_69 (opposition VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opposition FROM table_name_69 WHERE round = \"3rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of the home game on August 14?\n\n### Context:\nCREATE TABLE table_name_25 (result VARCHAR, home_away VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_25 WHERE home_away = \"home\" AND date = \"august 14\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pinyin has a Chinese of \u81fa\u5357?\n\n### Context:\nCREATE TABLE table_name_89 (pinyin VARCHAR, chinese VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pinyin FROM table_name_89 WHERE chinese = \"\u81fa\u5357\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most goals for total club and apps less than 120\n\n### Context:\nCREATE TABLE table_name_34 (goals INTEGER, club VARCHAR, apps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(goals) FROM table_name_34 WHERE club = \"total\" AND apps < 120"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure?\n\n### Context:\nCREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = \"sacked\" AND outgoing_manager = \"fred rutten\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich name has more than 14 points with less than 1 draw?\n\n### Context:\nCREATE TABLE table_name_99 (name VARCHAR, points VARCHAR, drawn VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_99 WHERE points > 14 AND drawn < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich class has a frequency of 91.9 fm?\n\n### Context:\nCREATE TABLE table_name_31 (class VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_31 WHERE frequency = \"91.9 fm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest land in sq mi with a longitude of -99.172785 and less than 0.973 sq mi of water?\n\n### Context:\nCREATE TABLE table_name_27 (land___sqmi__ INTEGER, longitude VARCHAR, water__sqmi_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(land___sqmi__) FROM table_name_27 WHERE longitude = -99.172785 AND water__sqmi_ < 0.973"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTyne and Wear County has what total membership for their metropolitan area?\n\n### Context:\nCREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT metropolitan_area FROM table_2273738_1 WHERE county = \"Tyne and Wear\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest played 2 number with less than 83 losses and less than 65 draws with Chernomorets Novorossiysk in season 8?\n\n### Context:\nCREATE TABLE table_name_65 (played_2 INTEGER, drawn VARCHAR, club_1 VARCHAR, lost VARCHAR, seasons VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(played_2) FROM table_name_65 WHERE lost > 83 AND seasons = 8 AND club_1 = \"chernomorets novorossiysk\" AND drawn < 65"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the time for saturday 4 march 1995\n\n### Context:\nCREATE TABLE table_16388047_1 (time VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_16388047_1 WHERE date = \"Saturday 4 March 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the smallest Pick with Overall of 244?\n\n### Context:\nCREATE TABLE table_name_33 (pick INTEGER, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pick) FROM table_name_33 WHERE overall = 244"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the listed crowd at windy hill?\n\n### Context:\nCREATE TABLE table_name_4 (crowd VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT crowd FROM table_name_4 WHERE venue = \"windy hill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Olga Govortsova's outcome when she played on a grass surface?\n\n### Context:\nCREATE TABLE table_name_59 (outcome VARCHAR, surface VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outcome FROM table_name_59 WHERE surface = \"grass\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of weeks for october 26\n\n### Context:\nCREATE TABLE table_17924362_1 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(week) FROM table_17924362_1 WHERE date = \"October 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school did the player have a height of 6-4?\n\n### Context:\nCREATE TABLE table_name_65 (school VARCHAR, height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_65 WHERE height = \"6-4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the population density of bandung regency?\n\n### Context:\nCREATE TABLE table_21734764_1 (population_density___km\u00b2_2010_ VARCHAR, administrative_division VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT population_density___km\u00b2_2010_ FROM table_21734764_1 WHERE administrative_division = \"Bandung Regency\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the record of the game on February 21, 2008?\n\n### Context:\nCREATE TABLE table_name_60 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_60 WHERE date = \"february 21, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nafter 1987 and entrant of first racing what is the highest points?\n\n### Context:\nCREATE TABLE table_name_69 (points INTEGER, entrant VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(points) FROM table_name_69 WHERE entrant = \"first racing\" AND year > 1987"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList the file size and format for all songs that have resolution lower than 800.\n\n### Context:\nCREATE TABLE song (f_id VARCHAR, resolution INTEGER); CREATE TABLE files (file_size VARCHAR, formats VARCHAR, f_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT DISTINCT T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.resolution < 800"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner when the score was 281 (-6)?\n\n### Context:\nCREATE TABLE table_11621799_1 (winner VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_11621799_1 WHERE score = \"281 (-6)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is under segment C when s cuckoo clock is under segment B?\n\n### Context:\nCREATE TABLE table_name_22 (segment_c VARCHAR, segment_b VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT segment_c FROM table_name_22 WHERE segment_b = \"s cuckoo clock\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different variants are there for Northern Counties bodybuilder?\n\n### Context:\nCREATE TABLE table_28035004_1 (variant VARCHAR, bodybuilder VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(variant) FROM table_28035004_1 WHERE bodybuilder = \"Northern Counties\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result of the open cup when they finished 4th in the regular season?\n\n### Context:\nCREATE TABLE table_12002388_1 (open_cup VARCHAR, reg_season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT open_cup FROM table_12002388_1 WHERE reg_season = \"4th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the won when tries against is 72\n\n### Context:\nCREATE TABLE table_17625749_1 (won VARCHAR, tries_against VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT won FROM table_17625749_1 WHERE tries_against = \"72\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the timeslot for the episode that aired on May 12, 2009?\n\n### Context:\nCREATE TABLE table_11274401_3 (timeslot VARCHAR, air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT timeslot FROM table_11274401_3 WHERE air_date = \"May 12, 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the rank of Etihad Tower 5, with less than 62 floors?\n\n### Context:\nCREATE TABLE table_name_90 (rank INTEGER, floors VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(rank) FROM table_name_90 WHERE floors < 62 AND name = \"etihad tower 5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all church names that have hosted least two weddings.\n\n### Context:\nCREATE TABLE wedding (church_id VARCHAR); CREATE TABLE church (name VARCHAR, church_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.name FROM church AS T1 JOIN wedding AS T2 ON T1.church_id = T2.church_id GROUP BY T1.church_id HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the rating of the episode with an overall ranking of 190?\n\n### Context:\nCREATE TABLE table_16993379_1 (rating VARCHAR, rank__overall_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rating FROM table_16993379_1 WHERE rank__overall_ = \"190\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest founded that has bizerte athletic f.c. as the club?\n\n### Context:\nCREATE TABLE table_name_42 (founded INTEGER, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(founded) FROM table_name_42 WHERE club = \"bizerte athletic f.c.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat day did the race in 1974 take place on?\n\n### Context:\nCREATE TABLE table_1963459_2 (date VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_1963459_2 WHERE year = 1974"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game date was the game at AOL Arena?\n\n### Context:\nCREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_24453847_2 WHERE game_site = \"AOL Arena\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Record that has the Home of ny islanders?\n\n### Context:\nCREATE TABLE table_name_26 (record VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_26 WHERE home = \"ny islanders\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player has an average of 38.22?\n\n### Context:\nCREATE TABLE table_name_53 (player VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_53 WHERE average = 38.22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich date has date started from 30 Sep 1913?\n\n### Context:\nCREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date__to_ FROM table_name_79 WHERE date__from_ = \"30 sep 1913\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Stadium held on november 29?\n\n### Context:\nCREATE TABLE table_name_41 (stadium VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stadium FROM table_name_41 WHERE date = \"november 29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe tournament with a partner listed as Aurelija Misevi\u010di\u016bt\u0117 had what kind of surface?\n\n### Context:\nCREATE TABLE table_name_88 (surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_88 WHERE partner = \"aurelija misevi\u010di\u016bt\u0117\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat did United States score in the place t6?\n\n### Context:\nCREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_21 WHERE country = \"united states\" AND place = \"t6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen is Record of 66-95?\n\n### Context:\nCREATE TABLE table_name_31 (time VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_31 WHERE record = \"66-95\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Top Par, when Score is less than 68, and when Country is England?\n\n### Context:\nCREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_58 WHERE score < 68 AND country = \"england\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat events did the competition that took place in 1997 have?\n\n### Context:\nCREATE TABLE table_name_96 (notes VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT notes FROM table_name_96 WHERE year = 1997"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the soap opera for elin sogn?\n\n### Context:\nCREATE TABLE table_name_48 (soap_opera VARCHAR, actor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT soap_opera FROM table_name_48 WHERE actor = \"elin sogn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the teams for third points of season cancelled\n\n### Context:\nCREATE TABLE table_name_95 (teams VARCHAR, third__points_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT teams FROM table_name_95 WHERE third__points_ = \"season cancelled\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere does CF Pachuca play?\n\n### Context:\nCREATE TABLE table_name_64 (game_site VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game_site FROM table_name_64 WHERE opponent = \"cf pachuca\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country had a cad 4011 catalogue #?\n\n### Context:\nCREATE TABLE table_name_66 (country VARCHAR, catalogue__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_66 WHERE catalogue__number = \"cad 4011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was the episode guest starring michael mcintyre and alex james broadcasted\n\n### Context:\nCREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = \"Michael McIntyre and Alex James\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was d: ~100nm, l: 1 \u03bcm geometry researched?\n\n### Context:\nCREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT researched_at FROM table_30057479_1 WHERE geometry = \"D: ~100nm, L: 1 \u03bcm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Genre when the Artist is Prince?\n\n### Context:\nCREATE TABLE table_name_7 (genre VARCHAR, artist VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT genre FROM table_name_7 WHERE artist = \"prince\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat network garnered 2.74 million viewers for Supernatural?\n\n### Context:\nCREATE TABLE table_2170969_2 (network VARCHAR, viewers_in_millions VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT network FROM table_2170969_2 WHERE viewers_in_millions = \"2.74\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the time/retired for jo siffert with a grid under 11?\n\n### Context:\nCREATE TABLE table_name_45 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_45 WHERE grid < 11 AND driver = \"jo siffert\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Population, when Per Capita Income is \"$16,330\"?\n\n### Context:\nCREATE TABLE table_name_80 (population INTEGER, per_capita_income VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(population) FROM table_name_80 WHERE per_capita_income = \"$16,330\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOriginal airdate for #6 with 1.246 viewers?\n\n### Context:\nCREATE TABLE table_name_73 (original_airdate VARCHAR, nightly_rank VARCHAR, viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_airdate FROM table_name_73 WHERE nightly_rank = \"#6\" AND viewers__millions_ = 1.246"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Sign-in/Bicker at wash50 on washington rd?\n\n### Context:\nCREATE TABLE table_name_27 (sign_in_bicker VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sign_in_bicker FROM table_name_27 WHERE location = \"wash50 on washington rd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2010 value with a 2r in 2008 and A in 2013?\n\n### Context:\nCREATE TABLE table_name_83 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_83 WHERE 2008 = \"2r\" AND 2013 = \"a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the date of death for the person married to Charles II?\n\n### Context:\nCREATE TABLE table_name_86 (death VARCHAR, spouse VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT death FROM table_name_86 WHERE spouse = \"charles ii\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho directed the episode that aired on February 19, 1968?\n\n### Context:\nCREATE TABLE table_25800134_12 (director VARCHAR, airdate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_25800134_12 WHERE airdate = \"February 19, 1968\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich athlete represented the country of egypt?\n\n### Context:\nCREATE TABLE table_name_35 (athlete VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT athlete FROM table_name_35 WHERE country = \"egypt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score when Montreal was home?\n\n### Context:\nCREATE TABLE table_name_94 (score VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_94 WHERE home = \"montreal\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat visiting team played on October 18?\n\n### Context:\nCREATE TABLE table_name_36 (visiting_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_36 WHERE date = \"october 18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average Density of 53 No. munic.?\n\n### Context:\nCREATE TABLE table_name_40 (density__per_km\u00b2_ INTEGER, no_munic VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(density__per_km\u00b2_) FROM table_name_40 WHERE no_munic = 53"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nThe game of 6 has what lowest attendance?\n\n### Context:\nCREATE TABLE table_name_47 (attendance INTEGER, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_47 WHERE game = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest season wth a Win of 1 and a Position that is 8th?\n\n### Context:\nCREATE TABLE table_name_3 (season INTEGER, wins VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(season) FROM table_name_3 WHERE wins = 1 AND position = \"8th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year did the season finale have a total of 10.29 million viewers?\n\n### Context:\nCREATE TABLE table_1348989_2 (season VARCHAR, viewers__in_millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season AS Finale FROM table_1348989_2 WHERE viewers__in_millions_ = \"10.29\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Position has a CFL Team of montreal alouettes (via edmonton)?\n\n### Context:\nCREATE TABLE table_name_6 (position VARCHAR, cfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_6 WHERE cfl_team = \"montreal alouettes (via edmonton)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat week was it on November 19, 1995?\n\n### Context:\nCREATE TABLE table_name_87 (week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week FROM table_name_87 WHERE date = \"november 19, 1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow different citizenships and the maximum net worth of singers of each citizenship.\n\n### Context:\nCREATE TABLE singer (Citizenship VARCHAR, Net_Worth_Millions INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT Citizenship, MAX(Net_Worth_Millions) FROM singer GROUP BY Citizenship"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the values of n for cinema content provided by Sky Cinema +24 on its Sky Cinema package?\n\n### Context:\nCREATE TABLE table_15887683_5 (n\u00b0 VARCHAR, television_service VARCHAR, package_option VARCHAR, content VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT n\u00b0 FROM table_15887683_5 WHERE package_option = \"Sky Cinema\" AND content = \"cinema\" AND television_service = \"Sky Cinema\" + 24"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the titles for the November 9 Super Bantamweight division?\n\n### Context:\nCREATE TABLE table_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT titles FROM table_25840200_1 WHERE date = \"November 9\" AND division = \"Super Bantamweight\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the method of elimination in the chamber with a time of 24:02? \n\n### Context:\nCREATE TABLE table_24628683_2 (method_of_elimination VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method_of_elimination FROM table_24628683_2 WHERE time = \"24:02\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Lee Ka Man's Time?\n\n### Context:\nCREATE TABLE table_name_95 (time VARCHAR, rower VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_95 WHERE rower = \"lee ka man\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many couples have an average of 25.3?\n\n### Context:\nCREATE TABLE table_20424140_3 (couple VARCHAR, average VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(couple) FROM table_20424140_3 WHERE average = \"25.3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest goals for more than 30 games played?\n\n### Context:\nCREATE TABLE table_name_88 (goals_for INTEGER, played INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goals_for) FROM table_name_88 WHERE played > 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName all of Jason's teams that appeared on episode 6x02?\n\n### Context:\nCREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT jasons_team FROM table_23292220_6 WHERE episode = \"6x02\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Picks have a Position of defensive back?\n\n### Context:\nCREATE TABLE table_name_61 (pick VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick) FROM table_name_61 WHERE position = \"defensive back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat was the attendance for a home venue and a w 3-0 result?\n\n### Context:\nCREATE TABLE table_name_34 (attendance INTEGER, venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_34 WHERE venue = \"home\" AND result = \"w 3-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the venue of the match with cronulla sharks as the opponent?\n\n### Context:\nCREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_87 WHERE opponent = \"cronulla sharks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what Date was the Attendance 73,405?\n\n### Context:\nCREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_32 WHERE attendance = \"73,405\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country scored 70-68-71-71=280?\n\n### Context:\nCREATE TABLE table_name_29 (country VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_29 WHERE score = 70 - 68 - 71 - 71 = 280"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the total points are 22 how many total touchdowns have been made?\n\n### Context:\nCREATE TABLE table_14342592_5 (touchdowns VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT touchdowns FROM table_14342592_5 WHERE points = 22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Distance ( ly ), when Constellation is \"Draco\"?\n\n### Context:\nCREATE TABLE table_name_34 (distance___ly__ VARCHAR, constellation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(distance___ly__) FROM table_name_34 WHERE constellation = \"draco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich March 3 has a Poll of baseball america (top 25)?\n\n### Context:\nCREATE TABLE table_name_35 (mar_3 VARCHAR, poll VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mar_3 FROM table_name_35 WHERE poll = \"baseball america (top 25)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the start date with party of pd\n\n### Context:\nCREATE TABLE table_name_28 (start_date VARCHAR, party VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start_date FROM table_name_28 WHERE party = \"pd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the torque when engine code is N46B20 and power is ps (kw; hp)@6400?\n\n### Context:\nCREATE TABLE table_name_97 (torque VARCHAR, engine_code VARCHAR, power VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT torque FROM table_name_97 WHERE engine_code = \"n46b20\" AND power = \"ps (kw; hp)@6400\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the first name of students who are living in the dorm that has most number of amenities.\n\n### Context:\nCREATE TABLE dorm_amenity (amenid VARCHAR); CREATE TABLE lives_in (stuid VARCHAR, dormid VARCHAR); CREATE TABLE dorm (dormid VARCHAR); CREATE TABLE student (fname VARCHAR, stuid VARCHAR); CREATE TABLE has_amenity (dormid VARCHAR, amenid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.fname FROM student AS T1 JOIN lives_in AS T2 ON T1.stuid = T2.stuid WHERE T2.dormid IN (SELECT T2.dormid FROM dorm AS T3 JOIN has_amenity AS T4 ON T3.dormid = T4.dormid JOIN dorm_amenity AS T5 ON T4.amenid = T5.amenid GROUP BY T3.dormid ORDER BY COUNT(*) DESC LIMIT 1)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the candidates for texas 20\n\n### Context:\nCREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT candidates FROM table_1341690_43 WHERE district = \"Texas 20\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest latitude when there are more than 0.518 square miles of water, a longitude less than -99.830606, and a population of 18?\n\n### Context:\nCREATE TABLE table_name_69 (latitude INTEGER, pop__2010_ VARCHAR, water__sqmi_ VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(latitude) FROM table_name_69 WHERE water__sqmi_ > 0.518 AND longitude < -99.830606 AND pop__2010_ = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many attended the game at Arden Street Oval?\n\n### Context:\nCREATE TABLE table_name_86 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_86 WHERE venue = \"arden street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date for the wgc-accenture match play championship?\n\n### Context:\nCREATE TABLE table_name_83 (date VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_83 WHERE tournament = \"wgc-accenture match play championship\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is tom cassidy's nationality?\n\n### Context:\nCREATE TABLE table_name_25 (nationality VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_25 WHERE player = \"tom cassidy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat dates was champion masahiro kawamura at the ibaraki country club tournament?\n\n### Context:\nCREATE TABLE table_name_6 (dates VARCHAR, tournament_location VARCHAR, champion VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dates FROM table_name_6 WHERE tournament_location = \"ibaraki country club\" AND champion = \"masahiro kawamura\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 0 is the top 10's what is the highest amount of cuts made?\n\n### Context:\nCREATE TABLE table_24330912_1 (cuts_made INTEGER, top_10s VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(cuts_made) FROM table_24330912_1 WHERE top_10s = 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the highest annual interchange for wimbledon railway station?\n\n### Context:\nCREATE TABLE table_name_82 (annual_interchanges__millions__2011_12 INTEGER, railway_station VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(annual_interchanges__millions__2011_12) FROM table_name_82 WHERE railway_station = \"wimbledon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Winner, when Year is 2013?\n\n### Context:\nCREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_11 WHERE year = 2013"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the visitor for home of ny rangers\n\n### Context:\nCREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visitor FROM table_name_29 WHERE home = \"ny rangers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich driver won the Phillip Island Grand Prix Circuit?\n\n### Context:\nCREATE TABLE table_name_61 (winner VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_61 WHERE circuit = \"phillip island grand prix circuit\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0naturalisation by marriage\u00a0with\u00a0numer of jamaicans granted british citizenship\u00a0being 3165\n\n### Context:\nCREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = 3165"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what team did John Bowe round winner at Winton Motor Raceway belong to?\n\n### Context:\nCREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_44 WHERE round_winner = \"john bowe\" AND circuit = \"winton motor raceway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the 2nd member of the parliament that was assembled on 3 november 1529?\n\n### Context:\nCREATE TABLE table_name_19 (assembled VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_member FROM table_name_19 WHERE assembled = \"3 november 1529\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn all other parties the National option polls are at 1.3% where as the opinion research pole is at what percentage? \n\n### Context:\nCREATE TABLE table_159614_2 (opinion_research_centre__opc_ VARCHAR, national_opinion_polls__nop_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opinion_research_centre__opc_ FROM table_159614_2 WHERE national_opinion_polls__nop_ = \"1.3%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the outgoing manager when the manner of departure is contract terminated and the date of vacancy is 1 september 2008?\n\n### Context:\nCREATE TABLE table_name_22 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, date_of_vacancy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outgoing_manager FROM table_name_22 WHERE manner_of_departure = \"contract terminated\" AND date_of_vacancy = \"1 september 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat played has 3 as the losing bonus?\n\n### Context:\nCREATE TABLE table_name_91 (played VARCHAR, losing_bonus VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT played FROM table_name_91 WHERE losing_bonus = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the director when the title is 2003?\n\n### Context:\nCREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_27 WHERE title = \"2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Attendance has a Result of w 24-14, and a Week smaller than 7?\n\n### Context:\nCREATE TABLE table_name_2 (attendance INTEGER, result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_2 WHERE result = \"w 24-14\" AND week < 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fixed charge for the user with a unit/time range of i-2: peak (18:30-22:30)?\n\n### Context:\nCREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, unit__kwh__time_range VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE unit__kwh__time_range = \"I-2: Peak (18:30-22:30)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on April 21?\n\n### Context:\nCREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_24 WHERE date = \"april 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the Away team at Arden Street Oval?\n\n### Context:\nCREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_98 WHERE venue = \"arden street oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was elected in 1972\n\n### Context:\nCREATE TABLE table_1341423_35 (incumbent VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Record that has a Nationality of new zealand?\n\n### Context:\nCREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_35 WHERE nationality = \"new zealand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position is the player who went to Regina? \n\n### Context:\nCREATE TABLE table_20170644_3 (position VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_20170644_3 WHERE college = \"Regina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance of the game that lasted 3:55?\n\n### Context:\nCREATE TABLE table_name_1 (att VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT att FROM table_name_1 WHERE time = \"3:55\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow names for artists without any exhibition.\n\n### Context:\nCREATE TABLE artist (name VARCHAR, artist_id VARCHAR); CREATE TABLE exhibition (name VARCHAR, artist_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM artist WHERE NOT artist_id IN (SELECT artist_id FROM exhibition)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent in the final of the match on 19 February 2006?\n\n### Context:\nCREATE TABLE table_name_24 (opponent_in_the_final VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent_in_the_final FROM table_name_24 WHERE date = \"19 february 2006\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the identifier when the power is 22500 watts?\n\n### Context:\nCREATE TABLE table_name_17 (identifier VARCHAR, power VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT identifier FROM table_name_17 WHERE power = \"22500 watts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the melamine content of \u82f1\u96c4\u724c\u5b30\u5e7c\u5152\u914d\u65b9\u4e73\u7c89 having more than 1 samples failed?\n\n### Context:\nCREATE TABLE table_name_31 (melamine_content_mg_kg_ VARCHAR, samples_failed VARCHAR, product VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT melamine_content_mg_kg_ FROM table_name_31 WHERE samples_failed > 1 AND product = \"\u82f1\u96c4\u724c\u5b30\u5e7c\u5152\u914d\u65b9\u4e73\u7c89\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the race that had a tyre of p and Juan Manuel Fangio as the winning driver?\n\n### Context:\nCREATE TABLE table_name_99 (race VARCHAR, tyre VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_99 WHERE tyre = \"p\" AND winning_driver = \"juan manuel fangio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the record for a time in seconds smaller than 5.22.\n\n### Context:\nCREATE TABLE table_name_45 (record VARCHAR, time__seconds_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_45 WHERE time__seconds_ < 5.22"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much Population density (per km\u00b2) has a Name of total northern villages, and a Population (2006) larger than 11414?\n\n### Context:\nCREATE TABLE table_name_98 (population_density__per_km\u00b2_ VARCHAR, name VARCHAR, population__2006_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(population_density__per_km\u00b2_) FROM table_name_98 WHERE name = \"total northern villages\" AND population__2006_ > 11414"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location has a Method of decision?\n\n### Context:\nCREATE TABLE table_name_40 (location VARCHAR, method VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_40 WHERE method = \"decision\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of ahaziah?\n\n### Context:\nCREATE TABLE table_name_16 (title VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_16 WHERE name = \"ahaziah\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn the game at Victoria Park, what was the number of people in the crowd?\n\n### Context:\nCREATE TABLE table_name_34 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_34 WHERE venue = \"victoria park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Week 1 result of Colorado State?\n\n### Context:\nCREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT week_1_sept_7 FROM table_name_15 WHERE preseason = \"colorado state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of Round with a Method of submission (ankle lock), a Location of tokyo, japan, and a Record of 13-5-2?\n\n### Context:\nCREATE TABLE table_name_84 (round INTEGER, record VARCHAR, method VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(round) FROM table_name_84 WHERE method = \"submission (ankle lock)\" AND location = \"tokyo, japan\" AND record = \"13-5-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of the live viewers for episodes with share over 5?\n\n### Context:\nCREATE TABLE table_name_77 (live VARCHAR, share INTEGER, viewers_ INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(viewers_)[live] AS __m_ FROM table_name_77 WHERE share > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Wheel Arrangement, when Manufacturer is \"Baldwin\", and when Quantity Made is 12?\n\n### Context:\nCREATE TABLE table_name_52 (wheel_arrangement VARCHAR, manufacturer VARCHAR, quantity_made VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wheel_arrangement FROM table_name_52 WHERE manufacturer = \"baldwin\" AND quantity_made = \"12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the displacement of the engine that has a Redline rpm higher than 4750, from 2005?\n\n### Context:\nCREATE TABLE table_name_29 (displacement VARCHAR, redline__rpm_ VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT displacement FROM table_name_29 WHERE redline__rpm_ > 4750 AND year = 2005"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Venue has a Date of january 9, 2011?\n\n### Context:\nCREATE TABLE table_name_51 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_51 WHERE date = \"january 9, 2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most year with start more than 2\n\n### Context:\nCREATE TABLE table_name_59 (year INTEGER, start INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_59 WHERE start > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many MotoGP winners were there when the circuit was Catalunya?\n\n### Context:\nCREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = \"Catalunya\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average round against opponent Klas Akesson?\n\n### Context:\nCREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(round) FROM table_name_18 WHERE opponent = \"klas akesson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich College has a Round smaller than 2?\n\n### Context:\nCREATE TABLE table_name_50 (college VARCHAR, round INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_name_50 WHERE round < 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the 2nd leg result in the round where Panionios is team #2?\n\n### Context:\nCREATE TABLE table_19130829_4 (team__number2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2 AS nd_leg FROM table_19130829_4 WHERE team__number2 = \"Panionios\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen persikos sorong city played in group 11, who played in group 7?\n\n### Context:\nCREATE TABLE table_19523142_5 (group_7 VARCHAR, group_11 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT group_7 FROM table_19523142_5 WHERE group_11 = \"Persikos Sorong City\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many cup goals for the season with more than 34 league apps?\n\n### Context:\nCREATE TABLE table_name_9 (cup_goals INTEGER, league_apps INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich qual also has a finish total of 9?\n\n### Context:\nCREATE TABLE table_name_75 (qual VARCHAR, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT qual FROM table_name_75 WHERE finish = \"9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the Location that has the Mascot of lakers?\n\n### Context:\nCREATE TABLE table_name_69 (location VARCHAR, mascot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_69 WHERE mascot = \"lakers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of the player from Fort Lauderdale, Florida?\n\n### Context:\nCREATE TABLE table_name_3 (position VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_3 WHERE hometown = \"fort lauderdale, florida\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's\u00a0district with\u00a0candidates\u00a0being lawrence j. smith (d) 69.4% joseph smith (r) 30.6%\n\n### Context:\nCREATE TABLE table_1341577_10 (district VARCHAR, candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1341577_10 WHERE candidates = \"Lawrence J. Smith (D) 69.4% Joseph Smith (R) 30.6%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRecord of 16\u201329 is how many attendance?\n\n### Context:\nCREATE TABLE table_name_32 (attendance VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_32 WHERE record = \"16\u201329\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen bill young redistricted from the 10th district is the incumbent what is the party?\n\n### Context:\nCREATE TABLE table_25030512_12 (party VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_25030512_12 WHERE incumbent = \"Bill Young Redistricted from the 10th district\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rebounds per game did he have at the 2006 fiba world championship?\n\n### Context:\nCREATE TABLE table_2761641_1 (rebounds_per_game VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rebounds_per_game FROM table_2761641_1 WHERE tournament = \"2006 FIBA World Championship\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country was Brage, built by karljohansverns verft, from?\n\n### Context:\nCREATE TABLE table_name_23 (country VARCHAR, builder VARCHAR, ship VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_23 WHERE builder = \"karljohansverns verft\" AND ship = \"brage\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich major town is located within the Outback Areas Community Development Trust?\n\n### Context:\nCREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT major_town FROM table_23685890_2 WHERE local_government_area = \"Outback Areas Community Development Trust\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the novelty of Tylocephale?\n\n### Context:\nCREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT novelty FROM table_name_14 WHERE name = \"tylocephale\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the opponent with a record of 60-61\n\n### Context:\nCREATE TABLE table_name_35 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_35 WHERE record = \"60-61\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest 2nd (m) when the points were larger than 251.6?\n\n### Context:\nCREATE TABLE table_name_99 (points INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many first tournaments were winter sports with exactly 1 division?\n\n### Context:\nCREATE TABLE table_2849652_2 (season VARCHAR, _number_of_divisions VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(1 AS st_tournament) FROM table_2849652_2 WHERE season = \"Winter\" AND _number_of_divisions = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is south in the 2001-02 season, which had germering wanderers east?\n\n### Context:\nCREATE TABLE table_name_92 (south VARCHAR, east VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT south FROM table_name_92 WHERE east = \"germering wanderers\" AND season = \"2001-02\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the power of the engine with a torque of n\u00b7m (lb\u00b7ft) at1,500rpm?\n\n### Context:\nCREATE TABLE table_name_15 (power VARCHAR, torque VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power FROM table_name_15 WHERE torque = \"n\u00b7m (lb\u00b7ft) at1,500rpm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the vacator when the successor was formally installed on February 1, 1871?\n\n### Context:\nCREATE TABLE table_2417345_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT vacator FROM table_2417345_3 WHERE date_of_successors_formal_installation = \"February 1, 1871\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many car numbers were listed for Rusty Wallace?\n\n### Context:\nCREATE TABLE table_1769428_2 (car__number VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(car__number) FROM table_1769428_2 WHERE winning_driver = \"Rusty Wallace\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the club in the sixth round proper\n\n### Context:\nCREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT clubs FROM table_27876486_2 WHERE round = \"Sixth round proper\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the names of the trains that do not pass any station located in London.\n\n### Context:\nCREATE TABLE station (station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR); CREATE TABLE train_station (train_id VARCHAR, station_id VARCHAR); CREATE TABLE train (name VARCHAR, train_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.name FROM train_station AS T1 JOIN train AS T2 ON T1.train_id = T2.train_id WHERE NOT T1.station_id IN (SELECT T4.station_id FROM train_station AS T3 JOIN station AS T4 ON T3.station_id = T4.station_id WHERE t4.location = \"London\")"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many times is the name matt targett and the lane higher than 7?\n\n### Context:\nCREATE TABLE table_name_44 (time VARCHAR, name VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(time) FROM table_name_44 WHERE name = \"matt targett\" AND lane > 7"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the score when the runner-up is richard krajicek?\n\n### Context:\nCREATE TABLE table_name_54 (score VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_54 WHERE runner_up = \"richard krajicek\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich bronze has a Rank of 37?\n\n### Context:\nCREATE TABLE table_name_66 (bronze VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bronze FROM table_name_66 WHERE rank = \"37\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Score on 17 december 1979?\n\n### Context:\nCREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_80 WHERE date = \"17 december 1979\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat country is the contestant from Chihuahua from?\n\n### Context:\nCREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_20754016_2 WHERE hometown = \"Chihuahua\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho was the opponent with round 17?\n\n### Context:\nCREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_64 WHERE round = \"17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich weightlifter, who had a bodyweight of less than 136.16 and a clean and jerk larger than 135, had the highest Total?\n\n### Context:\nCREATE TABLE table_name_43 (total__kg_ INTEGER, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total__kg_) FROM table_name_43 WHERE bodyweight < 136.16 AND clean_ & _jerk > 135"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Placement in Miss Universe is armi barbara quiray crespo?\n\n### Context:\nCREATE TABLE table_name_3 (placement_in_miss_universe VARCHAR, delegate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT placement_in_miss_universe FROM table_name_3 WHERE delegate = \"armi barbara quiray crespo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0tries against\u00a0with\u00a0tries for\u00a0being 47\n\n### Context:\nCREATE TABLE table_12828723_3 (tries_against VARCHAR, tries_for VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tries_against FROM table_12828723_3 WHERE tries_for = \"47\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the pitcher from the 1983 season in location Kingdome?\n\n### Context:\nCREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pitcher FROM table_name_40 WHERE location = \"kingdome\" AND season = \"1983\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the name of train number 15647/48?\n\n### Context:\nCREATE TABLE table_12095519_1 (train_name VARCHAR, train_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT train_name FROM table_12095519_1 WHERE train_no = \"15647/48\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich wheel arrangement had a Specification of dl-700?\n\n### Context:\nCREATE TABLE table_name_9 (wheel_arrangement VARCHAR, specification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wheel_arrangement FROM table_name_9 WHERE specification = \"dl-700\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the maximum point for climbers whose country is United Kingdom?\n\n### Context:\nCREATE TABLE climber (Points INTEGER, Country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(Points) FROM climber WHERE Country = \"United Kingdom\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the surface of the match that ended in a score of 5\u20137, 6\u20134, [10\u20137]?\n\n### Context:\nCREATE TABLE table_name_1 (surface VARCHAR, score_in_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_1 WHERE score_in_final = \"5\u20137, 6\u20134, [10\u20137]\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat frequency is dxec-fm?\n\n### Context:\nCREATE TABLE table_2610582_7 (frequency VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT frequency FROM table_2610582_7 WHERE callsign = \"DXEC-FM\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Rank that when the Singapore Cup is 0 (1), and the Name is masrezwan masturi?\n\n### Context:\nCREATE TABLE table_name_80 (rank INTEGER, singapore_cup VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_80 WHERE singapore_cup = \"0 (1)\" AND name = \"masrezwan masturi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points did ginger have when she was ranked 5th on a 350cc class bike?\n\n### Context:\nCREATE TABLE table_name_73 (points VARCHAR, class VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_73 WHERE class = \"350cc\" AND rank = \"5th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the fastest lap when Al Unser won?\n\n### Context:\nCREATE TABLE table_name_40 (fastest_lap VARCHAR, winning_driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_name_40 WHERE winning_driver = \"al unser\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many prizes were there at the transamerica?\n\n### Context:\nCREATE TABLE table_11621747_1 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(1 AS st_prize__) AS $__ FROM table_11621747_1 WHERE tournament = \"The Transamerica\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the away team with a 2 tie no.?\n\n### Context:\nCREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team FROM table_name_6 WHERE tie_no = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest tonnage of the ship from norway?\n\n### Context:\nCREATE TABLE table_name_71 (tonnage INTEGER, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(tonnage) FROM table_name_71 WHERE nationality = \"norway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich series had a title of Boyhood Daze?\n\n### Context:\nCREATE TABLE table_name_78 (series VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_name_78 WHERE title = \"boyhood daze\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nI want the result for goals which has goals of deacon 6/6\n\n### Context:\nCREATE TABLE table_name_52 (result VARCHAR, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_52 WHERE goals = \"deacon 6/6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the most lost games for the team with a difference smaller than 86 and points of 32?\n\n### Context:\nCREATE TABLE table_name_74 (lost INTEGER, points VARCHAR, difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(lost) FROM table_name_74 WHERE points = 32 AND difference < 86"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the IHSAA class with 395 in enrollment?\n\n### Context:\nCREATE TABLE table_name_69 (ihsaa_class VARCHAR, enrollment VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ihsaa_class FROM table_name_69 WHERE enrollment = 395"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the legs when the venue is rwe-sporthalle, m\u00fclheim and the runner-up (average in final) is simon whitlock (99.59)?\n\n### Context:\nCREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT legs FROM table_name_81 WHERE venue = \"rwe-sporthalle, m\u00fclheim\" AND runner_up__average_in_final_ = \"simon whitlock (99.59)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent with the 20-12 record?\n\n### Context:\nCREATE TABLE table_name_45 (opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_45 WHERE record = \"20-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the children of Benjamin Harrison?\n\n### Context:\nCREATE TABLE table_24143253_5 (children_together VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT children_together FROM table_24143253_5 WHERE name = \"Benjamin Harrison\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen did the institution at chapel hill, North carolina join acc?\n\n### Context:\nCREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT joined_acc FROM table_28744929_1 WHERE location = \"Chapel Hill, North Carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the A Score was larger than 5.933 with a total of 19.833, what nation was this?\n\n### Context:\nCREATE TABLE table_name_40 (nation VARCHAR, a_score VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nation FROM table_name_40 WHERE a_score > 5.933 AND total = 19.833"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHOw many jockeys had eoin harty as a trainer\n\n### Context:\nCREATE TABLE table_22517564_3 (jockey VARCHAR, trainer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(jockey) FROM table_22517564_3 WHERE trainer = \"Eoin Harty\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the result for week of 4\n\n### Context:\nCREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_46 WHERE week = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn Round 10, what was the Overall for Ed Tomlin?\n\n### Context:\nCREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = \"ed tomlin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position is played by the player from the Chicago Cubs?\n\n### Context:\nCREATE TABLE table_name_8 (position VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_8 WHERE team = \"chicago cubs\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the general classification for a mountains value of Christophe Moreau and a Team winner of Team CSC?\n\n### Context:\nCREATE TABLE table_name_94 (general_classification VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT general_classification FROM table_name_94 WHERE mountains_classification = \"christophe moreau\" AND team_classification = \"team csc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the 2010 for 2008 of 1r and tournament of us open\n\n### Context:\nCREATE TABLE table_name_33 (tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2010 FROM table_name_33 WHERE 2008 = \"1r\" AND 2011 = \"1r\" AND tournament = \"us open\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich task had Cathy as the hand grenade user?\n\n### Context:\nCREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT task_no FROM table_name_98 WHERE hand_grenade_user = \"cathy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average year that the club located in enfield was founded with an unknown coach?\n\n### Context:\nCREATE TABLE table_name_87 (founded INTEGER, coach VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(founded) FROM table_name_87 WHERE coach = \"unknown\" AND location = \"enfield\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Gold has the Year of 1994?\n\n### Context:\nCREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gold FROM table_name_68 WHERE year = 1994"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nhow many colombia in bangladesh is serbian\n\n### Context:\nCREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT colombian FROM table_24807774_1 WHERE bangladeshi = \"Serbian\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the quiabaya municipality is 2 what is the combaya municipality?\n\n### Context:\nCREATE TABLE table_2509202_2 (combaya_municipality VARCHAR, quiabaya_municipality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT combaya_municipality FROM table_2509202_2 WHERE quiabaya_municipality = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat incumbent was a federalist that was first elected in 1803?\n\n### Context:\nCREATE TABLE table_2668374_18 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_2668374_18 WHERE party = \"Federalist\" AND first_elected = \"1803\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich grid has a Time/Retired of +5.004?\n\n### Context:\nCREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(grid) FROM table_name_95 WHERE time_retired = \"+5.004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year did the Hornets leave the conference?\n\n### Context:\nCREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year_left FROM table_name_68 WHERE team_name = \"hornets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Name, when Team is \"Herdez Competition\", and when Best is 1:27.432?\n\n### Context:\nCREATE TABLE table_name_88 (name VARCHAR, team VARCHAR, best VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_88 WHERE team = \"herdez competition\" AND best = \"1:27.432\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many grids had a Time/Retired of +4 laps?\n\n### Context:\nCREATE TABLE table_name_72 (grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(grid) FROM table_name_72 WHERE time_retired = \"+4 laps\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the platform of Geworkbench?\n\n### Context:\nCREATE TABLE table_25474825_1 (platform VARCHAR, software VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT platform FROM table_25474825_1 WHERE software = \"GeWorkbench\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the tournament for score in the final of 1\u20136, 3\u20136\n\n### Context:\nCREATE TABLE table_name_20 (tournament VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_20 WHERE score_in_the_final = \"1\u20136, 3\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the total number of time for luke hall overall rank being larger than 105\n\n### Context:\nCREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(time) FROM table_name_68 WHERE swimmer = \"luke hall\" AND overall_rank > 105"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest numbered game against Phoenix with a record of 29-17?\n\n### Context:\nCREATE TABLE table_name_61 (game INTEGER, opponent VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(game) FROM table_name_61 WHERE opponent = \"phoenix\" AND record = \"29-17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Date with a game with a Record of 2\u20131\u20131?\n\n### Context:\nCREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_68 WHERE record = \"2\u20131\u20131\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich School is located in Winter Park, FL (Hometown)?\n\n### Context:\nCREATE TABLE table_name_65 (school VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_65 WHERE hometown = \"winter park, fl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of gt1 winning team for rnd 5?\n\n### Context:\nCREATE TABLE table_12146068_2 (gt1_winning_team VARCHAR, rnd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gt1_winning_team) FROM table_12146068_2 WHERE rnd = 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat series had high rebounds with Marcus Camby (11)?\n\n### Context:\nCREATE TABLE table_23286158_11 (series VARCHAR, high_rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_23286158_11 WHERE high_rebounds = \"Marcus Camby (11)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the matches with home captain Graham Gooch played on the dates 3,4,5,6,7 June 1993, what was the result?\n\n### Context:\nCREATE TABLE table_name_24 (result VARCHAR, home_captain VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_24 WHERE home_captain = \"graham gooch\" AND date = \"3,4,5,6,7 june 1993\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many dates are shown for the home team of orlando pirates and result of 1\u20133?\n\n### Context:\nCREATE TABLE table_27274566_2 (date VARCHAR, home_team VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date) FROM table_27274566_2 WHERE home_team = \"Orlando Pirates\" AND result = \"1\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many election results in 2012 had a Cook PVI of D+16?\n\n### Context:\nCREATE TABLE table_19283806_4 (cook_pvi VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(2012 AS _election_results) FROM table_19283806_4 WHERE cook_pvi = \"D+16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Area (km\u00b2) when the Population (2011) was 8574, and the Population density was larger than 381.4?\n\n### Context:\nCREATE TABLE table_name_21 (area__km\u00b2_ INTEGER, population__2011_ VARCHAR, population_density VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(area__km\u00b2_) FROM table_name_21 WHERE population__2011_ = 8574 AND population_density > 381.4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Fitzroy's score when they were the home team?\n\n### Context:\nCREATE TABLE table_name_16 (home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_16 WHERE home_team = \"fitzroy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich game did was Bud Eley a player in?\n\n### Context:\nCREATE TABLE table_name_88 (games VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT games FROM table_name_88 WHERE name = \"bud eley\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Location and Attendance of Game 6?\n\n### Context:\nCREATE TABLE table_name_51 (location_attendance VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location_attendance FROM table_name_51 WHERE game = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Away team is footscray, what is the Home team playing?\n\n### Context:\nCREATE TABLE table_name_42 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_42 WHERE away_team = \"footscray\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the space where the next one was mike turnesa\n\n### Context:\nCREATE TABLE table_262383_1 (margin VARCHAR, runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT margin FROM table_262383_1 WHERE runner_s__up = \"Mike Turnesa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in the game on March 26?\n\n### Context:\nCREATE TABLE table_27756572_10 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_27756572_10 WHERE date = \"March 26\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Feb value having an opponent of the Philadelphia Flyers and is after game 63?\n\n### Context:\nCREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(february) FROM table_name_43 WHERE opponent = \"philadelphia flyers\" AND game > 63"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different years was the name/designation cetme?\n\n### Context:\nCREATE TABLE table_26389588_1 (year_of_introduction VARCHAR, name___designation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year_of_introduction) FROM table_26389588_1 WHERE name___designation = \"CETME\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has a pick less than 25 for the university of california?\n\n### Context:\nCREATE TABLE table_name_44 (position VARCHAR, pick VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_44 WHERE pick < 25 AND school = \"university of california\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the founding date if the letters are \u03ba\u03c8\u03ba?\n\n### Context:\nCREATE TABLE table_2538117_7 (founding_date VARCHAR, letters VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT founding_date FROM table_2538117_7 WHERE letters = \"\u039a\u03a8\u039a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat record has @ ottawa senators as the opponent?\n\n### Context:\nCREATE TABLE table_name_93 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_93 WHERE opponent = \"@ ottawa senators\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the home team who plays at Glenferrie Oval?\n\n### Context:\nCREATE TABLE table_name_95 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_95 WHERE venue = \"glenferrie oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which Season was the Division Washington Bullets?\n\n### Context:\nCREATE TABLE table_name_4 (season VARCHAR, division VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_4 WHERE division = \"washington bullets\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total of the first elected year of incumbent norm dicks?\n\n### Context:\nCREATE TABLE table_name_29 (first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(first_elected) FROM table_name_29 WHERE incumbent = \"norm dicks\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is listed for the Elevator that has the Elector of Gerardo?\n\n### Context:\nCREATE TABLE table_name_10 (elevator VARCHAR, elector VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT elevator FROM table_name_10 WHERE elector = \"gerardo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner?\n\n### Context:\nCREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_45 WHERE length = \"2.40km\" AND winner = \"s. loeb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich method was used in round 1 with a record of 1-0?\n\n### Context:\nCREATE TABLE table_name_89 (method VARCHAR, round VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_89 WHERE round = 1 AND record = \"1-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player with a score of 68-71=139?\n\n### Context:\nCREATE TABLE table_name_84 (player VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_84 WHERE score = 68 - 71 = 139"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the round of the match at venue A with a result of 1-2 on 7 December 2004?\n\n### Context:\nCREATE TABLE table_name_17 (round VARCHAR, date VARCHAR, venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT round FROM table_name_17 WHERE venue = \"a\" AND result = \"1-2\" AND date = \"7 december 2004\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the poor law union for area being 332\n\n### Context:\nCREATE TABLE table_30120559_1 (poor_law_union VARCHAR, area__acres__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(poor_law_union) FROM table_30120559_1 WHERE area__acres__ = 332"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did the person born 24 September 1851 pass away?\n\n### Context:\nCREATE TABLE table_name_66 (date_of_death VARCHAR, date_of_birth VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_death FROM table_name_66 WHERE date_of_birth = \"24 september 1851\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many singers do we have?\n\n### Context:\nCREATE TABLE singer (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM singer"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the player when n is 28?\n\n### Context:\nCREATE TABLE table_22810095_8 (name VARCHAR, n VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_22810095_8 WHERE n = 28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the captain of Dave Jones' team?\n\n### Context:\nCREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team AS captain FROM table_26593762_2 WHERE manager = \"Dave Jones\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich artist has a draw higher than 4 and fewer than 5 points?\n\n### Context:\nCREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT artist FROM table_name_7 WHERE draw > 4 AND points < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the crowd attendance when the home team was Melbourne?\n\n### Context:\nCREATE TABLE table_name_73 (crowd VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(crowd) FROM table_name_73 WHERE home_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777\n\n### Context:\nCREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the example with the associative type?\n\n### Context:\nCREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT example FROM table_name_56 WHERE type = \"associative\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many times is the rank higher than 3 and bronze more than 1?\n\n### Context:\nCREATE TABLE table_name_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(gold) FROM table_name_82 WHERE rank > 3 AND bronze > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Surface has a Partner of galina voskoboeva?\n\n### Context:\nCREATE TABLE table_name_45 (surface VARCHAR, partner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT surface FROM table_name_45 WHERE partner = \"galina voskoboeva\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Larry Centers' average number when there were less than 600 yards?\n\n### Context:\nCREATE TABLE table_name_23 (number INTEGER, player VARCHAR, yards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(number) FROM table_name_23 WHERE player = \"larry centers\" AND yards < 600"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the earliest year for it is in barcelona, spain?\n\n### Context:\nCREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_35 WHERE venue = \"barcelona, spain\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was the departure date when a manager was replaced by Bojan Pra\u0161nikar?\n\n### Context:\nCREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_departure FROM table_name_41 WHERE replaced_by = \"bojan pra\u0161nikar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich High assists have a Game larger than 21, and a Record of 18-6?\n\n### Context:\nCREATE TABLE table_name_21 (high_assists VARCHAR, game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_assists FROM table_name_21 WHERE game > 21 AND record = \"18-6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Rank, when Event is \"LAPT3 Punta Del Este\"?\n\n### Context:\nCREATE TABLE table_name_65 (rank VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_65 WHERE event = \"lapt3 punta del este\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen 60,254 (58.0) is the toll poll percentage what is the for percentage?\n\n### Context:\nCREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, total_poll___percentage_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT for___percentage_ FROM table_20683381_3 WHERE total_poll___percentage_ = \"60,254 (58.0)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the championship where 6\u20131, 3\u20136, 3\u20136 is the score in the final?\n\n### Context:\nCREATE TABLE table_26202847_6 (championship VARCHAR, score_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT championship FROM table_26202847_6 WHERE score_in_the_final = \"6\u20131, 3\u20136, 3\u20136\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Points have a January of 18?\n\n### Context:\nCREATE TABLE table_name_88 (points VARCHAR, january VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_88 WHERE january = 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school is in Ligonier?\n\n### Context:\nCREATE TABLE table_name_11 (school VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_11 WHERE location = \"ligonier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result of judge 6?\n\n### Context:\nCREATE TABLE table_19744915_16 (result VARCHAR, judges VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_19744915_16 WHERE judges = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player had a place of T4?\n\n### Context:\nCREATE TABLE table_name_62 (player VARCHAR, place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_62 WHERE place = \"t4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school did the player attend who's hometown was Montvale, NJ?\n\n### Context:\nCREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_11677100_18 WHERE hometown = \"Montvale, NJ\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the school that jason fraser went to\n\n### Context:\nCREATE TABLE table_name_14 (school VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_14 WHERE player = \"jason fraser\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for 17 April 2013?\n\n### Context:\nCREATE TABLE table_name_33 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_33 WHERE date = \"17 april 2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the first name and major of the students who are not allegry to soy.\n\n### Context:\nCREATE TABLE Has_allergy (fname VARCHAR, major VARCHAR, StuID VARCHAR, Allergy VARCHAR); CREATE TABLE Student (fname VARCHAR, major VARCHAR, StuID VARCHAR, Allergy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fname, major FROM Student WHERE NOT StuID IN (SELECT StuID FROM Has_allergy WHERE Allergy = \"Soy\")"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many kids stay in the room DAMIEN TRACHSEL checked in on Sep 21, 2010?\n\n### Context:\nCREATE TABLE Reservations (Kids VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Kids FROM Reservations WHERE CheckIn = \"2010-09-21\" AND FirstName = \"DAMIEN\" AND LastName = \"TRACHSEL\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the region for the album with a catalog number of 7567-83061-2?\n\n### Context:\nCREATE TABLE table_name_60 (region VARCHAR, catalog__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT region FROM table_name_60 WHERE catalog__number = \"7567-83061-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat type of institution is San Diego Christian college? \n\n### Context:\nCREATE TABLE table_2562113_1 (type VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_2562113_1 WHERE institution = \"San Diego Christian College\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen the number of spectator are 5.28 millions, which is the smallest number of the episode in series? \n\n### Context:\nCREATE TABLE table_23117208_3 (no_in_series INTEGER, viewers__millions_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = \"5.28\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Height has a Position of c, and a Player of yiannis bourousis?\n\n### Context:\nCREATE TABLE table_name_50 (height INTEGER, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(height) FROM table_name_50 WHERE position = \"c\" AND player = \"yiannis bourousis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game with a record of 37\u201326\u20139?\n\n### Context:\nCREATE TABLE table_name_5 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_5 WHERE record = \"37\u201326\u20139\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen rider John Hopkins had 21 laps, what was the grid?\n\n### Context:\nCREATE TABLE table_name_20 (grid VARCHAR, laps VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT grid FROM table_name_20 WHERE laps = \"21\" AND rider = \"john hopkins\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?\n\n### Context:\nCREATE TABLE table_name_8 (draws INTEGER, goal_difference VARCHAR, points VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(draws) FROM table_name_8 WHERE points = 31 AND wins > 12 AND goal_difference < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opponent has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3\u20133?\n\n### Context:\nCREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = \"mile high stadium\" AND record = \"3\u20133\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the MPEG-2 of yes and MPEG-1 of yes\n\n### Context:\nCREATE TABLE table_name_86 (realvideo VARCHAR, mpeg_2 VARCHAR, mpeg_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT realvideo FROM table_name_86 WHERE mpeg_2 = \"yes\" AND mpeg_1 = \"yes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date had a margin victory of 2 strokes?\n\n### Context:\nCREATE TABLE table_name_91 (date VARCHAR, margin_of_victory VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_91 WHERE margin_of_victory = \"2 strokes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen were the members tenured in the Field school?\n\n### Context:\nCREATE TABLE table_28051859_3 (tenure VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tenure FROM table_28051859_3 WHERE school = \"Field\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor the 2013 completion schedule, what is the total S.no.?\n\n### Context:\nCREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = \"2013\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the place that has a Callsign of DWRJ-FM?\n\n### Context:\nCREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_77 WHERE callsign = \"dwrj-fm\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the difference related to 2 losses and fewer than 10 points?\n\n### Context:\nCREATE TABLE table_name_51 (points_difference VARCHAR, lost VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points_difference FROM table_name_51 WHERE lost = 2 AND points < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?\n\n### Context:\nCREATE TABLE table_name_65 (year VARCHAR, venue VARCHAR, winner VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_65 WHERE winner = \"panathinaikos\" AND runner_up = \"olympiacos\" AND venue = \"nikos goumas stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the Time for the Competition of european cup and has a Venue of Moscow?\n\n### Context:\nCREATE TABLE table_name_87 (time VARCHAR, competition VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_87 WHERE competition = \"european cup\" AND venue = \"moscow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Position has a Round larger than 10, and a Name of shawn mccarthy?\n\n### Context:\nCREATE TABLE table_name_36 (position VARCHAR, round VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_36 WHERE round > 10 AND name = \"shawn mccarthy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the first elected for lost renomination democratic loss\n\n### Context:\nCREATE TABLE table_1342249_32 (first_elected VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_1342249_32 WHERE result = \"Lost renomination Democratic loss\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total of arlenes vote when craig voted for brian and karen?\n\n### Context:\nCREATE TABLE table_12305325_4 (arlenes_vote VARCHAR, craigs_vote VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = \"Brian and Karen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich location did the Tigers have?\n\n### Context:\nCREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_90 WHERE nickname = \"tigers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the tournament with a w/o score on November 5, 2007?\n\n### Context:\nCREATE TABLE table_name_62 (tournament VARCHAR, score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_62 WHERE score = \"w/o\" AND date = \"november 5, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of the player who's hometown is North Babylon, NY?\n\n### Context:\nCREATE TABLE table_20785990_2 (position VARCHAR, home_town VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_20785990_2 WHERE home_town = \"North Babylon, NY\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district is Henry Hyde in\n\n### Context:\nCREATE TABLE table_1341423_13 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_1341423_13 WHERE incumbent = \"Henry Hyde\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the First elected that has a republican party and california 4?\n\n### Context:\nCREATE TABLE table_name_4 (first_elected VARCHAR, party VARCHAR, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_elected FROM table_name_4 WHERE party = \"republican\" AND district = \"california 4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the weight of the person born in 1980?\n\n### Context:\nCREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT weight FROM table_name_63 WHERE born = \"1980\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the record for rose garden 20,565 attendance\n\n### Context:\nCREATE TABLE table_23286158_8 (record VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_23286158_8 WHERE location_attendance = \"Rose Garden 20,565\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the room temperature with no toxic materials and no ln production?\n\n### Context:\nCREATE TABLE table_name_67 (room_temperature VARCHAR, in_production VARCHAR, toxic_materials VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT room_temperature FROM table_name_67 WHERE in_production = \"no\" AND toxic_materials = \"no\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere the height range is higher than 20000.0 and the shell weight is 12.5, what is the time to feet ratio at 25 degrees?\n\n### Context:\nCREATE TABLE table_16439764_1 (time_to_ft__m__at_25\u00b0__seconds_ VARCHAR, shell__lb_ VARCHAR, max_height__ft_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_to_ft__m__at_25\u00b0__seconds_ FROM table_16439764_1 WHERE shell__lb_ = \"12.5\" AND max_height__ft_ > 20000.0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote the episode with a production code greater than 1.4 direcyed by rick wallace?\n\n### Context:\nCREATE TABLE table_name_5 (written_by VARCHAR, prod_code VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_name_5 WHERE prod_code > 1.4 AND directed_by = \"rick wallace\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many dates have boston college as the opponent?\n\n### Context:\nCREATE TABLE table_21091162_1 (date VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date) FROM table_21091162_1 WHERE opponent = \"Boston College\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the song that has a track larger than 7 and means death.\n\n### Context:\nCREATE TABLE table_name_83 (recorded VARCHAR, track VARCHAR, translation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT recorded FROM table_name_83 WHERE track > 7 AND translation = \"death\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was Saskatoon Accelerators score on January 6, 2008?\n\n### Context:\nCREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_66 WHERE home_team = \"saskatoon accelerators\" AND date = \"january 6, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the flight up for 10 december 1982 19:02:36 utc\n\n### Context:\nCREATE TABLE table_245801_1 (flight_up VARCHAR, landing_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT flight_up FROM table_245801_1 WHERE landing_date = \"10 December 1982 19:02:36 UTC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere did Geelong play as the away team?\n\n### Context:\nCREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_62 WHERE away_team = \"geelong\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the Australia march 17, 2005\n\n### Context:\nCREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT australia FROM table_name_84 WHERE japan = \"march 17, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of appointment when the date of vacancy is 21 december 2007?\n\n### Context:\nCREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_appointment FROM table_10592536_8 WHERE date_of_vacancy = \"21 December 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat as the production code for the episode directed by Robert Duncan McNeill?\n\n### Context:\nCREATE TABLE table_24319661_5 (production_code VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_24319661_5 WHERE directed_by = \"Robert Duncan McNeill\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nlist all cartoon titles and their directors ordered by their air date\n\n### Context:\nCREATE TABLE Cartoon (title VARCHAR, Directed_by VARCHAR, Original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title, Directed_by FROM Cartoon ORDER BY Original_air_date"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the rectifier for Det/Pre-amp of x and # tubes of 4\n\n### Context:\nCREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rectifier FROM table_name_69 WHERE det_pre_amp = \"x\" AND _number_tubes = \"4\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the avg start that starts at 30?\n\n### Context:\nCREATE TABLE table_1458412_1 (avg_start VARCHAR, starts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT avg_start FROM table_1458412_1 WHERE starts = 30"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat were the dates for Round 8?\n\n### Context:\nCREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_14016079_1 WHERE rd = 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest League Cup Goals, when Scorer is Denis Law?\n\n### Context:\nCREATE TABLE table_name_59 (league_cup_goals INTEGER, scorer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(league_cup_goals) FROM table_name_59 WHERE scorer = \"denis law\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the little league team from Kentucky when the little league team from Michigan was Grosse Pointe Farms-City LL Grosse Pointe Farms? \n\n### Context:\nCREATE TABLE table_18461045_1 (kentucky VARCHAR, michigan VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT kentucky FROM table_18461045_1 WHERE michigan = \"Grosse Pointe Farms-City LL Grosse Pointe Farms\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest Game, when Opponents is less than 80, and when Record is \"1-0\"?\n\n### Context:\nCREATE TABLE table_name_98 (game INTEGER, opponents VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(game) FROM table_name_98 WHERE opponents < 80 AND record = \"1-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many seasons have a premier date of January 6, 2005? \n\n### Context:\nCREATE TABLE table_2140071_5 (season VARCHAR, premier_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_2140071_5 WHERE premier_date = \"January 6, 2005\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest attendance that has oakland raiders as the opponent, with a week greater than 9?\n\n### Context:\nCREATE TABLE table_name_83 (attendance INTEGER, opponent VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(attendance) FROM table_name_83 WHERE opponent = \"oakland raiders\" AND week > 9"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school did the player that played 2004-05 attend?\n\n### Context:\nCREATE TABLE table_10015132_21 (school_club_team VARCHAR, years_in_toronto VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_10015132_21 WHERE years_in_toronto = \"2004-05\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the race in Misano?\n\n### Context:\nCREATE TABLE table_10083598_1 (date VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_10083598_1 WHERE circuit = \"Misano\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor 2006 what category has the Show of kasautii zindagii kay?\n\n### Context:\nCREATE TABLE table_name_54 (category VARCHAR, for_the_show VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT category FROM table_name_54 WHERE for_the_show = \"kasautii zindagii kay\" AND year = 2006"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the fixed charge for the user who had a tariff of 11.30?\n\n### Context:\nCREATE TABLE table_25479607_3 (fixed_charge___rs__kwh_ VARCHAR, tariff___rs__kwh_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fixed_charge___rs__kwh_ FROM table_25479607_3 WHERE tariff___rs__kwh_ = \"11.30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of November, when Game is greater than 23?\n\n### Context:\nCREATE TABLE table_name_40 (november INTEGER, game INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(november) FROM table_name_40 WHERE game > 23"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many positions have figueirense as the team, with a played greater than 38?\n\n### Context:\nCREATE TABLE table_name_39 (position VARCHAR, team VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(position) FROM table_name_39 WHERE team = \"figueirense\" AND played > 38"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the turbo when the frequency is 2.2 ghz?\n\n### Context:\nCREATE TABLE table_name_63 (turbo VARCHAR, frequency VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT turbo FROM table_name_63 WHERE frequency = \"2.2 ghz\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the D48 when D 43 is plurality \u2191??\n\n### Context:\nCREATE TABLE table_name_27 (d_48 VARCHAR, d_43 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_48 FROM table_name_27 WHERE d_43 = \"plurality \u2191\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the order of the Tokyo olympic games?\n\n### Context:\nCREATE TABLE table_name_9 (order VARCHAR, olympic_games VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT order FROM table_name_9 WHERE olympic_games = \"tokyo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the home team where Trail Blazers were the visitor?\n\n### Context:\nCREATE TABLE table_name_70 (home VARCHAR, visitor VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_70 WHERE visitor = \"trail blazers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the winner women and third is italy and runner-up is finland?\n\n### Context:\nCREATE TABLE table_1216097_7 (winner VARCHAR, third VARCHAR, runner_up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner AS Women FROM table_1216097_7 WHERE third = \"Italy\" AND runner_up = \"Finland\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Assist/pass has a Goal of 5?\n\n### Context:\nCREATE TABLE table_name_31 (assist_pass VARCHAR, goal VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT assist_pass FROM table_name_31 WHERE goal = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Date, when Outcome is \"Winner\", and when Opponents is \"Paul Haarhuis Sandon Stolle\"?\n\n### Context:\nCREATE TABLE table_name_48 (date VARCHAR, outcome VARCHAR, opponents VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_48 WHERE outcome = \"winner\" AND opponents = \"paul haarhuis sandon stolle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of the club that has the most female students.\n\n### Context:\nCREATE TABLE student (stuid VARCHAR, sex VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.sex = \"F\" GROUP BY t1.clubname ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn games where st kilda was the away team, what was the smallest crowd?\n\n### Context:\nCREATE TABLE table_name_68 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_68 WHERE away_team = \"st kilda\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Rank of the Athletes with a Time of 3:43.491?\n\n### Context:\nCREATE TABLE table_name_21 (rank VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_21 WHERE time = \"3:43.491\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the Evening that has a Sunday of no, and a Name of s. vidal/plant express?\n\n### Context:\nCREATE TABLE table_name_18 (evening VARCHAR, sunday VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT evening FROM table_name_18 WHERE sunday = \"no\" AND name = \"s. vidal/plant express\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the party with end date of 22 november 1980\n\n### Context:\nCREATE TABLE table_name_2 (party VARCHAR, end_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT party FROM table_name_2 WHERE end_date = \"22 november 1980\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich average time has eithan urbach as a name with a lane bigger than 2?\n\n### Context:\nCREATE TABLE table_name_99 (time INTEGER, name VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(time) FROM table_name_99 WHERE name = \"eithan urbach\" AND lane > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does Ed Stokes hold?\n\n### Context:\nCREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_87 WHERE player = \"ed stokes\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat game has 27-12 record?\n\n### Context:\nCREATE TABLE table_name_14 (game VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT game FROM table_name_14 WHERE record = \"27-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the track located with 18 turns?\n\n### Context:\nCREATE TABLE table_name_34 (track VARCHAR, turns VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT track FROM table_name_34 WHERE turns = \"18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition in Budapest, Hungary gave a result of 8th?\n\n### Context:\nCREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_1 WHERE position = \"8th\" AND venue = \"budapest, hungary\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen zachary sanders is the performer how many people is the music by?\n\n### Context:\nCREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = \"Zachary Sanders\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was sweden's score in T9 place?\n\n### Context:\nCREATE TABLE table_name_27 (score VARCHAR, place VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_27 WHERE place = \"t9\" AND country = \"sweden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Method has a Round of 1, and a Record of 4\u20132?\n\n### Context:\nCREATE TABLE table_name_37 (method VARCHAR, round VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT method FROM table_name_37 WHERE round = 1 AND record = \"4\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different dates of issue are the for the coin with kumsusan memorial palace on the obverse?\n\n### Context:\nCREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse = \"Kumsusan Memorial Palace\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number in series with director as Phil Abraham?\n\n### Context:\nCREATE TABLE table_26736040_1 (no_in_series INTEGER, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(no_in_series) FROM table_26736040_1 WHERE directed_by = \"Phil Abraham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Frequency MHz has a ERP W of 250?\n\n### Context:\nCREATE TABLE table_name_36 (frequency_mhz INTEGER, erp_w VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(frequency_mhz) FROM table_name_36 WHERE erp_w = 250"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the away team score at Hawthorn?\n\n### Context:\nCREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_26 WHERE home_team = \"hawthorn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many interviews were there for Miss Virginia?\n\n### Context:\nCREATE TABLE table_11690135_1 (interview VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(interview) FROM table_11690135_1 WHERE country = \"Virginia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho arranged song(s) with tom lyle on the vocal percussion?\n\n### Context:\nCREATE TABLE table_28715942_2 (arranger_s_ VARCHAR, vocal_percussionist_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT arranger_s_ FROM table_28715942_2 WHERE vocal_percussionist_s_ = \"Tom Lyle\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is from south korea and has a heat less than 3?\n\n### Context:\nCREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_44 WHERE heat < 3 AND nationality = \"south korea\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the IATA of wmkk\n\n### Context:\nCREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT iata FROM table_name_20 WHERE icao = \"wmkk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what award show was Bad Girls nominated for Best Loved Drama in 2002?\n\n### Context:\nCREATE TABLE table_name_53 (award_show VARCHAR, category VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT award_show FROM table_name_53 WHERE category = \"best loved drama\" AND year = 2002"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat are all the records with a score is w 98\u201391\n\n### Context:\nCREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_11964047_7 WHERE score = \"W 98\u201391\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the highest cuts made with wins more than 1\n\n### Context:\nCREATE TABLE table_name_5 (cuts_made INTEGER, wins INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MAX(cuts_made) FROM table_name_5 WHERE wins > 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Power (MW) has a Voltage (kV) of 500, and a Country of argentina?\n\n### Context:\nCREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = \"argentina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the fewest number of pages for the title al-jiniral fi matahatihi?\n\n### Context:\nCREATE TABLE table_name_39 (pages INTEGER, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pages) FROM table_name_39 WHERE title = \"al-jiniral fi matahatihi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich track has the original album turbulent indigo?\n\n### Context:\nCREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(track) FROM table_name_59 WHERE original_album = \"turbulent indigo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the top 3 wineries with the greatest number of wines made of white color grapes.\n\n### Context:\nCREATE TABLE GRAPES (GRAPE VARCHAR, Color VARCHAR); CREATE TABLE WINE (Winery VARCHAR, GRAPE VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Winery FROM GRAPES AS T1 JOIN WINE AS T2 ON T1.GRAPE = T2.GRAPE WHERE T1.Color = \"White\" GROUP BY T2.Winery ORDER BY COUNT(*) DESC LIMIT 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the NS with normal total of 102\n\n### Context:\nCREATE TABLE table_name_11 (ns VARCHAR, normal_total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ns FROM table_name_11 WHERE normal_total = \"102\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat home team played Fitzroy?\n\n### Context:\nCREATE TABLE table_name_57 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_57 WHERE away_team = \"fitzroy\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date for morocco when the year was lerger than 1981?\n\n### Context:\nCREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_34 WHERE year > 1981 AND location = \"morocco\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest goal difference a club with more than 13 wins, less than 8 losses, and less than 11 draws has?\n\n### Context:\nCREATE TABLE table_name_81 (goal_difference INTEGER, draws VARCHAR, wins VARCHAR, losses VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(goal_difference) FROM table_name_81 WHERE wins > 13 AND losses < 8 AND draws < 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho got the pole position if the supporting is USAC National Midget Series?\n\n### Context:\nCREATE TABLE table_25459168_2 (pole_position VARCHAR, supporting VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pole_position FROM table_25459168_2 WHERE supporting = \"USAC National Midget Series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the June 21 ncaat baseball record for Fresno State Bulldogs?\n\n### Context:\nCREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ncaat_record FROM table_18025024_7 WHERE date = \"June 21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the score for 1:36 time\n\n### Context:\nCREATE TABLE table_name_20 (score VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_20 WHERE time = \"1:36\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat driver has a grid under 12 with a Time/Retired of + 3 laps?\n\n### Context:\nCREATE TABLE table_name_87 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT driver FROM table_name_87 WHERE grid < 12 AND time_retired = \"+ 3 laps\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team that Bradford City is playing against?\n\n### Context:\nCREATE TABLE table_name_72 (home_team VARCHAR, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_name_72 WHERE away_team = \"bradford city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHen jaime aff and christine langner are the performers what is the subject?\n\n### Context:\nCREATE TABLE table_191105_3 (subject VARCHAR, performed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT subject FROM table_191105_3 WHERE performed_by = \"Jaime Aff and Christine Langner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the RR numbers of hudswell clarke and years before 1914\n\n### Context:\nCREATE TABLE table_name_15 (rr_nos VARCHAR, builder VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rr_nos FROM table_name_15 WHERE builder = \"hudswell clarke\" AND year < 1914"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average enrollment of the IHSAA A class in wolcott?\n\n### Context:\nCREATE TABLE table_name_34 (enrollment INTEGER, ihsaa_class VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(enrollment) FROM table_name_34 WHERE ihsaa_class = \"a\" AND location = \"wolcott\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Team has Laps smaller than 105, and a Grid smaller than 18, and Points of 11?\n\n### Context:\nCREATE TABLE table_name_16 (team VARCHAR, points VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_16 WHERE laps < 105 AND grid < 18 AND points = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the manager for the fc inter club?\n\n### Context:\nCREATE TABLE table_29250534_1 (manager VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT manager FROM table_29250534_1 WHERE club = \"FC Inter\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the brighton cast for andrew verala\n\n### Context:\nCREATE TABLE table_17085724_1 (brighton_cast VARCHAR, indianapolis_concerts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT brighton_cast FROM table_17085724_1 WHERE indianapolis_concerts = \"Andrew Verala\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the quantity for Inchicore of J7?\n\n### Context:\nCREATE TABLE table_name_3 (quantity_made VARCHAR, inchicore_class VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT quantity_made FROM table_name_3 WHERE inchicore_class = \"j7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Award, when Category is \"Best Actor\", and when Year is less than 1988?\n\n### Context:\nCREATE TABLE table_name_35 (award VARCHAR, category VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT award FROM table_name_35 WHERE category = \"best actor\" AND year < 1988"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat title did George Fury win when on the Oran Park Raceway?\n\n### Context:\nCREATE TABLE table_name_6 (race_title VARCHAR, winner VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race_title FROM table_name_6 WHERE winner = \"george fury\" AND circuit = \"oran park raceway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the home team score when the crowd was larger than 30,100?\n\n### Context:\nCREATE TABLE table_name_11 (home_team VARCHAR, crowd INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_11 WHERE crowd > 30 OFFSET 100"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the name of the episode whose writer is philippe browning?\n\n### Context:\nCREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_2791668_1 WHERE written_by = \"Philippe Browning\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is 1995 Grand Slam Tournament if 1996 is also grand slam tournaments?\n\n### Context:\nCREATE TABLE table_name_33 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1990 FROM table_name_33 WHERE 1996 = \"grand slam tournaments\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen Fred Funk had a to par of E, what was the score?\n\n### Context:\nCREATE TABLE table_name_95 (score VARCHAR, to_par VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_95 WHERE to_par = \"e\" AND player = \"fred funk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many Laps did Bob Wollek have?\n\n### Context:\nCREATE TABLE table_name_5 (laps INTEGER, driver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(laps) FROM table_name_5 WHERE driver = \"bob wollek\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date for Game 41?\n\n### Context:\nCREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_33 WHERE game = \"41\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich rating larger than 5 have the lowest amount of views in #3 rank with a share of 9?\n\n### Context:\nCREATE TABLE table_name_11 (viewers__millions_ INTEGER, rating VARCHAR, weekly_rank VARCHAR, share VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(viewers__millions_) FROM table_name_11 WHERE weekly_rank = \"#3\" AND share = 9 AND rating > 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat class was ren alde?\n\n### Context:\nCREATE TABLE table_22824312_1 (class VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_22824312_1 WHERE player = \"Ren Alde\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is a shooting guard?\n\n### Context:\nCREATE TABLE table_name_81 (player VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_81 WHERE position = \"shooting guard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the total saving balance for each account name.\n\n### Context:\nCREATE TABLE savings (balance INTEGER, custid VARCHAR); CREATE TABLE accounts (name VARCHAR, custid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(T2.balance), T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid GROUP BY T1.name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich highest pick number had Akeem Dent as a name and where the overall was less than 91?\n\n### Context:\nCREATE TABLE table_name_24 (pick__number INTEGER, name VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick__number) FROM table_name_24 WHERE name = \"akeem dent\" AND overall < 91"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the college for houston oilers\n\n### Context:\nCREATE TABLE table_2508633_6 (college VARCHAR, nfl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT college FROM table_2508633_6 WHERE nfl_team = \"Houston Oilers\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record for the Argonauts on September 7?\n\n### Context:\nCREATE TABLE table_24136814_3 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_24136814_3 WHERE date = \"September 7\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Soap Opera with the character Teemu Luotola?\n\n### Context:\nCREATE TABLE table_name_81 (soap_opera VARCHAR, character VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT soap_opera FROM table_name_81 WHERE character = \"teemu luotola\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game that led to a 7-5 record?\n\n### Context:\nCREATE TABLE table_name_91 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_91 WHERE record = \"7-5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the date for original week less than 16 and result of l 23\u201322\n\n### Context:\nCREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_81 WHERE original_week < 16 AND result = \"l 23\u201322\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich batter has a uni# of 31?\n\n### Context:\nCREATE TABLE table_name_17 (bats VARCHAR, uni_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT bats FROM table_name_17 WHERE uni_number = 31"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nationality has a lane of 6 and a rank smaller than 6?\n\n### Context:\nCREATE TABLE table_name_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all the names of schools with an endowment amount smaller than or equal to 10.\n\n### Context:\nCREATE TABLE school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780?\n\n### Context:\nCREATE TABLE table_name_22 (red_list VARCHAR, species_authority VARCHAR, order VARCHAR, family VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT red_list FROM table_name_22 WHERE order = \"artiodactyla\" AND family = \"cervidae\" AND species_authority = \"odocoileus virginianus zimmermann, 1780\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player went to DePaul University?\n\n### Context:\nCREATE TABLE table_name_80 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_80 WHERE college = \"depaul\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many bids does Atlantic 10 have?\n\n### Context:\nCREATE TABLE table_name_98 (_number_of_bids VARCHAR, conference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _number_of_bids FROM table_name_98 WHERE conference = \"atlantic 10\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the ids, scores, and dates of the games which caused at least two injury accidents?\n\n### Context:\nCREATE TABLE game (id VARCHAR, score VARCHAR, date VARCHAR); CREATE TABLE injury_accident (game_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.id, T1.score, T1.date FROM game AS T1 JOIN injury_accident AS T2 ON T2.game_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score for the game with a record of 38-18?\n\n### Context:\nCREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_84 WHERE record = \"38-18\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the runner(s)-up with a winning score of \u22125 (72-71-68=211)?\n\n### Context:\nCREATE TABLE table_name_48 (runner_s__up VARCHAR, winning_score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT runner_s__up FROM table_name_48 WHERE winning_score = \u22125(72 - 71 - 68 = 211)"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Type of museum is the Valdez museum?\n\n### Context:\nCREATE TABLE table_name_73 (type VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT type FROM table_name_73 WHERE name = \"valdez museum\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when the attendance was 25,418?\n\n### Context:\nCREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_99 WHERE attendance = \"25,418\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date with the catalogue # cocy-80093?\n\n### Context:\nCREATE TABLE table_name_37 (date VARCHAR, catalogue__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_37 WHERE catalogue__number = \"cocy-80093\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score in Tie number 16?\n\n### Context:\nCREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_16 WHERE tie_no = \"16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the stage with a point classification of Silvio Martinello and Davide Rebellin as the general classification?\n\n### Context:\nCREATE TABLE table_name_56 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stage FROM table_name_56 WHERE points_classification = \"silvio martinello\" AND general_classification = \"davide rebellin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich tie number had a home team of Derby County?\n\n### Context:\nCREATE TABLE table_name_52 (tie_no VARCHAR, home_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tie_no FROM table_name_52 WHERE home_team = \"derby county\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team's manager was replaced by Ercan Ertem\u00e7\u00f6z?\n\n### Context:\nCREATE TABLE table_27091128_2 (team VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_27091128_2 WHERE replaced_by = \"Ercan Ertem\u00e7\u00f6z\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date had the patent number US plant patent 12098?\n\n### Context:\nCREATE TABLE table_name_97 (date VARCHAR, plant_patent_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_97 WHERE plant_patent_number = \"us plant patent 12098\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nLocation of boston garden, and a Record of 58-23 involved what opponent?\n\n### Context:\nCREATE TABLE table_name_34 (opponent VARCHAR, location VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_34 WHERE location = \"boston garden\" AND record = \"58-23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFor which tournament was Anthony Wall the runner-up?\n\n### Context:\nCREATE TABLE table_name_11 (tournament VARCHAR, runner_s__up VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_11 WHERE runner_s__up = \"anthony wall\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the First Publisher prior to 1999?\n\n### Context:\nCREATE TABLE table_name_31 (first_publisher VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT first_publisher FROM table_name_31 WHERE year < 1999"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the label for US region and catalog of 10008-2\n\n### Context:\nCREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_2 WHERE region = \"us\" AND catalog = \"10008-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all team names.\n\n### Context:\nCREATE TABLE Team (Name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM Team"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere the mantra is \"o\u1e43 ya\u1e43 v\u0101yuve nama\u1e25\", what is the direction of the guardian?\n\n### Context:\nCREATE TABLE table_100518_1 (direction VARCHAR, mantra VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT direction FROM table_100518_1 WHERE mantra = \"O\u1e43 Ya\u1e43 V\u0101yuve Nama\u1e25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest birth/2013 when the death/2012 is 14,1?\n\n### Context:\nCREATE TABLE table_25703_1 (birth_2013 INTEGER, death_2012 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(birth_2013) FROM table_25703_1 WHERE death_2012 = \"14,1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the release date of model number CORE I7-940?\n\n### Context:\nCREATE TABLE table_name_27 (release_date VARCHAR, model_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_date FROM table_name_27 WHERE model_number = \"core i7-940\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the tongyong for chinese of \u6e56\u5167\u5340\n\n### Context:\nCREATE TABLE table_17015_2 (tongyong VARCHAR, chinese VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tongyong FROM table_17015_2 WHERE chinese = \"\u6e56\u5167\u5340\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many general elections that have won smaller than 23 with candidates larger than 108?\n\n### Context:\nCREATE TABLE table_name_95 (general_election VARCHAR, _number_of_seats_won VARCHAR, _number_of_candidates VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(general_election) FROM table_name_95 WHERE _number_of_seats_won < 23 AND _number_of_candidates > 108"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player is pick 64?\n\n### Context:\nCREATE TABLE table_2897457_4 (player VARCHAR, pick__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_2897457_4 WHERE pick__number = 64"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the most attendance\n\n### Context:\nCREATE TABLE table_26401898_2 (attendance INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_26401898_2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of distinct publication dates?\n\n### Context:\nCREATE TABLE publication (Publication_Date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(DISTINCT Publication_Date) FROM publication"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich university is in Los Angeles county and opened after 1950?\n\n### Context:\nCREATE TABLE campuses (campus VARCHAR, county VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT campus FROM campuses WHERE county = \"Los Angeles\" AND YEAR > 1950"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent when the series was at 1-3?\n\n### Context:\nCREATE TABLE table_name_86 (opponent VARCHAR, series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_86 WHERE series = \"1-3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did Mathieu play against Flavio Cipolla?\n\n### Context:\nCREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_60 WHERE opponent_in_the_final = \"flavio cipolla\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Against has Losses larger than 10, and Wins smaller than 4, and a Club of dunolly?\n\n### Context:\nCREATE TABLE table_name_38 (against INTEGER, club VARCHAR, losses VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(against) FROM table_name_38 WHERE losses > 10 AND wins < 4 AND club = \"dunolly\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the water depth that entered service in 2001 named Cajun Express?\n\n### Context:\nCREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT water_depth FROM table_name_11 WHERE entered_service = \"2001\" AND name = \"cajun express\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me constructor for Laps less than 17 and Grid more than 11 for alan jones\n\n### Context:\nCREATE TABLE table_name_52 (constructor VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_52 WHERE laps < 17 AND grid > 11 AND driver = \"alan jones\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the titles of episodes written by Eric Trueheart?\n\n### Context:\nCREATE TABLE table_29087004_3 (title VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_29087004_3 WHERE written_by = \"Eric Trueheart\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich circuit was held on May 7 for 1 hour?\n\n### Context:\nCREATE TABLE table_name_24 (circuit VARCHAR, date VARCHAR, length VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT circuit FROM table_name_24 WHERE date = \"may 7\" AND length = \"1 hour\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the stadium in Adelaide, South Australia built for? \n\n### Context:\nCREATE TABLE table_28885977_1 (built_for VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT built_for FROM table_28885977_1 WHERE location = \"Adelaide, South Australia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5?\n\n### Context:\nCREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name of the organization that has published the largest number of papers.\n\n### Context:\nCREATE TABLE inst (name VARCHAR, instid VARCHAR); CREATE TABLE authorship (instid VARCHAR, paperid VARCHAR); CREATE TABLE papers (paperid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT t1.name FROM inst AS t1 JOIN authorship AS t2 ON t1.instid = t2.instid JOIN papers AS t3 ON t2.paperid = t3.paperid GROUP BY t1.name ORDER BY COUNT(*) DESC LIMIT 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich team picked from South Carolina college?\n\n### Context:\nCREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nfl_team FROM table_14649522_1 WHERE college = \"South Carolina\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest place of a swimmer from the Netherlands?\n\n### Context:\nCREATE TABLE table_name_75 (rank INTEGER, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(rank) FROM table_name_75 WHERE nationality = \"netherlands\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Group position for the date of 7 November 2007?\n\n### Context:\nCREATE TABLE table_name_9 (group_position VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT group_position FROM table_name_9 WHERE date = \"7 november 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich airport has IATA of BKK?\n\n### Context:\nCREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airport FROM table_name_59 WHERE iata = \"bkk\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score of the game on June 1?\n\n### Context:\nCREATE TABLE table_name_38 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_38 WHERE date = \"june 1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the production code directed by Matt Shakman?\n\n### Context:\nCREATE TABLE table_23799417_1 (production_code VARCHAR, directed_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT production_code FROM table_23799417_1 WHERE directed_by = \"Matt Shakman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup?\n\n### Context:\nCREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = \"Dave Clark\" AND gm_winning_team = \"Stuart Northrup\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of parish for vilnes kyrkje\n\n### Context:\nCREATE TABLE table_178399_1 (parish__prestegjeld_ VARCHAR, church_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(parish__prestegjeld_) FROM table_178399_1 WHERE church_name = \"Vilnes kyrkje\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the air date the had atlasphere for event 1 before episode 11?\n\n### Context:\nCREATE TABLE table_name_89 (air_date VARCHAR, episode_number VARCHAR, event_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT air_date FROM table_name_89 WHERE episode_number < 11 AND event_1 = \"atlasphere\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Title has a Length of 3:32, and a Producer(s) of hadise a\u00e7\u0131kg\u00f6z, yves jongen?\n\n### Context:\nCREATE TABLE table_name_91 (title VARCHAR, length VARCHAR, producer_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_name_91 WHERE length = \"3:32\" AND producer_s_ = \"hadise a\u00e7\u0131kg\u00f6z, yves jongen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner after 2011?\n\n### Context:\nCREATE TABLE table_name_81 (winner VARCHAR, year INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_name_81 WHERE year > 2011"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's Bulgaria's lane with a time more than 21.55?\n\n### Context:\nCREATE TABLE table_name_28 (lane INTEGER, nationality VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(lane) FROM table_name_28 WHERE nationality = \"bulgaria\" AND time > 21.55"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Label of the CD released in Germany on June 6, 2005?\n\n### Context:\nCREATE TABLE table_name_8 (label VARCHAR, format VARCHAR, date VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT label FROM table_name_8 WHERE date = \"june 6, 2005\" AND region = \"germany\" AND format = \"cd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date did the episode air when guy grossi won?\n\n### Context:\nCREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT airdate FROM table_29281529_2 WHERE winner = \"Guy Grossi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Name, when Venue is \"Motherwell\"?\n\n### Context:\nCREATE TABLE table_name_71 (name VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_name_71 WHERE venue = \"motherwell\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the 1984 Olympics hosted?\n\n### Context:\nCREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tournament FROM table_name_29 WHERE year = 1984"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat average silver has belarus as the nation, with a total less than 1?\n\n### Context:\nCREATE TABLE table_name_23 (silver INTEGER, nation VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(silver) FROM table_name_23 WHERE nation = \"belarus\" AND total < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had 2 WSOP cashes and was 6th in final place?\n\n### Context:\nCREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name FROM table_23696862_6 WHERE wsop_cashes = 2 AND final_place = \"6th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the P for the player moving from Everton?\n\n### Context:\nCREATE TABLE table_17596418_4 (p VARCHAR, moving_from VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT p FROM table_17596418_4 WHERE moving_from = \"Everton\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the home team when the opposition is east coast?\n\n### Context:\nCREATE TABLE table_26847237_3 (home_team VARCHAR, opposition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team FROM table_26847237_3 WHERE opposition = \"East Coast\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat team visited the Jacksonville Municipal Stadium?\n\n### Context:\nCREATE TABLE table_name_10 (visiting_team VARCHAR, stadium VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_10 WHERE stadium = \"jacksonville municipal stadium\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position has over 0 wins and under 3 podiums?\n\n### Context:\nCREATE TABLE table_name_16 (position VARCHAR, wins VARCHAR, podiums VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_16 WHERE wins > 0 AND podiums < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what year did the winner of the FIS championship in 1982 win the Winter Olympics?\n\n### Context:\nCREATE TABLE table_174491_1 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winter_olympics FROM table_174491_1 WHERE fis_nordic_world_ski_championships = \"1982\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the Result F\u2013A on 21 February 2009, when the league position was 1st?\n\n### Context:\nCREATE TABLE table_name_55 (result_f_a VARCHAR, league_position VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result_f_a FROM table_name_55 WHERE league_position = \"1st\" AND date = \"21 february 2009\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Status of the Paris with a Census Ranking of 3,474 of 5,008?\n\n### Context:\nCREATE TABLE table_name_2 (status VARCHAR, census_ranking VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_2 WHERE census_ranking = \"3,474 of 5,008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich school did player Rodney Purvis belong to?\n\n### Context:\nCREATE TABLE table_name_32 (school VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_name_32 WHERE player = \"rodney purvis\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat tyres are associated with a year after 1974 and 5 points?\n\n### Context:\nCREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tyres FROM table_name_37 WHERE year > 1974 AND points = \"5\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich office has kieran o'doherty as the conservative ticket?\n\n### Context:\nCREATE TABLE table_name_28 (office VARCHAR, conservative_ticket VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT office FROM table_name_28 WHERE conservative_ticket = \"kieran o'doherty\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was John Hildreth's speed?\n\n### Context:\nCREATE TABLE table_name_55 (speed VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT speed FROM table_name_55 WHERE rider = \"john hildreth\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest attendance that has l 42-35 as the result, with a week less than 13?\n\n### Context:\nCREATE TABLE table_name_82 (attendance INTEGER, result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_name_82 WHERE result = \"l 42-35\" AND week < 13"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of results for james shannon?\n\n### Context:\nCREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = \"James Shannon\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the largest vote result if loss/gain is -0.5%?\n\n### Context:\nCREATE TABLE table_25818630_1 (result___votes INTEGER, loss_gain VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(result___votes) FROM table_25818630_1 WHERE loss_gain = \"-0.5%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Series has a Site of ames and a Sport of w gymnastics?\n\n### Context:\nCREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT series FROM table_name_13 WHERE site = \"ames\" AND sport = \"w gymnastics\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Engine has a Team of Chesterfield Racing and include a Chassis of March 761?\n\n### Context:\nCREATE TABLE table_name_51 (engine VARCHAR, team VARCHAR, chassis VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_51 WHERE team = \"chesterfield racing\" AND chassis = \"march 761\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho wrote episode number 81 in the series?\n\n### Context:\nCREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_25604014_5 WHERE no_in_series = 81"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nPick larger than 229, and a Round smaller than 12, and a Position of defensive back is what school/club team?\n\n### Context:\nCREATE TABLE table_name_66 (school_club_team VARCHAR, position VARCHAR, pick VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school_club_team FROM table_name_66 WHERE pick > 229 AND round < 12 AND position = \"defensive back\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the real name of the movie about love?\n\n### Context:\nCREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = \"love\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of participating parties when registered voters totaled 643629?\n\n### Context:\nCREATE TABLE table_2676980_4 (participating_parties VARCHAR, registered_voters VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(participating_parties) FROM table_2676980_4 WHERE registered_voters = 643629"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score of the team that plays in lake oval?\n\n### Context:\nCREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_85 WHERE venue = \"lake oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the pick for alfred morris when the overall is less than 217, and the round is smaller than 6?\n\n### Context:\nCREATE TABLE table_name_49 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(pick) FROM table_name_49 WHERE overall < 217 AND name = \"alfred morris\" AND round < 6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what urban area is the 2011 population 21561? \n\n### Context:\nCREATE TABLE table_1940144_1 (urban_area VARCHAR, population_2011 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT urban_area FROM table_1940144_1 WHERE population_2011 = 21561"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwho is the opponent when the streak is won 9 on april 13, 1990?\n\n### Context:\nCREATE TABLE table_name_3 (opponent VARCHAR, streak VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_3 WHERE streak = \"won 9\" AND date = \"april 13, 1990\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Film Festival had participants/recipients of Isao Tomita?\n\n### Context:\nCREATE TABLE table_26282750_1 (film_festival VARCHAR, participants_recipients VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT film_festival FROM table_26282750_1 WHERE participants_recipients = \"Isao Tomita\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the 2007 with ch callaway's copyright in 2003?\n\n### Context:\nCREATE TABLE table_name_92 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 2007 FROM table_name_92 WHERE 2003 = \"ch callaway's copyright\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total when the league is less than 1?\n\n### Context:\nCREATE TABLE table_name_89 (total VARCHAR, league INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT total FROM table_name_89 WHERE league < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent on August 30?\n\n### Context:\nCREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_16 WHERE date = \"august 30\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the manager that was replaced by Michael Oenning?\n\n### Context:\nCREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT outgoing_manager FROM table_name_62 WHERE replaced_by = \"michael oenning\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country has the player Johnny Miller?\n\n### Context:\nCREATE TABLE table_name_58 (country VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_58 WHERE player = \"johnny miller\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Release price (USD ) has a GPU frequency of 650\u20131150 mhz and a sSpec number of sr0pq(e1)?\n\n### Context:\nCREATE TABLE table_name_20 (release_price___usd__ VARCHAR, gpu_frequency VARCHAR, sspec_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT release_price___usd__ FROM table_name_20 WHERE gpu_frequency = \"650\u20131150 mhz\" AND sspec_number = \"sr0pq(e1)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was Alianza's first season in first division with a promotion after 1959?\n\n### Context:\nCREATE TABLE table_name_63 (first_season_in_first_division VARCHAR, first_season_after_most_recent_promotion VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_season_in_first_division FROM table_name_63 WHERE first_season_after_most_recent_promotion = \"1959\" AND name = \"alianza\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the country of the player with a score less than 68?\n\n### Context:\nCREATE TABLE table_name_40 (country VARCHAR, score INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT country FROM table_name_40 WHERE score < 68"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many players played for adams state school?\n\n### Context:\nCREATE TABLE table_10960039_6 (player VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(player) FROM table_10960039_6 WHERE college = \"Adams State\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat status has 15/04/1967 as the date?\n\n### Context:\nCREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT status FROM table_name_33 WHERE date = \"15/04/1967\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest positioned club with points greater than 40, 16 wins and losses less than 3?\n\n### Context:\nCREATE TABLE table_name_45 (position INTEGER, loses VARCHAR, points VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(position) FROM table_name_45 WHERE points > 40 AND wins = 16 AND loses < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhich Helium has a Argon of \u2212189.6?\n\n### Context:\nCREATE TABLE table_name_54 (helium VARCHAR, argon VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT helium FROM table_name_54 WHERE argon = \"\u2212189.6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the record 21-11?\n\n### Context:\nCREATE TABLE table_name_43 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_43 WHERE record = \"21-11\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many finalists were there when the years won was 2008 and the won % was greater than 33?\n\n### Context:\nCREATE TABLE table_name_47 (finalists INTEGER, years_won VARCHAR, _percentage_won VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(finalists) FROM table_name_47 WHERE years_won = \"2008\" AND _percentage_won > 33"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the lowest number of ties when the losses is 7 and games played is less than 10?\n\n### Context:\nCREATE TABLE table_name_10 (ties INTEGER, losses VARCHAR, games_played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(ties) FROM table_name_10 WHERE losses = 7 AND games_played < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow tall is the player from Chicago, IL?\n\n### Context:\nCREATE TABLE table_name_48 (height VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_name_48 WHERE hometown = \"chicago, il\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the registration of the station with a retained type and a station number of c03?\n\n### Context:\nCREATE TABLE table_name_27 (registrations VARCHAR, type VARCHAR, station_number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT registrations FROM table_name_27 WHERE type = \"retained\" AND station_number = \"c03\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the assists for the year 1995?\n\n### Context:\nCREATE TABLE table_name_66 (assists VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT assists FROM table_name_66 WHERE year = \"1995\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the Winning Applicant of Ensemble Name Muxco Lincolnshire in Block 10D?\n\n### Context:\nCREATE TABLE table_name_45 (winning_applicant VARCHAR, block VARCHAR, ensemble_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winning_applicant FROM table_name_45 WHERE block = \"10d\" AND ensemble_name = \"muxco lincolnshire\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Dennis Kucinich, when % of All is \"53%\"?\n\n### Context:\nCREATE TABLE table_name_38 (dennis_kucinich VARCHAR, _percentage_of_all VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT dennis_kucinich FROM table_name_38 WHERE _percentage_of_all = \"53%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nRole of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author?\n\n### Context:\nCREATE TABLE table_name_62 (author VARCHAR, release_air_date VARCHAR, role VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT author FROM table_name_62 WHERE role = \"narrator\" AND year > 2009 AND release_air_date = \"7 october 2010\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was Constructor for rider Marco Melandri?\n\n### Context:\nCREATE TABLE table_name_76 (constructor VARCHAR, rider VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT constructor FROM table_name_76 WHERE rider = \"marco melandri\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every value for viewers for ranking #51 for the Tuesday 9:00 p.m. timeslot?\n\n### Context:\nCREATE TABLE table_175980_2 (viewers__in_millions_ VARCHAR, ranking VARCHAR, timeslot VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT viewers__in_millions_ FROM table_175980_2 WHERE ranking = \"#51\" AND timeslot = \"Tuesday 9:00 p.m.\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district has abhayapuri south as the name?\n\n### Context:\nCREATE TABLE table_name_41 (district VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_41 WHERE name = \"abhayapuri south\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the seq is 41, what is the ability to compromise?\n\n### Context:\nCREATE TABLE table_1855342_5 (ability_to_compromise INTEGER, seq VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(ability_to_compromise) FROM table_1855342_5 WHERE seq = \"41\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nScore of 122\u2013105 had what record?\n\n### Context:\nCREATE TABLE table_name_68 (record VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_68 WHERE score = \"122\u2013105\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of games of the player with a rank less than 1?\n\n### Context:\nCREATE TABLE table_name_55 (games INTEGER, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(games) FROM table_name_55 WHERE rank < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many men from the Ukraine?\n\n### Context:\nCREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = \"Ukraine\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of points for 44 game and january more than 15\n\n### Context:\nCREATE TABLE table_name_78 (points VARCHAR, game VARCHAR, january VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(points) FROM table_name_78 WHERE game = 44 AND january > 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Opponent, when Rank is 3?\n\n### Context:\nCREATE TABLE table_name_87 (opponent VARCHAR, rank VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_87 WHERE rank = \"3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the first party for Lord John Hay earlier than 1857?\n\n### Context:\nCREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = \"lord john hay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.\n\n### Context:\nCREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics')"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was god & guns released?\n\n### Context:\nCREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_release FROM table_name_15 WHERE title = \"god & guns\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow all ages and corresponding number of students.\n\n### Context:\nCREATE TABLE Student (age VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT age, COUNT(*) FROM Student GROUP BY age"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow was the episode seen by 2.26 million HK viewers ranked?\n\n### Context:\nCREATE TABLE table_19210674_1 (rank VARCHAR, hk_viewers VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_19210674_1 WHERE hk_viewers = \"2.26 million\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many discs for the complete 4th series?\n\n### Context:\nCREATE TABLE table_17798548_4 (_number_of_discs INTEGER, season VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(_number_of_discs) FROM table_17798548_4 WHERE season = \"The Complete 4th Series\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the virtual callsign if is wnet\n\n### Context:\nCREATE TABLE table_1979203_1 (_virtual_ VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT _virtual_ FROM table_1979203_1 WHERE callsign = \"WNET\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of turns for the City of san antonio?\n\n### Context:\nCREATE TABLE table_name_35 (turns VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT turns FROM table_name_35 WHERE city = \"san antonio\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest top 10 with fewer than 4 wins, fewer than 3260 points and more than 0 for top 5?\n\n### Context:\nCREATE TABLE table_name_29 (top_10 INTEGER, top_5 VARCHAR, wins VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(top_10) FROM table_name_29 WHERE wins < 4 AND points < 3260 AND top_5 > 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the event for the year less than 1913 with the position of 2nd?\n\n### Context:\nCREATE TABLE table_name_60 (event VARCHAR, year VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_60 WHERE year < 1913 AND position = \"2nd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average react for a rank more than 8?\n\n### Context:\nCREATE TABLE table_name_36 (react INTEGER, rank INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT AVG(react) FROM table_name_36 WHERE rank > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat competition had a score of 8-1?\n\n### Context:\nCREATE TABLE table_name_78 (competition VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_78 WHERE score = \"8-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat district has 213 constituents?\n\n### Context:\nCREATE TABLE table_29785324_5 (district VARCHAR, constituency_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(district) FROM table_29785324_5 WHERE constituency_no = 213"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn which event did Moradi compete and finish in 2nd at the Asian Championships in Kobe, Japan held after 2005?\n\n### Context:\nCREATE TABLE table_name_21 (event VARCHAR, venue VARCHAR, position VARCHAR, year VARCHAR, competition VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_21 WHERE year > 2005 AND competition = \"asian championships\" AND position = \"2nd\" AND venue = \"kobe, japan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen was incumbent John N. Tillman first elected?\n\n### Context:\nCREATE TABLE table_1346118_4 (first_elected INTEGER, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(first_elected) FROM table_1346118_4 WHERE incumbent = \"John N. Tillman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many points does the player with 2 steals have?\n\n### Context:\nCREATE TABLE table_24912693_4 (points VARCHAR, steals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT points FROM table_24912693_4 WHERE steals = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich league has an FA cup greater than 0, with a total greater than 21?\n\n### Context:\nCREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the Away team is melbourne, what's the lowest Crowd attended?\n\n### Context:\nCREATE TABLE table_name_42 (crowd INTEGER, away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(crowd) FROM table_name_42 WHERE away_team = \"melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many previous years did Maebashi Ikuei high school have a total number of 1 participation?\n\n### Context:\nCREATE TABLE table_2518850_4 (year_of_previous_participation VARCHAR, total_number_of_participation VARCHAR, high_school_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year_of_previous_participation) FROM table_2518850_4 WHERE total_number_of_participation = 1 AND high_school_name = \"Maebashi Ikuei\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen the face value is 42\u00a2, what was the issue's date?\n\n### Context:\nCREATE TABLE table_15635768_1 (date_of_issue VARCHAR, face_value VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_issue FROM table_15635768_1 WHERE face_value = \"42\u00a2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat date was the United States the region?\n\n### Context:\nCREATE TABLE table_name_25 (date VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_25 WHERE region = \"united states\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nfor the robot black nickname, what framed size is used\n\n### Context:\nCREATE TABLE table_15070195_1 (framed_size VARCHAR, nickname VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT framed_size FROM table_15070195_1 WHERE nickname = \"Robot Black\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho were the authors of series episode #25?\n\n### Context:\nCREATE TABLE table_12030612_3 (written_by VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT written_by FROM table_12030612_3 WHERE series__number = 25"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich TV station had a Romaji Title Maou?\n\n### Context:\nCREATE TABLE table_name_64 (tv_station VARCHAR, romaji_title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT tv_station FROM table_name_64 WHERE romaji_title = \"maou\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat chassis did the BRM V8 engine have?\n\n### Context:\nCREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT chassis FROM table_name_92 WHERE engine = \"brm v8\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total amount of money that the United States one with a To par of \u20132?\n\n### Context:\nCREATE TABLE table_name_93 (money___ VARCHAR, country VARCHAR, to_par VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(money___) AS $__ FROM table_name_93 WHERE country = \"united states\" AND to_par = \"\u20132\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWHAT IS THE AVERAGE DATE FOR CBS LABEL, IN AUSTRALIA, AND SBP 241031 FOR CATALOG?\n\n### Context:\nCREATE TABLE table_name_80 (date INTEGER, catalog VARCHAR, label VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(date) FROM table_name_80 WHERE label = \"cbs\" AND region = \"australia\" AND catalog = \"sbp 241031\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Pick, when Player is \"Dexter Bailey\"?\n\n### Context:\nCREATE TABLE table_name_34 (pick VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick FROM table_name_34 WHERE player = \"dexter bailey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what place was the song that had a draw of 3?\n\n### Context:\nCREATE TABLE table_name_54 (place VARCHAR, draw VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_54 WHERE draw = 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Branding of the Iloilo City Frequency with a Power of 10 Kw?\n\n### Context:\nCREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT branding FROM table_name_38 WHERE power = \"10 kw\" AND location = \"iloilo city\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score from the game where Algeria is the opponent at Porto-Novo?\n\n### Context:\nCREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_28 WHERE opponent = \"algeria\" AND location = \"porto-novo\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many codes have a density of 621.68, and a Land area (hectares) larger than 75.28?\n\n### Context:\nCREATE TABLE table_name_24 (code INTEGER, density__inh_km\u00b2_ VARCHAR, land_area__hectares_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(code) FROM table_name_24 WHERE density__inh_km\u00b2_ = 621.68 AND land_area__hectares_ > 75.28"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Edges have a Dual Archimedean solid of truncated icosidodecahedron, and Vertices larger than 62?\n\n### Context:\nCREATE TABLE table_name_29 (edges INTEGER, dual_archimedean_solid VARCHAR, vertices VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(edges) FROM table_name_29 WHERE dual_archimedean_solid = \"truncated icosidodecahedron\" AND vertices > 62"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the point low with 2 grids?\n\n### Context:\nCREATE TABLE table_name_88 (points INTEGER, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_88 WHERE grid = \"2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many years have an Award of venice film festival, and a Title of lust, caution?\n\n### Context:\nCREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(year) FROM table_name_73 WHERE award = \"venice film festival\" AND title = \"lust, caution\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nTell me the Ryuji Hijikata for Block A of Ryuji Hijikata\n\n### Context:\nCREATE TABLE table_name_72 (ryuji_hijikata VARCHAR, block_a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ryuji_hijikata FROM table_name_72 WHERE block_a = \"ryuji hijikata\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat conference has mayville state as the school?\n\n### Context:\nCREATE TABLE table_name_71 (conference VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT conference FROM table_name_71 WHERE school = \"mayville state\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the serial format for white on blue with a serial issued of ss-00-00 to zz-99-99?\n\n### Context:\nCREATE TABLE table_name_72 (serial_format VARCHAR, design VARCHAR, serials_issued VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT serial_format FROM table_name_72 WHERE design = \"white on blue\" AND serials_issued = \"ss-00-00 to zz-99-99\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total amount of money spent by Lucas Mancini?\n\n### Context:\nCREATE TABLE invoices (total INTEGER, customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(T2.total) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = \"Lucas\" AND T1.last_name = \"Mancini\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich incumbent was first elected in 1972? \n\n### Context:\nCREATE TABLE table_1341453_37 (incumbent VARCHAR, first_elected VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT incumbent FROM table_1341453_37 WHERE first_elected = 1972"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of points with games less than 5\n\n### Context:\nCREATE TABLE table_name_25 (points INTEGER, games INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_25 WHERE games < 5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every entry for Latin when Catalan is Mar?\n\n### Context:\nCREATE TABLE table_25401_15 (latin VARCHAR, catalan VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT latin FROM table_25401_15 WHERE catalan = \"mar\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the language when the english translation is come to me?\n\n### Context:\nCREATE TABLE table_name_18 (language VARCHAR, english_translation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_name_18 WHERE english_translation = \"come to me\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the away team score for richmond\n\n### Context:\nCREATE TABLE table_14312471_3 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_14312471_3 WHERE away_team = \"Richmond\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich venue had the result 7-1?\n\n### Context:\nCREATE TABLE table_name_50 (venue VARCHAR, result VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_50 WHERE result = \"7-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player's hometown was Pewaukee, Wisconsin?\n\n### Context:\nCREATE TABLE table_11677691_4 (player VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11677691_4 WHERE hometown = \"Pewaukee, Wisconsin\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the stepping for the processor released June 5, 2007?\n\n### Context:\nCREATE TABLE table_name_25 (stepping VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT stepping FROM table_name_25 WHERE release_date = \"june 5, 2007\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many episodes of 30 minutes were written by John Sullivan?\n\n### Context:\nCREATE TABLE table_17641206_4 (duration VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(duration) FROM table_17641206_4 WHERE written_by = \"John Sullivan\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Score, when Tie No is \"109\"?\n\n### Context:\nCREATE TABLE table_name_67 (score VARCHAR, tie_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_67 WHERE tie_no = \"109\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat position does the winner from Ohio State with 412 points play?\n\n### Context:\nCREATE TABLE table_name_38 (position VARCHAR, school VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_38 WHERE school = \"ohio state\" AND points = \"412\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat round was Steve Stonebreaker drafted?\n\n### Context:\nCREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(round) FROM table_10360656_1 WHERE player_name = \"Steve Stonebreaker\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Opposition has a Year smaller than 1911, and a Venue of old trafford?\n\n### Context:\nCREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = \"old trafford\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich coach works with Robert Harvey?\n\n### Context:\nCREATE TABLE table_name_1 (coach VARCHAR, captain VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT coach FROM table_name_1 WHERE captain = \"robert harvey\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of medals when the bronze is more than 1, and Germany is the nation, and gold medals less than 1?\n\n### Context:\nCREATE TABLE table_name_14 (total VARCHAR, gold VARCHAR, bronze VARCHAR, nation VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total) FROM table_name_14 WHERE bronze > 1 AND nation = \"germany\" AND gold < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the release Date for the New Zealand Region?\n\n### Context:\nCREATE TABLE table_name_16 (date VARCHAR, region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_16 WHERE region = \"new zealand\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27?\n\n### Context:\nCREATE TABLE table_name_89 (location VARCHAR, date VARCHAR, television VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_89 WHERE television = \"espnu\" AND time = \"7:15 pm\" AND date = \"tue., nov. 27\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many draws did Durham have?\n\n### Context:\nCREATE TABLE table_name_72 (draws VARCHAR, team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT draws FROM table_name_72 WHERE team = \"durham\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nChauncey Billups (6) had a high assist on what date?\n\n### Context:\nCREATE TABLE table_17355408_7 (date VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_17355408_7 WHERE high_assists = \"Chauncey Billups (6)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the average zone for waddon railway station and has more than 2 platforms\n\n### Context:\nCREATE TABLE table_name_54 (zone INTEGER, stations VARCHAR, platforms VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(zone) FROM table_name_54 WHERE stations = \"waddon railway station\" AND platforms > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere was the match that resulted in a win in 4:16 held?\n\n### Context:\nCREATE TABLE table_name_44 (location VARCHAR, res VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_44 WHERE res = \"win\" AND time = \"4:16\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total amount of trees when district is leninsky?\n\n### Context:\nCREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(total_amount_of_trees) FROM table_10342194_3 WHERE district = \"Leninsky\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen mount gauttier is the peak what is the island?\n\n### Context:\nCREATE TABLE table_18946749_1 (island VARCHAR, peak VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT island FROM table_18946749_1 WHERE peak = \"Mount Gauttier\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average crowd size for princes park?\n\n### Context:\nCREATE TABLE table_name_97 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(crowd) FROM table_name_97 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich skipper has 78 points?\n\n### Context:\nCREATE TABLE table_name_90 (skipper VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT skipper FROM table_name_90 WHERE points = \"78\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the home team's score when they played at Lake Oval?\n\n### Context:\nCREATE TABLE table_name_96 (home_team VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home_team AS score FROM table_name_96 WHERE venue = \"lake oval\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the starting from amalanadhi piran\n\n### Context:\nCREATE TABLE table_1852650_1 (starting_from VARCHAR, name_of_the_prabandham VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT starting_from FROM table_1852650_1 WHERE name_of_the_prabandham = \"Amalanadhi piran\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result when he went 1 round against jeremy beck?\n\n### Context:\nCREATE TABLE table_name_4 (res VARCHAR, round VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT res FROM table_name_4 WHERE round = 1 AND opponent = \"jeremy beck\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average area for code 98030 with population over 312?\n\n### Context:\nCREATE TABLE table_name_80 (area__km_2__ INTEGER, code VARCHAR, population VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(area__km_2__) FROM table_name_80 WHERE code = 98030 AND population > 312"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat race occurred on the date of 15 June?\n\n### Context:\nCREATE TABLE table_name_74 (race VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT race FROM table_name_74 WHERE date = \"15 june\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich District has a First elected of 1856, and an Incumbent of william kellogg?\n\n### Context:\nCREATE TABLE table_name_20 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT district FROM table_name_20 WHERE first_elected = 1856 AND incumbent = \"william kellogg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nationality is associated with Temple?\n\n### Context:\nCREATE TABLE table_name_72 (nationality VARCHAR, school_country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nationality FROM table_name_72 WHERE school_country = \"temple\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sarasota samantha sharpe\n\n### Context:\nCREATE TABLE table_17085724_1 (sarasota VARCHAR, indianapolis_concerts VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT sarasota FROM table_17085724_1 WHERE indianapolis_concerts = \"Samantha Sharpe\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat percent of the population has phone in Russia?\n\n### Context:\nCREATE TABLE table_name_15 (_number_of_phones_as__percentage_of_population INTEGER, country_or_region VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(_number_of_phones_as__percentage_of_population) FROM table_name_15 WHERE country_or_region = \"russia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the total number of played when points of is 31-7, position is 16 and goals for is less than 35\n\n### Context:\nCREATE TABLE table_name_67 (played VARCHAR, goals_for VARCHAR, points VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(played) FROM table_name_67 WHERE points = \"31-7\" AND position = 16 AND goals_for < 35"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the D 41 \u221a when the D 47 \u221a is d 34?\n\n### Context:\nCREATE TABLE table_name_83 (d_41_\u221a VARCHAR, d_47_\u221a VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT d_41_\u221a FROM table_name_83 WHERE d_47_\u221a = \"d 34\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich country mines 24.0% of the world demand of uranium?\n\n### Context:\nCREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = \"24.0%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was Louise when Tracy Venner was Dainty June?\n\n### Context:\nCREATE TABLE table_name_83 (louise VARCHAR, dainty_june VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT louise FROM table_name_83 WHERE dainty_june = \"tracy venner\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIf the poverty rate is 12.9%, what is the county?\n\n### Context:\nCREATE TABLE table_22815568_6 (county VARCHAR, poverty_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT county FROM table_22815568_6 WHERE poverty_rate = \"12.9%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many votes passed are listed on the measure that had 390338 yes votes? \n\n### Context:\nCREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich competition before 1982 had a score of 2:3?\n\n### Context:\nCREATE TABLE table_name_96 (competition VARCHAR, year VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_96 WHERE year < 1982 AND score = \"2:3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Money of the Player with a Score of 69-71-69-72=281?\n\n### Context:\nCREATE TABLE table_name_70 (money___$__ VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT money___$__ FROM table_name_70 WHERE score = 69 - 71 - 69 - 72 = 281"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total number of bronze medals of the nation with 4 total medals and 1 silver?\n\n### Context:\nCREATE TABLE table_name_89 (bronze VARCHAR, total VARCHAR, silver VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(bronze) FROM table_name_89 WHERE total = 4 AND silver = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the winner when Mateus Rocha finished in 3rd place? \n\n### Context:\nCREATE TABLE table_25214321_1 (winner VARCHAR, third_place VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT winner FROM table_25214321_1 WHERE third_place = \"Mateus Rocha\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many overall in the year 2010-2011?\n\n### Context:\nCREATE TABLE table_21756039_1 (overall VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(overall) FROM table_21756039_1 WHERE year = \"2010-2011\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the total attendance for a result of 7-23 before 1960?\n\n### Context:\nCREATE TABLE table_name_19 (attendance INTEGER, result VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(attendance) FROM table_name_19 WHERE result = \"7-23\" AND year < 1960"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the record where the opponent was @ Orioles and the loss was to Leal (5-4)?\n\n### Context:\nCREATE TABLE table_name_5 (record VARCHAR, opponent VARCHAR, loss VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_5 WHERE opponent = \"@ orioles\" AND loss = \"leal (5-4)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of goals against when the goal difference was less than 43, the Wins less than 13, and losses more than 14?\n\n### Context:\nCREATE TABLE table_name_44 (goals_against VARCHAR, losses VARCHAR, goal_difference VARCHAR, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT goals_against FROM table_name_44 WHERE goal_difference < 43 AND wins < 13 AND losses > 14"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich nominations was the film 27 Stolen Kisses nominated for?\n\n### Context:\nCREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT nomination FROM table_10236830_6 WHERE film_name = \"27 Stolen Kisses\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much power does the fuel injection system have with a displacement of 1991cc?\n\n### Context:\nCREATE TABLE table_name_47 (power VARCHAR, fuel_system VARCHAR, displacement VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT power FROM table_name_47 WHERE fuel_system = \"fuel injection\" AND displacement = \"1991cc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest total of the player with a t41 finish?\n\n### Context:\nCREATE TABLE table_name_25 (total INTEGER, finish VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(total) FROM table_name_25 WHERE finish = \"t41\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Time has an Event of call to arms i?\n\n### Context:\nCREATE TABLE table_name_15 (time VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_15 WHERE event = \"call to arms i\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat set 2 has a set 4 of 21-25?\n\n### Context:\nCREATE TABLE table_name_74 (set_2 VARCHAR, set_4 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT set_2 FROM table_name_74 WHERE set_4 = \"21-25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the player when the pick is 22 and the year [A] is after 1979?\n\n### Context:\nCREATE TABLE table_name_5 (player_name VARCHAR, pick VARCHAR, year_ VARCHAR, a_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player_name FROM table_name_5 WHERE pick = \"22\" AND year_[a_] > 1979"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the number of points when goals were 29\u201330?\n\n### Context:\nCREATE TABLE table_name_98 (points INTEGER, goals VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points) FROM table_name_98 WHERE goals = \"29\u201330\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the home team with a 4-6-0 record?\n\n### Context:\nCREATE TABLE table_name_13 (home VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_13 WHERE record = \"4-6-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many rankings are associated with giuseppe meazza holding over 3 titles?\n\n### Context:\nCREATE TABLE table_name_35 (rank VARCHAR, player VARCHAR, titles VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(rank) FROM table_name_35 WHERE player = \"giuseppe meazza\" AND titles > 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the high scorer and how much did they score in the game on May 3? \n\n### Context:\nCREATE TABLE table_11963601_11 (high_points VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_11963601_11 WHERE date = \"May 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the most amount of cattle where they live in british columbia\n\n### Context:\nCREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = \"British Columbia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the sum of top-25 for pga championship and top-5 less than 1\n\n### Context:\nCREATE TABLE table_name_21 (top_25 INTEGER, tournament VARCHAR, top_5 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(top_25) FROM table_name_21 WHERE tournament = \"pga championship\" AND top_5 < 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the result the R3 round?\n\n### Context:\nCREATE TABLE table_name_14 (result VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_14 WHERE round = \"r3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat character has a Year larger than 2010 with a lead role, and Chinese Title of \u6200\u590f38\u2103?\n\n### Context:\nCREATE TABLE table_name_85 (character VARCHAR, chinese_title VARCHAR, year VARCHAR, role VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT character FROM table_name_85 WHERE year > 2010 AND role = \"lead role\" AND chinese_title = \"\u6200\u590f38\u2103\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many totals have andy north as the player?\n\n### Context:\nCREATE TABLE table_name_96 (total INTEGER, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(total) FROM table_name_96 WHERE player = \"andy north\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different provinces is Baghaberd the center of?\n\n### Context:\nCREATE TABLE table_23887174_1 (province__ashkharh_ VARCHAR, center VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(province__ashkharh_) FROM table_23887174_1 WHERE center = \"Baghaberd\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the minimum attendance with score 8.16 (64) \u2013 8.12 (60)\n\n### Context:\nCREATE TABLE table_10566855_1 (attendance INTEGER, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(attendance) FROM table_10566855_1 WHERE score = \"8.16 (64) \u2013 8.12 (60)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the pick # for william loftus?\n\n### Context:\nCREATE TABLE table_name_68 (pick__number VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pick__number FROM table_name_68 WHERE player = \"william loftus\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season had a downhill of 35 and overall greater than 21?\n\n### Context:\nCREATE TABLE table_name_53 (season VARCHAR, downhill VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(season) FROM table_name_53 WHERE downhill = \"35\" AND overall > 21"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the amount of Draws for the game that had a score of 45+7 and a position below 3?\n\n### Context:\nCREATE TABLE table_name_29 (draws VARCHAR, points VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(draws) FROM table_name_29 WHERE points = \"45+7\" AND position < 3"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich player had a height of 6-0?\n\n### Context:\nCREATE TABLE table_11734041_11 (player VARCHAR, height_in_ft VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11734041_11 WHERE height_in_ft = \"6-0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the vice captain for melbourne victory\n\n### Context:\nCREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Vice - captain FROM table_1301373_7 WHERE club = \"Melbourne Victory\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game that was played against Laura Golarsa?\n\n### Context:\nCREATE TABLE table_name_85 (date VARCHAR, partnering VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_85 WHERE partnering = \"laura golarsa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the language in the school teaching grades 4-12?\n\n### Context:\nCREATE TABLE table_1930857_1 (language VARCHAR, grades VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT language FROM table_1930857_1 WHERE grades = \"4-12\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Score has a Place of t6, a Country of united states, and a Player of fred couples?\n\n### Context:\nCREATE TABLE table_name_7 (score VARCHAR, player VARCHAR, place VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_7 WHERE place = \"t6\" AND country = \"united states\" AND player = \"fred couples\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Player is from the Country United States and Money ($) of 356?\n\n### Context:\nCREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, money___$__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_name_24 WHERE country = \"united states\" AND money___$__ = 356"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat record does the event of dream 9 with a round of 2 hold?\n\n### Context:\nCREATE TABLE table_name_19 (record VARCHAR, round VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_19 WHERE round = 2 AND event = \"dream 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was her highest Super G score with a Slalom score of 58 and an Overall larger than 2?\n\n### Context:\nCREATE TABLE table_name_43 (super_g INTEGER, slalom VARCHAR, overall VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(super_g) FROM table_name_43 WHERE slalom = \"58\" AND overall > 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rider is on an aprilia that went under 18 laps with a grid total of 17?\n\n### Context:\nCREATE TABLE table_name_14 (rider VARCHAR, grid VARCHAR, manufacturer VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rider FROM table_name_14 WHERE manufacturer = \"aprilia\" AND laps < 18 AND grid = 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the result when the category is best sound design?\n\n### Context:\nCREATE TABLE table_name_28 (result VARCHAR, category VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_28 WHERE category = \"best sound design\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the least amount of camp mates?\n\n### Context:\nCREATE TABLE table_14345690_1 (camp_mates INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(camp_mates) FROM table_14345690_1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nOn what date was the player from Melrose, Massachusetts born?\n\n### Context:\nCREATE TABLE table_name_54 (birthdate VARCHAR, birthplace VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT birthdate FROM table_name_54 WHERE birthplace = \"melrose, massachusetts\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat season was herschelle gibbs andrew symonds venugopal rao batsmen?\n\n### Context:\nCREATE TABLE table_22962745_35 (season VARCHAR, batsmen VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_22962745_35 WHERE batsmen = \"Herschelle Gibbs Andrew Symonds Venugopal Rao\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was drafted to litvinov (czechoslovakia)?\n\n### Context:\nCREATE TABLE table_2679061_12 (player VARCHAR, college_junior_club_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_2679061_12 WHERE college_junior_club_team = \"Litvinov (Czechoslovakia)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the score for the away team of north melbourne?\n\n### Context:\nCREATE TABLE table_name_79 (away_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT away_team AS score FROM table_name_79 WHERE away_team = \"north melbourne\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Laps have a Time/Retired of + 4 laps, and a Grid larger than 18?\n\n### Context:\nCREATE TABLE table_name_72 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(laps) FROM table_name_72 WHERE time_retired = \"+ 4 laps\" AND grid > 18"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the title of the episode with a production code of 2j5504?\n\n### Context:\nCREATE TABLE table_27450976_1 (title VARCHAR, production_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT title FROM table_27450976_1 WHERE production_code = \"2J5504\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the different ages of editors? Show each age along with the number of editors of that age.\n\n### Context:\nCREATE TABLE editor (Age VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Age, COUNT(*) FROM editor GROUP BY Age"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Score when the opponent in the final is alicia pillay on a hard surface?\n\n### Context:\nCREATE TABLE table_name_73 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_73 WHERE surface = \"hard\" AND opponent_in_the_final = \"alicia pillay\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game where the vistor team was the Knicks and more than 18,165 were in attendance?\n\n### Context:\nCREATE TABLE table_name_11 (date VARCHAR, visitor VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_11 WHERE visitor = \"knicks\" AND attendance > 18 OFFSET 165"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is week 15's result?\n\n### Context:\nCREATE TABLE table_name_24 (result VARCHAR, week VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_24 WHERE week = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat engine was in the year of 1961?\n\n### Context:\nCREATE TABLE table_name_85 (engine VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT engine FROM table_name_85 WHERE year = 1961"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the metlink code that opened in 1908?\n\n### Context:\nCREATE TABLE table_3005450_1 (metlink_code VARCHAR, opened VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT metlink_code FROM table_3005450_1 WHERE opened = \"1908\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Interview subject has a Centerfold model of athena lundberg?\n\n### Context:\nCREATE TABLE table_name_60 (interview_subject VARCHAR, centerfold_model VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT interview_subject FROM table_name_60 WHERE centerfold_model = \"athena lundberg\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the air date of part 2 of the episode whose part 1 was aired on January 31, 2008?\n\n### Context:\nCREATE TABLE table_13241993_3 (part_2 VARCHAR, part_1 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT part_2 FROM table_13241993_3 WHERE part_1 = \"January 31, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat series number had an original airdate of March 1, 1991?\n\n### Context:\nCREATE TABLE table_2409041_3 (no_in_series INTEGER, original_air_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(no_in_series) FROM table_2409041_3 WHERE original_air_date = \"March 1, 1991\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the name of the director of the episode written by robin schwartz & robert tarlow?\n\n### Context:\nCREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT directed_by FROM table_name_55 WHERE written_by = \"robin schwartz & robert tarlow\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many headquarters are there listed for HSBC?\n\n### Context:\nCREATE TABLE table_1682026_7 (headquarters VARCHAR, company VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(headquarters) FROM table_1682026_7 WHERE company = \"HSBC\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many districts does Ed Jones represent?\n\n### Context:\nCREATE TABLE table_1341718_43 (district VARCHAR, incumbent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(district) FROM table_1341718_43 WHERE incumbent = \"Ed Jones\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total sum of 50m splits for josefin lillhage in lanes above 8?\n\n### Context:\nCREATE TABLE table_name_24 (split__50m_ INTEGER, name VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(split__50m_) FROM table_name_24 WHERE name = \"josefin lillhage\" AND lane > 8"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich weightlifter with a snatch larger than 117.5 had the lowest bodyweight?\n\n### Context:\nCREATE TABLE table_name_35 (bodyweight INTEGER, snatch INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT MIN(bodyweight) FROM table_name_35 WHERE snatch > 117.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat time did the even tachi palace fights 3 take place?\n\n### Context:\nCREATE TABLE table_name_67 (time VARCHAR, event VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time FROM table_name_67 WHERE event = \"tachi palace fights 3\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nif the geez is libb, what is the akkadian?\n\n### Context:\nCREATE TABLE table_26919_7 (akkadian VARCHAR, geez VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT akkadian FROM table_26919_7 WHERE geez = \"libb\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow names of teachers and the number of courses they teach.\n\n### Context:\nCREATE TABLE teacher (Name VARCHAR, Teacher_ID VARCHAR); CREATE TABLE course_arrange (Teacher_ID VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T2.Name, COUNT(*) FROM course_arrange AS T1 JOIN teacher AS T2 ON T1.Teacher_ID = T2.Teacher_ID GROUP BY T2.Name"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the total crowd count for the venue Princes Park?\n\n### Context:\nCREATE TABLE table_name_23 (crowd INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(crowd) FROM table_name_23 WHERE venue = \"princes park\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the result at the Berlin International Film Festival in a year greater than 1987?\n\n### Context:\nCREATE TABLE table_name_80 (result VARCHAR, year VARCHAR, awards VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_80 WHERE year > 1987 AND awards = \"berlin international film festival\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhen was the first performance for the ballet with peter mazurowski in the final cast?\n\n### Context:\nCREATE TABLE table_name_72 (first_performance VARCHAR, name VARCHAR, style VARCHAR, status VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT first_performance FROM table_name_72 WHERE style = \"ballet\" AND status = \"final cast\" AND name = \"peter mazurowski\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat rank is Germany?\n\n### Context:\nCREATE TABLE table_name_74 (rank VARCHAR, country VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT rank FROM table_name_74 WHERE country = \"germany\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the least season for round of 32\n\n### Context:\nCREATE TABLE table_245694_4 (season INTEGER, us_open_cup VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(season) FROM table_245694_4 WHERE us_open_cup = \"Round of 32\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is every Swedish name for residence city is Loviisa?\n\n### Context:\nCREATE TABLE table_198175_2 (swedish_name VARCHAR, residence_city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT swedish_name FROM table_198175_2 WHERE residence_city = \"Loviisa\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?\n\n### Context:\nCREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 5 AS \u2019utr_splice FROM table_name_70 WHERE coding = \"1a 2\" AND variant_id = \"abd'1a 2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nFind the name and address of the customers who have both New and Pending orders.\n\n### Context:\nCREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = \"New\" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = \"Pending\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich score has a Record of 44-49?\n\n### Context:\nCREATE TABLE table_name_96 (score VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_96 WHERE record = \"44-49\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho is the opponent in 1992?\n\n### Context:\nCREATE TABLE table_name_17 (opponent VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_17 WHERE year = \"1992\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the team 1 when Ulisses is team 2?\n\n### Context:\nCREATE TABLE table_name_98 (team_1 VARCHAR, team_2 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team_1 FROM table_name_98 WHERE team_2 = \"ulisses\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the start of an event in Catagory 2 of the year 1947.\n\n### Context:\nCREATE TABLE table_name_40 (start VARCHAR, category VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT start FROM table_name_40 WHERE category = \"2\" AND year = 1947"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the HDI 2011 of the country with a DI 2011 of 7.63?\n\n### Context:\nCREATE TABLE table_name_54 (hdi_2011 VARCHAR, di_2011 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT hdi_2011 FROM table_name_54 WHERE di_2011 = \"7.63\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich event had the opponent of shinya aoki and was at 4:56?\n\n### Context:\nCREATE TABLE table_name_90 (event VARCHAR, opponent VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_90 WHERE opponent = \"shinya aoki\" AND time = \"4:56\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho had the fastest lap at the German Grand Prix?\n\n### Context:\nCREATE TABLE table_name_87 (fastest_lap VARCHAR, race VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT fastest_lap FROM table_name_87 WHERE race = \"german grand prix\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average position for tb2l teams promoted champion?\n\n### Context:\nCREATE TABLE table_name_79 (pos INTEGER, league VARCHAR, postseason VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(pos) FROM table_name_79 WHERE league = \"tb2l\" AND postseason = \"promoted champion\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the gdp ( bn ) where capital is capital?\n\n### Context:\nCREATE TABLE table_12108_1 (gdp___bn__ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT gdp___bn__ FROM table_12108_1 WHERE \"capital\" = \"capital\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many route/via's are there for the ernad express?\n\n### Context:\nCREATE TABLE table_29770377_1 (route_via VARCHAR, train_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(route_via) FROM table_29770377_1 WHERE train_name = \"Ernad Express\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Score has High assists of rodriguez (8)?\n\n### Context:\nCREATE TABLE table_name_6 (score VARCHAR, high_assists VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_6 WHERE high_assists = \"rodriguez (8)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?\n\n### Context:\nCREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(games) FROM table_name_38 WHERE name = \"travis watson\" AND rebounds < 136"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many opponents were played on Saturday, June 9?\n\n### Context:\nCREATE TABLE table_10392906_2 (opponent VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(opponent) FROM table_10392906_2 WHERE date = \"Saturday, June 9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the mascot in Anderson for the Independent previous conference?\n\n### Context:\nCREATE TABLE table_name_74 (mascot VARCHAR, previous_conference VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT mascot FROM table_name_74 WHERE previous_conference = \"independent\" AND location = \"anderson\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the 1881 when 1871 had 1017?\n\n### Context:\nCREATE TABLE table_name_38 (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT 1881 FROM table_name_38 WHERE 1871 = \"1017\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of Points 1, when Team is \"Gainsborough Trinity\", and when Played is greater than 46?\n\n### Context:\nCREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(points_1) FROM table_name_55 WHERE team = \"gainsborough trinity\" AND played > 46"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest number of points of the game in Conseco fieldhouse 7,134?\n\n### Context:\nCREATE TABLE table_name_79 (high_points VARCHAR, location_attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT high_points FROM table_name_79 WHERE location_attendance = \"conseco fieldhouse 7,134\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many records show Utah as the opponent?\n\n### Context:\nCREATE TABLE table_22815265_1 (record VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(record) FROM table_22815265_1 WHERE opponent = \"Utah\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Skip has a Third of constanze hummelt?\n\n### Context:\nCREATE TABLE table_name_37 (skip VARCHAR, third VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT skip FROM table_name_37 WHERE third = \"constanze hummelt\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the percent yes of Alberta, which had a percent no larger than 60.2?\n\n### Context:\nCREATE TABLE table_name_68 (percent_yes VARCHAR, jurisdiction VARCHAR, percent_no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(percent_yes) FROM table_name_68 WHERE jurisdiction = \"alberta\" AND percent_no > 60.2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the gross capacity where the net capacity is 1380?\n\n### Context:\nCREATE TABLE table_213088_1 (gross_capacity__mw_ INTEGER, net_capacity__mw_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(gross_capacity__mw_) FROM table_213088_1 WHERE net_capacity__mw_ = 1380"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest River Mile that has a pool length of 42.2 miles or a lock/lift drop of 21 feet?\n\n### Context:\nCREATE TABLE table_name_71 (river_mile INTEGER, pool_length__miles_ VARCHAR, lock_lift_drop__in_feet_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(river_mile) FROM table_name_71 WHERE pool_length__miles_ = \"42.2\" AND lock_lift_drop__in_feet_ = \"21\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many attended the game on 4 February 2003?\n\n### Context:\nCREATE TABLE table_name_81 (attendance INTEGER, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(attendance) FROM table_name_81 WHERE date = \"4 february 2003\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many train stations are there?\n\n### Context:\nCREATE TABLE station (Id VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM station"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the ratings for episode 11?\n\n### Context:\nCREATE TABLE table_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT ratings__kanto_ FROM table_26591434_1 WHERE episode = 11"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the venue for 19th date\n\n### Context:\nCREATE TABLE table_17120964_5 (venue VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_17120964_5 WHERE date = \"19th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the career with the franchise of the f/c player with fewer than 9 years of NBA experience who previously played for the Phoenix Suns?\n\n### Context:\nCREATE TABLE table_name_47 (career_with_the_franchise VARCHAR, previous_team VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT career_with_the_franchise FROM table_name_47 WHERE years_of_nba_experience_[a_] < 9 AND pos = \"f/c\" AND previous_team = \"phoenix suns\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the number of total pts for gbr challenge\n\n### Context:\nCREATE TABLE table_21457754_2 (total_pts VARCHAR, team_name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(total_pts) FROM table_21457754_2 WHERE team_name = \"GBR Challenge\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many matches were wickets 16?\n\n### Context:\nCREATE TABLE table_27268238_5 (matches VARCHAR, wickets VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(matches) FROM table_27268238_5 WHERE wickets = 16"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat team scored 65-87\n\n### Context:\nCREATE TABLE table_name_83 (date VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_83 WHERE record = \"65-87\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many copies were sold of the game released on october 23, 2008?\n\n### Context:\nCREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT total_copies_sold FROM table_21458142_1 WHERE release_date = \"October 23, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the score on 20/6/97?\n\n### Context:\nCREATE TABLE table_name_9 (score VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT score FROM table_name_9 WHERE date = \"20/6/97\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat state/territory has lovett tower as the building?\n\n### Context:\nCREATE TABLE table_name_85 (state___territory VARCHAR, building VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state___territory FROM table_name_85 WHERE building = \"lovett tower\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the visiting team that played on September 15?\n\n### Context:\nCREATE TABLE table_name_41 (visiting_team VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT visiting_team FROM table_name_41 WHERE date = \"september 15\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the win for 4 matches with a success rate of 25%?\n\n### Context:\nCREATE TABLE table_name_70 (wins VARCHAR, matches VARCHAR, success_rate VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT wins FROM table_name_70 WHERE matches = \"4\" AND success_rate = \"25%\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow much total time was in lane 4?\n\n### Context:\nCREATE TABLE table_name_66 (time VARCHAR, lane VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(time) FROM table_name_66 WHERE lane = 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich event did he win with a method of submission (triangle choke) and a time of n/a?\n\n### Context:\nCREATE TABLE table_name_25 (event VARCHAR, method VARCHAR, res VARCHAR, time VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT event FROM table_name_25 WHERE res = \"win\" AND time = \"n/a\" AND method = \"submission (triangle choke)\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the competition on October 15, 2008?\n\n### Context:\nCREATE TABLE table_name_37 (competition VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT competition FROM table_name_37 WHERE date = \"october 15, 2008\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\n\\What is the class of the station with the call sign w254ah?\n\n### Context:\nCREATE TABLE table_name_35 (class VARCHAR, call_sign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT class FROM table_name_35 WHERE call_sign = \"w254ah\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nCan you tell me the average Weight that has Height of 6-9?\n\n### Context:\nCREATE TABLE table_name_69 (weight INTEGER, height VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(weight) FROM table_name_69 WHERE height = \"6-9\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the height of this Freshman with a forward position?\n\n### Context:\nCREATE TABLE table_25177625_1 (height VARCHAR, position VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_25177625_1 WHERE position = \"Forward\" AND year = \"Freshman\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen dxcc-tv is the call sign how many station types are there?\n\n### Context:\nCREATE TABLE table_23394920_1 (station_type VARCHAR, callsign VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(station_type) FROM table_23394920_1 WHERE callsign = \"DXCC-TV\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the date of the game when Atlanta was the home team?\n\n### Context:\nCREATE TABLE table_name_81 (date VARCHAR, home VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_81 WHERE home = \"atlanta\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat city in Svalbard has a longitude of 15\u00b039\u2032e?\n\n### Context:\nCREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT city FROM table_name_77 WHERE state = \"svalbard\" AND longitude = \"15\u00b039\u2032e\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the to par for the 69-70-72=211 score?\n\n### Context:\nCREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Team that has a Races of 4, and a Points of 0?\n\n### Context:\nCREATE TABLE table_name_10 (team VARCHAR, races VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_name_10 WHERE races = \"4\" AND points = \"0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Record has a Date of december 17?\n\n### Context:\nCREATE TABLE table_name_99 (record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT record FROM table_name_99 WHERE date = \"december 17\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Location has a Record of 0-1?\n\n### Context:\nCREATE TABLE table_name_59 (location VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_59 WHERE record = \"0-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's Fitchburg State University's LEC sport?\n\n### Context:\nCREATE TABLE table_1974545_2 (lec_sport VARCHAR, institution VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT lec_sport FROM table_1974545_2 WHERE institution = \"Fitchburg State University\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich PD per game has a Rank smaller than 4, a Winning % of 78.6%, a Streak of w1, and a PA per game smaller than 81.5?\n\n### Context:\nCREATE TABLE table_name_49 (pd_per_game INTEGER, pa_per_game VARCHAR, streak VARCHAR, rank VARCHAR, winning__percentage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(pd_per_game) FROM table_name_49 WHERE rank < 4 AND winning__percentage = \"78.6%\" AND streak = \"w1\" AND pa_per_game < 81.5"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent when the city was Louisville?\n\n### Context:\nCREATE TABLE table_name_44 (opponent VARCHAR, city VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_44 WHERE city = \"louisville\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the earliest year of c position player gary bergen?\n\n### Context:\nCREATE TABLE table_name_89 (year INTEGER, position VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(year) FROM table_name_89 WHERE position = \"c\" AND player = \"gary bergen\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat state has lincoln, de as the hometown?\n\n### Context:\nCREATE TABLE table_name_73 (state VARCHAR, hometown VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT state FROM table_name_73 WHERE hometown = \"lincoln, de\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat island has a population over 76, a height over 210, and an area larger than 12068?\n\n### Context:\nCREATE TABLE table_name_3 (island VARCHAR, area___ha__ VARCHAR, population VARCHAR, height__m_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT island FROM table_name_3 WHERE population > 76 AND height__m_ > 210 AND area___ha__ > 12068"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat player goes to Torrey Pines High School?\n\n### Context:\nCREATE TABLE table_11677100_3 (player VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT player FROM table_11677100_3 WHERE school = \"Torrey Pines High school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat school did the catcher attend?\n\n### Context:\nCREATE TABLE table_11677100_12 (school VARCHAR, position VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT school FROM table_11677100_12 WHERE position = \"Catcher\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat location has a home ground of n/a, and position in 2012-13 of 13th, third division?\n\n### Context:\nCREATE TABLE table_name_2 (location VARCHAR, home_ground VARCHAR, position_in_2012_13 VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_2 WHERE home_ground = \"n/a\" AND position_in_2012_13 = \"13th, third division\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Video has a Channel smaller than 35.66, and a Programming of nhk world?\n\n### Context:\nCREATE TABLE table_name_1 (video VARCHAR, channel VARCHAR, programming VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT video FROM table_name_1 WHERE channel < 35.66 AND programming = \"nhk world\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat company is the producer at the poolavadi location\n\n### Context:\nCREATE TABLE table_name_99 (producer VARCHAR, location VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT producer FROM table_name_99 WHERE location = \"poolavadi\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Selection has a College of texas a&m?\n\n### Context:\nCREATE TABLE table_name_71 (selection INTEGER, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(selection) FROM table_name_71 WHERE college = \"texas a&m\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Pavilion depth has a Crown angle of 34.0\u201334.7\u00b0?\n\n### Context:\nCREATE TABLE table_name_49 (pavilion_depth VARCHAR, crown_angle VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT pavilion_depth FROM table_name_49 WHERE crown_angle = \"34.0\u201334.7\u00b0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the session at the circuit of lowes motor speedway?\n\n### Context:\nCREATE TABLE table_name_70 (session VARCHAR, circuit VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT session FROM table_name_70 WHERE circuit = \"lowes motor speedway\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the average number of draws that have a total of 1 and a goal difference of 2:0?\n\n### Context:\nCREATE TABLE table_name_67 (draws INTEGER, total VARCHAR, goal_difference VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT AVG(draws) FROM table_name_67 WHERE total = 1 AND goal_difference = \"2:0\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho's leading in the general classification in stage 1a?\n\n### Context:\nCREATE TABLE table_12261714_2 (general_classification VARCHAR, stage VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT general_classification FROM table_12261714_2 WHERE stage = \"1a\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the original air date for series number 15\n\n### Context:\nCREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT original_air_date FROM table_26261072_1 WHERE series__number = 15"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Place has a Player of justin leonard?\n\n### Context:\nCREATE TABLE table_name_48 (place VARCHAR, player VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT place FROM table_name_48 WHERE player = \"justin leonard\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIn what season were there 27 goals and 58 points?\n\n### Context:\nCREATE TABLE table_name_54 (season VARCHAR, goals VARCHAR, points VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT season FROM table_name_54 WHERE goals = \"27\" AND points = \"58\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich teams homeeground is Stemmemyren? \n\n### Context:\nCREATE TABLE table_2522473_1 (team VARCHAR, home_ground VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT team FROM table_2522473_1 WHERE home_ground = \"Stemmemyren\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nList all car plates in the capital of Wilno since the year of 1937.\n\n### Context:\nCREATE TABLE table_11654169_1 (car_plates__since_1937_ VARCHAR, capital VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT car_plates__since_1937_ FROM table_11654169_1 WHERE capital = \"Wilno\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nIs there a Venus that's a year later than 2002, with an Event of 4x400m relay in 4th Position?\n\n### Context:\nCREATE TABLE table_name_82 (venue VARCHAR, position VARCHAR, event VARCHAR, year VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT venue FROM table_name_82 WHERE event = \"4x400m relay\" AND year > 2002 AND position = \"4th\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhere is the location of a team with a 3-2 record?\n\n### Context:\nCREATE TABLE table_name_96 (location VARCHAR, record VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT location FROM table_name_96 WHERE record = \"3-2\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nShow names of people whose nationality is not \"Russia\".\n\n### Context:\nCREATE TABLE people (Name VARCHAR, Nationality VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM people WHERE Nationality <> \"Russia\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat year was the game at Bad Neuenahr Eppelborn?\n\n### Context:\nCREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT year FROM table_name_30 WHERE venue = \"bad neuenahr eppelborn\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich DRG number has xxx railway number?\n\n### Context:\nCREATE TABLE table_name_32 (drg_number_s_ VARCHAR, railway_number_s_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT drg_number_s_ FROM table_name_32 WHERE railway_number_s_ = \"xxx\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3?\n\n### Context:\nCREATE TABLE table_name_72 (state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT SUM(state_champions) FROM table_name_72 WHERE mrc_championships > 9 AND records = \"192-189-3\" AND co_champions > 4"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many production codes are there for episode number 45?\n\n### Context:\nCREATE TABLE table_2602958_4 (prod_code VARCHAR, no VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(prod_code) FROM table_2602958_4 WHERE no = 45"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat are the types of film market estimations in year 1995?\n\n### Context:\nCREATE TABLE film_market_estimation (TYPE VARCHAR, YEAR VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT TYPE FROM film_market_estimation WHERE YEAR = 1995"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the least amount of points when there is 1 win?\n\n### Context:\nCREATE TABLE table_name_95 (points INTEGER, wins VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(points) FROM table_name_95 WHERE wins = 1"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the position of the player from Glades Day School?\n\n### Context:\nCREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT position FROM table_name_59 WHERE school = \"glades day school\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho played the home team during the game on January 6?\n\n### Context:\nCREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT home FROM table_name_56 WHERE date = \"january 6\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat is the total number of\u00a0record\u00a0where\u00a0streak\u00a0is l2 and\u00a0leading scorer\u00a0is roy : 23\n\n### Context:\nCREATE TABLE table_11964047_5 (record VARCHAR, streak VARCHAR, leading_scorer VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(record) FROM table_11964047_5 WHERE streak = \"L2\" AND leading_scorer = \"Roy : 23\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many different college/junior/club teams provided a player to the Washington Capitals NHL Team?\n\n### Context:\nCREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = \"Washington Capitals\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho are the Opponents in the final prior to 1998 in the Bucharest, Romania Tournament?\n\n### Context:\nCREATE TABLE table_name_65 (opponents_in_the_final VARCHAR, date VARCHAR, tournament VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponents_in_the_final FROM table_name_65 WHERE date < 1998 AND tournament = \"bucharest, romania\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many records are listed on Friday, May 25?\n\n### Context:\nCREATE TABLE table_10392906_2 (team_record VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(team_record) FROM table_10392906_2 WHERE date = \"Friday, May 25\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many products are there under the category \"Seeds\"?\n\n### Context:\nCREATE TABLE products (product_category_code VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(*) FROM products WHERE product_category_code = \"Seeds\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen is the latest year the venue is in gothenburg, sweden?\n\n### Context:\nCREATE TABLE table_name_36 (year INTEGER, venue VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MAX(year) FROM table_name_36 WHERE venue = \"gothenburg, sweden\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nwhat's the\u00a0date of birth\u00a0with\u00a0#\u00a0being 2\n\n### Context:\nCREATE TABLE table_12134383_1 (date_of_birth VARCHAR, _number VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date_of_birth FROM table_12134383_1 WHERE _number = 2"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat's the total Rank that has a Gold that's smaller than 0?\n\n### Context:\nCREATE TABLE table_name_2 (rank INTEGER, gold INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT SUM(rank) FROM table_name_2 WHERE gold < 0"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Number of electorates (2009) has a District of mathura, and a Name of mant?\n\n### Context:\nCREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(number_of_electorates__2009_) FROM table_name_56 WHERE district = \"mathura\" AND name = \"mant\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow many picks did the College of USC wind up getting?\n\n### Context:\nCREATE TABLE table_name_67 (pick__number VARCHAR, college VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(pick__number) FROM table_name_67 WHERE college = \"usc\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nNationality of england, and a Matches smaller than 510, and a Lost of 4, and a Win % smaller than 28.6 had what lowest drawn?\n\n### Context:\nCREATE TABLE table_name_5 (drawn INTEGER, win__percentage VARCHAR, lost VARCHAR, nationality VARCHAR, matches VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(drawn) FROM table_name_5 WHERE nationality = \"england\" AND matches < 510 AND lost = 4 AND win__percentage < 28.6"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat Time/Retired has a Points that's smaller than 11 and has a Laps of 74?\n\n### Context:\nCREATE TABLE table_name_48 (time_retired VARCHAR, points VARCHAR, laps VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT time_retired FROM table_name_48 WHERE points < 11 AND laps = 74"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWho was the opponent at the game attended by 70,012?\n\n### Context:\nCREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT opponent FROM table_name_81 WHERE attendance = \"70,012\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhich Asian countries have a population that is larger than any country in Africa?\n\n### Context:\nCREATE TABLE country (Name VARCHAR, Continent VARCHAR, population INTEGER)\n\n### Response:\n\n\n### Response:\nSELECT Name FROM country WHERE Continent = \"Asia\" AND population > (SELECT MAX(population) FROM country WHERE Continent = \"Africa\")"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nHow tall is Dylan Postl?\n\n### Context:\nCREATE TABLE table_name_69 (height VARCHAR, name VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT height FROM table_name_69 WHERE name = \"dylan postl\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the date of the game at the Pro Player Stadium that had a score of 4-1?\n\n### Context:\nCREATE TABLE table_name_43 (date VARCHAR, venue VARCHAR, score VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT date FROM table_name_43 WHERE venue = \"pro player stadium\" AND score = \"4-1\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Result of the game after Week 10 against Philadelphia Eagles?\n\n### Context:\nCREATE TABLE table_name_26 (result VARCHAR, week VARCHAR, opponent VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT result FROM table_name_26 WHERE week > 10 AND opponent = \"philadelphia eagles\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nName the owners for prairie public\n\n### Context:\nCREATE TABLE table_14623167_1 (owner VARCHAR, branding VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT COUNT(owner) FROM table_14623167_1 WHERE branding = \"Prairie Public\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the highest overall rank of any Tennessee State player drafted before round 10?\n\n### Context:\nCREATE TABLE table_name_48 (overall INTEGER, school_club_team VARCHAR, round VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT MIN(overall) FROM table_name_48 WHERE school_club_team = \"tennessee state\" AND round < 10"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhen did acharya shree koshalendraprasadji maharaj become acharya?\n\n### Context:\nCREATE TABLE table_name_12 (became_acharya_on VARCHAR, name_of_acharya VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT became_acharya_on FROM table_name_12 WHERE name_of_acharya = \"acharya shree koshalendraprasadji maharaj\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is the Overall number for pick 17?\n\n### Context:\nCREATE TABLE table_name_5 (overall VARCHAR, pick VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT overall FROM table_name_5 WHERE pick = 17"} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat was the attendance of the game on September 18, 1965 before week 3?\n\n### Context:\nCREATE TABLE table_name_72 (attendance VARCHAR, week VARCHAR, date VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT attendance FROM table_name_72 WHERE week < 3 AND date = \"september 18, 1965\""} +{"inputs": "### Instruction:\nYou are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.\n\nYou must output the SQL query that answers the question.\n\n ### Dialect:\nsqlite\n\n### Input:\nWhat is Director, when Result is nominee, and when Year (Ceremony) is 1969 (42nd)?\n\n### Context:\nCREATE TABLE table_name_65 (director VARCHAR, result VARCHAR, year__ceremony_ VARCHAR)\n\n### Response:\n\n\n### Response:\nSELECT director FROM table_name_65 WHERE result = \"nominee\" AND year__ceremony_ = \"1969 (42nd)\""}