inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the surface when the winner and score is gustavo kuerten 6-4, 7-5, 7-6(6)?
### Context:
CREATE TABLE table_name_76 (surface VARCHAR, winner_and_score VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_76 WHERE winner_and_score = "gustavo kuerten 6-4, 7-5, 7-6(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:
Name the total number of points for 46 tries for
### Context:
CREATE TABLE table_27293285_4 (points VARCHAR, tries_for VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_27293285_4 WHERE tries_for = "46"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scored the most points on November 17?
### Context:
CREATE TABLE table_25461946_5 (high_points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_25461946_5 WHERE date = "November 17"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the to par for the score 72-69-68=209?
### Context:
CREATE TABLE table_name_11 (to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_11 WHERE score = 72 - 69 - 68 = 209</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was there a match in Centurion Park?
### Context:
CREATE TABLE table_name_49 (date VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_49 WHERE venue = "centurion park"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the time of the match with a record of 9-0 and used the tko (doctor stoppage) method?
### Context:
CREATE TABLE table_name_75 (time VARCHAR, method VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_75 WHERE method = "tko (doctor stoppage)" AND record = "9-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:
When brive is the proceed to quarter final how many were eliminated from competition?
### Context:
CREATE TABLE table_27987767_3 (eliminated_from_competition VARCHAR, proceed_to_quarter_final VARCHAR)
### Response:
### Response:
SELECT COUNT(eliminated_from_competition) FROM table_27987767_3 WHERE proceed_to_quarter_final = "Brive"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Power, when Identifier is CBEB-FM?
### Context:
CREATE TABLE table_name_48 (power VARCHAR, identifier VARCHAR)
### Response:
### Response:
SELECT power FROM table_name_48 WHERE identifier = "cbeb-fm"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fumb Yds has a Fumb F. of 0, and a Int LG smaller than 0?
### Context:
CREATE TABLE table_name_9 (fumb_yds INTEGER, fumb_f VARCHAR, int_lg VARCHAR)
### Response:
### Response:
SELECT MAX(fumb_yds) FROM table_name_9 WHERE fumb_f = 0 AND int_lg < 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 Season has 95 Points?
### Context:
CREATE TABLE table_name_48 (season VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_48 WHERE points = "95"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score was 6-2, which Opponent was played?
### Context:
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_16 WHERE score = "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:
What is the Austin record of Kansas State?
### Context:
CREATE TABLE table_name_21 (at_austin VARCHAR, texas_vs VARCHAR)
### Response:
### Response:
SELECT at_austin FROM table_name_21 WHERE texas_vs = "kansas state"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record for december 3
### Context:
CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_47 WHERE date = "december 3"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What team does bobby hillin jr. (r) drive a buick regal for?
### Context:
CREATE TABLE table_name_8 (team VARCHAR, make VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_8 WHERE make = "buick regal" AND driver = "bobby hillin jr. (r)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of the crowd when the Wollongong Hawks were the home team?
### Context:
CREATE TABLE table_name_53 (crowd INTEGER, home_team VARCHAR)
### Response:
### Response:
SELECT SUM(crowd) FROM table_name_53 WHERE home_team = "wollongong 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 is the ioc code when the country is listed as Singapore?
### Context:
CREATE TABLE table_2879165_1 (ioc_code VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT ioc_code FROM table_2879165_1 WHERE country = "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:
What's the average amount of ties had when a team wins 6 and it's past the 2004 season?
### Context:
CREATE TABLE table_name_55 (ties INTEGER, wins VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT AVG(ties) FROM table_name_55 WHERE wins = 6 AND season > 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:
In which season did the évora settlements join the league?
### Context:
CREATE TABLE table_name_28 (season_joined_league VARCHAR, settlements VARCHAR)
### Response:
### Response:
SELECT season_joined_league FROM table_name_28 WHERE settlements = "évora"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 aperture were built or used between 1987-2001?
### Context:
CREATE TABLE table_23851574_2 (aper_in VARCHAR, built_used VARCHAR)
### Response:
### Response:
SELECT aper_in FROM table_23851574_2 WHERE built_used = "1987-2001"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the type of the school whose students' nickname is tigers?
### Context:
CREATE TABLE table_1973842_1 (type VARCHAR, nickname VARCHAR)
### Response:
### Response:
SELECT type FROM table_1973842_1 WHERE nickname = "Tigers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number picks were the players who went to Calgary?
### Context:
CREATE TABLE table_20170644_3 (pick__number VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT pick__number FROM table_20170644_3 WHERE college = "Calgary"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Southbridge when the CPU support was athlon, athlonxp, duron( socketa ), alpha21264?
### Context:
CREATE TABLE table_name_56 (southbridge VARCHAR, cpu_support VARCHAR)
### Response:
### Response:
SELECT southbridge FROM table_name_56 WHERE cpu_support = "athlon, athlonxp, duron( socketa ), alpha21264"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest Year Left for the School of Danville?
### Context:
CREATE TABLE table_name_81 (year_left INTEGER, school VARCHAR)
### Response:
### Response:
SELECT MAX(year_left) FROM table_name_81 WHERE school = "danville"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 locations are listed for the Big 12 Conference?
### Context:
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, conference VARCHAR)
### Response:
### Response:
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE conference = "Big 12 conference"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
With the Type is game of friendly and the City Belgrade and November 2 as the Date what were the Results¹?
### Context:
CREATE TABLE table_name_82 (results¹ VARCHAR, date VARCHAR, type_of_game VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT results¹ FROM table_name_82 WHERE type_of_game = "friendly" AND city = "belgrade" AND date = "november 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:
List all ship names in the order of built year and class.
### Context:
CREATE TABLE ship (name VARCHAR, built_year VARCHAR, CLASS VARCHAR)
### Response:
### Response:
SELECT name FROM ship ORDER BY built_year, CLASS</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 origin and destination for flights with price higher than 300.
### Context:
CREATE TABLE Flight (origin VARCHAR, destination VARCHAR, price INTEGER)
### Response:
### Response:
SELECT origin, destination FROM Flight WHERE price > 300</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has 217 as the pick?
### Context:
CREATE TABLE table_name_93 (position VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_93 WHERE pick = 217</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver with a Gold of 1, and a Nation of lithuania?
### Context:
CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT MIN(silver) FROM table_name_7 WHERE gold = 1 AND nation = "lithuania"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result of the european indoor championships after 1974?
### Context:
CREATE TABLE table_name_41 (result VARCHAR, tournament VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_41 WHERE tournament = "european indoor championships" AND 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 name of the airport with an ICAO of ULLI?
### Context:
CREATE TABLE table_name_40 (airport VARCHAR, icao VARCHAR)
### Response:
### Response:
SELECT airport FROM table_name_40 WHERE icao = "ulli"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number of gold medals when the total was 1335 medals, with more than 469 bronzes and more than 14 silvers?
### Context:
CREATE TABLE table_name_89 (gold INTEGER, bronze VARCHAR, silver VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT AVG(gold) FROM table_name_89 WHERE silver > 14 AND total = 1335 AND bronze > 469</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 what Year was the Finish Champions?
### Context:
CREATE TABLE table_name_99 (year VARCHAR, finish VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_99 WHERE finish = "champions"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 suriname with a 16.8% brokopondo?
### Context:
CREATE TABLE table_name_62 (suriname VARCHAR, brokopondo VARCHAR)
### Response:
### Response:
SELECT suriname FROM table_name_62 WHERE brokopondo = "16.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:
Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)?
### Context:
CREATE TABLE table_name_87 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR)
### Response:
### Response:
SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-1)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the least Top-5 finish when the events are greater than 18?
### Context:
CREATE TABLE table_name_82 (top_5 INTEGER, events INTEGER)
### Response:
### Response:
SELECT MIN(top_5) FROM table_name_82 WHERE events > 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 Position for the European U23 Championships?
### Context:
CREATE TABLE table_name_74 (position VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_74 WHERE competition = "european u23 championships"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What school has belleville as the city?
### Context:
CREATE TABLE table_name_37 (school VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_37 WHERE city = "belleville"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goals when the caps were set at 48?
### Context:
CREATE TABLE table_name_66 (goals VARCHAR, caps VARCHAR)
### Response:
### Response:
SELECT goals FROM table_name_66 WHERE caps = 48</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 54 (73) points?
### Context:
CREATE TABLE table_name_55 (year INTEGER, pts VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_55 WHERE pts = "54 (73)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 won the election in the Pennsylvania 11 district?
### Context:
CREATE TABLE table_2668169_2 (candidates VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(candidates) FROM table_2668169_2 WHERE district = "Pennsylvania 11"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the phone number of the man with the first name Timmothy and the last name Ward?
### Context:
CREATE TABLE Students (cell_mobile_number VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Response:
### Response:
SELECT cell_mobile_number FROM Students WHERE first_name = 'Timmothy' AND last_name = 'Ward'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year, when Winner is "Johnathan Gray"?
### Context:
CREATE TABLE table_name_81 (year VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_81 WHERE winner = "johnathan gray"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest points with 2012 as the year?
### Context:
CREATE TABLE table_name_70 (points INTEGER, year VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_70 WHERE year = "2012"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the highest number of losses for a position less than 6, with more than 11 wins and 36 points, with a played entry of more than 30?
### Context:
CREATE TABLE table_name_59 (losses INTEGER, played VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT MAX(losses) FROM table_name_59 WHERE position < 6 AND wins > 11 AND points = 36 AND played > 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 average rank of a swimmer in lane 1?
### Context:
CREATE TABLE table_name_79 (rank INTEGER, lane VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_79 WHERE lane = 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 was the date of the game when the record was 9–5–2?
### Context:
CREATE TABLE table_name_78 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_78 WHERE record = "9–5–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 won Bronze with notes of 2.5km, 14controls?
### Context:
CREATE TABLE table_name_60 (bronze VARCHAR, notes VARCHAR)
### Response:
### Response:
SELECT bronze FROM table_name_60 WHERE notes = "2.5km, 14controls"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2008 has an Airport of julius nyerere international airport?
### Context:
CREATE TABLE table_name_74 (airport VARCHAR)
### Response:
### Response:
SELECT AVG(2008) FROM table_name_74 WHERE airport = "julius nyerere international airport"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the most time where exhibitions is 1701
### Context:
CREATE TABLE table_27685921_1 (year INTEGER, exhibitors__total_ VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_27685921_1 WHERE exhibitors__total_ = 1701</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of date for 1-0 record
### Context:
CREATE TABLE table_21091157_1 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(date) FROM table_21091157_1 WHERE record = "1-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 grid total for cars that went 17 laps?
### Context:
CREATE TABLE table_name_60 (grid INTEGER, laps VARCHAR)
### Response:
### Response:
SELECT SUM(grid) FROM table_name_60 WHERE laps = 17</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the result of the election in the Texas 3 district?
### Context:
CREATE TABLE table_1342149_43 (result VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT result FROM table_1342149_43 WHERE district = "Texas 3"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is City, when IATA is "amm"?
### Context:
CREATE TABLE table_name_67 (city VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_67 WHERE iata = "amm"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game where Inning is 6th, and the Opposing Pitcher is cliff curtis?
### Context:
CREATE TABLE table_name_14 (game INTEGER, inning VARCHAR, opposing_pitcher VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_14 WHERE inning = "6th" AND opposing_pitcher = "cliff curtis"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2007 has a 2008 of 0 / 4?
### Context:
CREATE TABLE table_name_90 (Id VARCHAR)
### Response:
### Response:
SELECT 2007 FROM table_name_90 WHERE 2008 = "0 / 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:
Which Venue has a Year of 1911?
### Context:
CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_60 WHERE year = 1911</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of played for 16
### Context:
CREATE TABLE table_14876228_1 (played VARCHAR, scored VARCHAR)
### Response:
### Response:
SELECT COUNT(played) FROM table_14876228_1 WHERE scored = 16</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the lowest in Votes with a Rank of 5th, has an Occupation of retired, along with a Riding of Brant?
### Context:
CREATE TABLE table_name_97 (votes INTEGER, riding VARCHAR, rank VARCHAR, occupation VARCHAR)
### Response:
### Response:
SELECT MIN(votes) FROM table_name_97 WHERE rank = "5th" AND occupation = "retired" AND riding = "brant"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circumstances of the Hostile incident on the road to Jalalabad?
### Context:
CREATE TABLE table_name_18 (circumstances VARCHAR, nature_of_incident VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gold for the nation with a record of bronze 1, Syria nation with a grand total less than 1?
### Context:
CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT AVG(gold) FROM table_name_25 WHERE bronze = 1 AND nation = "syria" AND total < 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 Picture Coding Types have Chroma Format of 4:2:2 or 4:2:0 and the Name of 4:2:2 profile?
### Context:
CREATE TABLE table_name_57 (picture_coding_types VARCHAR, chroma_format VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT picture_coding_types FROM table_name_57 WHERE chroma_format = "4:2:2 or 4:2:0" AND name = "4:2:2 profile"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 written by for original air date for may 8, 2005
### Context:
CREATE TABLE table_1876825_7 (written_by VARCHAR, original_air_date VARCHAR)
### Response:
### Response:
SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 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 did the Surname Lindberg rank?
### Context:
CREATE TABLE table_name_47 (rank VARCHAR, surname VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_name_47 WHERE surname = "lindberg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The president, peter williamson, had how many home grounds?
### Context:
CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR)
### Response:
### Response:
SELECT COUNT(home_ground) FROM table_11365528_2 WHERE president = "Peter Williamson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date of the gps iif-7 satellite?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, satellite VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_48 WHERE satellite = "gps iif-7"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the biggest pick number for the new team of Texas Rangers, in the compensation-a round?
### Context:
CREATE TABLE table_name_55 (pick INTEGER, new_team VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT MAX(pick) FROM table_name_55 WHERE new_team = "texas rangers" AND round = "compensation-a"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Location has an Event of king of the cage: flash point?
### Context:
CREATE TABLE table_name_16 (location VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_16 WHERE event = "king of the cage: flash point"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 multiplier 1 for chips with a frequency of 1800MHz?
### Context:
CREATE TABLE table_name_25 (multiplier_1 VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT multiplier_1 FROM table_name_25 WHERE frequency = "1800mhz"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 engine name that has a maximum torque at rpm of n·m ( lbf·ft ) @ 3,800?
### Context:
CREATE TABLE table_name_42 (engine_name VARCHAR, max_torque_at_rpm VARCHAR)
### Response:
### Response:
SELECT engine_name FROM table_name_42 WHERE max_torque_at_rpm = "n·m ( lbf·ft ) @ 3,800"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2012 when 2005 is 314
### Context:
CREATE TABLE table_name_82 (Id VARCHAR)
### Response:
### Response:
SELECT 2012 FROM table_name_82 WHERE 2005 = "314"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hale irwin is the winner what is the margin of victory?
### Context:
CREATE TABLE table_2417741_1 (margin_of_victory VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT margin_of_victory FROM table_2417741_1 WHERE winner = "Hale Irwin"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years of kindergarten is provided in Ticino?
### Context:
CREATE TABLE table_1831309_1 (years_of_kindergarten VARCHAR, canton VARCHAR)
### Response:
### Response:
SELECT years_of_kindergarten AS provided FROM table_1831309_1 WHERE canton = "Ticino"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least grid for 17 points
### Context:
CREATE TABLE table_17304308_1 (grid INTEGER, points VARCHAR)
### Response:
### Response:
SELECT MIN(grid) FROM table_17304308_1 WHERE points = "17"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many capitals had brest litovsk voivodeship as voivodeship after 1569?
### Context:
CREATE TABLE table_1784514_1 (capital VARCHAR, voivodeship_after_1569 VARCHAR)
### Response:
### Response:
SELECT COUNT(capital) FROM table_1784514_1 WHERE voivodeship_after_1569 = "Brest Litovsk Voivodeship"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 D44 when D43 is R 14?
### Context:
CREATE TABLE table_name_64 (d_44 VARCHAR, d_43 VARCHAR)
### Response:
### Response:
SELECT d_44 FROM table_name_64 WHERE d_43 = "r 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:
Name the date for richmond
### Context:
CREATE TABLE table_16387700_1 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_16387700_1 WHERE away_team = "Richmond"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who had the fastest lap in round 15?
### Context:
CREATE TABLE table_2911781_3 (fastest_lap VARCHAR, rd VARCHAR)
### Response:
### Response:
SELECT fastest_lap FROM table_2911781_3 WHERE rd = 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:
List the name of artworks whose type is not "Program Talent Show".
### Context:
CREATE TABLE artwork (Name VARCHAR, TYPE VARCHAR)
### Response:
### Response:
SELECT Name FROM artwork WHERE TYPE <> "Program Talent Show"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 starts for an average finish greater than 43?
### Context:
CREATE TABLE table_name_54 (starts INTEGER, avg_finish INTEGER)
### Response:
### Response:
SELECT SUM(starts) FROM table_name_54 WHERE avg_finish > 43</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE APPOINTMENT DATE WITH A PRE-SEASON POSITION, AND REPLACED BY THOMAS THOMASBERG?
### Context:
CREATE TABLE table_name_3 (date_of_appointment VARCHAR, position_in_table VARCHAR, replaced_by VARCHAR)
### Response:
### Response:
SELECT date_of_appointment FROM table_name_3 WHERE position_in_table = "pre-season" AND replaced_by = "thomas thomasberg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Championship, when Outcome is "runner-up", and when Opponents In Final is "Gigi Fernández Natalia Zvereva"?
### Context:
CREATE TABLE table_name_55 (championship VARCHAR, outcome VARCHAR, opponents_in_final VARCHAR)
### Response:
### Response:
SELECT championship FROM table_name_55 WHERE outcome = "runner-up" AND opponents_in_final = "gigi fernández natalia zvereva"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the score for henri leconte and runner-up of michael stich
### Context:
CREATE TABLE table_name_85 (score VARCHAR, third_place VARCHAR, runner_up VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_85 WHERE third_place = "henri leconte" AND runner_up = "michael stich"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 April has Points of 95, and a Record of 41–25–10–3, and a Game smaller than 79?
### Context:
CREATE TABLE table_name_50 (april INTEGER, game VARCHAR, points VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT SUM(april) FROM table_name_50 WHERE points = 95 AND record = "41–25–10–3" AND game < 79</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 and areas of countries with the top 5 largest area?
### Context:
CREATE TABLE country (Name VARCHAR, SurfaceArea VARCHAR)
### Response:
### Response:
SELECT Name, SurfaceArea FROM country ORDER BY SurfaceArea DESC LIMIT 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:
Who was the loser against the New York Giants in 2001?
### Context:
CREATE TABLE table_name_43 (loser VARCHAR, year VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT loser FROM table_name_43 WHERE year = 2001 AND winner = "new york giants"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visitor when vancouver was at home?
### Context:
CREATE TABLE table_name_77 (visitor VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_77 WHERE home = "vancouver"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the name of the customers who have a loan with amount more than 3000.
### Context:
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)
### Response:
### Response:
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 different nationalities of pilots? Show each nationality and the number of pilots of each nationality.
### Context:
CREATE TABLE pilot (Nationality VARCHAR)
### Response:
### Response:
SELECT Nationality, COUNT(*) FROM pilot GROUP BY Nationality</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 english translation when the artist is ann christine?
### Context:
CREATE TABLE table_name_10 (english_translation VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT english_translation FROM table_name_10 WHERE artist = "ann christine"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average goals for losses of 19 and goals against more than 59
### Context:
CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR)
### Response:
### Response:
SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest Year, when Laps is greater than 161?
### Context:
CREATE TABLE table_name_82 (year INTEGER, laps INTEGER)
### Response:
### Response:
SELECT MAX(year) FROM table_name_82 WHERE laps > 161</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent when the score is 3–6, 6–1, 7–5?
### Context:
CREATE TABLE table_name_22 (opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_22 WHERE score = "3–6, 6–1, 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:
What were the high points on september 9?
### Context:
CREATE TABLE table_name_16 (high_points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_name_16 WHERE date = "september 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:
List the email, cell phone and home phone of all the professionals.
### Context:
CREATE TABLE professionals (email_address VARCHAR, cell_number VARCHAR, home_phone VARCHAR)
### Response:
### Response:
SELECT email_address, cell_number, home_phone FROM professionals</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Singapore value with a London value less than 0?
### Context:
CREATE TABLE table_name_80 (singapore INTEGER, london INTEGER)
### Response:
### Response:
SELECT AVG(singapore) FROM table_name_80 WHERE london < 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 winning team has a winning pitcher of Chris Young and was played in Arlington?
### Context:
CREATE TABLE table_name_46 (winning_team VARCHAR, winning_pitcher VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT winning_team FROM table_name_46 WHERE winning_pitcher = "chris young" AND location = "arlington"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico?
### Context:
CREATE TABLE table_name_98 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
### Response:
### Response:
SELECT fcc_info FROM table_name_98 WHERE frequency_mhz > 89.3 AND city_of_license = "portales, new mexico"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 roll number of the school in Te puna with a decile larger than 2?
### Context:
CREATE TABLE table_name_85 (roll INTEGER, decile VARCHAR, area VARCHAR)
### Response:
### Response:
SELECT MAX(roll) FROM table_name_85 WHERE decile > 2 AND area = "te puna"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of penalties he got when his point total was over 1419 in more than 98 games?
### Context:
CREATE TABLE table_name_45 (penalties INTEGER, points_total VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT MIN(penalties) FROM table_name_45 WHERE points_total = 1419 AND played > 98</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.