inputs stringlengths 400 1.34k |
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of total with silver of 6, bronze more than 5 and gold less than 4
### Context:
CREATE TABLE table_name_57 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_57 WHERE silver = 6 AND bronze > 5 AND gold < 4</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Language for Canale Aste?
### Context:
CREATE TABLE table_name_16 (language VARCHAR, television_service VARCHAR)
### Response:
### Response:
SELECT language FROM table_name_16 WHERE television_service = "canale aste"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Drawn, when Played is "18", and when Points Against is "478"?
### Context:
CREATE TABLE table_name_55 (drawn VARCHAR, played VARCHAR, points_against VARCHAR)
### Response:
### Response:
SELECT drawn FROM table_name_55 WHERE played = "18" AND points_against = "478"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many gold medals has the club with the most coaches won?
### Context:
CREATE TABLE match_result (club_id VARCHAR, gold VARCHAR); CREATE TABLE coach (club_id VARCHAR)
### Response:
### Response:
SELECT T1.club_id, T1.gold FROM match_result AS T1 JOIN coach AS T2 ON T1.club_id = T2.club_id GROUP BY T1.club_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which company's type is joint venture, and has principle activities listed as Cargo Airline and an incorporation of China?
### Context:
CREATE TABLE table_name_37 (company VARCHAR, incorporated_in VARCHAR, type VARCHAR, principal_activities VARCHAR)
### Response:
### Response:
SELECT company FROM table_name_37 WHERE type = "joint venture" AND principal_activities = "cargo airline" AND incorporated_in = "china"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the U.S. air date when the U.S. viewers are 7.5 million?
### Context:
CREATE TABLE table_2866503_1 (us_air_date VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT us_air_date FROM table_2866503_1 WHERE us_viewers__million_ = "7.5"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the time for event of tfc 21
### Context:
CREATE TABLE table_name_22 (time VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_22 WHERE event = "tfc 21"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Lomavren associated with a Hindi of sāt?
### Context:
CREATE TABLE table_name_68 (lomavren VARCHAR, hindi VARCHAR)
### Response:
### Response:
SELECT lomavren FROM table_name_68 WHERE hindi = "sāt"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the names of players who have the best dribbling?
### Context:
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER)
### Response:
### Response:
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(overall_rating) FROM Player_Attributes)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Drawn is the highest one that has a Played smaller than 18?
### Context:
CREATE TABLE table_name_36 (drawn INTEGER, played INTEGER)
### Response:
### Response:
SELECT MAX(drawn) FROM table_name_36 WHERE played < 18</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the rank with 0 bronze?
### Context:
CREATE TABLE table_name_9 (rank INTEGER, bronze INTEGER)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_9 WHERE bronze < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the To par of St Andrews before the year 1888?
### Context:
CREATE TABLE table_name_35 (to_par_ VARCHAR, a_ VARCHAR, course VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT to_par_[a_] FROM table_name_35 WHERE course = "st andrews" AND year < 1888</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Runner-up has a Year smaller than 2008, and a Champion of josé acasuso?
### Context:
CREATE TABLE table_name_49 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)
### Response:
### Response:
SELECT runner_up FROM table_name_49 WHERE year < 2008 AND champion = "josé acasuso"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which loss happened april 18?
### Context:
CREATE TABLE table_name_87 (loss VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_87 WHERE date = "april 18"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the operator of trains arriving at 13.39
### Context:
CREATE TABLE table_18333678_2 (operator VARCHAR, arrival VARCHAR)
### Response:
### Response:
SELECT operator FROM table_18333678_2 WHERE arrival = "13.39"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total time of the vehicle having a navigator of Vandenberg?
### Context:
CREATE TABLE table_name_79 (total_time VARCHAR, navigator VARCHAR)
### Response:
### Response:
SELECT total_time FROM table_name_79 WHERE navigator = "vandenberg"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What result has a week less than 16, and October 31, 2005 as the date?
### Context:
CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_25 WHERE week < 16 AND date = "october 31, 2005"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the turing complete with name being atanasoff–berry computer (us)
### Context:
CREATE TABLE table_13636_1 (turing_complete VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT turing_complete FROM table_13636_1 WHERE name = "Atanasoff–Berry Computer (US)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the scoring average for year less than 1998 and wins more than 3
### Context:
CREATE TABLE table_name_92 (scoring_average VARCHAR, year VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT scoring_average FROM table_name_92 WHERE year < 1998 AND wins > 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On April 22 when the Los Angeles Kings where visitors what was the record?
### Context:
CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 22"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Opponent has a Score of 3–6, 5–7?
### Context:
CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_52 WHERE score = "3–6, 5–7"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the percentage of others when the number for Bush is 1329?
### Context:
CREATE TABLE table_1733513_1 (others_percentage VARCHAR, bush_number VARCHAR)
### Response:
### Response:
SELECT others_percentage FROM table_1733513_1 WHERE bush_number = 1329</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the country where people older than 30 and younger than 25 are from.
### Context:
CREATE TABLE people (country VARCHAR, age INTEGER)
### Response:
### Response:
SELECT country FROM people WHERE age < 25 INTERSECT SELECT country FROM people WHERE age > 30</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the rank for the rowers with the time of 6:24.35?
### Context:
CREATE TABLE table_name_51 (rank VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT rank FROM table_name_51 WHERE time = "6:24.35"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the point for 1974
### Context:
CREATE TABLE table_name_24 (points VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT points FROM table_name_24 WHERE year = 1974</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%?
### Context:
CREATE TABLE table_name_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR)
### Response:
### Response:
SELECT val_de_marne FROM table_name_18 WHERE seine_saint_denis = "2.7%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the originally artist when Jasmine Murray was selected?
### Context:
CREATE TABLE table_21501564_1 (original_artist VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT original_artist FROM table_21501564_1 WHERE result = "Selected"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest round Trinity school was drafted with an overall higher than 21?
### Context:
CREATE TABLE table_name_89 (round INTEGER, school_club_team VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT MIN(round) FROM table_name_89 WHERE school_club_team = "trinity" AND overall < 21</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the largest Goals For by a team that has more than 0 ties?
### Context:
CREATE TABLE table_name_18 (goals_for INTEGER, ties INTEGER)
### Response:
### Response:
SELECT MAX(goals_for) FROM table_name_18 WHERE ties > 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Label of the release on Stereo vinyl LP with Catalog number SF-7635?
### Context:
CREATE TABLE table_name_75 (label VARCHAR, format VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_75 WHERE format = "stereo vinyl lp" AND catalog = "sf-7635"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the average b score when the gymnast is kōhei uchimura ( jpn )?
### Context:
CREATE TABLE table_name_20 (b_score INTEGER, gymnast VARCHAR)
### Response:
### Response:
SELECT AVG(b_score) FROM table_name_20 WHERE gymnast = "kōhei uchimura ( jpn )"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the UNGEGN, when the Khmer is greater than ១០០០០០០០០?
### Context:
CREATE TABLE table_name_40 (ungegn VARCHAR, khmer INTEGER)
### Response:
### Response:
SELECT ungegn FROM table_name_40 WHERE khmer > ១០០០០០០០០</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of high asists for 34-27
### Context:
CREATE TABLE table_27902171_8 (high_assists VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(high_assists) FROM table_27902171_8 WHERE record = "34-27"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is team 2 when team 1 is fc rouen (d1)?
### Context:
CREATE TABLE table_name_85 (team_2 VARCHAR, team_1 VARCHAR)
### Response:
### Response:
SELECT team_2 FROM table_name_85 WHERE team_1 = "fc rouen (d1)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the team when the driver is viktor jensen?
### Context:
CREATE TABLE table_name_64 (team VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_64 WHERE driver = "viktor jensen"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the apparent magnitude of NGC number 6027d?
### Context:
CREATE TABLE table_name_14 (apparent_magnitude VARCHAR, ngc_number VARCHAR)
### Response:
### Response:
SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = "6027d"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the to par for retief goosen?
### Context:
CREATE TABLE table_name_93 (to_par VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_93 WHERE player = "retief goosen"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the starting odds for the opening odds of 2-1?
### Context:
CREATE TABLE table_22517564_3 (starting_odds VARCHAR, opening_odds VARCHAR)
### Response:
### Response:
SELECT starting_odds FROM table_22517564_3 WHERE opening_odds = "2-1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the score in the touranament of Antalya-Belek?
### Context:
CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_66 WHERE tournament = "antalya-belek"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many high rebound catagories are listed for game number 5?
### Context:
CREATE TABLE table_22871239_5 (high_rebounds VARCHAR, _number VARCHAR)
### Response:
### Response:
SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _number = 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the fastest lap for round 14
### Context:
CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT COUNT(fastest_lap) FROM table_25322130_3 WHERE round = "14"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position does the Colorado Rapids pick after 15 play?
### Context:
CREATE TABLE table_name_35 (position VARCHAR, mls_team VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_35 WHERE mls_team = "colorado rapids" AND pick__number > 15</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Golfer Steve Pate has what To par?
### Context:
CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_66 WHERE player = "steve pate"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the score of New York team before game 61?
### Context:
CREATE TABLE table_name_63 (score VARCHAR, game VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_63 WHERE game < 61 AND team = "new york"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
### Context:
CREATE TABLE table_name_51 (Id VARCHAR)
### Response:
### Response:
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the position of the team that had a goal difference of less than -11 and played less than 38 games?
### Context:
CREATE TABLE table_name_98 (position INTEGER, goal_difference VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT SUM(position) FROM table_name_98 WHERE goal_difference < -11 AND played < 38</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1233, and a Rank of 9th?
### Context:
CREATE TABLE table_name_85 (altitude__mslm_ INTEGER, density__inhabitants_km_2__ VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT SUM(altitude__mslm_) FROM table_name_85 WHERE density__inhabitants_km_2__ < 1233 AND rank = "9th"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of weeks where games were on November 5, 1973 and the attendance was larger than 49,220?
### Context:
CREATE TABLE table_name_81 (week VARCHAR, date VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT COUNT(week) FROM table_name_81 WHERE date = "november 5, 1973" AND attendance > 49 OFFSET 220</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year has 14 moves and an opening of C54 Italian Game?
### Context:
CREATE TABLE table_name_66 (year VARCHAR, moves VARCHAR, opening VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_66 WHERE moves = 14 AND opening = "c54 italian game"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the runner-up in 2004?
### Context:
CREATE TABLE table_name_82 (runner_up VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT runner_up FROM table_name_82 WHERE year = 2004</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of losses for teams with less than 5 ties and more than 330 goals for?
### Context:
CREATE TABLE table_name_3 (lost VARCHAR, tied VARCHAR, goals_for VARCHAR)
### Response:
### Response:
SELECT COUNT(lost) FROM table_name_3 WHERE tied < 5 AND goals_for > 330</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the comments when vendor and type is enterasys switches?
### Context:
CREATE TABLE table_1206114_2 (comments VARCHAR, vendor_and_type VARCHAR)
### Response:
### Response:
SELECT comments FROM table_1206114_2 WHERE vendor_and_type = "Enterasys Switches"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many points were there when there more than 6 losses and less than 14 matches?
### Context:
CREATE TABLE table_name_16 (points VARCHAR, lost VARCHAR, match VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_name_16 WHERE lost > 6 AND match < 14</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which player from the United States plays defence and was chosen before round 5?
### Context:
CREATE TABLE table_name_68 (player VARCHAR, nationality VARCHAR, position VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_68 WHERE position = "defence" AND round < 5 AND nationality = "united states"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of the points of the club with more than 34 played?
### Context:
CREATE TABLE table_name_68 (points INTEGER, played INTEGER)
### Response:
### Response:
SELECT SUM(points) FROM table_name_68 WHERE played > 34</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player attended Graceland College?
### Context:
CREATE TABLE table_name_94 (player VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_94 WHERE college = "graceland"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people were in the crowd when North Melbourne was the home team?
### Context:
CREATE TABLE table_name_3 (crowd VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT crowd FROM table_name_3 WHERE home_team = "north melbourne"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Graded Hammer (Non GH3) has a Model of cvp501?
### Context:
CREATE TABLE table_name_44 (graded_hammer__non_gh3_ VARCHAR, model VARCHAR)
### Response:
### Response:
SELECT graded_hammer__non_gh3_ FROM table_name_44 WHERE model = "cvp501"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the amount of grain in 2001?
### Context:
CREATE TABLE table_name_4 (product VARCHAR)
### Response:
### Response:
SELECT 2001 FROM table_name_4 WHERE product = "grain"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people attended the Royals game with a score of 17 - 6?
### Context:
CREATE TABLE table_name_17 (attendance INTEGER, opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT SUM(attendance) FROM table_name_17 WHERE opponent = "royals" AND score = "17 - 6"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the head coach of the team who's venue is Lokomotiv?
### Context:
CREATE TABLE table_20140132_1 (head_coach VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT head_coach FROM table_20140132_1 WHERE venue = "Lokomotiv"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the 1st round when team 1 is stade lavallois (d2)?
### Context:
CREATE TABLE table_name_56 (team_1 VARCHAR)
### Response:
### Response:
SELECT 1 AS st_round FROM table_name_56 WHERE team_1 = "stade lavallois (d2)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average total with a Rank larger than 11, a Nation of switzerland, and a Silver smaller than 0?
### Context:
CREATE TABLE table_name_85 (total INTEGER, silver VARCHAR, rank VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT AVG(total) FROM table_name_85 WHERE rank > 11 AND nation = "switzerland" AND silver < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Place of the Player with a Score of 70-75-70-74=289?
### Context:
CREATE TABLE table_name_60 (place VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_60 WHERE score = 70 - 75 - 70 - 74 = 289</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which channel has the host Art Rooijakkers?
### Context:
CREATE TABLE table_178242_1 (channel VARCHAR, host_s_ VARCHAR)
### Response:
### Response:
SELECT channel FROM table_178242_1 WHERE host_s_ = "Art Rooijakkers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the away team where the home team is Coventry City?
### Context:
CREATE TABLE table_name_73 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_73 WHERE home_team = "coventry city"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the television service that has package with sky tv, and it in Italian English?
### Context:
CREATE TABLE table_name_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)
### Response:
### Response:
SELECT television_service FROM table_name_30 WHERE package_option = "sky tv" AND language = "italian english"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show name and distance for all aircrafts.
### Context:
CREATE TABLE Aircraft (name VARCHAR, distance VARCHAR)
### Response:
### Response:
SELECT name, distance FROM Aircraft</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who are the gt3 pro / am cup winners when the gt3 pro cup winner was no. 1 vita4one?
### Context:
CREATE TABLE table_30060356_3 (gt3_pro___am_cup_winner VARCHAR, gt3_pro_cup_winner VARCHAR)
### Response:
### Response:
SELECT gt3_pro___am_cup_winner FROM table_30060356_3 WHERE gt3_pro_cup_winner = "No. 1 Vita4One"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the semifinalists for singapore
### Context:
CREATE TABLE table_30007505_1 (semifinalists VARCHAR, country_territory VARCHAR)
### Response:
### Response:
SELECT semifinalists FROM table_30007505_1 WHERE country_territory = "Singapore"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which amount of lost had an against of more than 22 and 9 points?
### Context:
CREATE TABLE table_name_30 (lost VARCHAR, against VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT lost FROM table_name_30 WHERE against > 22 AND points = 9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When town is the type what is the settlement?
### Context:
CREATE TABLE table_2562572_25 (settlement VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT settlement FROM table_2562572_25 WHERE type = "town"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Actor/Actress a Tenure of 2008–2011 played Stella Dagostino?
### Context:
CREATE TABLE table_name_88 (actor_actress VARCHAR, tenure VARCHAR, character VARCHAR)
### Response:
### Response:
SELECT actor_actress FROM table_name_88 WHERE tenure = "2008–2011" AND character = "stella dagostino"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which tournament was on the week of 24 october and champion is matt doyle 1–6, 6–1, 6–2?
### Context:
CREATE TABLE table_29296103_10 (tournament VARCHAR, week_of VARCHAR, champion VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_29296103_10 WHERE week_of = "24 October" AND champion = "Matt Doyle 1–6, 6–1, 6–2"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
who built the car driven by eric brandon?
### Context:
CREATE TABLE table_name_21 (constructor VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_21 WHERE driver = "eric brandon"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which race was in Sydney, New South Wales?
### Context:
CREATE TABLE table_name_37 (race_name VARCHAR, city_state VARCHAR)
### Response:
### Response:
SELECT race_name FROM table_name_37 WHERE city_state = "sydney, new south wales"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the production code and channel of the most recently aired cartoon .
### Context:
CREATE TABLE cartoon (production_code VARCHAR, channel VARCHAR, original_air_date VARCHAR)
### Response:
### Response:
SELECT production_code, channel FROM cartoon ORDER BY original_air_date DESC LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people voted for Kerry in the county where 8 voted for others?
### Context:
CREATE TABLE table_2401326_1 (kerry_number INTEGER, others_number VARCHAR)
### Response:
### Response:
SELECT MIN(kerry_number) FROM table_2401326_1 WHERE others_number = 8</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On October 31 what team played at home?
### Context:
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_56 WHERE date = "october 31"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the smallest point total when the grid is larger than 5 and the time/retired is fire?
### Context:
CREATE TABLE table_name_52 (points INTEGER, grid VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT MIN(points) FROM table_name_52 WHERE grid > 5 AND time_retired = "fire"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date amer sulaiman won?
### Context:
CREATE TABLE table_name_50 (date VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_50 WHERE winner = "amer sulaiman"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the elevator when the Cardinal-Deacon of S. Nicola in Carcere Tulliano was the order and title?
### Context:
CREATE TABLE table_name_56 (elevator VARCHAR, order_and_title VARCHAR)
### Response:
### Response:
SELECT elevator FROM table_name_56 WHERE order_and_title = "cardinal-deacon of s. nicola in carcere tulliano"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest number of bronze a short track athlete with 0 gold medals has?
### Context:
CREATE TABLE table_name_47 (bronze INTEGER, sport VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT MIN(bronze) FROM table_name_47 WHERE sport = "short track" AND gold = 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Date has a Record of 3-4?
### Context:
CREATE TABLE table_name_54 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_54 WHERE record = "3-4"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the id of students who attended statistics courses in the order of attendance date.
### Context:
CREATE TABLE student_course_attendance (student_id VARCHAR, course_id VARCHAR, date_of_attendance VARCHAR); CREATE TABLE courses (course_id VARCHAR, course_name VARCHAR)
### Response:
### Response:
SELECT T2.student_id FROM courses AS T1 JOIN student_course_attendance AS T2 ON T1.course_id = T2.course_id WHERE T1.course_name = "statistics" ORDER BY T2.date_of_attendance</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Mañana es para siempre of impreuna pentru totdeauna from Monday to Friday?
### Context:
CREATE TABLE table_name_34 (monday_to_friday VARCHAR, mañana_es_para_siempre VARCHAR)
### Response:
### Response:
SELECT monday_to_friday FROM table_name_34 WHERE mañana_es_para_siempre = "impreuna pentru totdeauna"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When the Away team of essendon was playing, what was the Home team's score?
### Context:
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_62 WHERE away_team = "essendon"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the score of the game before 56 held after February 18 against the Chicago Black Hawks.
### Context:
CREATE TABLE table_name_52 (score VARCHAR, opponent VARCHAR, game VARCHAR, february VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_52 WHERE game < 56 AND february > 18 AND opponent = "chicago black hawks"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the wine style with grand cru being romanée-conti
### Context:
CREATE TABLE table_13981938_1 (wine_style VARCHAR, grand_cru VARCHAR)
### Response:
### Response:
SELECT wine_style FROM table_13981938_1 WHERE grand_cru = "Romanée-Conti"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the least bronze when the rank is 3 and silver is less than 2?
### Context:
CREATE TABLE table_name_3 (bronze INTEGER, rank VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT MIN(bronze) FROM table_name_3 WHERE rank = "3" AND silver < 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On November 14, 2007, how many different Republican: Jeff Sessions are there?
### Context:
CREATE TABLE table_16751596_12 (republican VARCHAR, dates_administered VARCHAR)
### Response:
### Response:
SELECT COUNT(republican) AS :_jeff_sessions FROM table_16751596_12 WHERE dates_administered = "November 14, 2007"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Position has a Player of patrick macdonald?
### Context:
CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_35 WHERE player = "patrick macdonald"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the latest week of a game that had an attendance of 63,001?
### Context:
CREATE TABLE table_name_63 (week INTEGER, attendance VARCHAR)
### Response:
### Response:
SELECT MAX(week) FROM table_name_63 WHERE attendance = "63,001"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the A330 for A310 B10?
### Context:
CREATE TABLE table_name_62 (a330 VARCHAR, a310 VARCHAR)
### Response:
### Response:
SELECT a330 FROM table_name_62 WHERE a310 = "b10"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the dominant religion for нови сад in 2002?
### Context:
CREATE TABLE table_2562572_9 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Response:
### Response:
SELECT dominant_religion__2002_ FROM table_2562572_9 WHERE cyrillic_name_other_names = "Нови Сад"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the record when Tampa Bay is the visitor?
### Context:
CREATE TABLE table_name_93 (record VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_93 WHERE visitor = "tampa bay"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the Overall number that is the lowest, and has a pick greater than 9?
### Context:
CREATE TABLE table_name_86 (overall INTEGER, pick INTEGER)
### Response:
### Response:
SELECT MIN(overall) FROM table_name_86 WHERE pick > 9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In 1985, how many points were earned by the entrant with the March 85B chassis?
### Context:
CREATE TABLE table_name_77 (points INTEGER, year VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_77 WHERE year = 1985 AND chassis = "march 85b"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the race that lasted 6 hours?
### Context:
CREATE TABLE table_name_54 (date VARCHAR, length_duration VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_54 WHERE length_duration = "6 hours"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who moved from Northampton Town?
### Context:
CREATE TABLE table_22810095_8 (name VARCHAR, moving_from VARCHAR)
### Response:
### Response:
SELECT name FROM table_22810095_8 WHERE moving_from = "northampton Town"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.