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 delegates are from counties with population smaller than 100000?
### Context:
CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_id VARCHAR, Population INTEGER)
### Response:
### Response:
SELECT T2.Delegate FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District WHERE T1.Population < 100000</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 home team at the game with an Attendance of 2,029?
### Context:
CREATE TABLE table_name_85 (home_team VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_85 WHERE attendance = "2,029"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 attendance of the game on week 9?
### Context:
CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR)
### Response:
### Response:
SELECT MAX(attendance) FROM table_name_68 WHERE week = 9</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What try bonus has 18 as the played of and 204 as the points?
### Context:
CREATE TABLE table_name_83 (try_bonus VARCHAR, played VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT try_bonus FROM table_name_83 WHERE played = "18" AND points_for = "204"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number of bedrooms of all apartments?
### Context:
CREATE TABLE Apartments (bedroom_count INTEGER)
### Response:
### Response:
SELECT AVG(bedroom_count) FROM Apartments</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the date that the away team is aldershot?
### Context:
CREATE TABLE table_name_16 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_16 WHERE away_team = "aldershot"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 users are there?
### Context:
CREATE TABLE user_profiles (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM user_profiles</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names for all females from Canada having a wedding in year 2016.
### Context:
CREATE TABLE people (name VARCHAR, people_id VARCHAR, country VARCHAR, is_male VARCHAR); CREATE TABLE wedding (female_id VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT T2.name FROM wedding AS T1 JOIN people AS T2 ON T1.female_id = T2.people_id WHERE T1.year = 2016 AND T2.is_male = 'F' AND T2.country = 'Canada'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Venue has a Competition of pl group b, and a Score of 2-2?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, competition VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_82 WHERE competition = "pl group b" AND score = "2-2"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the airdate of the episode of production code 214?
### Context:
CREATE TABLE table_28787871_3 (original_air_date VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_28787871_3 WHERE production_code = 214</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notes of notes?
### Context:
CREATE TABLE table_name_21 (date VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_21 WHERE "notes" = "notes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 types of schools that have two schools.
### Context:
CREATE TABLE school (TYPE VARCHAR)
### Response:
### Response:
SELECT TYPE FROM school GROUP BY TYPE HAVING COUNT(*) = 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 position is played by farmar, jordan jordan farmar?
### Context:
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the name of teachers whose hometown is not `` Little Lever Urban District '' .
### Context:
CREATE TABLE teacher (name VARCHAR, hometown VARCHAR)
### Response:
### Response:
SELECT name FROM teacher WHERE hometown <> "little lever urban district"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 November 3 result when June 10-11 is 147?
### Context:
CREATE TABLE table_25284864_3 (november_3 VARCHAR, june_10_11 VARCHAR)
### Response:
### Response:
SELECT november_3 FROM table_25284864_3 WHERE june_10_11 = "147"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a home field at Glenferrie Oval?
### Context:
CREATE TABLE table_name_48 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_48 WHERE venue = "glenferrie 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 period were conscituency contested is aljunied grc?
### Context:
CREATE TABLE table_1889233_2 (period_in_office VARCHAR, constituency_contested VARCHAR)
### Response:
### Response:
SELECT period_in_office FROM table_1889233_2 WHERE constituency_contested = "Aljunied GRC"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games were on october 17?
### Context:
CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 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:
For the game ending in a final result of 99-90, who was the Road Team?
### Context:
CREATE TABLE table_name_68 (road_team VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT road_team FROM table_name_68 WHERE result = "99-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 was the date of the game when the Canadiens had a record of 31–19–9?
### Context:
CREATE TABLE table_name_40 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_40 WHERE record = "31–19–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 much Attendance has a Loss of divis (0–3–0), and Points smaller than 38?
### Context:
CREATE TABLE table_name_86 (attendance INTEGER, loss VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT SUM(attendance) FROM table_name_86 WHERE loss = "divis (0–3–0)" AND points < 38</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Christian Malcolm´s highest react when his time was below 20.58?
### Context:
CREATE TABLE table_name_72 (react INTEGER, time VARCHAR, athlete VARCHAR)
### Response:
### Response:
SELECT MAX(react) FROM table_name_72 WHERE time < 20.58 AND athlete = "christian malcolm"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 how many different years was the warship that weights 1130 tons built?
### Context:
CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)
### Response:
### Response:
SELECT COUNT(built_year) FROM table_23614702_1 WHERE tons___lton__ = 1130</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 had the pick of 85?
### Context:
CREATE TABLE table_name_51 (college VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_51 WHERE pick = 85</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of the kansas city chiefs?
### Context:
CREATE TABLE table_name_12 (pick INTEGER, team VARCHAR)
### Response:
### Response:
SELECT AVG(pick) FROM table_name_12 WHERE team = "kansas city chiefs"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest Game, when High Assists is "Maurice Williams (8)"?
### Context:
CREATE TABLE table_name_11 (game INTEGER, high_assists VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_11 WHERE high_assists = "maurice williams (8)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who scored the high points for the game with record 9–3?
### Context:
CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_27722408_6 WHERE record = "9–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:
Name the vertical for 明勾(ys月南)
### Context:
CREATE TABLE table_25519358_1 (vertical_0_b VARCHAR, horizontal_0_a VARCHAR)
### Response:
### Response:
SELECT vertical_0_b FROM table_25519358_1 WHERE horizontal_0_a = "明勾(YS月南)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the date of the uncaf nations cup 2009
### Context:
CREATE TABLE table_name_91 (date VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_91 WHERE competition = "uncaf nations cup 2009"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On what date was Stuart Potts the Man of the Match?
### Context:
CREATE TABLE table_name_47 (date VARCHAR, man_of_the_match VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_47 WHERE man_of_the_match = "stuart potts"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 current manager of the team located in tubize?
### Context:
CREATE TABLE table_name_15 (current_manager VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT current_manager FROM table_name_15 WHERE location = "tubize"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Result has a Venue of away, and a Game smaller than 43, and an Opponent of bournemouth?
### Context:
CREATE TABLE table_name_22 (result VARCHAR, opponent VARCHAR, venue VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_22 WHERE venue = "away" AND game < 43 AND opponent = "bournemouth"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 loss of the game attended by 29,704?
### Context:
CREATE TABLE table_name_21 (loss VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_21 WHERE attendance = "29,704"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when the score was 72-67-68-71=278?
### Context:
CREATE TABLE table_name_20 (to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_20 WHERE score = 72 - 67 - 68 - 71 = 278</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 made the Flieger-Doppelpistole 1919?
### Context:
CREATE TABLE table_29474407_11 (country_of_origin VARCHAR, name__designation VARCHAR)
### Response:
### Response:
SELECT country_of_origin FROM table_29474407_11 WHERE name__designation = "Flieger-Doppelpistole 1919"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the final with a clay surface at the Tournament of Lyneham?
### Context:
CREATE TABLE table_name_20 (opponent_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT opponent_in_the_final FROM table_name_20 WHERE surface = "clay" AND tournament = "lyneham"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 gross revenue in 2011 with a gross revenue in 1982 of $1,988,047?
### Context:
CREATE TABLE table_name_28 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
### Response:
### Response:
SELECT gross_revenue__2011_ FROM table_name_28 WHERE gross_revenue__1982_ = "$1,988,047"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the away team that features a home team of south melbourne?
### Context:
CREATE TABLE table_name_53 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_53 WHERE home_team = "south melbourne"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the candidates for illinois 15
### Context:
CREATE TABLE table_1341672_14 (candidates VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_1341672_14 WHERE district = "Illinois 15"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of immunity for cycle number of 13
### Context:
CREATE TABLE table_16976547_2 (immunity VARCHAR, cycle_no VARCHAR)
### Response:
### Response:
SELECT COUNT(immunity) FROM table_16976547_2 WHERE cycle_no = "13"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pendle has a Burnley smaller than 0?
### Context:
CREATE TABLE table_name_47 (pendle INTEGER, burnley INTEGER)
### Response:
### Response:
SELECT SUM(pendle) FROM table_name_47 WHERE burnley < 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which party has a voting total greater than 4,478?
### Context:
CREATE TABLE table_name_51 (party VARCHAR, votes INTEGER)
### Response:
### Response:
SELECT party FROM table_name_51 WHERE votes > 4 OFFSET 478</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the opponent in Belgrade and had a result of 5:2?
### Context:
CREATE TABLE table_name_8 (opponent VARCHAR, city VARCHAR, results¹ VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_8 WHERE city = "belgrade" AND results¹ = "5:2"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the high points for l 110–112 (ot)
### Context:
CREATE TABLE table_27733258_6 (high_points VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_27733258_6 WHERE score = "L 110–112 (OT)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the highest level of team Astana since 2007?
### Context:
CREATE TABLE table_name_96 (level INTEGER, team VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT MAX(level) FROM table_name_96 WHERE team = "astana" AND season > 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 length was won by Roger McCluskey?
### Context:
CREATE TABLE table_22669816_1 (length VARCHAR, winning_driver VARCHAR)
### Response:
### Response:
SELECT length FROM table_22669816_1 WHERE winning_driver = "Roger McCluskey"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Year(s), when Championship is "Australian Open", when Outcome is "Runner-Up", and when Score in Final is 3-6, 6-3, 6-2?
### Context:
CREATE TABLE table_name_36 (year INTEGER, score_in_final VARCHAR, championship VARCHAR, outcome VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_36 WHERE championship = "australian open" AND outcome = "runner-up" AND score_in_final = "3-6, 6-3, 6-2"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number of entries driver Mark Webber, who has more than 1014.5 points, has?
### Context:
CREATE TABLE table_name_27 (entries INTEGER, driver VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT AVG(entries) FROM table_name_27 WHERE driver = "mark webber" AND points > 1014.5</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the episode title of the episode with Ben Okri as the presenter?
### Context:
CREATE TABLE table_name_74 (episode_title VARCHAR, presenter VARCHAR)
### Response:
### Response:
SELECT episode_title FROM table_name_74 WHERE presenter = "ben okri"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Trial Start Date, when Candidate Name is Notes?
### Context:
CREATE TABLE table_name_36 (trial_start_date VARCHAR, candidate_name VARCHAR)
### Response:
### Response:
SELECT trial_start_date FROM table_name_36 WHERE candidate_name = "notes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the least amount of cattle head
### Context:
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER)
### Response:
### Response:
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the Rider of the LCR Honda 600CC Team with a Time of 59’ 22.80?
### Context:
CREATE TABLE table_name_96 (rider VARCHAR, team VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT rider FROM table_name_96 WHERE team = "lcr honda 600cc" AND time = "59’ 22.80"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 assets did not incur any fault log? List the asset model.
### Context:
CREATE TABLE Fault_Log (asset_model VARCHAR, asset_id VARCHAR); CREATE TABLE Assets (asset_model VARCHAR, asset_id VARCHAR)
### Response:
### Response:
SELECT asset_model FROM Assets WHERE NOT asset_id IN (SELECT asset_id FROM Fault_Log)</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 games played at frontier field
### Context:
CREATE TABLE table_name_10 (result VARCHAR, field VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_10 WHERE field = "frontier field"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 totals have golds of 3, silvers of 3, and bronzes under 3?
### Context:
CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "3"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which years have a Name of ladbrooks school?
### Context:
CREATE TABLE table_name_97 (years VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT years FROM table_name_97 WHERE name = "ladbrooks school"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is every trigram when direction is Northwest?
### Context:
CREATE TABLE table_23406517_2 (trigram VARCHAR, direction VARCHAR)
### Response:
### Response:
SELECT trigram FROM table_23406517_2 WHERE direction = "Northwest"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 times points were listed when the distance was 41.05 metres?
### Context:
CREATE TABLE table_26454128_9 (points VARCHAR, distance__metres_ VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_26454128_9 WHERE distance__metres_ = "41.05"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Hawthorn's score as the home team?
### Context:
CREATE TABLE table_name_94 (home_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Graded Hammer Three (GH3) shows Model of clp320?
### Context:
CREATE TABLE table_name_20 (graded_hammer_three__gh3_ VARCHAR, model VARCHAR)
### Response:
### Response:
SELECT graded_hammer_three__gh3_ FROM table_name_20 WHERE model = "clp320"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average earnings for rank of 3 and wins less than 3
### Context:
CREATE TABLE table_name_34 (earnings___ INTEGER, rank VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT AVG(earnings___) AS $__ FROM table_name_34 WHERE rank = 3 AND wins < 3</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Tie no when Wimbledon is the home team?
### Context:
CREATE TABLE table_name_12 (tie_no VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT tie_no FROM table_name_12 WHERE home_team = "wimbledon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct colleges are associated with players from the team with name "Columbus Crew".
### Context:
CREATE TABLE match_season (College VARCHAR, Team VARCHAR); CREATE TABLE team (Team_id VARCHAR, Name VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT T1.College) FROM match_season AS T1 JOIN team AS T2 ON T1.Team = T2.Team_id WHERE T2.Name = "Columbus Crew"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 code of the district in which 312520 people lived in 2011?
### Context:
CREATE TABLE table_2801442_1 (code VARCHAR, population__2011_census_ VARCHAR)
### Response:
### Response:
SELECT code FROM table_2801442_1 WHERE population__2011_census_ = 312520</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fixed route is the type of fare how much is the 31-day pass?
### Context:
CREATE TABLE table_20803241_1 (day_pass VARCHAR, type_of_fare VARCHAR)
### Response:
### Response:
SELECT 31 - day_pass FROM table_20803241_1 WHERE type_of_fare = "Fixed Route"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 points when the grade was A?
### Context:
CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR)
### Response:
### Response:
SELECT SUM(points) FROM table_name_31 WHERE grade = "a"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which player made exactly 223 passes?
### Context:
CREATE TABLE table_28461589_2 (player VARCHAR, passes VARCHAR)
### Response:
### Response:
SELECT player FROM table_28461589_2 WHERE passes = 223</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What character did Richard Fleeshman portray?
### Context:
CREATE TABLE table_22460085_1 (character VARCHAR, original_west_end_performer VARCHAR)
### Response:
### Response:
SELECT character FROM table_22460085_1 WHERE original_west_end_performer = "Richard Fleeshman"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What surface was played on when Piet Norval was a partner?
### Context:
CREATE TABLE table_name_24 (surface VARCHAR, partner VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_24 WHERE partner = "piet norval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
A list of the top 5 countries by number of invoices. List country name and number of invoices.
### Context:
CREATE TABLE invoices (billing_country VARCHAR)
### Response:
### Response:
SELECT billing_country, COUNT(*) FROM invoices GROUP BY billing_country ORDER BY COUNT(*) DESC LIMIT 5</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What state is the University of Tennessee located in?
### Context:
CREATE TABLE table_name_91 (state VARCHAR, host VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_91 WHERE host = "university of tennessee"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games associated with the Pac-12 of california and 117 years?
### Context:
CREATE TABLE table_name_84 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR)
### Response:
### Response:
SELECT total_games FROM table_name_84 WHERE years = 117 AND pac_12 = "california"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finish for 4-4
### Context:
CREATE TABLE table_25920798_2 (finish VARCHAR, vote VARCHAR)
### Response:
### Response:
SELECT finish FROM table_25920798_2 WHERE vote = "4-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:
How many stumpings did the player Tim Latham have?
### Context:
CREATE TABLE table_13337302_16 (stumpings INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(stumpings) FROM table_13337302_16 WHERE player = "Tim Latham"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the venue when Collingwood was the home team?
### Context:
CREATE TABLE table_name_34 (venue VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_34 WHERE home_team = "collingwood"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the date of appointment for sacked and 14th position replaced by marco kostmann
### Context:
CREATE TABLE table_17327264_3 (date_of_appointment VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR)
### Response:
### Response:
SELECT date_of_appointment FROM table_17327264_3 WHERE manner_of_departure = "Sacked" AND position_in_table = "14th" AND replaced_by = "Marco Kostmann"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 different series numbers are there for the episode seen by 7.84 million people in the US?
### Context:
CREATE TABLE table_23242933_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT COUNT(no_in_series) FROM table_23242933_2 WHERE us_viewers__millions_ = "7.84"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winners with # being 4
### Context:
CREATE TABLE table_12303563_2 (winners VARCHAR, _number VARCHAR)
### Response:
### Response:
SELECT COUNT(winners) FROM table_12303563_2 WHERE _number = 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 label for catalogue 7200222?
### Context:
CREATE TABLE table_name_77 (label VARCHAR, catalogue VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_77 WHERE catalogue = "7200222"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Place of the Player from Zimbabwe?
### Context:
CREATE TABLE table_name_75 (place VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_75 WHERE country = "zimbabwe"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manufacturer whose intro date is 2006 and their throughput is 4 mbit/s?
### Context:
CREATE TABLE table_29778616_1 (manufacturer VARCHAR, intro_date VARCHAR, throughput VARCHAR)
### Response:
### Response:
SELECT manufacturer FROM table_29778616_1 WHERE intro_date = "2006" AND throughput = "4 Mbit/s"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 original air date for the episode written by Bob Goodman?
### Context:
CREATE TABLE table_16581695_2 (original_airdate VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT original_airdate FROM table_16581695_2 WHERE written_by = "Bob Goodman"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the Losing Semifinalists were Toluca Unam?
### Context:
CREATE TABLE table_name_88 (score VARCHAR, losing_semifinalists VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_88 WHERE losing_semifinalists = "toluca unam"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date of game 5?
### Context:
CREATE TABLE table_20745706_1 (date VARCHAR, _number VARCHAR)
### Response:
### Response:
SELECT date FROM table_20745706_1 WHERE _number = "5"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Laps have a Bike of kawasaki zx-6r, and a Time of +26.891?
### Context:
CREATE TABLE table_name_14 (laps INTEGER, bike VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT MIN(laps) FROM table_name_14 WHERE bike = "kawasaki zx-6r" AND time = "+26.891"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 points earned total number if the average is 21.3?
### Context:
CREATE TABLE table_23662272_4 (total_points_earned VARCHAR, average VARCHAR)
### Response:
### Response:
SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "21.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 incident number of the incident that occurred in Dantewada, Chattisgarh?
### Context:
CREATE TABLE table_name_8 (incident_no VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT incident_no FROM table_name_8 WHERE place = "dantewada, chattisgarh"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 L/100km urban (cold) for engine capacities over 1910, mpg in the US (urban) under 25.3, mpg in the UK (combined) over 27.2, and mpg in the UK (urban, cold) of 22.4?
### Context:
CREATE TABLE table_name_27 (l_100km_urban__cold_ INTEGER, mpg_uk_urban__cold_ VARCHAR, mpg_uk_combined VARCHAR, engine_capacity VARCHAR, mpg_us_urban VARCHAR)
### Response:
### Response:
SELECT AVG(l_100km_urban__cold_) FROM table_name_27 WHERE engine_capacity > 1910 AND mpg_us_urban < 25.3 AND mpg_uk_combined > 27.2 AND mpg_uk_urban__cold_ = 22.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:
When the change (2010 to 2011) is +1.0% what is the change (2011 to 2012)?
### Context:
CREATE TABLE table_14752049_6 (change__2011_to_2012_ VARCHAR, change__2010_to_2011_ VARCHAR)
### Response:
### Response:
SELECT change__2011_to_2012_ FROM table_14752049_6 WHERE change__2010_to_2011_ = "+1.0%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many budget types do we have?
### Context:
CREATE TABLE Ref_budget_codes (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Ref_budget_codes</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 combined of the 14 Super G?
### Context:
CREATE TABLE table_name_60 (combined VARCHAR, super_g VARCHAR)
### Response:
### Response:
SELECT combined FROM table_name_60 WHERE super_g = 14</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average Start term with a 1912 end term?
### Context:
CREATE TABLE table_name_58 (start_term INTEGER, end_term VARCHAR)
### Response:
### Response:
SELECT AVG(start_term) FROM table_name_58 WHERE end_term = 1912</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 exit date of the player transferred to Reggina for free?
### Context:
CREATE TABLE table_name_19 (exit_date VARCHAR, transfer_fee VARCHAR, to_club VARCHAR)
### Response:
### Response:
SELECT exit_date FROM table_name_19 WHERE transfer_fee = "free" AND to_club = "reggina"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 bills sponsored associated with over 113 bills originally cosponsored and under 47 amendments cosponsored?
### Context:
CREATE TABLE table_name_57 (all_bills_sponsored VARCHAR, bills_originally_cosponsored VARCHAR, all_amendments_cosponsored VARCHAR)
### Response:
### Response:
SELECT all_bills_sponsored FROM table_name_57 WHERE bills_originally_cosponsored > 113 AND all_amendments_cosponsored < 47</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 years on the Jazz for the player who is a combo forward?
### Context:
CREATE TABLE table_name_12 (years_for_jazz VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT years_for_jazz FROM table_name_12 WHERE position = "combo forward"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 category in 2008?
### Context:
CREATE TABLE table_name_72 (category VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT category FROM table_name_72 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 nickname founded in 1902?
### Context:
CREATE TABLE table_1715730_2 (nickname VARCHAR, founded VARCHAR)
### Response:
### Response:
SELECT nickname FROM table_1715730_2 WHERE founded = 1902</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series number for season 22
### Context:
CREATE TABLE table_25800134_18 (series__number INTEGER, season__number VARCHAR)
### Response:
### Response:
SELECT MAX(series__number) FROM table_25800134_18 WHERE season__number = 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 was the crowd when the away team is footscray?
### Context:
CREATE TABLE table_name_26 (crowd VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT crowd FROM table_name_26 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:
What is the number for the french open 1974?
### Context:
CREATE TABLE table_197638_7 (_number INTEGER, french_open VARCHAR)
### Response:
### Response:
SELECT MAX(_number) FROM table_197638_7 WHERE french_open = 1974</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.