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:
How many people enrolled for the institute with the Pioneers?
### Context:
CREATE TABLE table_27961684_1 (enrollment INTEGER, team_name VARCHAR)
### Response:
### Response:
SELECT MIN(enrollment) FROM table_27961684_1 WHERE team_name = "Pioneers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Object Type has a °03′32″ Declination (J2000)?
### Context:
CREATE TABLE table_name_58 (object_type VARCHAR, declination___j2000__ VARCHAR)
### Response:
### Response:
SELECT object_type FROM table_name_58 WHERE declination___j2000__ = "°03′32″"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest value for Points 2 when the goal average 1 is 0.65?
### Context:
CREATE TABLE table_17359181_1 (points_2 INTEGER, goal_average_1 VARCHAR)
### Response:
### Response:
SELECT MAX(points_2) FROM table_17359181_1 WHERE goal_average_1 = "0.65"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What type of ride is Rameses Revenge?
### Context:
CREATE TABLE table_name_59 (type VARCHAR, ride_name VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_59 WHERE ride_name = "rameses revenge"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total costs (2005) are $700,116, what is the cost per capita?
### Context:
CREATE TABLE table_12340907_1 (cost_per_capita VARCHAR, total_costs__2005_ VARCHAR)
### Response:
### Response:
SELECT cost_per_capita FROM table_12340907_1 WHERE total_costs__2005_ = "$700,116"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the FCC info for the call sign with a frequency MHz of 101.3, a ERP W over 10, and a Facility ID smaller than 87027?
### Context:
CREATE TABLE table_name_52 (fcc_info VARCHAR, facility_id VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
### Response:
### Response:
SELECT fcc_info FROM table_name_52 WHERE frequency_mhz = 101.3 AND erp_w > 10 AND facility_id < 87027</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Give the date of games against minnesota wild
### Context:
CREATE TABLE table_17360840_4 (date VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT date FROM table_17360840_4 WHERE opponent = "Minnesota Wild"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 origin with a diameter of 220.0 kilometers?
### Context:
CREATE TABLE table_16799784_14 (name VARCHAR, diameter__km_ VARCHAR)
### Response:
### Response:
SELECT name AS origin FROM table_16799784_14 WHERE diameter__km_ = "220.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 place has a draw smaller than 2?
### Context:
CREATE TABLE table_name_90 (place INTEGER, draw INTEGER)
### Response:
### Response:
SELECT AVG(place) FROM table_name_90 WHERE draw < 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 was the time for the event in which Tony Mendoza was the opponent?
### Context:
CREATE TABLE table_name_22 (time VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_22 WHERE opponent = "tony mendoza"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event name for michael mcdowell and billy leslie
### Context:
CREATE TABLE table_name_98 (event_name VARCHAR, pole_winner VARCHAR, race_winner VARCHAR)
### Response:
### Response:
SELECT event_name FROM table_name_98 WHERE pole_winner = "michael mcdowell" AND race_winner = "billy leslie"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fastest lap at estoril?
### Context:
CREATE TABLE table_name_82 (fastest_lap VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT fastest_lap FROM table_name_82 WHERE location = "estoril"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Directed by has an Original air date of april 29, 2000?
### Context:
CREATE TABLE table_name_27 (directed_by VARCHAR, original_air_date VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_name_27 WHERE original_air_date = "april 29, 2000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 qualifying start dates for the Concacaf confederation?
### Context:
CREATE TABLE table_23995075_2 (qualifying_start_date VARCHAR, confederation VARCHAR)
### Response:
### Response:
SELECT COUNT(qualifying_start_date) FROM table_23995075_2 WHERE confederation = "CONCACAF"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Peak Position on July 11, 2001?
### Context:
CREATE TABLE table_name_12 (peak_position VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT peak_position FROM table_name_12 WHERE date = "july 11, 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 Date of Week 2?
### Context:
CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_47 WHERE week = 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:
Tell me the cast for b. reeves eason and joseph kane
### Context:
CREATE TABLE table_name_80 (cast VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT cast FROM table_name_80 WHERE director = "b. reeves eason and joseph kane"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does John Starks play?
### Context:
CREATE TABLE table_11545282_18 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_11545282_18 WHERE player = "John Starks"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years for elsthorpe school
### Context:
CREATE TABLE table_name_78 (years VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT years FROM table_name_78 WHERE name = "elsthorpe school"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time of the Essendon home team game?
### Context:
CREATE TABLE table_name_81 (time VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_81 WHERE home_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 best top-5 when top-10 is 1 and there are more than 0 wins?
### Context:
CREATE TABLE table_name_93 (top_5 INTEGER, top_10 VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT MAX(top_5) FROM table_name_93 WHERE top_10 = 1 AND wins > 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where did they play the San Diego Chargers?
### Context:
CREATE TABLE table_13259009_2 (game_site VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT game_site FROM table_13259009_2 WHERE opponent = "San Diego Chargers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game, when Date is 29 January 2008?
### Context:
CREATE TABLE table_name_59 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT SUM(game) FROM table_name_59 WHERE date = "29 january 2008"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many names does nature reserve 54 have?
### Context:
CREATE TABLE table_26013618_1 (name_of_the_nature_reserve VARCHAR, nsg_nr VARCHAR)
### Response:
### Response:
SELECT COUNT(name_of_the_nature_reserve) FROM table_26013618_1 WHERE nsg_nr = 54</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What week of the season had a date of october 5, 1975?
### Context:
CREATE TABLE table_name_24 (week INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(week) FROM table_name_24 WHERE date = "october 5, 1975"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Region with a Catalog that is vlmx 1087-3?
### Context:
CREATE TABLE table_name_27 (region VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT region FROM table_name_27 WHERE catalog = "vlmx 1087-3"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the position of the player for the Baltimore Orioles?
### Context:
CREATE TABLE table_name_6 (position VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_6 WHERE team = "baltimore orioles"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When did the Chargers play the Denver Broncos before Week 10?
### Context:
CREATE TABLE table_name_87 (date VARCHAR, week VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_87 WHERE week < 10 AND opponent = "denver broncos"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of Ties for games with Goals Against smaller than 33?
### Context:
CREATE TABLE table_name_23 (ties VARCHAR, goals_against INTEGER)
### Response:
### Response:
SELECT ties FROM table_name_23 WHERE goals_against < 33</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 place when the artist is juliana pasha & luiz ejlli and the points is more than 119?
### Context:
CREATE TABLE table_name_99 (place INTEGER, artist VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT AVG(place) FROM table_name_99 WHERE artist = "juliana pasha & luiz ejlli" AND points > 119</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region names in alphabetical order.
### Context:
CREATE TABLE region (region_name VARCHAR)
### Response:
### Response:
SELECT region_name FROM region ORDER BY region_name</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For an IATA of MLE, what is the ICAO?
### Context:
CREATE TABLE table_name_21 (icao VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT icao FROM table_name_21 WHERE iata = "mle"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of games with a Goals Against smaller than 14, and a Wins larger than 1, and a Draws smaller than 2, and a Goals For of 3?
### Context:
CREATE TABLE table_name_27 (games INTEGER, goals_for VARCHAR, draws VARCHAR, goals_against VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT MAX(games) FROM table_name_27 WHERE goals_against < 14 AND wins > 1 AND draws < 2 AND goals_for = 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:
Which player went to Michigan State?
### Context:
CREATE TABLE table_10966926_2 (player_name VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT player_name FROM table_10966926_2 WHERE college = "Michigan 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:
How many Horizontal Bars have a Team of japan (jpn), and Parallel Bars smaller than 38.924?
### Context:
CREATE TABLE table_name_68 (horizontal_bar VARCHAR, team VARCHAR, parallel_bars VARCHAR)
### Response:
### Response:
SELECT COUNT(horizontal_bar) FROM table_name_68 WHERE team = "japan (jpn)" AND parallel_bars < 38.924</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where does the Bayou Blvd./12th Avenue route that has a terminus at the downtown transit center operate?
### Context:
CREATE TABLE table_name_5 (operates VARCHAR, terminus VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT operates FROM table_name_5 WHERE terminus = "downtown transit center" AND name = "bayou blvd./12th avenue"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score of the winning match on Oct 28, 1962?
### Context:
CREATE TABLE table_name_64 (winning_score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT winning_score FROM table_name_64 WHERE date = "oct 28, 1962"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance of the Cup Quarterfinals game?
### Context:
CREATE TABLE table_name_21 (attendance VARCHAR, game_site VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_21 WHERE game_site = "cup quarterfinals"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of games lost when goal difference is +13 and draws are more than 12?
### Context:
CREATE TABLE table_name_65 (lost VARCHAR, goal_difference VARCHAR, drawn VARCHAR)
### Response:
### Response:
SELECT COUNT(lost) FROM table_name_65 WHERE goal_difference = "+13" AND drawn > 12</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were the home team during the game that aired on Fox after 2007 on October 23?
### Context:
CREATE TABLE table_name_53 (designated_home VARCHAR, date VARCHAR, television VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT designated_home FROM table_name_53 WHERE television = "fox" AND year > 2007 AND date = "october 23"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In what season did he compete in the Grand Prix in Kuala Lumpur?
### Context:
CREATE TABLE table_name_81 (season VARCHAR, event_type VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_81 WHERE event_type = "grand prix" AND location = "kuala lumpur"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Tony Oakey win against when he had type of w pts 12?
### Context:
CREATE TABLE table_name_54 (opponent VARCHAR, result VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_54 WHERE result = "win" AND type = "w pts 12"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 laps for driver jackie stewart?
### Context:
CREATE TABLE table_name_43 (laps INTEGER, driver VARCHAR)
### Response:
### Response:
SELECT MAX(laps) FROM table_name_43 WHERE driver = "jackie stewart"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the episode rank that had 2.65 million viewers?
### Context:
CREATE TABLE table_11274401_2 (rank___number_ VARCHAR, viewers__m_ VARCHAR)
### Response:
### Response:
SELECT rank___number_ FROM table_11274401_2 WHERE viewers__m_ = "2.65"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which venue was used on 10 september 2010?
### Context:
CREATE TABLE table_name_28 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_28 WHERE date = "10 september 2010"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE RANK OF MARTIN BREST?
### Context:
CREATE TABLE table_name_93 (rank INTEGER, director VARCHAR)
### Response:
### Response:
SELECT SUM(rank) FROM table_name_93 WHERE director = "martin brest"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year 10 5th Quads with NC as Open 1st VIII and NC as a Year 10 3rd Quads?
### Context:
CREATE TABLE table_name_16 (year_10_5th_quad VARCHAR, open_1st_viii VARCHAR, year_10_3rd_quad VARCHAR)
### Response:
### Response:
SELECT year_10_5th_quad FROM table_name_16 WHERE open_1st_viii = "nc" AND year_10_3rd_quad = "nc"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 defending forces has a population of 230?
### Context:
CREATE TABLE table_name_62 (defending_forces VARCHAR, population VARCHAR)
### Response:
### Response:
SELECT defending_forces FROM table_name_62 WHERE population = "230"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 money for a t4 place, for Tiger Woods?
### Context:
CREATE TABLE table_name_64 (money___ INTEGER, place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT MAX(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND player = "tiger woods"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When the crowd was larger than 7,500 what was the away teams score?
### Context:
CREATE TABLE table_name_84 (away_team VARCHAR, crowd INTEGER)
### Response:
### Response:
SELECT away_team AS score FROM table_name_84 WHERE crowd > 7 OFFSET 500</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the distance (in meters) when the shuttle time is 6.86 seconds?
### Context:
CREATE TABLE table_1751142_2 (distance__m_ INTEGER, shuttle_time__seconds_ VARCHAR)
### Response:
### Response:
SELECT MIN(distance__m_) FROM table_1751142_2 WHERE shuttle_time__seconds_ = "6.86"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ship was built in 2012?
### Context:
CREATE TABLE table_name_79 (ship VARCHAR, built VARCHAR)
### Response:
### Response:
SELECT ship FROM table_name_79 WHERE built = 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 SCORE IN THE FINAL AGAINST RABIE CHAKI?
### Context:
CREATE TABLE table_name_92 (score VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_92 WHERE opponent_in_the_final = "rabie chaki"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Competition with a Result of 5-0?
### Context:
CREATE TABLE table_name_7 (score VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_7 WHERE result = "5-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 high average that has a Finale larger than 35, a HK viewers of 2.12 million, and a Peak larger than 40?
### Context:
CREATE TABLE table_name_36 (average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR)
### Response:
### Response:
SELECT MAX(average) FROM table_name_36 WHERE finale > 35 AND hk_viewers = "2.12 million" AND peak > 40</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date of the First Performance of Rhys Kosakowski as Billy Elliot in the Original Cast?
### Context:
CREATE TABLE table_name_38 (first_performance VARCHAR, status VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT first_performance FROM table_name_38 WHERE status = "original cast" AND name = "rhys kosakowski"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ATMs with off-site ATMs greater than 3672, and less than 1685 as the number of branches?
### Context:
CREATE TABLE table_name_32 (total_atms VARCHAR, off_site_atms VARCHAR, number_of_branches VARCHAR)
### Response:
### Response:
SELECT COUNT(total_atms) FROM table_name_32 WHERE off_site_atms > 3672 AND number_of_branches < 1685</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
@ Chicago had a high points of what?
### Context:
CREATE TABLE table_17355408_7 (high_points VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_17355408_7 WHERE team = "@ Chicago"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent of the match in South Dakota, United States which has 2 rounds?
### Context:
CREATE TABLE table_name_63 (opponent VARCHAR, round VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_63 WHERE round = 2 AND location = "south dakota, 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:
Which professional did not operate any treatment on dogs? List the professional's id, role and email.
### Context:
CREATE TABLE Professionals (professional_id VARCHAR, role_code VARCHAR, email_address VARCHAR); CREATE TABLE Treatments (professional_id VARCHAR)
### Response:
### Response:
SELECT professional_id, role_code, email_address FROM Professionals EXCEPT SELECT T1.professional_id, T1.role_code, T1.email_address FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 day did the person who finished in 12th place leave on?
### Context:
CREATE TABLE table_name_53 (exited VARCHAR, finished VARCHAR)
### Response:
### Response:
SELECT exited FROM table_name_53 WHERE finished = "12th"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship for peter mcnamara
### Context:
CREATE TABLE table_22597626_6 (championship VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT championship FROM table_22597626_6 WHERE opponent_in_the_final = "Peter McNamara"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average games played number has the Ottawa Hockey Club as a team and a number of wins bigger than 5?
### Context:
CREATE TABLE table_name_57 (games_played INTEGER, team VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT AVG(games_played) FROM table_name_57 WHERE team = "ottawa hockey club" AND wins > 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 least game for october 21
### Context:
CREATE TABLE table_name_42 (game INTEGER, october VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_42 WHERE october = 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:
List names of all pilot in descending order of age.
### Context:
CREATE TABLE pilot (Name VARCHAR, Age VARCHAR)
### Response:
### Response:
SELECT Name FROM pilot ORDER BY Age DESC</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 140 stores?
### Context:
CREATE TABLE table_name_29 (location VARCHAR, stores VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_29 WHERE stores = "140"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country has a 72-70-75-72=289 score?
### Context:
CREATE TABLE table_name_23 (country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_23 WHERE score = 72 - 70 - 75 - 72 = 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:
What is the average gold medals Uzbekistan, which has less than 24 total medals, has?
### Context:
CREATE TABLE table_name_65 (gold INTEGER, nation VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT AVG(gold) FROM table_name_65 WHERE nation = "uzbekistan" AND total < 24</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the sum of points for chassis of maserati 250f and entrant of officine alfieri maserati
### Context:
CREATE TABLE table_name_80 (points INTEGER, chassis VARCHAR, entrant VARCHAR)
### Response:
### Response:
SELECT SUM(points) FROM table_name_80 WHERE chassis = "maserati 250f" AND entrant = "officine alfieri maserati"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 thedistrict for 1994
### Context:
CREATE TABLE table_1341472_34 (district VARCHAR, first_elected VARCHAR)
### Response:
### Response:
SELECT district FROM table_1341472_34 WHERE first_elected = 1994</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue of the 400 M Hurdles for the Olympic Games?
### Context:
CREATE TABLE table_name_35 (venue VARCHAR, event VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_35 WHERE event = "400 m hurdles" AND tournament = "olympic games"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank by average is the lowest one that has a Total of 425, and a Place larger than 1?
### Context:
CREATE TABLE table_name_54 (rank_by_average INTEGER, total VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT MIN(rank_by_average) FROM table_name_54 WHERE total = 425 AND place > 1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the finalist when the MVP was Romain Sato?
### Context:
CREATE TABLE table_19651669_1 (finalist VARCHAR, mvp VARCHAR)
### Response:
### Response:
SELECT finalist FROM table_19651669_1 WHERE mvp = "Romain Sato"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
if the best run was 138, what is the amount of games lost?
### Context:
CREATE TABLE table_27533947_1 (games_lost VARCHAR, best_run VARCHAR)
### Response:
### Response:
SELECT games_lost FROM table_27533947_1 WHERE best_run = 138</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 localities?
### Context:
CREATE TABLE table_26007767_1 (localities INTEGER)
### Response:
### Response:
SELECT MAX(localities) FROM table_26007767_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 smallest share for a timeslot ranking less than 4 and fewer viewers than 8.78 million?
### Context:
CREATE TABLE table_name_67 (share INTEGER, viewers__m_ VARCHAR, timeslot_rank VARCHAR)
### Response:
### Response:
SELECT MIN(share) FROM table_name_67 WHERE viewers__m_ < 8.78 AND timeslot_rank < 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 venue in the city of Brussels, Belgium?
### Context:
CREATE TABLE table_name_54 (venue VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_54 WHERE city = "brussels, belgium"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number 22?
### Context:
CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_25 WHERE game = 22</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the visit date and details of the visitor whose detail is 'Vincent'?
### Context:
CREATE TABLE VISITORS (Tourist_ID VARCHAR, Tourist_Details VARCHAR); CREATE TABLE VISITS (Visit_Date VARCHAR, Visit_Details VARCHAR, Tourist_ID VARCHAR)
### Response:
### Response:
SELECT T2.Visit_Date, T2.Visit_Details FROM VISITORS AS T1 JOIN VISITS AS T2 ON T1.Tourist_ID = T2.Tourist_ID WHERE T1.Tourist_Details = "Vincent"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cody Ceci play?
### Context:
CREATE TABLE table_11803648_21 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_11803648_21 WHERE player = "Cody Ceci"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 partner of the team that faced the guillermo garcía-lópez albert portas on clay?
### Context:
CREATE TABLE table_name_45 (partner VARCHAR, surface VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT partner FROM table_name_45 WHERE surface = "clay" AND opponents = "guillermo garcía-lópez albert portas"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 car models are produced in the usa?
### Context:
CREATE TABLE CAR_MAKERS (Id VARCHAR, Country VARCHAR); CREATE TABLE COUNTRIES (CountryId VARCHAR, CountryName VARCHAR); CREATE TABLE MODEL_LIST (Maker VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM MODEL_LIST AS T1 JOIN CAR_MAKERS AS T2 ON T1.Maker = T2.Id JOIN COUNTRIES AS T3 ON T2.Country = T3.CountryId WHERE T3.CountryName = 'usa'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nickname that joined tschl after 2010?
### Context:
CREATE TABLE table_name_78 (team_nickname VARCHAR, joined_tschl INTEGER)
### Response:
### Response:
SELECT team_nickname FROM table_name_78 WHERE joined_tschl > 2010</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When did the rank 9 building got completed?
### Context:
CREATE TABLE table_name_64 (completed VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT completed FROM table_name_64 WHERE rank = "9"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the competition when the result is won and the date is september 13, 1996?
### Context:
CREATE TABLE table_name_87 (competition VARCHAR, result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_87 WHERE result = "won" AND date = "september 13, 1996"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Time/Retired for emerson fittipaldi?
### Context:
CREATE TABLE table_name_14 (time_retired VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_14 WHERE driver = "emerson fittipaldi"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total hours of the projects that scientists named Michael Rogers or Carol Smith are assigned to.
### Context:
CREATE TABLE scientists (SSN VARCHAR, name VARCHAR); CREATE TABLE projects (hours INTEGER, code VARCHAR); CREATE TABLE assignedto (project VARCHAR, scientist VARCHAR)
### Response:
### Response:
SELECT SUM(T2.hours) FROM assignedto AS T1 JOIN projects AS T2 ON T1.project = T2.code JOIN scientists AS T3 ON T1.scientist = T3.SSN WHERE T3.name = 'Michael Rogers' OR T3.name = 'Carol Smith'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party was the winning one in the elections in the California 30 district?
### Context:
CREATE TABLE table_1341663_6 (party VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT party FROM table_1341663_6 WHERE district = "California 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:
Find how many different affiliation types there are.
### Context:
CREATE TABLE university (affiliation VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT affiliation) FROM university</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Robert Allenby from Australia
### Context:
CREATE TABLE table_name_6 (to_par VARCHAR, country VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_6 WHERE country = "australia" AND player = "robert allenby"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 recorded latitude for the township that has an ANSI code greater than 1759541 and a population in 2010 of 72?
### Context:
CREATE TABLE table_name_4 (latitude INTEGER, ansi_code VARCHAR, pop__2010_ VARCHAR)
### Response:
### Response:
SELECT MAX(latitude) FROM table_name_4 WHERE ansi_code > 1759541 AND pop__2010_ = 72</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 recipient of an award of £4,203?
### Context:
CREATE TABLE table_name_22 (recipient VARCHAR, award VARCHAR)
### Response:
### Response:
SELECT recipient FROM table_name_22 WHERE award = "£4,203"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 division was on HBO PPV?
### Context:
CREATE TABLE table_25840200_1 (division VARCHAR, tv VARCHAR)
### Response:
### Response:
SELECT division FROM table_25840200_1 WHERE tv = "HBO PPV"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 industry has a company with a market value of 80.3 billion?
### Context:
CREATE TABLE table_1682026_6 (industry VARCHAR, market_value__billion_$_ VARCHAR)
### Response:
### Response:
SELECT industry FROM table_1682026_6 WHERE market_value__billion_$_ = "80.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:
Who are the opponents of Missouri that have an overall record of MU, 3-1?
### Context:
CREATE TABLE table_16201038_5 (missouri_vs VARCHAR, overall_record VARCHAR)
### Response:
### Response:
SELECT missouri_vs FROM table_16201038_5 WHERE overall_record = "MU, 3-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:
Please list the countries and years of film market estimations.
### Context:
CREATE TABLE film_market_estimation (Year VARCHAR, Market_ID VARCHAR); CREATE TABLE market (Country VARCHAR, Market_ID VARCHAR)
### Response:
### Response:
SELECT T2.Country, T1.Year FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Byes when there were less than 0 losses and were against 1247?
### Context:
CREATE TABLE table_name_75 (byes INTEGER, against VARCHAR, draws VARCHAR)
### Response:
### Response:
SELECT AVG(byes) FROM table_name_75 WHERE against = 1247 AND draws < 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:
Who is the team captain of the team that Lübzer is the shirt sponsor for?
### Context:
CREATE TABLE table_name_88 (team VARCHAR, shirt_sponsor VARCHAR)
### Response:
### Response:
SELECT team AS captain FROM table_name_88 WHERE shirt_sponsor = "lübzer"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct locations where tracks are located?
### Context:
CREATE TABLE track (LOCATION VARCHAR)
### Response:
### Response:
SELECT DISTINCT LOCATION FROM track</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outcome of a score that is 6–1, 6–4?
### Context:
CREATE TABLE table_name_4 (outcome VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_4 WHERE score = "6–1, 6–4"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.