inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many overs did Oliver Hannon-Dalby have?
### Context:
CREATE TABLE table_15893020_2 (overs VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT overs FROM table_15893020_2 WHERE player = "Oliver Hannon-Dalby"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 draw with over 60 points for paul duffy?
### Context:
CREATE TABLE table_name_40 (draw INTEGER, points VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT MAX(draw) FROM table_name_40 WHERE points > 60 AND artist = "paul duffy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 tournament when antonia xenia tout nataša zorić was the opponenet?
### Context:
CREATE TABLE table_name_13 (tournament VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_13 WHERE opponents = "antonia xenia tout nataša zorić"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for Smiljana Marinović?
### Context:
CREATE TABLE table_name_88 (heat VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(heat) FROM table_name_88 WHERE name = "smiljana marinović"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the place where the location is 2-1
### Context:
CREATE TABLE table_26173058_2 (amman VARCHAR, qadisiya VARCHAR)
### Response:
### Response:
SELECT amman FROM table_26173058_2 WHERE qadisiya = "2-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 number of the rank when the time is 2:15.98, in a lane larger than 7?
### Context:
CREATE TABLE table_name_55 (rank VARCHAR, time VARCHAR, lane VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_name_55 WHERE time = "2:15.98" AND lane > 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 cyrillic and other names of the settlement whose population is 6591?
### Context:
CREATE TABLE table_2562572_26 (cyrillic_name_other_names VARCHAR, population__2011_ VARCHAR)
### Response:
### Response:
SELECT cyrillic_name_other_names FROM table_2562572_26 WHERE population__2011_ = 6591</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest grid with matra as constructor?
### Context:
CREATE TABLE table_name_17 (grid INTEGER, constructor VARCHAR)
### Response:
### Response:
SELECT MIN(grid) FROM table_name_17 WHERE constructor = "matra"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What values of HDTV correspond to n° of 862?
### Context:
CREATE TABLE table_15887683_16 (hdtv VARCHAR, n° VARCHAR)
### Response:
### Response:
SELECT hdtv FROM table_15887683_16 WHERE n° = 862</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?
### Context:
CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR, december VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_16 WHERE december < 14 AND game < 28 AND score = "6 - 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 managers for club in Turku where kitmaker is Puma?
### Context:
CREATE TABLE table_25129482_1 (manager VARCHAR, kitmaker VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(manager) FROM table_25129482_1 WHERE kitmaker = "Puma" AND location = "Turku"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 method of opponent georges st-pierre?
### Context:
CREATE TABLE table_name_22 (method VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_22 WHERE opponent = "georges st-pierre"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Theme of the coin with an Issue Price of $89.95?
### Context:
CREATE TABLE table_name_95 (theme VARCHAR, issue_price VARCHAR)
### Response:
### Response:
SELECT theme FROM table_name_95 WHERE issue_price = "$89.95"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18?
### Context:
CREATE TABLE table_name_82 (clean_ VARCHAR, _jerk VARCHAR, snatch VARCHAR, bodyweight VARCHAR)
### Response:
### Response:
SELECT clean_ & _jerk FROM table_name_82 WHERE snatch < 150 AND bodyweight = 76.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:
When the team had more than 46 wins, what were the average losses?
### Context:
CREATE TABLE table_name_13 (losses INTEGER, wins INTEGER)
### Response:
### Response:
SELECT AVG(losses) FROM table_name_13 WHERE wins > 46</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the venue on 14 november 1998?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_82 WHERE date = "14 november 1998"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the number of projects which each scientist is working on and scientist's name.
### Context:
CREATE TABLE scientists (name VARCHAR, ssn VARCHAR); CREATE TABLE assignedto (scientist VARCHAR)
### Response:
### Response:
SELECT COUNT(*), T1.name FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist GROUP BY T1.name</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score has a Date on november 11?
### Context:
CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_30 WHERE date = "november 11"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How long has Sebastian Telfair played for Toronto?
### Context:
CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 long for the player with under 30 carries and 0 yards?
### Context:
CREATE TABLE table_name_78 (long VARCHAR, car VARCHAR, yards VARCHAR)
### Response:
### Response:
SELECT long FROM table_name_78 WHERE car < 30 AND yards = "0"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which League Cup has a Scottish Cup larger than 69?
### Context:
CREATE TABLE table_name_42 (league INTEGER, scottish_cup INTEGER)
### Response:
### Response:
SELECT SUM(league) AS Cup FROM table_name_42 WHERE scottish_cup > 69</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What opponent has December 6, 1964 as the date?
### Context:
CREATE TABLE table_name_40 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_40 WHERE date = "december 6, 1964"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for the player becchio?
### Context:
CREATE TABLE table (position VARCHAR, player VARCHAR, Becchio VARCHAR)
### Response:
### Response:
SELECT position FROM table WHERE player = Becchio</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the names of all instructors in computer science department
### Context:
CREATE TABLE instructor (name VARCHAR, dept_name VARCHAR)
### Response:
### Response:
SELECT name FROM instructor WHERE dept_name = 'Comp. Sci.'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Programming which has an Aspect of 4:3, and a PSIP Short Name of ibc-tv?
### Context:
CREATE TABLE table_name_18 (programming VARCHAR, aspect VARCHAR, psip_short_name VARCHAR)
### Response:
### Response:
SELECT programming FROM table_name_18 WHERE aspect = "4:3" AND psip_short_name = "ibc-tv"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 in which Behtash Fariba left his team?
### Context:
CREATE TABLE table_22297140_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
### Response:
### Response:
SELECT date_of_vacancy FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface for australian open for winner
### Context:
CREATE TABLE table_2009095_2 (surface VARCHAR, championship VARCHAR, outcome VARCHAR)
### Response:
### Response:
SELECT surface FROM table_2009095_2 WHERE championship = "Australian Open" AND outcome = "Winner"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sets were played in the 2011 tournament, in which 2R were played in 2008?
### Context:
CREATE TABLE table_name_4 (Id VARCHAR)
### Response:
### Response:
SELECT 2011 FROM table_name_4 WHERE 2008 = "2r"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 platform does Mindark publish?
### Context:
CREATE TABLE table_name_84 (platform VARCHAR, publisher VARCHAR)
### Response:
### Response:
SELECT platform FROM table_name_84 WHERE publisher = "mindark"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Part 6, when Part 4 is on March 2, 2008?
### Context:
CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR)
### Response:
### Response:
SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was the 146 total?
### Context:
CREATE TABLE table_name_58 (year_s__won VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT year_s__won FROM table_name_58 WHERE total = 146</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home captain at the Adelaide Oval?
### Context:
CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the original title of the film from Japan/Taiwan before 2003?
### Context:
CREATE TABLE table_name_95 (original_title VARCHAR, year VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT original_title FROM table_name_95 WHERE year < 2003 AND country = "japan/taiwan"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series did he have the 7th position?
### Context:
CREATE TABLE table_24998088_1 (series VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT series FROM table_24998088_1 WHERE position = "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:
Which number has a 0.35 percentage?
### Context:
CREATE TABLE table_name_26 (number VARCHAR, percentage___percentage_ VARCHAR)
### Response:
### Response:
SELECT number FROM table_name_26 WHERE percentage___percentage_ = "0.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 is the district where the incumbent is james a. haley?
### Context:
CREATE TABLE table_1341672_10 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_1341672_10 WHERE incumbent = "James A. Haley"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 production code for episode 3 in the season?
### Context:
CREATE TABLE table_2453243_3 (production_code INTEGER, no_in_season VARCHAR)
### Response:
### Response:
SELECT MAX(production_code) FROM table_2453243_3 WHERE no_in_season = 3</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the department that got $626,798 in local investments?
### Context:
CREATE TABLE table_17118006_2 (department VARCHAR, local_investment__us$_ VARCHAR)
### Response:
### Response:
SELECT department FROM table_17118006_2 WHERE local_investment__us$_ = "626,798"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 manner of departure for the team whose incoming manager was George Burley?
### Context:
CREATE TABLE table_26593762_3 (manner_of_departure VARCHAR, incoming_manager VARCHAR)
### Response:
### Response:
SELECT manner_of_departure FROM table_26593762_3 WHERE incoming_manager = "George Burley"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 bus power for the Controlnet Fieldbus?
### Context:
CREATE TABLE table_name_5 (bus_power VARCHAR, fieldbus VARCHAR)
### Response:
### Response:
SELECT bus_power FROM table_name_5 WHERE fieldbus = "controlnet"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When did the Summer Olympics occur in Tokyo?
### Context:
CREATE TABLE table_name_3 (summer_olympics VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT summer_olympics FROM table_name_3 WHERE city = "tokyo"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 F. Goals with tries of 0 0 and games of 05 5
### Context:
CREATE TABLE table_name_18 (tries VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT F.goals FROM table_name_18 WHERE tries = "0 0" AND games = "05 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 Score has a Set 2 of 25–17, and a Time of 16:00?
### Context:
CREATE TABLE table_name_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 in game 6?
### Context:
CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT score FROM table_23248910_11 WHERE game = 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:
Where is moving to the type loaned out under the name tragodara?
### Context:
CREATE TABLE table_name_74 (moving_to VARCHAR, type VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT moving_to FROM table_name_74 WHERE type = "loaned out" AND name = "tragodara"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the combined consumption of 1.6 16v?
### Context:
CREATE TABLE table_name_60 (combined_consumption VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT combined_consumption FROM table_name_60 WHERE name = "1.6 16v"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 station name and number of trains in each station.
### Context:
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (station_id VARCHAR)
### Response:
### Response:
SELECT T2.name, COUNT(*) FROM train_station AS T1 JOIN station AS T2 ON T1.station_id = T2.station_id GROUP BY T1.station_id</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the developer of XCom: Enemy Unknown?
### Context:
CREATE TABLE table_name_98 (developer_s_ VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT developer_s_ FROM table_name_98 WHERE game = "xcom: enemy unknown"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What transfer window has baptista as the name?
### Context:
CREATE TABLE table_name_44 (transfer_window VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT transfer_window FROM table_name_44 WHERE name = "baptista"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people are in regions greater than 3?
### Context:
CREATE TABLE table_name_18 (population INTEGER, region INTEGER)
### Response:
### Response:
SELECT SUM(population) FROM table_name_18 WHERE region > 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's the award for #100?
### Context:
CREATE TABLE table_name_84 (award VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT award FROM table_name_84 WHERE result = "#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 year did the school from mars hill, north carolina join?
### Context:
CREATE TABLE table_11658094_3 (joined VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT joined FROM table_11658094_3 WHERE location = "Mars Hill, North Carolina"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
A .416 barrett has which Case Length?
### Context:
CREATE TABLE table_name_9 (case_length VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT case_length FROM table_name_9 WHERE name = ".416 barrett"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Runner(s)-Up, when Margin of Victory is 1 Stroke, and when Tournament is Joburg Open 1?
### Context:
CREATE TABLE table_name_51 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT runner_s__up FROM table_name_51 WHERE margin_of_victory = "1 stroke" AND tournament = "joburg open 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:
Which city's IATA is nkg?
### Context:
CREATE TABLE table_name_64 (city VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_64 WHERE iata = "nkg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sanctioned the event at fayette county speedway?
### Context:
CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR)
### Response:
### Response:
SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What date was the Colonial Stadium?
### Context:
CREATE TABLE table_name_62 (date VARCHAR, ground VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_62 WHERE ground = "colonial stadium"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What winning team has volleyball as the sport?
### Context:
CREATE TABLE table_name_91 (winning_team VARCHAR, sport VARCHAR)
### Response:
### Response:
SELECT winning_team FROM table_name_91 WHERE sport = "volleyball"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the Loss when the opponent was the Rangers and the attendance was greater than 43,211?
### Context:
CREATE TABLE table_name_57 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_57 WHERE opponent = "rangers" AND attendance > 43 OFFSET 211</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year for a coin that had a mintage smaller than 10,000?
### Context:
CREATE TABLE table_name_13 (year INTEGER, mintage INTEGER)
### Response:
### Response:
SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 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 maximum number of poles?
### Context:
CREATE TABLE table_3005915_3 (poles INTEGER)
### Response:
### Response:
SELECT MAX(poles) FROM table_3005915_3</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many total points were in 1992?
### Context:
CREATE TABLE table_name_74 (points VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_name_74 WHERE year = 1992</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Allison Fouch score in the year larger than 2000?
### Context:
CREATE TABLE table_name_62 (winning_score VARCHAR, year VARCHAR, champion VARCHAR)
### Response:
### Response:
SELECT winning_score FROM table_name_62 WHERE year > 2000 AND champion = "allison fouch"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on October 20?
### Context:
CREATE TABLE table_name_85 (visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_85 WHERE date = "october 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:
What is the NHL team that had pick number 32?
### Context:
CREATE TABLE table_name_72 (nhl_team VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT nhl_team FROM table_name_72 WHERE pick__number = "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:
Who is the player who's number is 3?
### Context:
CREATE TABLE table_11734041_11 (player VARCHAR, no_s_ VARCHAR)
### Response:
### Response:
SELECT player FROM table_11734041_11 WHERE no_s_ = "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 state has Richard Foster as a member?
### Context:
CREATE TABLE table_name_49 (state VARCHAR, member VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_49 WHERE member = "richard foster"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 person whose friends have the oldest average age?
### Context:
CREATE TABLE PersonFriend (name VARCHAR, friend VARCHAR); CREATE TABLE Person (age INTEGER, name VARCHAR)
### Response:
### Response:
SELECT T2.name, AVG(T1.age) FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend GROUP BY T2.name ORDER BY AVG(T1.age) DESC LIMIT 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:
On what Date is Game 3 with Boston Road Team?
### Context:
CREATE TABLE table_name_93 (date VARCHAR, road_team VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_93 WHERE road_team = "boston" AND game = "game 3"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the result of the game on October 6, 1974?
### Context:
CREATE TABLE table_14954150_1 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_14954150_1 WHERE date = "October 6, 1974"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Qhat was the position of sail 6606?
### Context:
CREATE TABLE table_1858574_3 (position VARCHAR, sail_number VARCHAR)
### Response:
### Response:
SELECT position FROM table_1858574_3 WHERE sail_number = "6606"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What won best pc demo when tower power (camelot) won best c64 demo?
### Context:
CREATE TABLE table_2490289_1 (pc_demo VARCHAR, c64_demo VARCHAR)
### Response:
### Response:
SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 VFL games were located off Goodenough Island Milne Bay?
### Context:
CREATE TABLE table_16527640_3 (vfl_games VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT vfl_games FROM table_16527640_3 WHERE location = "off Goodenough Island Milne Bay"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when the lead is john shuster and third is shawn rojeski?
### Context:
CREATE TABLE table_name_54 (season VARCHAR, lead VARCHAR, third VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_54 WHERE lead = "john shuster" AND third = "shawn rojeski"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was the opponent in the final john higgins category:articles with hcards?
### Context:
CREATE TABLE table_name_45 (year VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_45 WHERE opponent_in_the_final = "john higgins category:articles with hcards"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which date was the syracuse circuit?
### Context:
CREATE TABLE table_name_67 (date VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_67 WHERE circuit = "syracuse"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of party for richard l. hanna (r) 53.1% mike arcuri (d) 46.9%
### Context:
CREATE TABLE table_19753079_35 (party VARCHAR, candidates VARCHAR)
### Response:
### Response:
SELECT COUNT(party) FROM table_19753079_35 WHERE candidates = "Richard L. Hanna (R) 53.1% Mike Arcuri (D) 46.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 team had a race time of 2:53:57?
### Context:
CREATE TABLE table_2268216_1 (team VARCHAR, race_time VARCHAR)
### Response:
### Response:
SELECT team FROM table_2268216_1 WHERE race_time = "2:53:57"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 time of manufacturer with grid 21?
### Context:
CREATE TABLE table_name_56 (time VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_56 WHERE grid = 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 Date of the Everton Away game?
### Context:
CREATE TABLE table_name_95 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_95 WHERE away_team = "everton"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For the match ending in a score of 66-20, what was the stadium?
### Context:
CREATE TABLE table_name_92 (stadium VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT stadium FROM table_name_92 WHERE score = "66-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:
How many synthesis are there for 5~16.2 pw per cycle (calculated) output power?
### Context:
CREATE TABLE table_30057479_1 (synthesis VARCHAR, output_power VARCHAR)
### Response:
### Response:
SELECT COUNT(synthesis) FROM table_30057479_1 WHERE output_power = "5~16.2 pW per cycle (calculated)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 member of the National Party is from the Hinkler electorate?
### Context:
CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR)
### Response:
### Response:
SELECT member FROM table_name_6 WHERE party = "national" AND electorate = "hinkler"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area has a rank of 60?
### Context:
CREATE TABLE table_22916979_2 (metropolitan_area VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT metropolitan_area FROM table_22916979_2 WHERE rank = 60</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which home team plays in the Corio Oval venue?
### Context:
CREATE TABLE table_name_29 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_29 WHERE venue = "corio oval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the attendance that has a record of 43-28?
### Context:
CREATE TABLE table_name_86 (attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_86 WHERE record = "43-28"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 romaji by your side ~hikari's theme~ (popup.version)
### Context:
CREATE TABLE table_2144389_8 (rōmaji VARCHAR, japanese_translation VARCHAR)
### Response:
### Response:
SELECT rōmaji FROM table_2144389_8 WHERE japanese_translation = "By Your Side ~Hikari's Theme~ (PopUp.Version)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 earliest week with a game attended by 60,233?
### Context:
CREATE TABLE table_name_35 (week INTEGER, attendance VARCHAR)
### Response:
### Response:
SELECT MIN(week) FROM table_name_35 WHERE attendance = "60,233"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visiting team is Clemson, when was the time?
### Context:
CREATE TABLE table_26842217_8 (time VARCHAR, visiting_team VARCHAR)
### Response:
### Response:
SELECT time FROM table_26842217_8 WHERE visiting_team = "Clemson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed for the Main Location(s) that has a % of National of 2.05%?
### Context:
CREATE TABLE table_name_77 (main_location_s_ VARCHAR, _percentage_of_national VARCHAR)
### Response:
### Response:
SELECT main_location_s_ FROM table_name_77 WHERE _percentage_of_national = "2.05%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which type entered service in 1976/1997 and is located in Brazil?
### Context:
CREATE TABLE table_name_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_87 WHERE location = "brazil" AND entered_service = "1976/1997"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overalls have E as the position, buddy payne as the name, and a pick less than 5?
### Context:
CREATE TABLE table_name_29 (overall VARCHAR, pick VARCHAR, position VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(overall) FROM table_name_29 WHERE position = "e" AND name = "buddy payne" AND pick < 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:
Where was the game on November 20?
### Context:
CREATE TABLE table_10812293_3 (location_attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_10812293_3 WHERE date = "November 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:
How many teams have 7th position?
### Context:
CREATE TABLE table_22056184_1 (team VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(team) FROM table_22056184_1 WHERE position = "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:
What was the format of the release by Triumfall?
### Context:
CREATE TABLE table_name_31 (format VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT format FROM table_name_31 WHERE artist = "triumfall"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the most recent year for an album listed with a piano credited?
### Context:
CREATE TABLE table_name_4 (year INTEGER, credit VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_4 WHERE credit = "piano"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mountains classifications when Rui Costa is the winner?
### Context:
CREATE TABLE table_25999087_2 (mountains_classification VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT COUNT(mountains_classification) FROM table_25999087_2 WHERE winner = "Rui Costa"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of the game that was played in the time of 2:38?
### Context:
CREATE TABLE table_name_95 (game INTEGER, time VARCHAR)
### Response:
### Response:
SELECT MAX(game) FROM table_name_95 WHERE time = "2:38"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the result when the incumbent was george h. mahon
### Context:
CREATE TABLE table_1341663_44 (result VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT result FROM table_1341663_44 WHERE incumbent = "George H. Mahon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team on 31 January 1987 when the home team was Wimbledon?
### Context:
CREATE TABLE table_name_51 (away_team VARCHAR, date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_51 WHERE date = "31 january 1987" AND home_team = "wimbledon"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.