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:
Who had the fastest lap in round 1?
### Context:
CREATE TABLE table_29162856_1 (fastest_lap VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT fastest_lap FROM table_29162856_1 WHERE round = 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 sum of the races in the 2007 season, which has more than 4 podiums?
### Context:
CREATE TABLE table_name_40 (races INTEGER, podiums VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT SUM(races) FROM table_name_40 WHERE podiums > 4 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's the earliest year the philippines won?
### Context:
CREATE TABLE table_name_6 (year INTEGER, country_territory VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_6 WHERE country_territory = "philippines"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Title has an 1825 end term?
### Context:
CREATE TABLE table_name_78 (title VARCHAR, end_term VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_78 WHERE end_term = 1825</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Total, when Club is Leeds United, and when League Goals is 13?
### Context:
CREATE TABLE table_name_77 (total VARCHAR, club VARCHAR, league_goals VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_77 WHERE club = "leeds united" AND league_goals = "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:
What is the # for worthing high school?
### Context:
CREATE TABLE table_22496344_1 (_number VARCHAR, high_school VARCHAR)
### Response:
### Response:
SELECT COUNT(_number) FROM table_22496344_1 WHERE high_school = "Worthing"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Burmese term for Thursday?
### Context:
CREATE TABLE table_14850099_18 (burmese VARCHAR, english VARCHAR)
### Response:
### Response:
SELECT burmese FROM table_14850099_18 WHERE english = "Thursday"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 COSPAR ID of the satellite with a titan iv(401)a launch vehicle?
### Context:
CREATE TABLE table_name_20 (cospar_id_satcat_№ VARCHAR, launch_vehicle VARCHAR)
### Response:
### Response:
SELECT cospar_id_satcat_№ FROM table_name_20 WHERE launch_vehicle = "titan iv(401)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:
In what Round was the draft pick from Florida with an Overall less than 166?
### Context:
CREATE TABLE table_name_93 (round INTEGER, college VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT AVG(round) FROM table_name_93 WHERE college = "florida" AND overall < 166</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 transfer fee for evilasio?
### Context:
CREATE TABLE table_name_60 (transfer_fee VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT transfer_fee FROM table_name_60 WHERE name = "evilasio"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Stls, when Rebs is greater than 8.6?
### Context:
CREATE TABLE table_name_27 (stls INTEGER, rebs INTEGER)
### Response:
### Response:
SELECT MIN(stls) FROM table_name_27 WHERE rebs > 8.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 is the lowest to par of a player from australia with a score of 76-70-75-72=293?
### Context:
CREATE TABLE table_name_96 (to_par INTEGER, country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT MIN(to_par) FROM table_name_96 WHERE country = "australia" AND score = 76 - 70 - 75 - 72 = 293</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What launch has a Ship of fearless?
### Context:
CREATE TABLE table_name_64 (launched VARCHAR, ship VARCHAR)
### Response:
### Response:
SELECT launched FROM table_name_64 WHERE ship = "fearless"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 developer for Windows live messenger?
### Context:
CREATE TABLE table_18138132_2 (developer VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT developer FROM table_18138132_2 WHERE title = "Windows Live Messenger"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What school did player number 6 come from?
### Context:
CREATE TABLE table_10015132_1 (school_club_team VARCHAR, no VARCHAR)
### Response:
### Response:
SELECT school_club_team FROM table_10015132_1 WHERE no = "6"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many laps for martin brundle with a grid of less than 10?
### Context:
CREATE TABLE table_name_54 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT COUNT(laps) FROM table_name_54 WHERE driver = "martin brundle" AND grid < 10</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 age at appointment of those attached to security?
### Context:
CREATE TABLE table_name_58 (age_at_appointment INTEGER, portfolio_attachment VARCHAR)
### Response:
### Response:
SELECT AVG(age_at_appointment) FROM table_name_58 WHERE portfolio_attachment = "security"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 wrote episode 94?
### Context:
CREATE TABLE table_10718631_2 (written_by VARCHAR, no_in_series VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_10718631_2 WHERE no_in_series = 94</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when sigourney weaver was nominated for best actress?
### Context:
CREATE TABLE table_name_26 (year__ceremony_ VARCHAR, category VARCHAR, actor_actress VARCHAR)
### Response:
### Response:
SELECT year__ceremony_ FROM table_name_26 WHERE category = "best actress" AND actor_actress = "sigourney weaver"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 spanish challenge is the team name what are the rr1 points?
### Context:
CREATE TABLE table_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR)
### Response:
### Response:
SELECT rr1_pts FROM table_21489362_2 WHERE team_name = "Spanish Challenge"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 provided lyrics or music to the artist Cube?
### Context:
CREATE TABLE table_name_46 (lyrics__l____music__m_ VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT lyrics__l____music__m_ FROM table_name_46 WHERE artist = "cube"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest year named for the name Tie Fluctus?
### Context:
CREATE TABLE table_16799784_12 (year_named INTEGER, name VARCHAR)
### Response:
### Response:
SELECT MAX(year_named) FROM table_16799784_12 WHERE name = "Tie Fluctus"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the lowest overall for Louis Coleman?
### Context:
CREATE TABLE table_name_91 (overall INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MIN(overall) FROM table_name_91 WHERE player = "louis coleman"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 D 44 √ when D 46 √ is d 26?
### Context:
CREATE TABLE table_name_27 (d_44_√ VARCHAR, d_46_√ VARCHAR)
### Response:
### Response:
SELECT d_44_√ FROM table_name_27 WHERE d_46_√ = "d 26"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
if the bbi is 4/39 what is the average
### Context:
CREATE TABLE table_28798161_3 (average VARCHAR, bbi VARCHAR)
### Response:
### Response:
SELECT average FROM table_28798161_3 WHERE bbi = "4/39"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ability is 32, what is the leadership ability?
### Context:
CREATE TABLE table_1855342_5 (leadership_ability INTEGER, overall_ability VARCHAR)
### Response:
### Response:
SELECT MAX(leadership_ability) FROM table_1855342_5 WHERE overall_ability = 32</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the websites of schools that were founded in 1872?
### Context:
CREATE TABLE table_name_11 (website VARCHAR, founded VARCHAR)
### Response:
### Response:
SELECT website FROM table_name_11 WHERE founded = 1872</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What school/club team has tim kempton as the player?
### Context:
CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT school_club_team FROM table_name_25 WHERE player = "tim kempton"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 there were 30 races and the final placing was 13th, how many points were scored?
### Context:
CREATE TABLE table_26794530_1 (points VARCHAR, final_placing VARCHAR, races VARCHAR)
### Response:
### Response:
SELECT points FROM table_26794530_1 WHERE final_placing = "13th" AND races = 30</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the length of the highway with the route name sh 2?
### Context:
CREATE TABLE table_name_57 (length VARCHAR, route_name VARCHAR)
### Response:
### Response:
SELECT length FROM table_name_57 WHERE route_name = "sh 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:
When racing engineering is the team and 2012 is the team what is the position?
### Context:
CREATE TABLE table_25352318_1 (position VARCHAR, season VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT position FROM table_25352318_1 WHERE season = 2012 AND team = "Racing Engineering"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Touchdowns have a Player of rolla bigelow, and an Extra points smaller than 0?
### Context:
CREATE TABLE table_name_33 (touchdowns INTEGER, player VARCHAR, extra_points VARCHAR)
### Response:
### Response:
SELECT SUM(touchdowns) FROM table_name_33 WHERE player = "rolla bigelow" AND extra_points < 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 were the revising conventions commentary with a denunciation of 21?
### Context:
CREATE TABLE table_2001348_1 (revising_convention_s_ VARCHAR, denunciations__september_2011_ VARCHAR)
### Response:
### Response:
SELECT revising_convention_s_ FROM table_2001348_1 WHERE denunciations__september_2011_ = 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 competition when the result is won and the score is 8-0?
### Context:
CREATE TABLE table_name_11 (competition VARCHAR, result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_11 WHERE result = "won" AND score = "8-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's the area (km 2 ) with population census 2009 being 939370
### Context:
CREATE TABLE table_1404456_1 (area__km_2__ VARCHAR, population_census_2009 VARCHAR)
### Response:
### Response:
SELECT area__km_2__ FROM table_1404456_1 WHERE population_census_2009 = 939370</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the year built for withdrawn of 1983
### Context:
CREATE TABLE table_name_19 (year_built__converted VARCHAR, _ VARCHAR, withdrawn VARCHAR)
### Response:
### Response:
SELECT year_built__converted * _ FROM table_name_19 WHERE withdrawn = 1983</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what are all the type where station number is c08
### Context:
CREATE TABLE table_11934032_1 (type VARCHAR, station_number VARCHAR)
### Response:
### Response:
SELECT type FROM table_11934032_1 WHERE station_number = "C08"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What season was the average attendance is 16043?
### Context:
CREATE TABLE table_2771237_1 (season VARCHAR, average_attendance VARCHAR)
### Response:
### Response:
SELECT season FROM table_2771237_1 WHERE average_attendance = 16043</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 GNU/Linux had no haiku and a client of airdc++?
### Context:
CREATE TABLE table_name_60 (gnu_linux VARCHAR, haiku VARCHAR, client VARCHAR)
### Response:
### Response:
SELECT gnu_linux FROM table_name_60 WHERE haiku = "no" AND client = "airdc++"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 peak performance for october 2006 - january 2010
### Context:
CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)
### Response:
### Response:
SELECT maximum_peak_performance___teraflops__ FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the result of the game played when 22,555 were in attendance and the Buckeyes were ranked #1?
### Context:
CREATE TABLE table_name_57 (result VARCHAR, rank__number VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_57 WHERE rank__number = "1" AND attendance = "22,555"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 draws a club with less than 20 wins, less than 41 points, and less than 27 goals have?
### Context:
CREATE TABLE table_name_56 (draws INTEGER, goals_for VARCHAR, wins VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MAX(draws) FROM table_name_56 WHERE wins < 20 AND points < 41 AND goals_for < 27</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?
### Context:
CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 laps with a Driver of eddie irvine?
### Context:
CREATE TABLE table_name_93 (laps INTEGER, driver VARCHAR)
### Response:
### Response:
SELECT SUM(laps) FROM table_name_93 WHERE driver = "eddie irvine"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the highest Played that has the Points larger than 11, and the Lost larger than 7?
### Context:
CREATE TABLE table_name_36 (played INTEGER, points VARCHAR, lost VARCHAR)
### Response:
### Response:
SELECT MAX(played) FROM table_name_36 WHERE points > 11 AND lost > 7</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT ARE THE BYES WITH A WIN SMALLER THAN 16, 8 LOSSES, AND AT PENSHURST, WITH AGAINST SMALLER THAN 1405?
### Context:
CREATE TABLE table_name_24 (byes INTEGER, against VARCHAR, mininera_dfl VARCHAR, wins VARCHAR, losses VARCHAR)
### Response:
### Response:
SELECT SUM(byes) FROM table_name_24 WHERE wins < 16 AND losses = 8 AND mininera_dfl = "penshurst" AND against < 1405</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did James II take a consort?
### Context:
CREATE TABLE table_name_16 (became_consort VARCHAR, spouse VARCHAR)
### Response:
### Response:
SELECT became_consort FROM table_name_16 WHERE spouse = "james ii"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 evening gown score for the one who had a preliminary average of 8.121 (8)?
### Context:
CREATE TABLE table_16323766_3 (evening_gown VARCHAR, preliminary_average VARCHAR)
### Response:
### Response:
SELECT evening_gown FROM table_16323766_3 WHERE preliminary_average = "8.121 (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:
What was the least amount of wins when he had 10 poles?
### Context:
CREATE TABLE table_24584486_1 (wins INTEGER, poles VARCHAR)
### Response:
### Response:
SELECT MIN(wins) FROM table_24584486_1 WHERE poles = 10</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Bills play the Houston Oilers before week 12?
### Context:
CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_79 WHERE week < 12 AND opponent = "houston oilers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the highest number of points when flaps were 0?
### Context:
CREATE TABLE table_24405773_1 (points INTEGER, flaps VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the quarter back for a winning pct of .792
### Context:
CREATE TABLE table_14389782_2 (quarterback VARCHAR, winning_pct VARCHAR)
### Response:
### Response:
SELECT quarterback FROM table_14389782_2 WHERE winning_pct = ".792"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Born-Died dates of Xhafer Bej Ypi?
### Context:
CREATE TABLE table_name_39 (born_died VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT born_died FROM table_name_39 WHERE name = "xhafer bej ypi"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 TDP (w) of the chipset with a codename sb850?
### Context:
CREATE TABLE table_name_3 (tdp___w__ VARCHAR, codename VARCHAR)
### Response:
### Response:
SELECT COUNT(tdp___w__) FROM table_name_3 WHERE codename = "sb850"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Report the distinct president vote and the vice president vote.
### Context:
CREATE TABLE VOTING_RECORD (President_Vote VARCHAR, VICE_President_Vote VARCHAR)
### Response:
### Response:
SELECT DISTINCT President_Vote, VICE_President_Vote FROM VOTING_RECORD</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rounds for a 3:16 fight?
### Context:
CREATE TABLE table_name_98 (round INTEGER, time VARCHAR)
### Response:
### Response:
SELECT MAX(round) FROM table_name_98 WHERE time = "3:16"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What season has 6 races and the team is Australia?
### Context:
CREATE TABLE table_name_90 (season VARCHAR, races VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_90 WHERE races = 6 AND team = "australia"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 heat when the country is united kingdom and react is less than 0.232?
### Context:
CREATE TABLE table_name_91 (heat INTEGER, country VARCHAR, react VARCHAR)
### Response:
### Response:
SELECT MAX(heat) FROM table_name_91 WHERE country = "united kingdom" AND react < 0.232</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which season had an average under 28, a rank under 10, and a partner of Janja Lesar?
### Context:
CREATE TABLE table_name_7 (season VARCHAR, professional_partner VARCHAR, average VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_7 WHERE average < 28 AND rank < 10 AND professional_partner = "janja lesar"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 GDP of the nation with 56,210,000 people?
### Context:
CREATE TABLE table_name_77 (gdp_per_capita__us$_ VARCHAR, population VARCHAR)
### Response:
### Response:
SELECT gdp_per_capita__us$_ FROM table_name_77 WHERE population = "56,210,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:
What is the total number of players who had a money list rank of 96?
### Context:
CREATE TABLE table_20590020_2 (best_finish VARCHAR, money_list_rank VARCHAR)
### Response:
### Response:
SELECT COUNT(best_finish) FROM table_20590020_2 WHERE money_list_rank = 96</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
which episode was Transmitted on wednesday if the episode of "319 sucker punch" was transmitted on tuesday?
### Context:
CREATE TABLE table_18173916_8 (wednesday VARCHAR, tuesday VARCHAR)
### Response:
### Response:
SELECT COUNT(wednesday) FROM table_18173916_8 WHERE tuesday = "319 Sucker Punch"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dual television commentator in 1990?
### Context:
CREATE TABLE table_2794180_11 (Dual VARCHAR, year_s_ VARCHAR)
### Response:
### Response:
SELECT Dual AS television_commentator FROM table_2794180_11 WHERE year_s_ = 1990</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 that has an Attendance of 39,446?
### Context:
CREATE TABLE table_name_3 (score VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_3 WHERE attendance = "39,446"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kaz hayashi with block A of Shuji Kondo
### Context:
CREATE TABLE table_name_47 (kaz_hayashi VARCHAR, block_a VARCHAR)
### Response:
### Response:
SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total number of passengers of airports that are associated with aircraft "Robinson R-22"?
### Context:
CREATE TABLE airport (Total_Passengers INTEGER, Airport_ID VARCHAR); CREATE TABLE aircraft (Aircraft_ID VARCHAR, Aircraft VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
### Response:
### Response:
SELECT AVG(T3.Total_Passengers) FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T1.Aircraft = "Robinson R-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 stadium has a prior record of 7th?
### Context:
CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR)
### Response:
### Response:
SELECT stadium FROM table_name_8 WHERE past_season = "7th"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 million viewers watched the episode that runs 25:55 minutes?
### Context:
CREATE TABLE table_1785117_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
### Response:
### Response:
SELECT viewers__in_millions_ FROM table_1785117_1 WHERE run_time = "25:55"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Nationality of the person who has a Rank of 4
### Context:
CREATE TABLE table_name_59 (nationality VARCHAR, lane VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_59 WHERE lane < 4 AND rank = 4</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Season of the game with a Score of 0–2 (a), 3–1 (h)?
### Context:
CREATE TABLE table_name_24 (season VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_24 WHERE score = "0–2 (a), 3–1 (h)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 spain's highest total?
### Context:
CREATE TABLE table_name_34 (total INTEGER, country VARCHAR)
### Response:
### Response:
SELECT MAX(total) FROM table_name_34 WHERE country = "spain"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the score for opponent in the final being paul baccanello
### Context:
CREATE TABLE table_name_46 (score VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_46 WHERE opponent_in_the_final = "paul baccanello"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Australian open in 2010?
### Context:
CREATE TABLE table_name_71 (australian_open VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT australian_open FROM table_name_71 WHERE year = 2010</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest Overall, when Player is "Dan Jennings", and when Round is greater than 9?
### Context:
CREATE TABLE table_name_23 (overall INTEGER, player VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT MIN(overall) FROM table_name_23 WHERE player = "dan jennings" AND round > 9</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the venue of the match on 5 April 2000?
### Context:
CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_45 WHERE date = "5 april 2000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of industry for maxis
### Context:
CREATE TABLE table_19112_3 (industry VARCHAR, company VARCHAR)
### Response:
### Response:
SELECT COUNT(industry) FROM table_19112_3 WHERE company = "Maxis"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 suzuki gsx-r1000 k7 has the highest time of retirement?
### Context:
CREATE TABLE table_name_8 (grid INTEGER, time VARCHAR, bike VARCHAR)
### Response:
### Response:
SELECT MAX(grid) FROM table_name_8 WHERE time = "retirement" AND bike = "suzuki gsx-r1000 k7"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 votes did Others receive where Kerry has 44.6%, and Bush more than 163,650 votes?
### Context:
CREATE TABLE table_name_65 (others__number VARCHAR, kerry__percentage VARCHAR, bush__number VARCHAR)
### Response:
### Response:
SELECT COUNT(others__number) FROM table_name_65 WHERE kerry__percentage = "44.6%" AND bush__number > 163 OFFSET 650</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 laps were done in 2012?
### Context:
CREATE TABLE table_name_26 (laps INTEGER, year VARCHAR)
### Response:
### Response:
SELECT SUM(laps) FROM table_name_26 WHERE year = 2012</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the founding university of αεφ?
### Context:
CREATE TABLE table_2538117_5 (founding_university VARCHAR, letters VARCHAR)
### Response:
### Response:
SELECT founding_university FROM table_2538117_5 WHERE letters = "ΑΕΦ"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the gold for netherlands
### Context:
CREATE TABLE table_name_20 (gold VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT gold FROM table_name_20 WHERE nation = "netherlands"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 revenue is smaller than 4,177 million in year 2008, what is the sum of earnings per share?
### Context:
CREATE TABLE table_name_89 (earnings_per_share__p_ INTEGER, year_ended VARCHAR, revenue__£million_ VARCHAR)
### Response:
### Response:
SELECT SUM(earnings_per_share__p_) FROM table_name_89 WHERE year_ended = "2008" AND revenue__£million_ < 4 OFFSET 177</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 area that has a Capital of camagüey, with a Population (%) larger than 7.02?
### Context:
CREATE TABLE table_name_25 (area__km²_ INTEGER, capital VARCHAR, population___percentage_ VARCHAR)
### Response:
### Response:
SELECT AVG(area__km²_) FROM table_name_25 WHERE capital = "camagüey" AND population___percentage_ > 7.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:
What is the total number of Byes, when South West DFL is "Coleraine", and when Wins is less than 12?
### Context:
CREATE TABLE table_name_80 (byes VARCHAR, south_west_dfl VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT COUNT(byes) FROM table_name_80 WHERE south_west_dfl = "coleraine" AND wins < 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:
Which Win percentage has Points smaller than 472, and a Record (W–L–T/OTL) of 140–220–40?
### Context:
CREATE TABLE table_name_79 (win_percentage INTEGER, points VARCHAR, record__w_l_t___otl_ VARCHAR)
### Response:
### Response:
SELECT AVG(win_percentage) FROM table_name_79 WHERE points < 472 AND record__w_l_t___otl_ = "140–220–40"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which organizations were founded in 1972, but became WOSM members until 1977?
### Context:
CREATE TABLE table_104858_1 (name_of_member_organization VARCHAR, year_member_organization_was_founded VARCHAR, year_current_scouting_organization_joined_wosm VARCHAR)
### Response:
### Response:
SELECT name_of_member_organization FROM table_104858_1 WHERE year_member_organization_was_founded = "1972" AND year_current_scouting_organization_joined_wosm = "1977"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 WHEN THE OPPONENT WAS CHICAGO BEARS?
### Context:
CREATE TABLE table_name_18 (result VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_18 WHERE opponent = "chicago bears"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 medals for the nation with 1 gold and 6 bronzes?
### Context:
CREATE TABLE table_name_52 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_52 WHERE gold = 1 AND bronze = 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 Report has a Winning driver of mario razzauti?
### Context:
CREATE TABLE table_name_72 (report VARCHAR, winning_driver VARCHAR)
### Response:
### Response:
SELECT report FROM table_name_72 WHERE winning_driver = "mario razzauti"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of release we are the rage with a cd format?
### Context:
CREATE TABLE table_name_28 (label VARCHAR, format VARCHAR, release VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_28 WHERE format = "cd" AND release = "we are the rage"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the maximum torque at rpm for the engine coded BJB/BKC/BXE/BLS?
### Context:
CREATE TABLE table_name_7 (max_torque_at_rpm VARCHAR, engine_code_s_ VARCHAR)
### Response:
### Response:
SELECT max_torque_at_rpm FROM table_name_7 WHERE engine_code_s_ = "bjb/bkc/bxe/bls"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visited on April 29?
### Context:
CREATE TABLE table_name_35 (visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_35 WHERE date = "april 29"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What type has an unspecified species and less than 367 genes?
### Context:
CREATE TABLE table_name_65 (type VARCHAR, species VARCHAR, genes VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_65 WHERE species = "unspecified" AND genes < 367</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the visitor when the lakers were at home with a Score of 85–106?
### Context:
CREATE TABLE table_name_39 (visitor VARCHAR, home VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_39 WHERE home = "lakers" AND score = "85–106"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the result of the Competition of euro 2000 qualifier?
### Context:
CREATE TABLE table_name_78 (result VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_78 WHERE competition = "euro 2000 qualifier"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 exaltation has a fall of moon?
### Context:
CREATE TABLE table_name_21 (exaltation VARCHAR, fall VARCHAR)
### Response:
### Response:
SELECT exaltation FROM table_name_21 WHERE fall = "moon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 catalog number for october 6, 1988
### Context:
CREATE TABLE table_27303975_2 (catalog_number VARCHAR, release_date VARCHAR)
### Response:
### Response:
SELECT catalog_number FROM table_27303975_2 WHERE release_date = "October 6, 1988"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Hometown for Villanova College?
### Context:
CREATE TABLE table_name_11 (hometown VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT hometown FROM table_name_11 WHERE college = "villanova"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 College has an Overall larger than 211, a Position of db, and a Name of carl charon?
### Context:
CREATE TABLE table_name_7 (college VARCHAR, name VARCHAR, overall VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_7 WHERE overall > 211 AND position = "db" AND name = "carl charon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Total with a Nation of ethiopia (eth) and a Rank that is larger than 9?
### Context:
CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT AVG(total) FROM table_name_4 WHERE nation = "ethiopia (eth)" AND rank > 9</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.