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 the laops of marcis auto racing?
### Context:
CREATE TABLE table_12001616_4 (laps VARCHAR, entrant VARCHAR)
### Response:
### Response:
SELECT laps FROM table_12001616_4 WHERE entrant = "Marcis Auto 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:
Which Delegate has a Placement in Miss Universe of fourth runner-up, and a Hometown of makati , rizal?
### Context:
CREATE TABLE table_name_96 (delegate VARCHAR, placement_in_miss_universe VARCHAR, hometown VARCHAR)
### Response:
### Response:
SELECT delegate FROM table_name_96 WHERE placement_in_miss_universe = "fourth runner-up" AND hometown = "makati , rizal"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What label shows an Album of cover version v?
### Context:
CREATE TABLE table_name_24 (label VARCHAR, album VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_24 WHERE album = "cover version v"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the time of the race for Driver Jarno Trulli on a grid smaller than 13?
### Context:
CREATE TABLE table_name_59 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_59 WHERE grid < 13 AND driver = "jarno trulli"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position did Roseau High School (USHS-MN) play?
### Context:
CREATE TABLE table_2897457_7 (position VARCHAR, college_junior_club_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_2897457_7 WHERE college_junior_club_team = "Roseau High School (USHS-MN)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 H/A/N has a score of 105*♠?
### Context:
CREATE TABLE table_name_13 (h_a_n VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT h_a_n FROM table_name_13 WHERE score = "105*♠"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 casualties were in the earthquake with an unknown intensity and an epicenter in the bouïra province?
### Context:
CREATE TABLE table_name_3 (casualties VARCHAR, intensity VARCHAR, epicenter VARCHAR)
### Response:
### Response:
SELECT casualties FROM table_name_3 WHERE intensity = "unknown" AND epicenter = "bouïra province"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 others% with parbeingh being tangipahoa
### Context:
CREATE TABLE table_13608101_1 (others_percentage VARCHAR, parish VARCHAR)
### Response:
### Response:
SELECT others_percentage FROM table_13608101_1 WHERE parish = "Tangipahoa"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Viewers, when Event is Johnson Vs. Moraga?
### Context:
CREATE TABLE table_name_1 (viewers VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT viewers FROM table_name_1 WHERE event = "johnson vs. moraga"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Liscumb when Gauthier is 34?
### Context:
CREATE TABLE table_11447995_2 (liscumb VARCHAR, gauthier VARCHAR)
### Response:
### Response:
SELECT liscumb FROM table_11447995_2 WHERE gauthier = "34"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the customer ids and firstname without a credit card.
### Context:
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR, card_type_code VARCHAR)
### Response:
### Response:
SELECT customer_id, customer_first_name FROM Customers EXCEPT SELECT T1.customer_id, T2.customer_first_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE card_type_code = "Credit"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total points is 50.5, what is the total number of dances?
### Context:
CREATE TABLE table_19744915_14 (number_of_dances VARCHAR, total_points VARCHAR)
### Response:
### Response:
SELECT COUNT(number_of_dances) FROM table_19744915_14 WHERE total_points = "50.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:
Name the discipline for bronze being 0
### Context:
CREATE TABLE table_22360_3 (discipline VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT discipline FROM table_22360_3 WHERE bronze = 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 is the average February that has 56 as the game?
### Context:
CREATE TABLE table_name_77 (february INTEGER, game VARCHAR)
### Response:
### Response:
SELECT AVG(february) FROM table_name_77 WHERE game = 56</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 CLASSIFIED IN THE STAGE WHERE BRADLEY WIGGINS WON THE POINTS CLASSIFICATION ?
### Context:
CREATE TABLE table_11667521_17 (team_classification VARCHAR, points_classification VARCHAR)
### Response:
### Response:
SELECT team_classification FROM table_11667521_17 WHERE points_classification = "Bradley Wiggins"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 report in the Belgian Grand Prix?
### Context:
CREATE TABLE table_name_5 (report VARCHAR, race VARCHAR)
### Response:
### Response:
SELECT report FROM table_name_5 WHERE race = "belgian grand prix"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the date for air canada centre 18,736
### Context:
CREATE TABLE table_23186738_9 (date VARCHAR, location_attendance VARCHAR)
### Response:
### Response:
SELECT date FROM table_23186738_9 WHERE location_attendance = "Air Canada Centre 18,736"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 with 2006 of 2r
### Context:
CREATE TABLE table_name_97 (Id VARCHAR)
### Response:
### Response:
SELECT 2011 FROM table_name_97 WHERE 2006 = "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:
What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00?
### Context:
CREATE TABLE table_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR)
### Response:
### Response:
SELECT name FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.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:
How many total points did Oisin McConville have from his 5 matches?
### Context:
CREATE TABLE table_name_90 (total VARCHAR, player VARCHAR, matches VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_90 WHERE player = "oisin mcconville" AND matches < 5</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the pick number for the kicker in round 8?
### Context:
CREATE TABLE table_name_7 (pick VARCHAR, round VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(pick) FROM table_name_7 WHERE round = "round 8" AND position = "kicker"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 titles and directors of the movies whose star is greater than the average stars of the movies directed by James Cameron?
### Context:
CREATE TABLE Rating (mID VARCHAR, stars INTEGER); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR)
### Response:
### Response:
SELECT T2.title, T2.director FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars > (SELECT AVG(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T2.director = "James Cameron")</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 report for 6 may
### Context:
CREATE TABLE table_name_82 (report VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT report FROM table_name_82 WHERE date = "6 may"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 week 14 opponent for the year with a week 10 opponent of Michigan State (8-2)?
### Context:
CREATE TABLE table_name_50 (week_14_nov_30 VARCHAR, week_10_nov_2 VARCHAR)
### Response:
### Response:
SELECT week_14_nov_30 FROM table_name_50 WHERE week_10_nov_2 = "michigan state (8-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 the tie no was 1, what was the score?
### Context:
CREATE TABLE table_name_44 (score VARCHAR, tie_no VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_44 WHERE tie_no = "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 million viewers watched the episode with a run time of 25:22?
### Context:
CREATE TABLE table_2108684_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
### Response:
### Response:
SELECT viewers__in_millions_ FROM table_2108684_1 WHERE run_time = "25:22"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What race did the team Mi-Jack Conquest racing win with a pole position of andreas wirth?
### Context:
CREATE TABLE table_name_16 (race_name VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Response:
### Response:
SELECT race_name FROM table_name_16 WHERE winning_team = "mi-jack conquest racing" AND pole_position = "andreas wirth"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for director john woo?
### Context:
CREATE TABLE table_name_47 (rank INTEGER, director VARCHAR)
### Response:
### Response:
SELECT MAX(rank) FROM table_name_47 WHERE director = "john woo"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 played on august 25
### Context:
CREATE TABLE table_name_14 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_14 WHERE date = "august 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:
Which award-winning film has a closing date of September 4?
### Context:
CREATE TABLE table_18220102_1 (award_winning_film VARCHAR, date__closing_ VARCHAR)
### Response:
### Response:
SELECT award_winning_film FROM table_18220102_1 WHERE date__closing_ = "September 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 Round was the Winning Team Engstler Motorsport Maurer Motorsport?
### Context:
CREATE TABLE table_name_26 (round VARCHAR, winning_team VARCHAR)
### Response:
### Response:
SELECT round FROM table_name_26 WHERE winning_team = "engstler motorsport maurer motorsport"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
which countries have more than 2 airports?
### Context:
CREATE TABLE airport (country VARCHAR)
### Response:
### Response:
SELECT country FROM airport GROUP BY country HAVING COUNT(*) > 2</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Charleston, SC ERP W?
### Context:
CREATE TABLE table_name_2 (erp_w VARCHAR, city_of_license VARCHAR)
### Response:
### Response:
SELECT erp_w FROM table_name_2 WHERE city_of_license = "charleston, sc"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 time for a round of n/a when the opponent is mikhail ilyukhin?
### Context:
CREATE TABLE table_name_75 (time VARCHAR, round VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_75 WHERE round = "n/a" AND opponent = "mikhail ilyukhin"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What place did the person who left on day 3 finish in?
### Context:
CREATE TABLE table_name_54 (finished VARCHAR, exited VARCHAR)
### Response:
### Response:
SELECT finished FROM table_name_54 WHERE exited = "day 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 sum of rounds that has a pick of 9 and is named jim pyburn?
### Context:
CREATE TABLE table_name_62 (round INTEGER, pick VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT SUM(round) FROM table_name_62 WHERE pick = 9 AND name = "jim pyburn"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 pick number of the player whose college is Florida State?
### Context:
CREATE TABLE table_14650162_1 (pick__number VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT pick__number FROM table_14650162_1 WHERE college = "Florida State"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many ranks have more than 7 lanes, and an Athlete of michael mathieu, and a Reaction time larger than 0.203?
### Context:
CREATE TABLE table_name_3 (rank INTEGER, react VARCHAR, lane VARCHAR, athlete VARCHAR)
### Response:
### Response:
SELECT SUM(rank) FROM table_name_3 WHERE lane > 7 AND athlete = "michael mathieu" AND react > 0.203</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 abbreviation of the enzyme involved in carbamoyl phosphate synthetase i deficiency?
### Context:
CREATE TABLE table_name_30 (abb VARCHAR, disorder VARCHAR)
### Response:
### Response:
SELECT abb FROM table_name_30 WHERE disorder = "carbamoyl phosphate synthetase i deficiency"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner(s)-up for a winning score of −3 (71-74-66-66=277)?
### Context:
CREATE TABLE table_name_65 (runner_s__up VARCHAR, winning_score VARCHAR)
### Response:
### Response:
SELECT runner_s__up FROM table_name_65 WHERE winning_score = −3(71 - 74 - 66 - 66 = 277)</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round that louisville drafted into when their pick was over 75?
### Context:
CREATE TABLE table_name_14 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT MAX(round) FROM table_name_14 WHERE school_club_team = "louisville" AND pick > 75</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 title when the writer is Emily Halpern?
### Context:
CREATE TABLE table_24910733_1 (title VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT title FROM table_24910733_1 WHERE written_by = "Emily Halpern"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 phone number of the customer who has filed the most recent complaint?
### Context:
CREATE TABLE customers (phone_number VARCHAR, customer_id VARCHAR); CREATE TABLE complaints (customer_id VARCHAR, date_complaint_raised VARCHAR)
### Response:
### Response:
SELECT t1.phone_number FROM customers AS t1 JOIN complaints AS t2 ON t1.customer_id = t2.customer_id ORDER BY t2.date_complaint_raised 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:
What name is for the period 1945-1949 & 1953-1954 1949-1952?
### Context:
CREATE TABLE table_name_69 (name VARCHAR, period VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_69 WHERE period = "1945-1949 & 1953-1954 1949-1952"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 a ligier gitanes blondes
### Context:
CREATE TABLE table_name_84 (year INTEGER, entrant VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_84 WHERE entrant = "ligier gitanes blondes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opengl have the ironlake ( clarkdale ) code name?
### Context:
CREATE TABLE table_25839957_5 (opengl VARCHAR, code_name VARCHAR)
### Response:
### Response:
SELECT COUNT(opengl) FROM table_25839957_5 WHERE code_name = "Ironlake ( Clarkdale )"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 in Aigburth?
### Context:
CREATE TABLE table_name_26 (year INTEGER, venue VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_26 WHERE venue = "aigburth"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Elevation (m) has a Col (m) smaller than 562, and a Rank of 10, and a Prominence (m) larger than 1,598?
### Context:
CREATE TABLE table_name_15 (elevation__m_ VARCHAR, prominence__m_ VARCHAR, col__m_ VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT COUNT(elevation__m_) FROM table_name_15 WHERE col__m_ < 562 AND rank = 10 AND prominence__m_ > 1 OFFSET 598</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Margin of victory has a Runner(s)-up of josé maria cañizares?
### Context:
CREATE TABLE table_name_38 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
### Response:
### Response:
SELECT margin_of_victory FROM table_name_38 WHERE runner_s__up = "josé maria cañizares"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What league has a number less than 1?
### Context:
CREATE TABLE table_name_11 (league VARCHAR, number INTEGER)
### Response:
### Response:
SELECT league FROM table_name_11 WHERE number < 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 aggregate number of yes votes where no votes is littler than 299939.1619948521 and % yes is 66.49%
### Context:
CREATE TABLE table_256286_41 (yes_votes VARCHAR, no_votes VARCHAR, _percentage_yes VARCHAR)
### Response:
### Response:
SELECT COUNT(yes_votes) FROM table_256286_41 WHERE no_votes < 299939.1619948521 AND _percentage_yes = "66.49%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Bronco Billy?
### Context:
CREATE TABLE table_name_21 (rank INTEGER, title VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_21 WHERE title = "bronco billy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 position of the club with 53 goals against, 26 points, and a -11 goal difference?
### Context:
CREATE TABLE table_name_70 (position INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MIN(position) FROM table_name_70 WHERE goals_against = 53 AND points = 26 AND goal_difference > -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:
What team was 2 when Tatung was team 1 at National Pei Men Senior High School?
### Context:
CREATE TABLE table_name_32 (team_2 VARCHAR, team_1 VARCHAR, ground VARCHAR)
### Response:
### Response:
SELECT team_2 FROM table_name_32 WHERE team_1 = "tatung" AND ground = "national pei men senior 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:
If the aggregate is 3-4, what is the first leg?
### Context:
CREATE TABLE table_17968233_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR)
### Response:
### Response:
SELECT home__1st_leg_ FROM table_17968233_2 WHERE aggregate = "3-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 goal difference when drawn is more than 11, goals against is less than 63, goals for is less than 87 and lost is more than 16?
### Context:
CREATE TABLE table_name_82 (goal_difference VARCHAR, lost VARCHAR, goals_for VARCHAR, drawn VARCHAR, goals_against VARCHAR)
### Response:
### Response:
SELECT goal_difference FROM table_name_82 WHERE drawn > 11 AND goals_against < 63 AND goals_for < 87 AND lost > 16</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is 2008, when 2006 is "Grand Slam Tournaments"?
### Context:
CREATE TABLE table_name_18 (Id VARCHAR)
### Response:
### Response:
SELECT 2008 FROM table_name_18 WHERE 2006 = "grand slam tournaments"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Pioneer population in 1966 with a Sarina population greater than 4,611?
### Context:
CREATE TABLE table_name_31 (pioneer INTEGER, year VARCHAR, sarina VARCHAR)
### Response:
### Response:
SELECT MIN(pioneer) FROM table_name_31 WHERE year = 1966 AND sarina > 4 OFFSET 611</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 player from England's score?
### Context:
CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_98 WHERE country = "england"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On what date did the episode with a series number 31, with a story written by William Reiss, air for the first time?
### Context:
CREATE TABLE table_14035132_3 (original_air_date VARCHAR, storyboarded_by VARCHAR, no_in_series VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_14035132_3 WHERE storyboarded_by = "William Reiss" AND no_in_series = "31"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years for chassis of maserati 250f and points less than 0
### Context:
CREATE TABLE table_name_85 (year VARCHAR, chassis VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_85 WHERE chassis = "maserati 250f" AND points < 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the prize money for the final round?
### Context:
CREATE TABLE table_name_58 (prize_money VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT prize_money FROM table_name_58 WHERE round = "final"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Terry McAuliffe is it that has a Dates Administered on June 6–7?
### Context:
CREATE TABLE table_name_8 (terry_mcauliffe VARCHAR, dates_administered VARCHAR)
### Response:
### Response:
SELECT terry_mcauliffe FROM table_name_8 WHERE dates_administered = "june 6–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 state is Tanya Plibersek from?
### Context:
CREATE TABLE table_name_15 (state VARCHAR, member VARCHAR)
### Response:
### Response:
SELECT state FROM table_name_15 WHERE member = "tanya plibersek"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 City/State of the Oran Park race?
### Context:
CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR)
### Response:
### Response:
SELECT city___state FROM table_name_85 WHERE race_title = "oran park"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the span of 1992-2000, what was the conv ?
### Context:
CREATE TABLE table_name_19 (conv VARCHAR, span VARCHAR)
### Response:
### Response:
SELECT conv FROM table_name_19 WHERE span = "1992-2000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the title of all cartoon directed by "Ben Jones" or "Brandon Vietti".
### Context:
CREATE TABLE Cartoon (Title VARCHAR, Directed_by VARCHAR)
### Response:
### Response:
SELECT Title FROM Cartoon WHERE Directed_by = "Ben Jones" OR Directed_by = "Brandon Vietti"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the player from Malaysia, Kuala Lumpur in Index f8?
### Context:
CREATE TABLE table_name_67 (name VARCHAR, country VARCHAR, index VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_67 WHERE country = "malaysia, kuala lumpur" AND index = "f8"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 features did Adam Carroll win 6 times when the start was larger than 32?
### Context:
CREATE TABLE table_name_88 (feature VARCHAR, starts VARCHAR, wins VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 32</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is shown for Record as played with a Regular season Vacated of 24–0 later than 1997?
### Context:
CREATE TABLE table_name_19 (record_as_played VARCHAR, regular_season_vacated VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT record_as_played FROM table_name_19 WHERE regular_season_vacated = "24–0" AND season > 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:
What was the team's status in the USISL Pro League playoffs?
### Context:
CREATE TABLE table_1939214_1 (playoffs VARCHAR, league VARCHAR)
### Response:
### Response:
SELECT playoffs FROM table_1939214_1 WHERE league = "USISL Pro league"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 playing surface for the Tournament of Great Britain F16?
### Context:
CREATE TABLE table_name_44 (surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_44 WHERE tournament = "great britain f16"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 is the record 4-3-0?
### Context:
CREATE TABLE table_name_94 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_94 WHERE record = "4-3-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 the tie against the away team, Leicester City?
### Context:
CREATE TABLE table_name_21 (tie_no VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT tie_no FROM table_name_21 WHERE away_team = "leicester city"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the record with high points being dwyane wade (27) and location attendance being arco arena
### Context:
CREATE TABLE table_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR)
### Response:
### Response:
SELECT record FROM table_13762472_4 WHERE high_points = "Dwyane Wade (27)" AND location_attendance = "ARCO Arena"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in group B and has a mark of 6.33?
### Context:
CREATE TABLE table_name_10 (name VARCHAR, group VARCHAR, mark VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_10 WHERE group = "b" AND mark = "6.33"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 premiere number for the episode titled "The Mysteries of Love" in English?
### Context:
CREATE TABLE table_24856090_1 (premiere INTEGER, english_title VARCHAR)
### Response:
### Response:
SELECT MAX(premiere) FROM table_24856090_1 WHERE english_title = "The Mysteries of Love"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What City/State did the Atlanta Hawks (retired) team play for?
### Context:
CREATE TABLE table_name_24 (city_state VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT city_state FROM table_name_24 WHERE team = "atlanta hawks (retired)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the year when they did not qualify for the playoff and the Regular Season shows as 10th?
### Context:
CREATE TABLE table_name_17 (year VARCHAR, playoffs VARCHAR, regular_season VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_17 WHERE playoffs = "did not qualify" AND regular_season = "10th"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 at the game with a loss of Cook (14–7)?
### Context:
CREATE TABLE table_name_61 (record VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_61 WHERE loss = "cook (14–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:
Name the D 43 with D 48 of d 9
### Context:
CREATE TABLE table_name_70 (d_43 VARCHAR, d_48 VARCHAR)
### Response:
### Response:
SELECT d_43 FROM table_name_70 WHERE d_48 = "d 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 Player had a Score of 70-71=141?
### Context:
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_80 WHERE score = 70 - 71 = 141</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in Qual 2 had the best time of 1:31.327?
### Context:
CREATE TABLE table_name_5 (qual_2 VARCHAR, best VARCHAR)
### Response:
### Response:
SELECT qual_2 FROM table_name_5 WHERE best = "1:31.327"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 where Geelong was the home team?
### Context:
CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_18 WHERE home_team = "geelong"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 made high points on games of score w 106–104 (ot)
### Context:
CREATE TABLE table_17340355_6 (high_assists VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT high_assists FROM table_17340355_6 WHERE score = "W 106–104 (OT)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the D 48 √ with a D 49 √ with r 9?
### Context:
CREATE TABLE table_name_27 (d_48_√ VARCHAR, d_49_√ VARCHAR)
### Response:
### Response:
SELECT d_48_√ FROM table_name_27 WHERE d_49_√ = "r 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 every team classification when points classification is Philippe Gilbert if mountains classification is Johnny Hoogerland and stage is less than 9.0?
### Context:
CREATE TABLE table_25999087_2 (team_classification VARCHAR, stage VARCHAR, points_classification VARCHAR, mountains_classification VARCHAR)
### Response:
### Response:
SELECT team_classification FROM table_25999087_2 WHERE points_classification = "Philippe Gilbert" AND mountains_classification = "Johnny Hoogerland" AND stage < 9.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 IS THE TITLE WITH CATEGORY OF best r&b song?
### Context:
CREATE TABLE table_name_95 (title VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_95 WHERE category = "best r&b song"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 from the United States with a 75-70-68=211 score?
### Context:
CREATE TABLE table_name_94 (player VARCHAR, country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_94 WHERE country = "united states" AND score = 75 - 70 - 68 = 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 is Heart of Rome's catalogue number?
### Context:
CREATE TABLE table_name_73 (catalogue VARCHAR, song_title VARCHAR)
### Response:
### Response:
SELECT catalogue FROM table_name_73 WHERE song_title = "heart of rome"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Italian word for the English word "otter"?
### Context:
CREATE TABLE table_2077192_2 (italian VARCHAR, english VARCHAR)
### Response:
### Response:
SELECT italian FROM table_2077192_2 WHERE english = "otter"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 airport in São Filipe that has an IATA of sfl?
### Context:
CREATE TABLE table_name_3 (airportname VARCHAR, city___town VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT airportname FROM table_name_3 WHERE city___town = "são filipe" AND iata = "sfl"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List top 3 highest Rating TV series. List the TV series's Episode and Rating.
### Context:
CREATE TABLE TV_series (Episode VARCHAR, Rating VARCHAR)
### Response:
### Response:
SELECT Episode, Rating FROM TV_series ORDER BY Rating DESC LIMIT 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 score of player darren clarke, who has $112,500?
### Context:
CREATE TABLE table_name_72 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_72 WHERE money___$__ = "112,500" AND player = "darren clarke"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 annual inflation % when GDP per capita in ppp US$ is 24505 in 2012?
### Context:
CREATE TABLE table_1598533_8 (inflation__percentage_annual__2012_ VARCHAR, gdp_per_capita_in_ppp_us$__2012_ VARCHAR)
### Response:
### Response:
SELECT inflation__percentage_annual__2012_ FROM table_1598533_8 WHERE gdp_per_capita_in_ppp_us$__2012_ = 24505</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at Home at the Bucharest Venue with a Score of 9-9?
### Context:
CREATE TABLE table_name_20 (home VARCHAR, venue VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_20 WHERE venue = "bucharest" AND score = "9-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:
Which Year is the highest one that has a Venue of edmonton, canada?
### Context:
CREATE TABLE table_name_50 (year INTEGER, venue VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_50 WHERE venue = "edmonton, canada"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the head coach for the club from Estoril?
### Context:
CREATE TABLE table_name_17 (head_coach VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT head_coach FROM table_name_17 WHERE city = "estoril"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 network has model nForce Professional 3400 MCP?
### Context:
CREATE TABLE table_name_29 (network VARCHAR, model VARCHAR)
### Response:
### Response:
SELECT network FROM table_name_29 WHERE model = "nforce professional 3400 mcp"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of cuts made when the top-25 is more than 0, and top-5 is more than 1?
### Context:
CREATE TABLE table_name_68 (cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
### Response:
### Response:
SELECT COUNT(cuts_made) FROM table_name_68 WHERE top_25 > 0 AND top_5 > 1</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.