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:
What is fuzzy zoeller's to par?
### Context:
CREATE TABLE table_name_12 (to_par VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drive the car that went under 60 laps and spun off?
### Context:
CREATE TABLE table_name_25 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_25 WHERE laps < 60 AND time_retired = "spun off"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the number of the 1.0.9 release version?
### Context:
CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR)
### Response:
### Response:
SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.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 highest rank when the lane is larger than 6, and the heat is 3, and the nationality is colombia?
### Context:
CREATE TABLE table_name_67 (rank INTEGER, nationality VARCHAR, lane VARCHAR, heat VARCHAR)
### Response:
### Response:
SELECT MAX(rank) FROM table_name_67 WHERE lane > 6 AND heat = 3 AND nationality = "colombia"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What team was the Opponent when the Score was 31-6?
### Context:
CREATE TABLE table_name_83 (opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_83 WHERE score = "31-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:
Name the forward assist for a2 barrel profile
### Context:
CREATE TABLE table_12834315_4 (forward_assist VARCHAR, barrel_profile VARCHAR)
### Response:
### Response:
SELECT forward_assist FROM table_12834315_4 WHERE barrel_profile = "A2"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets?
### Context:
CREATE TABLE table_name_41 (years_for_rockets VARCHAR, school_club_team_country VARCHAR, height_in_ft VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT years_for_rockets FROM table_name_41 WHERE height_in_ft = "6-6" AND position = "guard" AND school_club_team_country = "oklahoma"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Argentina's language?
### Context:
CREATE TABLE table_name_41 (language VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT language FROM table_name_41 WHERE country = "argentina"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 resulted in AUS by 229 runs?
### Context:
CREATE TABLE table_name_80 (venue VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_80 WHERE result = "aus by 229 runs"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a music director, belonging to a year after 2003?
### Context:
CREATE TABLE table_name_86 (music_director VARCHAR, year INTEGER)
### Response:
### Response:
SELECT music_director FROM table_name_86 WHERE year > 2003</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 interplanet janet is the episode title who is the music by?
### Context:
CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)
### Response:
### Response:
SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Release price (USD ) that has a Release date on april 2012 and a Part number(s) of cm8063701211900bx80637i73770s?
### Context:
CREATE TABLE table_name_90 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)
### Response:
### Response:
SELECT release_price___usd__ FROM table_name_90 WHERE release_date = "april 2012" AND part_number_s_ = "cm8063701211900bx80637i73770s"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 name, height and prominence of mountains which do not belong to the range 'Aberdare Range'?
### Context:
CREATE TABLE mountain (name VARCHAR, height VARCHAR, prominence VARCHAR, range VARCHAR)
### Response:
### Response:
SELECT name, height, prominence FROM mountain WHERE range <> 'Aberdare Range'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the least int yards when sacks is 11.5
### Context:
CREATE TABLE table_15581223_8 (int INTEGER, sacks VARCHAR)
### Response:
### Response:
SELECT MIN(int) AS yards FROM table_15581223_8 WHERE sacks = "11.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 Player has a Round larger than 8?
### Context:
CREATE TABLE table_name_50 (player VARCHAR, round INTEGER)
### Response:
### Response:
SELECT player FROM table_name_50 WHERE round > 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 was the opponent at the game with a loss of Weaver (1-2)?
### Context:
CREATE TABLE table_name_71 (opponent VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_71 WHERE loss = "weaver (1-2)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When is every date that control site condition or owner is machine shop on Martin Dr.?
### Context:
CREATE TABLE table_22282917_26 (dates VARCHAR, control_site_condition_owner VARCHAR)
### Response:
### Response:
SELECT dates FROM table_22282917_26 WHERE control_site_condition_owner = "machine shop on Martin Dr."</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What locomotive built after 1895 has the highest SLM number?
### Context:
CREATE TABLE table_name_26 (SLM INTEGER, built INTEGER)
### Response:
### Response:
SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Doug Ford's country?
### Context:
CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_1 WHERE player = "doug ford"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Utah Jazz player played Center?
### Context:
CREATE TABLE table_name_8 (player VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_8 WHERE position = "center"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What school is located in Huntsville, Texas?
### Context:
CREATE TABLE table_28243691_2 (institution VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT institution FROM table_28243691_2 WHERE location = "Huntsville, Texas"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 manner of departure when the date of vacancy is 15 september 2008?
### Context:
CREATE TABLE table_name_14 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
### Response:
### Response:
SELECT manner_of_departure FROM table_name_14 WHERE date_of_vacancy = "15 september 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:
Which Road Team has a Home Team of rochester, and a Game of game 2?
### Context:
CREATE TABLE table_name_61 (road_team VARCHAR, home_team VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT road_team FROM table_name_61 WHERE home_team = "rochester" AND game = "game 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 dominant religion 2002 for меленци
### Context:
CREATE TABLE table_2562572_35 (dominant_religion__2002_ VARCHAR, cyrillic_name_other_names VARCHAR)
### Response:
### Response:
SELECT dominant_religion__2002_ FROM table_2562572_35 WHERE cyrillic_name_other_names = "Меленци"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Frequency has a Format of country / news / sports?
### Context:
CREATE TABLE table_name_67 (frequency VARCHAR, format VARCHAR)
### Response:
### Response:
SELECT frequency FROM table_name_67 WHERE format = "country / news / sports"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 inegi code for mexicali with 13,700 km area?
### Context:
CREATE TABLE table_name_6 (inegi_code INTEGER, municipal_seat VARCHAR, area__km2_ VARCHAR)
### Response:
### Response:
SELECT AVG(inegi_code) FROM table_name_6 WHERE municipal_seat = "mexicali" AND area__km2_ > 13 OFFSET 700</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the Entrant that has a Chassis of lotus 25
### Context:
CREATE TABLE table_name_39 (entrant VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT entrant FROM table_name_39 WHERE chassis = "lotus 25"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941?
### Context:
CREATE TABLE table_name_8 (tonnage__grt_ VARCHAR, nationality VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(tonnage__grt_) FROM table_name_8 WHERE nationality = "united kingdom" AND date = "27 june 1941"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points is the highest one that has a Position of 1, and a Lost smaller than 0?
### Context:
CREATE TABLE table_name_60 (points INTEGER, position VARCHAR, lost VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_60 WHERE position = 1 AND lost < 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 was Collingwood's score in their away game?
### Context:
CREATE TABLE table_name_39 (away_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_39 WHERE away_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:
What team ran car #24 on August 30?
### Context:
CREATE TABLE table_name_56 (team VARCHAR, car__number VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_56 WHERE car__number = 24 AND date = "august 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:
Where was the round 1 race?
### Context:
CREATE TABLE table_25773116_2 (location VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT location FROM table_25773116_2 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:
How many points occurred with a difference of 2 for position less than 4?
### Context:
CREATE TABLE table_name_90 (points VARCHAR, difference VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_name_90 WHERE difference = "2" AND position < 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's the highest lap that contains the driver of graham hill and a grid that is larger than 18?
### Context:
CREATE TABLE table_name_34 (laps INTEGER, driver VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT MAX(laps) FROM table_name_34 WHERE driver = "graham hill" AND grid > 18</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On which day did the Chicago Cubs have a loss of trout (4-2)?
### Context:
CREATE TABLE table_name_23 (date VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_23 WHERE loss = "trout (4-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:
How many Professors are in building NEB?
### Context:
CREATE TABLE Faculty (Rank VARCHAR, building VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Faculty WHERE Rank = "Professor" AND building = "NEB"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The Le Mans Porsche team Joest Racing is in which class?
### Context:
CREATE TABLE table_name_53 (class VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_53 WHERE team = "le mans porsche team joest racing"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are shown for the game where andre iguodala (9) had the high rebounds?
### Context:
CREATE TABLE table_27698941_6 (game VARCHAR, high_rebounds VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_27698941_6 WHERE high_rebounds = "Andre Iguodala (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 year did the Nerang Suburb get founded?
### Context:
CREATE TABLE table_name_96 (founded VARCHAR, suburb VARCHAR)
### Response:
### Response:
SELECT COUNT(founded) FROM table_name_96 WHERE suburb = "nerang"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number of time for heat rank of 1
### Context:
CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR)
### Response:
### Response:
SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the opponent in the game held on February 4?
### Context:
CREATE TABLE table_22883210_8 (team VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT team FROM table_22883210_8 WHERE date = "February 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 adults stay in the room CONRAD SELBIG checked in on Oct 23, 2010?
### Context:
CREATE TABLE Reservations (Adults VARCHAR, LastName VARCHAR, CheckIn VARCHAR, FirstName VARCHAR)
### Response:
### Response:
SELECT Adults FROM Reservations WHERE CheckIn = "2010-10-23" AND FirstName = "CONRAD" AND LastName = "SELBIG"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What college did the player with a school of huntsville high school go to?
### Context:
CREATE TABLE table_name_42 (college VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_42 WHERE school = "huntsville high 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:
Which Game has a Team of at phoenix, and a Score of 107-119?
### Context:
CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_name_54 WHERE team = "at phoenix" AND score = "107-119"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the average dynamo when draw is more than 0, played is less than 15 and spartak is more than 1?
### Context:
CREATE TABLE table_name_25 (dynamo INTEGER, spartak VARCHAR, draw VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT AVG(dynamo) FROM table_name_25 WHERE draw > 0 AND played < 15 AND spartak > 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 goals on 2007-06-16?
### Context:
CREATE TABLE table_name_16 (goals INTEGER, date VARCHAR)
### Response:
### Response:
SELECT SUM(goals) FROM table_name_16 WHERE date = "2007-06-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:
How many attendance figures are given for the game where the final score was lost 5-3?
### Context:
CREATE TABLE table_17120964_8 (attendance VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT COUNT(attendance) FROM table_17120964_8 WHERE result = "Lost 5-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 Visitor with a Leading scorer with rudy gay (24)?
### Context:
CREATE TABLE table_name_28 (visitor VARCHAR, leading_scorer VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (24)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Player, when To Par is "7", and when Score is "73-72-67-75=287"?
### Context:
CREATE TABLE table_name_10 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_10 WHERE to_par = 7 AND score = 73 - 72 - 67 - 75 = 287</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What pick # has a team from Rimouski Océanic?
### Context:
CREATE TABLE table_name_26 (pick__number INTEGER, team_from VARCHAR)
### Response:
### Response:
SELECT AVG(pick__number) FROM table_name_26 WHERE team_from = "rimouski océanic"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the final score when they played Frankfurt Galaxy?
### Context:
CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points for when try bonus is 10
### Context:
CREATE TABLE table_13564702_3 (points_for VARCHAR, try_bonus VARCHAR)
### Response:
### Response:
SELECT COUNT(points_for) FROM table_13564702_3 WHERE try_bonus = "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 highest rank of Tokyo International Airport?
### Context:
CREATE TABLE table_name_72 (rank INTEGER, airport VARCHAR)
### Response:
### Response:
SELECT MAX(rank) FROM table_name_72 WHERE airport = "tokyo international airport"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the part number of the model with TDP of 2.9 (max.4.1~5.4) w?
### Context:
CREATE TABLE table_24096813_15 (part_number_s_ VARCHAR, tdp VARCHAR)
### Response:
### Response:
SELECT part_number_s_ FROM table_24096813_15 WHERE tdp = "2.9 (Max.4.1~5.4) W"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Attendance of 55,340 had what opponent?
### Context:
CREATE TABLE table_name_58 (opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_58 WHERE attendance = "55,340"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 attendance at the game with a record of 50-36?
### Context:
CREATE TABLE table_name_95 (attendance INTEGER, record VARCHAR)
### Response:
### Response:
SELECT MIN(attendance) FROM table_name_95 WHERE record = "50-36"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Power (kW), when Coverage (Transmitter Site) is "Lucena"?
### Context:
CREATE TABLE table_name_12 (power__kw_ VARCHAR, coverage__transmitter_site_ VARCHAR)
### Response:
### Response:
SELECT power__kw_ FROM table_name_12 WHERE coverage__transmitter_site_ = "lucena"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest Founded with the Name cougars?
### Context:
CREATE TABLE table_name_42 (founded INTEGER, nickname VARCHAR)
### Response:
### Response:
SELECT MIN(founded) FROM table_name_42 WHERE nickname = "cougars"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 electric companies drawing power from Itaipu?
### Context:
CREATE TABLE table_19001916_2 (entities VARCHAR, supply_point VARCHAR)
### Response:
### Response:
SELECT entities FROM table_19001916_2 WHERE supply_point = "Itaipu"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 exposures where there when the total exposure time is 105,000s?
### Context:
CREATE TABLE table_2583036_1 (exposures VARCHAR, total_exposure_time VARCHAR)
### Response:
### Response:
SELECT exposures FROM table_2583036_1 WHERE total_exposure_time = "105,000s"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Playoffs that HAVE a League of npsl, and a Open Cup of did not enter, and a Year of 2013?
### Context:
CREATE TABLE table_name_8 (playoffs VARCHAR, year VARCHAR, league VARCHAR, open_cup VARCHAR)
### Response:
### Response:
SELECT playoffs FROM table_name_8 WHERE league = "npsl" AND open_cup = "did not enter" AND year = "2013"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 average figure score of the skater with a free score under 56.35?
### Context:
CREATE TABLE table_name_19 (figures INTEGER, free INTEGER)
### Response:
### Response:
SELECT AVG(figures) FROM table_name_19 WHERE free < 56.35</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What did Fred Couples place?
### Context:
CREATE TABLE table_name_61 (place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_61 WHERE player = "fred couples"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which was the highest crowd drawn by an Away team in Richmond?
### Context:
CREATE TABLE table_name_6 (crowd INTEGER, away_team VARCHAR)
### Response:
### Response:
SELECT MAX(crowd) FROM table_name_6 WHERE away_team = "richmond"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fewest seats with fewer than 5.4% seats and more than -1 change?
### Context:
CREATE TABLE table_name_12 (seats INTEGER, _percentage_votes VARCHAR, change VARCHAR)
### Response:
### Response:
SELECT MIN(seats) FROM table_name_12 WHERE _percentage_votes < 5.4 AND change > -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 are the Japanese characters for the Chinese word 叉焼?
### Context:
CREATE TABLE table_name_28 (japanese VARCHAR, chinese VARCHAR)
### Response:
### Response:
SELECT japanese FROM table_name_28 WHERE chinese = "叉焼"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 format was the release that was dated 7 April 2003 from catalog 584 2112?
### Context:
CREATE TABLE table_name_18 (format VARCHAR, date VARCHAR, catalog VARCHAR)
### Response:
### Response:
SELECT format FROM table_name_18 WHERE date = "7 april 2003" AND catalog = "584 2112"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who did the most high rebounds in the game played on November 1?
### Context:
CREATE TABLE table_17326036_5 (high_rebounds VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_rebounds FROM table_17326036_5 WHERE date = "November 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:
Name the most released for right here, right now
### Context:
CREATE TABLE table_24600706_1 (released INTEGER, song VARCHAR)
### Response:
### Response:
SELECT MAX(released) FROM table_24600706_1 WHERE song = "Right Here, Right Now"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many players are from Indianapolis, Indiana?
### Context:
CREATE TABLE table_11677691_3 (player VARCHAR, hometown VARCHAR)
### Response:
### Response:
SELECT COUNT(player) FROM table_11677691_3 WHERE hometown = "Indianapolis, Indiana"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 model number for part numbers of cm80616003177acbx80616i5660?
### Context:
CREATE TABLE table_23028629_2 (model_number VARCHAR, part_number_s_ VARCHAR)
### Response:
### Response:
SELECT model_number FROM table_23028629_2 WHERE part_number_s_ = "CM80616003177ACBX80616I5660"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find courses that ran in Fall 2009 and in Spring 2010.
### Context:
CREATE TABLE SECTION (course_id VARCHAR, semester VARCHAR, YEAR VARCHAR)
### Response:
### Response:
SELECT course_id FROM SECTION WHERE semester = 'Fall' AND YEAR = 2009 INTERSECT SELECT course_id FROM SECTION WHERE semester = 'Spring' AND 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:
Name the competition for september 10, 2008
### Context:
CREATE TABLE table_name_21 (competition VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_21 WHERE date = "september 10, 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:
In what Place was the Silver won by vladimir vesselov ( urs )?
### Context:
CREATE TABLE table_name_3 (place VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_3 WHERE silver = "vladimir vesselov ( urs )"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth date of June 27, 1993 (age20)?
### Context:
CREATE TABLE table_name_90 (player VARCHAR, birth_date VARCHAR, shirt_no VARCHAR, nationality VARCHAR, height VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_90 WHERE nationality = "turkey" AND height < 183 AND shirt_no < 19 AND birth_date = "june 27, 1993 (age20)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original artist of the First solo theme?
### Context:
CREATE TABLE table_26250155_1 (original_artist VARCHAR, theme VARCHAR)
### Response:
### Response:
SELECT original_artist FROM table_26250155_1 WHERE theme = "First Solo"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest version with a code of u+1034a that began after 2001.
### Context:
CREATE TABLE table_name_85 (version INTEGER, code VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT MIN(version) FROM table_name_85 WHERE code = "u+1034a" AND year > 2001</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player had the position guard/forward?
### Context:
CREATE TABLE table_name_83 (player VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_83 WHERE position = "guard/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 is the amount where the area is new brunswick
### Context:
CREATE TABLE table_29012710_1 (production__hectolitres_ VARCHAR, province VARCHAR)
### Response:
### Response:
SELECT production__hectolitres_ FROM table_29012710_1 WHERE province = "New Brunswick"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 jurisdiction where percent yes is 43.4
### Context:
CREATE TABLE table_120778_2 (jurisdiction VARCHAR, percent_yes VARCHAR)
### Response:
### Response:
SELECT jurisdiction FROM table_120778_2 WHERE percent_yes = "43.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:
Which method led to a record of 9-4?
### Context:
CREATE TABLE table_name_61 (method VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_61 WHERE record = "9-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 Chassis of the Cooper Car Company after 1965 when the engine was a Maserati v12?
### Context:
CREATE TABLE table_name_33 (chassis VARCHAR, engine VARCHAR, year VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_name_33 WHERE year > 1965 AND team = "cooper car company" AND engine = "maserati v12"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for the HartlePool United team?
### Context:
CREATE TABLE table_name_27 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_27 WHERE home_team = "hartlepool united"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lost has an Against of 49 and a Played smaller than 20?
### Context:
CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all cities without a branch having more than 100 memberships.
### Context:
CREATE TABLE branch (city VARCHAR, membership_amount INTEGER)
### Response:
### Response:
SELECT city FROM branch EXCEPT SELECT city FROM branch WHERE membership_amount > 100</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 his winnings when he had 14 top 10s?
### Context:
CREATE TABLE table_2169966_2 (winnings VARCHAR, top_10 VARCHAR)
### Response:
### Response:
SELECT winnings FROM table_2169966_2 WHERE top_10 = 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:
Which people had the best 10-year period when Capablanca had the best 15-year period?
### Context:
CREATE TABLE table_1710426_2 (best_10_year_period VARCHAR, best_15_year_period VARCHAR)
### Response:
### Response:
SELECT best_10_year_period FROM table_1710426_2 WHERE best_15_year_period = "Capablanca"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the rank of Point Hyllie?
### Context:
CREATE TABLE table_name_52 (rank VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT rank FROM table_name_52 WHERE name = "point hyllie"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country and state does staff with first name as Janessa and last name as Sawayn lived?
### Context:
CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Response:
### Response:
SELECT T1.country, T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 record on March 22?
### Context:
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_58 WHERE date = "march 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:
Which bowl game has a season greater than 2008, with new orleans, Louisiana as the location?
### Context:
CREATE TABLE table_name_47 (bowl_game VARCHAR, season VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT bowl_game FROM table_name_47 WHERE season > 2008 AND location = "new orleans, louisiana"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawn for llandaff rfc
### Context:
CREATE TABLE table_13741576_4 (drawn VARCHAR, club VARCHAR)
### Response:
### Response:
SELECT drawn FROM table_13741576_4 WHERE club = "Llandaff RFC"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue was the away team South Melbourne?
### Context:
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_62 WHERE away_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 position of pick 234
### Context:
CREATE TABLE table_name_67 (position VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_67 WHERE pick = "234"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What individual(s) had Pole Position for Tyre F?
### Context:
CREATE TABLE table_name_67 (pole_position VARCHAR, tyre VARCHAR)
### Response:
### Response:
SELECT pole_position FROM table_name_67 WHERE tyre = "f"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of year for extra of junior team competition
### Context:
CREATE TABLE table_name_31 (year INTEGER, extra VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Total larger than 285, and a Finish of t30 belongs to what player?
### Context:
CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, finish VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_83 WHERE total > 285 AND finish = "t30"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What week was the Runner-up Lori McNeil?
### Context:
CREATE TABLE table_name_70 (week_of VARCHAR, runner_up VARCHAR)
### Response:
### Response:
SELECT week_of FROM table_name_70 WHERE runner_up = "lori mcneil"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the position of Tayshaun Prince?
### Context:
CREATE TABLE table_name_69 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_69 WHERE player = "tayshaun prince"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of phones and the districts of markets they are on, in ascending order of the ranking of the market.
### Context:
CREATE TABLE market (District VARCHAR, Market_ID VARCHAR, Ranking VARCHAR); CREATE TABLE phone (Name VARCHAR, Phone_ID VARCHAR); CREATE TABLE phone_market (Market_ID VARCHAR, Phone_ID VARCHAR)
### Response:
### Response:
SELECT T3.Name, T2.District FROM phone_market AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID JOIN phone AS T3 ON T1.Phone_ID = T3.Phone_ID ORDER BY T2.Ranking</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.