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:
Which countries won by 9 strokes?
### Context:
CREATE TABLE table_1520559_1 (country VARCHAR, margin_of_victory VARCHAR)
### Response:
### Response:
SELECT country FROM table_1520559_1 WHERE margin_of_victory = "9 strokes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 webkit version when the minor version was 3.1.2.?
### Context:
CREATE TABLE table_24257833_4 (webkit_version VARCHAR, minor_version VARCHAR)
### Response:
### Response:
SELECT webkit_version FROM table_24257833_4 WHERE minor_version = "3.1.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 designer has a restaurant named of Cork & Cabbage?
### Context:
CREATE TABLE table_name_53 (designer VARCHAR, restaurant_name VARCHAR)
### Response:
### Response:
SELECT designer FROM table_name_53 WHERE restaurant_name = "cork & cabbage"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team has the points category of test driver?
### Context:
CREATE TABLE table_name_74 (team VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_74 WHERE points = "test driver"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 American pronunciation when the Australian is əʉ?
### Context:
CREATE TABLE table_name_11 (american VARCHAR, australian VARCHAR)
### Response:
### Response:
SELECT american FROM table_name_11 WHERE australian = "əʉ"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 142900 is the population what is the highest rank?
### Context:
CREATE TABLE table_23248420_1 (rank INTEGER, population VARCHAR)
### Response:
### Response:
SELECT MAX(rank) FROM table_23248420_1 WHERE population = 142900</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name, when Bonus is greater than 1, when Only Point is greater than 7, and when Total Point is less than 21?
### Context:
CREATE TABLE table_name_10 (name VARCHAR, total_point VARCHAR, bonus VARCHAR, only_point VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_10 WHERE bonus > 1 AND only_point > 7 AND total_point < 21</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE NATIONALITY FOR SOUTHWESTERN OKLAHOMA?
### Context:
CREATE TABLE table_name_53 (nationality VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_53 WHERE college = "southwestern oklahoma"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 airdate of the episode with a UK viewership of 6.02 million?
### Context:
CREATE TABLE table_29063233_1 (original_air_date VARCHAR, uk_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_29063233_1 WHERE uk_viewers__million_ = "6.02"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of all instructors in Comp. Sci. department with salary > 80000.
### Context:
CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR, salary VARCHAR)
### Response:
### Response:
SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.' AND salary > 80000</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who had the fastest lap for the German Grand Prix?
### Context:
CREATE TABLE table_name_71 (fastest_lap VARCHAR, race VARCHAR)
### Response:
### Response:
SELECT fastest_lap FROM table_name_71 WHERE race = "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:
Where did Essendon play as the away team?
### Context:
CREATE TABLE table_name_69 (venue VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_69 WHERE away_team = "essendon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year is the result 6th in munich, west germany?
### Context:
CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_25 WHERE result = "6th" AND venue = "munich, west germany"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of games won where less than 21 games were conceded and less than 18 games were actually played?
### Context:
CREATE TABLE table_name_85 (won__pg_ INTEGER, goals_conceded__gc_ VARCHAR, played__pj_ VARCHAR)
### Response:
### Response:
SELECT MAX(won__pg_) FROM table_name_85 WHERE goals_conceded__gc_ < 21 AND played__pj_ < 18</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the most losst for corinthians
### Context:
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR)
### Response:
### Response:
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of the Bangor City team?
### Context:
CREATE TABLE table_17366952_1 (position INTEGER, team VARCHAR)
### Response:
### Response:
SELECT MAX(position) FROM table_17366952_1 WHERE team = "Bangor City"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the field stability of Cyanogen Bromide that has an effectiveness of 9?
### Context:
CREATE TABLE table_name_5 (field_stability VARCHAR, agent VARCHAR, effectiveness_as_blood_agent VARCHAR)
### Response:
### Response:
SELECT COUNT(field_stability) FROM table_name_5 WHERE agent = "cyanogen bromide" AND effectiveness_as_blood_agent > 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:
How many video game types exist?
### Context:
CREATE TABLE Video_games (gtype VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT gtype) FROM Video_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:
What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR?
### Context:
CREATE TABLE table_name_31 (time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 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:
Name the original airdate for guy verney
### Context:
CREATE TABLE table_20345624_2 (original_airdate VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT original_airdate FROM table_20345624_2 WHERE director = "Guy Verney"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum wins
### Context:
CREATE TABLE table_19001175_1 (wins INTEGER)
### Response:
### Response:
SELECT MIN(wins) FROM table_19001175_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 for Normativa Vigente?
### Context:
CREATE TABLE table_19763199_3 (result VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT result FROM table_19763199_3 WHERE artist = "Normativa Vigente"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first name of the author with last name "Ueno"?
### Context:
CREATE TABLE authors (fname VARCHAR, lname VARCHAR)
### Response:
### Response:
SELECT fname FROM authors WHERE lname = "Ueno"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 players were drafted by the Philadelphia Flyers?
### Context:
CREATE TABLE table_2679061_11 (nationality VARCHAR, nhl_team VARCHAR)
### Response:
### Response:
SELECT COUNT(nationality) FROM table_2679061_11 WHERE nhl_team = "Philadelphia Flyers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 social democrat released on October 10, 1999?
### Context:
CREATE TABLE table_name_94 (social_democratic VARCHAR, date_released VARCHAR)
### Response:
### Response:
SELECT social_democratic FROM table_name_94 WHERE date_released = "october 10, 1999"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the years for Seasons in CSL when they played in the Guiyang Olympic Sports Center and had Top Division Titles (Overall) of 0?
### Context:
CREATE TABLE table_name_15 (seasons_in_csl VARCHAR, top_division_titles__overall_ VARCHAR, home_stadium VARCHAR)
### Response:
### Response:
SELECT seasons_in_csl FROM table_name_15 WHERE top_division_titles__overall_ = 0 AND home_stadium = "guiyang olympic sports center"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school has a roll larger than 26 and is located in Fairfield?
### Context:
CREATE TABLE table_name_5 (name VARCHAR, roll VARCHAR, area VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the rank for the name of Chen Yan in a lane less than 2?
### Context:
CREATE TABLE table_name_89 (rank VARCHAR, name VARCHAR, lane VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_name_89 WHERE name = "chen yan" AND lane < 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:
Name the Region with a Mountain Peak of dillingham high point?
### Context:
CREATE TABLE table_name_95 (region VARCHAR, mountain_peak VARCHAR)
### Response:
### Response:
SELECT region FROM table_name_95 WHERE mountain_peak = "dillingham high point"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the highest Sinclair Total that had a rank of 3, but a World Record smaller than 217?
### Context:
CREATE TABLE table_name_5 (sinclair_total INTEGER, rank VARCHAR, world_record__kg_ VARCHAR)
### Response:
### Response:
SELECT MAX(sinclair_total) FROM table_name_5 WHERE rank = 3 AND world_record__kg_ < 217</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?
### Context:
CREATE TABLE table_16729930_18 (sspec_number VARCHAR, tdp VARCHAR, model_number VARCHAR)
### Response:
### Response:
SELECT sspec_number FROM table_16729930_18 WHERE tdp = "3.6 W" AND model_number = "Atom E665C"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a Number that is larger than 34?
### Context:
CREATE TABLE table_name_96 (year VARCHAR, number INTEGER)
### Response:
### Response:
SELECT year FROM table_name_96 WHERE number > 34</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the 1st member elected in 1620/21?
### Context:
CREATE TABLE table_name_82 (elected VARCHAR)
### Response:
### Response:
SELECT 1 AS st_member FROM table_name_82 WHERE elected = "1620/21"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average pick number for Washington State?
### Context:
CREATE TABLE table_name_32 (pick INTEGER, school VARCHAR)
### Response:
### Response:
SELECT AVG(pick) FROM table_name_32 WHERE school = "washington 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:
Show countries where a singer above age 40 and a singer below 30 are from.
### Context:
CREATE TABLE singer (country VARCHAR, age INTEGER)
### Response:
### Response:
SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the dbeingtribution with grsecurity being no
### Context:
CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR)
### Response:
### Response:
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "No"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Drawn, when Lost is 14, and when Bonus Points is 12?
### Context:
CREATE TABLE table_name_63 (drawn VARCHAR, lost VARCHAR, bonus_points VARCHAR)
### Response:
### Response:
SELECT drawn FROM table_name_63 WHERE lost = "14" AND bonus_points = "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 Ariel 3's COSPAR ID?
### Context:
CREATE TABLE table_name_3 (cospar_id VARCHAR, satellite VARCHAR)
### Response:
### Response:
SELECT cospar_id FROM table_name_3 WHERE satellite = "ariel 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 was the number of location of nickname cbsua formerly known cssac?
### Context:
CREATE TABLE table_11604804_5 (location VARCHAR, nickname VARCHAR)
### Response:
### Response:
SELECT COUNT(location) FROM table_11604804_5 WHERE nickname = "CBSUA formerly known CSSAC"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 leading scorer of the game with the Celtics as the visiting team?
### Context:
CREATE TABLE table_name_59 (leading_scorer VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT leading_scorer FROM table_name_59 WHERE visitor = "celtics"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kind of IATA has an Airport of hamburg airport?
### Context:
CREATE TABLE table_name_5 (iata VARCHAR, airport VARCHAR)
### Response:
### Response:
SELECT iata FROM table_name_5 WHERE airport = "hamburg airport"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the player that had a debut in round 6?
### Context:
CREATE TABLE table_name_96 (name VARCHAR, debut VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_96 WHERE debut = "round 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:
What's the Representative listed that has a Presentation of Credentials of August 25, 1851?
### Context:
CREATE TABLE table_name_80 (representative VARCHAR, presentation_of_credentials VARCHAR)
### Response:
### Response:
SELECT representative FROM table_name_80 WHERE presentation_of_credentials = "august 25, 1851"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 high amount of assists before game 60?
### Context:
CREATE TABLE table_name_1 (high_assists VARCHAR, game INTEGER)
### Response:
### Response:
SELECT high_assists FROM table_name_1 WHERE game < 60</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest series number for the episode that aired February 16, 1957?
### Context:
CREATE TABLE table_25800134_1 (series__number INTEGER, airdate VARCHAR)
### Response:
### Response:
SELECT MAX(series__number) FROM table_25800134_1 WHERE airdate = "February 16, 1957"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Enrollment that has a School of south central (union mills) has what sum?
### Context:
CREATE TABLE table_name_72 (enrollment INTEGER, school VARCHAR)
### Response:
### Response:
SELECT SUM(enrollment) FROM table_name_72 WHERE school = "south central (union mills)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total laps for the driver with Winnings of $116,033, and a Car # smaller than 18?
### Context:
CREATE TABLE table_name_53 (laps VARCHAR, winnings VARCHAR, car__number VARCHAR)
### Response:
### Response:
SELECT COUNT(laps) FROM table_name_53 WHERE winnings = "$116,033" AND car__number < 18</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many points did the club with 13 losses and 461 points against have?
### Context:
CREATE TABLE table_name_59 (points VARCHAR, lost VARCHAR, points_against VARCHAR)
### Response:
### Response:
SELECT points FROM table_name_59 WHERE lost = "13" AND points_against = "461"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player(s) drafted by the hamilton tiger-cats?
### Context:
CREATE TABLE table_20170644_5 (player VARCHAR, cfl_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_20170644_5 WHERE cfl_team = "Hamilton Tiger-Cats"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Michael Del Zotto's nationality?
### Context:
CREATE TABLE table_name_54 (nationality VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_54 WHERE player = "michael del zotto"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 David Graham from?
### Context:
CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_94 WHERE player = "david graham"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of products that were bought by at least two distinct customers.
### Context:
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)
### Response:
### Response:
SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id GROUP BY T3.product_id HAVING COUNT(DISTINCT T1.customer_id) >= 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:
Name the height for the player born 1989 and height 2.11
### Context:
CREATE TABLE table_23670057_6 (height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR)
### Response:
### Response:
SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.11"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
I want the player for NHL team for mighty ducks of anaheim
### Context:
CREATE TABLE table_name_89 (player VARCHAR, nhl_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anaheim"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the lowest gold when silver was smaller than 0?
### Context:
CREATE TABLE table_name_94 (gold INTEGER, silver INTEGER)
### Response:
### Response:
SELECT MIN(gold) FROM table_name_94 WHERE silver < 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What park opened in 1999?
### Context:
CREATE TABLE table_name_48 (park VARCHAR, opened VARCHAR)
### Response:
### Response:
SELECT park FROM table_name_48 WHERE opened = "1999"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 decile of the school with a state authority and a roll number of 888?
### Context:
CREATE TABLE table_name_62 (decile INTEGER, authority VARCHAR, roll VARCHAR)
### Response:
### Response:
SELECT AVG(decile) FROM table_name_62 WHERE authority = "state" AND roll = 888</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round was held at the Queensland Raceway?
### Context:
CREATE TABLE table_14016079_1 (rd VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT rd FROM table_14016079_1 WHERE circuit = "Queensland Raceway"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 weeks have an Attendance of 62,289?
### Context:
CREATE TABLE table_name_68 (week INTEGER, attendance VARCHAR)
### Response:
### Response:
SELECT SUM(week) FROM table_name_68 WHERE attendance = 62 OFFSET 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:
Show names of actors in descending order of the year their musical is awarded.
### Context:
CREATE TABLE musical (Musical_ID VARCHAR, Year VARCHAR); CREATE TABLE actor (Name VARCHAR, Musical_ID VARCHAR)
### Response:
### Response:
SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID = T2.Musical_ID ORDER BY T2.Year 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:
What is the Pole Position of the Brazilian Grand Prix race?
### Context:
CREATE TABLE table_name_28 (pole_position VARCHAR, race VARCHAR)
### Response:
### Response:
SELECT pole_position FROM table_name_28 WHERE race = "brazilian 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 constructor has a 12 grid?
### Context:
CREATE TABLE table_name_61 (constructor VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_61 WHERE grid = 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 Fourth place with a Year that is 1978?
### Context:
CREATE TABLE table_name_58 (fourth_place VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT fourth_place FROM table_name_58 WHERE year = 1978</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 titles of episodes written by Anne Cofell Saunders.
### Context:
CREATE TABLE table_26464364_1 (title VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT title FROM table_26464364_1 WHERE written_by = "Anne Cofell Saunders"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the distance of 10f, and a winner or 2nd of Lampra?
### Context:
CREATE TABLE table_name_30 (result VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_30 WHERE distance = "10f" AND winner_or_2nd = "lampra"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Average Pick # has an Overall of 296?
### Context:
CREATE TABLE table_name_8 (pick__number INTEGER, overall VARCHAR)
### Response:
### Response:
SELECT AVG(pick__number) FROM table_name_8 WHERE overall = 296</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 final win percentage of the Sault Ste. Marie Greyhounds?
### Context:
CREATE TABLE table_17751942_4 (final_win__percentage VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT final_win__percentage FROM table_17751942_4 WHERE team = "Sault Ste. Marie Greyhounds"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position was the driver who won $60,000?
### Context:
CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR)
### Response:
### Response:
SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a Cosworth V8 engine and 12 points?
### Context:
CREATE TABLE table_name_36 (year VARCHAR, points VARCHAR, engine VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_36 WHERE points = 12 AND engine = "cosworth v8"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1984, what was the RAvg?
### Context:
CREATE TABLE table_name_51 (ravg VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT ravg FROM table_name_51 WHERE year = "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 are the High points for Team @ portland?
### Context:
CREATE TABLE table_name_75 (high_points VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_name_75 WHERE team = "@ portland"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the stadium name and the number of concerts in each stadium.
### Context:
CREATE TABLE stadium (name VARCHAR, stadium_id VARCHAR); CREATE TABLE concert (stadium_id VARCHAR)
### Response:
### Response:
SELECT T2.name, COUNT(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_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 highest league up with less than 3 championships, a total less than 2, and a FA cup larger than 0?
### Context:
CREATE TABLE table_name_99 (league_cup INTEGER, fa_cup VARCHAR, championship VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT MAX(league_cup) FROM table_name_99 WHERE championship < 3 AND total < 2 AND 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:
Who rode mad rush?
### Context:
CREATE TABLE table_name_44 (jockey VARCHAR, horse VARCHAR)
### Response:
### Response:
SELECT jockey FROM table_name_44 WHERE horse = "mad rush"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had 6 assists?
### Context:
CREATE TABLE table_25353861_5 (player VARCHAR, assists VARCHAR)
### Response:
### Response:
SELECT player FROM table_25353861_5 WHERE assists = 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:
What was the score when 43,746 attended?
### Context:
CREATE TABLE table_name_50 (score VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_50 WHERE attendance = "43,746"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance when footscray is the away team?
### Context:
CREATE TABLE table_name_61 (crowd INTEGER, away_team VARCHAR)
### Response:
### Response:
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue was punt road oval, what was the Home teams score?
### Context:
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_74 WHERE venue = "punt road oval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 competition is at 23:00 cet?
### Context:
CREATE TABLE table_name_91 (competition VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_91 WHERE time = "23:00 cet"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode did tomoyuki furumaya
### Context:
CREATE TABLE table_29039942_1 (title VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT title FROM table_29039942_1 WHERE director = "Tomoyuki Furumaya"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries where Spanish is spoken by the largest percentage of people?
### Context:
CREATE TABLE countrylanguage (Percentage INTEGER, CountryCode VARCHAR, LANGUAGE VARCHAR)
### Response:
### Response:
SELECT COUNT(*), MAX(Percentage) FROM countrylanguage WHERE LANGUAGE = "Spanish" GROUP BY CountryCode</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the high rebounds on April 4?
### Context:
CREATE TABLE table_22879323_10 (high_rebounds VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_rebounds FROM table_22879323_10 WHERE date = "April 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 year was the Line of Gardermobanen completed?
### Context:
CREATE TABLE table_name_20 (year_completed VARCHAR, line VARCHAR)
### Response:
### Response:
SELECT year_completed FROM table_name_20 WHERE line = "gardermobanen"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the opponent when the score was 6–4, 6–2 and the surface was clay?
### Context:
CREATE TABLE table_name_94 (opponent VARCHAR, score VARCHAR, surface VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_94 WHERE score = "6–4, 6–2" AND surface = "clay"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 or district has a charter date of april 17, 2011?
### Context:
CREATE TABLE table_name_51 (us_state_district VARCHAR, charter_date VARCHAR)
### Response:
### Response:
SELECT us_state_district FROM table_name_51 WHERE charter_date = "april 17, 2011"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct last names of all the students who have president votes and whose advisor is not 2192.
### Context:
CREATE TABLE STUDENT (LName VARCHAR, PRESIDENT_Vote VARCHAR, Advisor VARCHAR); CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (Id VARCHAR)
### Response:
### Response:
SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = PRESIDENT_Vote EXCEPT SELECT DISTINCT LName FROM STUDENT WHERE Advisor = "2192"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of position with driver robby gordon
### Context:
CREATE TABLE table_10160447_1 (position VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT COUNT(position) FROM table_10160447_1 WHERE driver = "Robby Gordon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college did Matt Freeman go to?
### Context:
CREATE TABLE table_name_46 (college VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_46 WHERE player = "matt freeman"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 place where adelaide oval is
### Context:
CREATE TABLE table_name_51 (city_country VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT city_country FROM table_name_51 WHERE venue = "adelaide oval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bi-directional route has a terminus at Ecat/Rosa Park Transit Center?
### Context:
CREATE TABLE table_name_50 (name VARCHAR, direction VARCHAR, terminus VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_50 WHERE direction = "bi-directional" AND terminus = "ecat/rosa park transit center"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist with a start date of 1966-10-23?
### Context:
CREATE TABLE table_2560677_1 (artist_s_ VARCHAR, start_date VARCHAR)
### Response:
### Response:
SELECT artist_s_ FROM table_2560677_1 WHERE start_date = "1966-10-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:
Which DOB has Throws of r, and a Position of c, and a First of torey?
### Context:
CREATE TABLE table_name_25 (dob VARCHAR, first VARCHAR, throws VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT dob FROM table_name_25 WHERE throws = "r" AND position = "c" AND first = "torey"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Adelaide's Melbourne, Sydney, and Gold Coast were all no?
### Context:
CREATE TABLE table_name_30 (adelaide VARCHAR, gold_coast VARCHAR, melbourne VARCHAR, sydney VARCHAR)
### Response:
### Response:
SELECT adelaide FROM table_name_30 WHERE melbourne = "no" AND sydney = "no" AND gold_coast = "no"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of points of entrants with a reynard 92d chassis?
### Context:
CREATE TABLE table_name_88 (points INTEGER, chassis VARCHAR)
### Response:
### Response:
SELECT SUM(points) FROM table_name_88 WHERE chassis = "reynard 92d"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick number of the new york jets?
### Context:
CREATE TABLE table_12165135_1 (overall_pick__number INTEGER, afl_team VARCHAR)
### Response:
### Response:
SELECT MAX(overall_pick__number) FROM table_12165135_1 WHERE afl_team = "New York Jets"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Date has a Pictorials of mercedes mcnab, girls of hawaiian tropic?
### Context:
CREATE TABLE table_name_67 (date VARCHAR, pictorials VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_67 WHERE pictorials = "mercedes mcnab, girls of hawaiian tropic"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 donor payment in Belgium?
### Context:
CREATE TABLE table_16175217_1 (donor_payment VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT donor_payment FROM table_16175217_1 WHERE country = "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 is Lee Westwood's score?
### Context:
CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_20 WHERE player = "lee westwood"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 apps that a has a total season and 3 goals?
### Context:
CREATE TABLE table_name_22 (apps INTEGER, season VARCHAR, goals VARCHAR)
### Response:
### Response:
SELECT MAX(apps) FROM table_name_22 WHERE season = "total" AND goals > 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:
Where was the fight that took a time of 1:37?
### Context:
CREATE TABLE table_name_94 (location VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_94 WHERE time = "1:37"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.