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 on average attended when Eastwood Town was the away team, and the tie number was less than 8?
### Context:
CREATE TABLE table_name_76 (attendance INTEGER, tie_no VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_76 WHERE tie_no < 8 AND away_team = "eastwood town"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which MLS team has the #41 pick?
### Context:
CREATE TABLE table_name_86 (mls_team VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT mls_team FROM table_name_86 WHERE pick__number = 41</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents in the final have a Date of june 10, 1996?
### Context:
CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 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 was the score for the player from the United states that was +1 to par?
### Context:
CREATE TABLE table_name_64 (score VARCHAR, to_par VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_64 WHERE to_par = "+1" AND country = "united states"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of year for dick hutcherson
### Context:
CREATE TABLE table_2267857_1 (year VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_2267857_1 WHERE driver = "Dick Hutcherson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the attendance was 80,079?
### Context:
CREATE TABLE table_name_99 (opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_99 WHERE attendance = "80,079"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all gold medals for Algeria when total medals is less than 3?
### Context:
CREATE TABLE table_name_98 (gold INTEGER, nation VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT SUM(gold) FROM table_name_98 WHERE nation = "algeria" AND total < 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 Time with a Ground that is humber college north?
### Context:
CREATE TABLE table_name_7 (time VARCHAR, ground VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_7 WHERE ground = "humber college north"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of all left-footed players who have overall rating between 85 and 90.
### Context:
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, overall_rating VARCHAR, preferred_foot VARCHAR)
### Response:
### Response:
SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.preferred_foot = "left" AND T2.overall_rating >= 85 AND T2.overall_rating <= 90</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 signatory has a purpose of police security and Infotalent payee?
### Context:
CREATE TABLE table_name_71 (signatories VARCHAR, purpose VARCHAR, payee VARCHAR)
### Response:
### Response:
SELECT signatories FROM table_name_71 WHERE purpose = "police security" AND payee = "infotalent"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest week in the month of August against Andrew Combs?
### Context:
CREATE TABLE table_name_60 (week INTEGER, month VARCHAR, offensive VARCHAR)
### Response:
### Response:
SELECT MIN(week) FROM table_name_60 WHERE month = "august" AND offensive = "andrew combs"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the game on September 11, 2004?
### Context:
CREATE TABLE table_name_95 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_95 WHERE date = "september 11, 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:
Which position has a speed of 123.220?
### Context:
CREATE TABLE table_name_35 (position VARCHAR, speed VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_35 WHERE speed = "123.220"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the record of the team who played the Cleveland Browns?
### Context:
CREATE TABLE table_name_56 (record VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_56 WHERE opponent = "cleveland browns"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rebounds were there in 2008?
### Context:
CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 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:
What is the player number for the player from Centenary?
### Context:
CREATE TABLE table_name_66 (no_s_ VARCHAR, school_club_team_country VARCHAR)
### Response:
### Response:
SELECT no_s_ FROM table_name_66 WHERE school_club_team_country = "centenary"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party for 1998 first elected
### Context:
CREATE TABLE table_25030512_24 (party VARCHAR, first_elected VARCHAR)
### Response:
### Response:
SELECT party FROM table_25030512_24 WHERE first_elected = "1998"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school/club team for jawann oldham
### Context:
CREATE TABLE table_15621965_14 (school_club_team VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT school_club_team FROM table_15621965_14 WHERE player = "Jawann Oldham"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lok Sabha are in the one with 216 constituents?
### Context:
CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, constituency_no VARCHAR)
### Response:
### Response:
SELECT lok_sabha FROM table_29785324_5 WHERE constituency_no = 216</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 republican steve sauerberg where dates administered september 15-september 18, 2008
### Context:
CREATE TABLE table_16751596_2 (republican VARCHAR, dates_administered VARCHAR)
### Response:
### Response:
SELECT republican AS :_steve_sauerberg FROM table_16751596_2 WHERE dates_administered = "September 15-September 18, 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:
What date was the away team, team Gillingham?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_64 WHERE away_team = "gillingham"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament for arizona
### Context:
CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_11603267_1 WHERE location = "Arizona"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the maximum completed for delta bessborough
### Context:
CREATE TABLE table_13397394_1 (completed INTEGER, building VARCHAR)
### Response:
### Response:
SELECT MAX(completed) FROM table_13397394_1 WHERE building = "Delta Bessborough"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest number of league cups associated with 0 FA cups?
### Context:
CREATE TABLE table_name_65 (league_cup INTEGER, fa_cup INTEGER)
### Response:
### Response:
SELECT MIN(league_cup) FROM table_name_65 WHERE fa_cup < 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:
whatthe minimum round where grand prix is german grand prix
### Context:
CREATE TABLE table_1137704_2 (round INTEGER, grand_prix VARCHAR)
### Response:
### Response:
SELECT MIN(round) FROM table_1137704_2 WHERE grand_prix = "German grand_prix"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when bronze is 0 and the nation is hungary?
### Context:
CREATE TABLE table_name_58 (total INTEGER, bronze VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT MAX(total) FROM table_name_58 WHERE bronze = 0 AND nation = "hungary"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was the player David Rose?
### Context:
CREATE TABLE table_name_97 (year INTEGER, player VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_97 WHERE player = "david rose"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score of the game with a record of 34–17–11–2?
### Context:
CREATE TABLE table_name_1 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_1 WHERE record = "34–17–11–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 rating/share total number if the total viewers is 12.75 million?
### Context:
CREATE TABLE table_23799417_2 (rating VARCHAR, total_viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_23799417_2 WHERE total_viewers__in_millions_ = "12.75"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 branding for frequency of 680 khz
### Context:
CREATE TABLE table_name_88 (branding VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT branding FROM table_name_88 WHERE frequency = "680 khz"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pinyin translation of the Wade-Giles of hsin-yüan-i-ma?
### Context:
CREATE TABLE table_name_4 (pinyin VARCHAR, wade_giles VARCHAR)
### Response:
### Response:
SELECT pinyin FROM table_name_4 WHERE wade_giles = "hsin-yüan-i-ma"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 model type has 97100 model designation?
### Context:
CREATE TABLE table_20866024_2 (model_type VARCHAR, model_designation VARCHAR)
### Response:
### Response:
SELECT model_type FROM table_20866024_2 WHERE model_designation = "97100"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Airdate of the episode that ranked #29 and had a share greater than 10?
### Context:
CREATE TABLE table_name_88 (airdate VARCHAR, share VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT airdate FROM table_name_88 WHERE share = 10 AND rank = "#29"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 items were listed under world rank under the nation of Nigeria?
### Context:
CREATE TABLE table_2248991_2 (world_rank VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT COUNT(world_rank) FROM table_2248991_2 WHERE nation = "Nigeria"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship is rome and the opponent is sergi bruguera?
### Context:
CREATE TABLE table_name_23 (surface VARCHAR, championship VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_23 WHERE championship = "rome" AND opponent = "sergi bruguera"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 draw with 37 games from England?
### Context:
CREATE TABLE table_name_65 (drawn INTEGER, nationality VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT MAX(drawn) FROM table_name_65 WHERE nationality = "england" AND games = 37</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 prisoner's name that is currently 29 years old?
### Context:
CREATE TABLE table_name_35 (name VARCHAR, current_age VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_35 WHERE current_age = 29</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Category in Black has a Brown of 6,54%?
### Context:
CREATE TABLE table_name_61 (black VARCHAR, brown VARCHAR)
### Response:
### Response:
SELECT black FROM table_name_61 WHERE brown = "6,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 is the average sales of the journals that have an editor whose work type is 'Photo'?
### Context:
CREATE TABLE journal_committee (journal_ID VARCHAR, work_type VARCHAR); CREATE TABLE journal (sales INTEGER, journal_ID VARCHAR)
### Response:
### Response:
SELECT AVG(T1.sales) FROM journal AS T1 JOIN journal_committee AS T2 ON T1.journal_ID = T2.journal_ID WHERE T2.work_type = 'Photo'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
at what location is the last flew on 11 june 2000
### Context:
CREATE TABLE table_1997759_1 (location VARCHAR, last_flew VARCHAR)
### Response:
### Response:
SELECT location FROM table_1997759_1 WHERE last_flew = "11 June 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:
What is the highest points for the JBW chassis with a climax straight-4 engine, later than 1961?
### Context:
CREATE TABLE table_name_53 (points INTEGER, year VARCHAR, chassis VARCHAR, engine VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_53 WHERE chassis = "jbw" AND engine = "climax straight-4" AND year > 1961</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2013 for 2010 of 1r
### Context:
CREATE TABLE table_name_22 (Id VARCHAR)
### Response:
### Response:
SELECT 2013 FROM table_name_22 WHERE 2010 = "1r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the away team that faced Carlton?
### Context:
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_6 WHERE home_team = "carlton"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the Bettenhausen Motorsports team?
### Context:
CREATE TABLE table_name_3 (engine VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT engine FROM table_name_3 WHERE team = "bettenhausen motorsports"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of a point guard position in 1999-2001?
### Context:
CREATE TABLE table_name_89 (nationality VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_89 WHERE position = "point guard" AND years_for_grizzlies = "1999-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 country is Eugene McDowell from?
### Context:
CREATE TABLE table_name_22 (nationality VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_22 WHERE player = "eugene mcdowell"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 usl a-league have conference finals?
### Context:
CREATE TABLE table_name_56 (year VARCHAR, league VARCHAR, playoffs VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_56 WHERE league = "usl a-league" AND playoffs = "conference finals"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 friendly match, ending in a result of 1-1?
### Context:
CREATE TABLE table_name_30 (date VARCHAR, competition VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_30 WHERE competition = "friendly match" AND result = "1-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 result of the match that went to round 1 and only for 2:48?
### Context:
CREATE TABLE table_name_94 (res VARCHAR, round VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT res FROM table_name_94 WHERE round = 1 AND time = "2: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 is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver?
### Context:
CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR)
### Response:
### Response:
SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = "Chevrolet Monte Carlo" AND listed_owner_s_ = "Teresa Earnhardt" AND driver_s_ = "Paul Menard"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the place for gary player?
### Context:
CREATE TABLE table_name_98 (place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_98 WHERE player = "gary player"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 golfer has a greater than 293 total, and won in 1989?
### Context:
CREATE TABLE table_name_34 (player VARCHAR, total VARCHAR, year_s__won VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_34 WHERE total > 293 AND year_s__won = "1989"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Type has a Principal activities of health services?
### Context:
CREATE TABLE table_name_28 (type VARCHAR, principal_activities VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_28 WHERE principal_activities = "health services"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drafts featured fred hoaglin?
### Context:
CREATE TABLE table_name_42 (overall VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(overall) FROM table_name_42 WHERE player = "fred hoaglin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points for Team Adet where the Draw is less than 6?
### Context:
CREATE TABLE table_name_85 (points INTEGER, team VARCHAR, draw VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_85 WHERE team = "adet" AND draw < 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:
If the rank is 17, what are the names?
### Context:
CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT name FROM table_24990183_7 WHERE rank = 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 number drawn when 3 have been lost?
### Context:
CREATE TABLE table_name_74 (drawn VARCHAR, lost VARCHAR)
### Response:
### Response:
SELECT drawn FROM table_name_74 WHERE lost = "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:
How many numbers were listed under attendance for March 2?
### Context:
CREATE TABLE table_11959669_7 (location_attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(location_attendance) FROM table_11959669_7 WHERE date = "March 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 to par that has bill collins as the player?
### Context:
CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_72 WHERE player = "bill collins"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 motogp winner for 6 may
### Context:
CREATE TABLE table_27948565_1 (motogp_winner VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT motogp_winner FROM table_27948565_1 WHERE date = "6 May"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fat with a smoke point of °c (), 25g of saturated fat?
### Context:
CREATE TABLE table_name_60 (total_fat VARCHAR, smoke_point VARCHAR, saturated_fat VARCHAR)
### Response:
### Response:
SELECT total_fat FROM table_name_60 WHERE smoke_point = "°c ()" AND saturated_fat = "25g"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 best supporting actress for sun honglei for mongol
### Context:
CREATE TABLE table_15301258_1 (best_supporting_actress VARCHAR, best_supporting_actor VARCHAR)
### Response:
### Response:
SELECT best_supporting_actress FROM table_15301258_1 WHERE best_supporting_actor = "Sun Honglei for Mongol"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many points does Clark have?
### Context:
CREATE TABLE table_14342592_3 (points VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT points FROM table_14342592_3 WHERE player = "Clark"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What time slot had an adult rating of 0.6?
### Context:
CREATE TABLE table_19188562_2 (timeslot VARCHAR, rating__adults_18_49_ VARCHAR)
### Response:
### Response:
SELECT timeslot FROM table_19188562_2 WHERE rating__adults_18_49_ = "0.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:
How many episodes are there for the three darts challenge with Sharon Osbourne?
### Context:
CREATE TABLE table_26733129_1 (episode_number INTEGER, three_darts_challenge VARCHAR)
### Response:
### Response:
SELECT MAX(episode_number) FROM table_26733129_1 WHERE three_darts_challenge = "Sharon Osbourne"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Class AAAAA when the Class AAA is Gonzales?
### Context:
CREATE TABLE table_name_28 (class_aAAA VARCHAR, class_aAA VARCHAR, gonzales VARCHAR)
### Response:
### Response:
SELECT class_aAAA FROM table_name_28 WHERE class_aAA = gonzales</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many points were won where new points was 1680?
### Context:
CREATE TABLE table_27615896_18 (points INTEGER, new_points VARCHAR)
### Response:
### Response:
SELECT MIN(points) AS won FROM table_27615896_18 WHERE new_points = 1680</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the title of episode number 96 in the series?
### Context:
CREATE TABLE table_17482534_1 (title VARCHAR, no_in_series VARCHAR)
### Response:
### Response:
SELECT title FROM table_17482534_1 WHERE no_in_series = "96"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rounds that had Jason Missiaen?
### Context:
CREATE TABLE table_name_75 (round VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_75 WHERE player = "jason missiaen"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Grid with 25 laps manufactured by Honda with a time of +54.103?
### Context:
CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
### Response:
### Response:
SELECT MIN(grid) FROM table_name_91 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+54.103"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 classification has cantonese as the language, and universal pictures japan as the publisher?
### Context:
CREATE TABLE table_name_55 (classifaction VARCHAR, language VARCHAR, publisher VARCHAR)
### Response:
### Response:
SELECT classifaction FROM table_name_55 WHERE language = "cantonese" AND publisher = "universal pictures japan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rider who had an accident time and a kawasaki zx-10r bike?
### Context:
CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR)
### Response:
### Response:
SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 leagues entered an extra preliminary round?
### Context:
CREATE TABLE table_23449363_1 (leagues_entering_at_this_round VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT leagues_entering_at_this_round FROM table_23449363_1 WHERE round = "Extra Preliminary round"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series record at after game 3?
### Context:
CREATE TABLE table_27700530_15 (series VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT series FROM table_27700530_15 WHERE game = 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 total number of 3rd place finishes for racers with 0 titles?
### Context:
CREATE TABLE table_name_31 (titles INTEGER)
### Response:
### Response:
SELECT SUM(3 AS rd_pl) FROM table_name_31 WHERE titles < 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 counties represented have a democratic committee, and a committee of ways and means?
### Context:
CREATE TABLE table_name_17 (counties_represented VARCHAR, party VARCHAR, committee VARCHAR)
### Response:
### Response:
SELECT counties_represented FROM table_name_17 WHERE party = "democratic" AND committee = "ways and means"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 power when the capacity is 898cc?
### Context:
CREATE TABLE table_name_43 (power VARCHAR, capacity VARCHAR)
### Response:
### Response:
SELECT power FROM table_name_43 WHERE capacity = "898cc"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 male Bounder books?
### Context:
CREATE TABLE table_name_23 (books VARCHAR, gender VARCHAR, animal_name VARCHAR)
### Response:
### Response:
SELECT books FROM table_name_23 WHERE gender = "male" AND animal_name = "bounder"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 duration is listed for Christian de la Fuente?
### Context:
CREATE TABLE table_11210576_3 (duration VARCHAR, actor VARCHAR)
### Response:
### Response:
SELECT duration FROM table_11210576_3 WHERE actor = "Christian de la Fuente"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest number of caps of the fullback player born on 13 April 1983?
### Context:
CREATE TABLE table_name_56 (caps INTEGER, position VARCHAR, date_of_birth__age_ VARCHAR)
### Response:
### Response:
SELECT MIN(caps) FROM table_name_56 WHERE position = "fullback" AND date_of_birth__age_ = "13 april 1983"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest 2011 Census population of an area with a land area larger than 908,607.67 km²?
### Context:
CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER)
### Response:
### Response:
SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chief judge is Glen E. Conrad, what is the region?
### Context:
CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR)
### Response:
### Response:
SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001?
### Context:
CREATE TABLE table_name_87 (title VARCHAR, written_by VARCHAR, original_air_date VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_87 WHERE written_by = "terri hughes & ron milbauer" AND original_air_date = "march 6, 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:
Who is the player from the United States with a total less than 293 and won in 1984?
### Context:
CREATE TABLE table_name_74 (player VARCHAR, year_s__won VARCHAR, country VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_74 WHERE country = "united states" AND total < 293 AND year_s__won = "1984"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mach with Vehicle Flight # m2-f2 #8 and an Altitude (meters) greater than 13,716?
### Context:
CREATE TABLE table_name_88 (mach INTEGER, vehicle_flight__number VARCHAR, altitude__meters_ VARCHAR)
### Response:
### Response:
SELECT SUM(mach) FROM table_name_88 WHERE vehicle_flight__number = "m2-f2 #8" AND altitude__meters_ > 13 OFFSET 716</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pole Position of the Portuguese Grand Prix?
### Context:
CREATE TABLE table_name_98 (pole_position VARCHAR, grand_prix VARCHAR)
### Response:
### Response:
SELECT pole_position FROM table_name_98 WHERE grand_prix = "portuguese grand prix"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most game for december 22
### Context:
CREATE TABLE table_15872814_4 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MAX(game) FROM table_15872814_4 WHERE date = "December 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's the nationality of Ray norton with a time of 20.6?
### Context:
CREATE TABLE table_name_70 (nationality VARCHAR, time VARCHAR, athlete VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_70 WHERE time = "20.6" AND athlete = "ray norton"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance with venue of away on 24 august 2007
### Context:
CREATE TABLE table_name_99 (attendance__away_ INTEGER, venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT MIN(attendance__away_) FROM table_name_99 WHERE venue = "away" AND date = "24 august 2007"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Coach with a Big Ten that is 1st (148)?
### Context:
CREATE TABLE table_name_39 (coach VARCHAR, big_ten VARCHAR)
### Response:
### Response:
SELECT coach FROM table_name_39 WHERE big_ten = "1st (148)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 debut year for wrestlers born in Nara?
### Context:
CREATE TABLE table_1557974_1 (debut VARCHAR, birthplace VARCHAR)
### Response:
### Response:
SELECT debut FROM table_1557974_1 WHERE birthplace = "Nara"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score has kraft nabisco championship as the tournament?
### Context:
CREATE TABLE table_name_74 (winning_score VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT winning_score FROM table_name_74 WHERE tournament = "kraft nabisco championship"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries were sampled for the index in 2nd place in the LA ranking and 23rd in the world ranking?
### Context:
CREATE TABLE table_19948664_1 (countries_sampled VARCHAR, ranking_la__2_ VARCHAR, world_ranking__1_ VARCHAR)
### Response:
### Response:
SELECT countries_sampled FROM table_19948664_1 WHERE ranking_la__2_ = "2nd" AND world_ranking__1_ = "23rd"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
howe many positions did wallace, mike mike wallace play for
### Context:
CREATE TABLE table_20898602_1 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(position) FROM table_20898602_1 WHERE player = "Wallace, Mike Mike Wallace"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state had less than 8.874 for swimsuit, less than 9.257 for evening gown, and less than 9.121 for interview?
### Context:
CREATE TABLE table_name_26 (state VARCHAR, interview VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_26 WHERE swimsuit < 8.874 AND evening_gown < 9.257 AND interview < 9.121</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 properties of lithium when caesium is ki (1.7)?
### Context:
CREATE TABLE table_name_17 (lithium VARCHAR, caesium VARCHAR)
### Response:
### Response:
SELECT lithium FROM table_name_17 WHERE caesium = "ki (1.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 show has a boar?
### Context:
CREATE TABLE table_name_33 (tv_series VARCHAR, species VARCHAR)
### Response:
### Response:
SELECT tv_series FROM table_name_33 WHERE species = "boar"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year has an Expenditure smaller than 41.3, and a % GDP of x, and an Income larger than 34.4?
### Context:
CREATE TABLE table_name_65 (year INTEGER, income VARCHAR, expenditure VARCHAR, _percentage_gdp VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_65 WHERE expenditure < 41.3 AND _percentage_gdp = "x" AND income > 34.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 number of 2012 passengers in millions that have traveled a distance of 1075km?
### Context:
CREATE TABLE table_name_56 (distance VARCHAR)
### Response:
### Response:
SELECT COUNT(2012 AS _passengers__in_millions_) FROM table_name_56 WHERE distance = "1075km"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the Opponent that has the Date of october 11, 1953?
### Context:
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_62 WHERE date = "october 11, 1953"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.