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 was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania?
### Context:
CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR)
### Response:
### Response:
SELECT lifespan FROM table_name_28 WHERE state = "pennsylvania" AND representative = "harry p. o'neill"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Malaysia Cups have a total less than 0?
### Context:
CREATE TABLE table_name_5 (malaysia_cup VARCHAR, total INTEGER)
### Response:
### Response:
SELECT COUNT(malaysia_cup) FROM table_name_5 WHERE total < 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:
Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record?
### Context:
CREATE TABLE table_name_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34–14"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What movie has noxialicht as a track?
### Context:
CREATE TABLE table_name_98 (title VARCHAR, tracks VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_98 WHERE tracks = "noxialicht"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 giulia casoni the partner?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, partner VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_48 WHERE partner = "giulia casoni"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Player, when Score is "68-71=139"?
### Context:
CREATE TABLE table_name_80 (player VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_80 WHERE score = 68 - 71 = 139</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 papers which have "Olin Shivers" as an author.
### Context:
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE papers (title VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR)
### Response:
### Response:
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Olin" AND t1.lname = "Shivers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Speed has a Rank of 2?
### Context:
CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT speed FROM table_name_59 WHERE rank = 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:
Which decile has an Area of welcome bay, and an Authority of state?
### Context:
CREATE TABLE table_name_62 (decile VARCHAR, area VARCHAR, authority VARCHAR)
### Response:
### Response:
SELECT decile FROM table_name_62 WHERE area = "welcome bay" AND authority = "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:
What is the highest To Par, when Score is "72-73=145"?
### Context:
CREATE TABLE table_name_35 (to_par INTEGER, score VARCHAR)
### Response:
### Response:
SELECT MAX(to_par) FROM table_name_35 WHERE score = 72 - 73 = 145</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 match located in Madrid, Esp?
### Context:
CREATE TABLE table_name_69 (date VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_69 WHERE location = "madrid, esp"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the player from connecticut play
### Context:
CREATE TABLE table_10015132_7 (position VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_10015132_7 WHERE school_club_team = "Connecticut"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 TEAM WITH AN OF POSITION AND PICK OF 24?
### Context:
CREATE TABLE table_name_93 (team VARCHAR, position VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_93 WHERE position = "of" AND pick = 24</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest rank of a company with 248.44 billions of dollars in assets?
### Context:
CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR)
### Response:
### Response:
SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of attendance with a Record of 5-9-0?
### Context:
CREATE TABLE table_name_69 (attendance INTEGER, record VARCHAR)
### Response:
### Response:
SELECT SUM(attendance) FROM table_name_69 WHERE record = "5-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:
Please show the names and descriptions of aircrafts associated with airports that have a total number of passengers bigger than 10000000.
### Context:
CREATE TABLE airport (Airport_ID VARCHAR, Total_Passengers INTEGER); CREATE TABLE aircraft (Aircraft VARCHAR, Description VARCHAR, Aircraft_ID VARCHAR); CREATE TABLE airport_aircraft (Aircraft_ID VARCHAR, Airport_ID VARCHAR)
### Response:
### Response:
SELECT T1.Aircraft, T1.Description FROM aircraft AS T1 JOIN airport_aircraft AS T2 ON T1.Aircraft_ID = T2.Aircraft_ID JOIN airport AS T3 ON T2.Airport_ID = T3.Airport_ID WHERE T3.Total_Passengers > 10000000</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position is the player drafted with pick 34?
### Context:
CREATE TABLE table_16575609_5 (position VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT position FROM table_16575609_5 WHERE pick__number = 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:
What is the time/retired with 22 laps and a grid of 29?
### Context:
CREATE TABLE table_name_80 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_80 WHERE laps = 22 AND grid = 29</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Circuit is on July 24?
### Context:
CREATE TABLE table_name_56 (circuit VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT circuit FROM table_name_56 WHERE date = "july 24"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of 2011 populations having a 2002 population of 29449?
### Context:
CREATE TABLE table_2562572_2 (population__2011_ VARCHAR, population__2002_ VARCHAR)
### Response:
### Response:
SELECT COUNT(population__2011_) FROM table_2562572_2 WHERE population__2002_ = 29449</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number for the Moroccan population when the name is Sebt Saiss and the 2004 population is more than 11212?
### Context:
CREATE TABLE table_name_30 (moroccan_population VARCHAR, name VARCHAR, population__2004_ VARCHAR)
### Response:
### Response:
SELECT COUNT(moroccan_population) FROM table_name_30 WHERE name = "sebt saiss" AND population__2004_ > 11212</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ISBN UK, when Author is "Dave Martin", and when ISBN US is "N/A"?
### Context:
CREATE TABLE table_name_38 (isbn_uk VARCHAR, author VARCHAR, isbn_us VARCHAR)
### Response:
### Response:
SELECT isbn_uk FROM table_name_38 WHERE author = "dave martin" AND isbn_us = "n/a"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Term Ending smaller than 2018, and a Nationality of new zealand what is the name?
### Context:
CREATE TABLE table_name_85 (name VARCHAR, term_ending VARCHAR, nationality VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_85 WHERE term_ending < 2018 AND nationality = "new zealand"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2013 with a 2r in 2010 and a qf in 2011?
### Context:
CREATE TABLE table_name_49 (Id VARCHAR)
### Response:
### Response:
SELECT 2013 FROM table_name_49 WHERE 2010 = "2r" AND 2011 = "qf"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average wins have USA as the team?
### Context:
CREATE TABLE table_name_25 (wins INTEGER, team VARCHAR)
### Response:
### Response:
SELECT AVG(wins) FROM table_name_25 WHERE team = "usa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the least first elected for jeff busby?
### Context:
CREATE TABLE table_1342393_23 (first_elected INTEGER, incumbent VARCHAR)
### Response:
### Response:
SELECT MIN(first_elected) FROM table_1342393_23 WHERE incumbent = "Jeff Busby"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fcc info with call sign being w265av
### Context:
CREATE TABLE table_13998897_1 (fcc_info VARCHAR, call_sign VARCHAR)
### Response:
### Response:
SELECT fcc_info FROM table_13998897_1 WHERE call_sign = "W265AV"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 civil parishes of the townlands with an area of 119 acres?
### Context:
CREATE TABLE table_30120547_1 (civil_parish VARCHAR, area__acres__ VARCHAR)
### Response:
### Response:
SELECT civil_parish FROM table_30120547_1 WHERE area__acres__ = 119</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was Buck Pierce's highest average when there were less than 2 fumbles?
### Context:
CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR)
### Response:
### Response:
SELECT MAX(avg) FROM table_name_41 WHERE player = "buck pierce" AND fumbles < 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's listed as the Issue Price (BU) [Clarification Needed] with a Mintage (Proof) of 29,586?
### Context:
CREATE TABLE table_name_57 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR)
### Response:
### Response:
SELECT issue_price__bu_[_clarification_needed_] FROM table_name_57 WHERE mintage__proof_ = "29,586"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What club/province does the prop player with over 45 caps play for?
### Context:
CREATE TABLE table_name_27 (club_province VARCHAR, caps VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT club_province FROM table_name_27 WHERE caps > 45 AND position = "prop"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team when away team is kilmarnock
### Context:
CREATE TABLE table_15173650_2 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_15173650_2 WHERE away_team = "Kilmarnock"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
High assists belonging to Carmelo Anthony (11) have a record of what?
### Context:
CREATE TABLE table_17355408_7 (record VARCHAR, high_assists VARCHAR)
### Response:
### Response:
SELECT record FROM table_17355408_7 WHERE high_assists = "Carmelo Anthony (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 was the result on December 31, 2005?
### Context:
CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_68 WHERE date = "december 31, 2005"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the amount of rebounds in game 2?
### Context:
CREATE TABLE table_23248910_11 (high_rebounds VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT high_rebounds FROM table_23248910_11 WHERE game = 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the winning team when the year is more than 2003, the score is 19½–14½ and the venue is harding park golf club?
### Context:
CREATE TABLE table_name_31 (winning_team VARCHAR, venue VARCHAR, year VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT winning_team FROM table_name_31 WHERE year > 2003 AND score = "19½–14½" AND venue = "harding park golf club"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 person from series bb1 with a hometown of Bolton?
### Context:
CREATE TABLE table_name_69 (name VARCHAR, series VARCHAR, hometown VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What genre is revolving doors of vengeance 酒店風雲?
### Context:
CREATE TABLE table_name_30 (genre VARCHAR, english_title__chinese_title_ VARCHAR)
### Response:
### Response:
SELECT genre FROM table_name_30 WHERE english_title__chinese_title_ = "revolving doors of vengeance 酒店風雲"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 played games a club with more than 71 points and less than 8 losses has?
### Context:
CREATE TABLE table_name_50 (played INTEGER, points VARCHAR, losses VARCHAR)
### Response:
### Response:
SELECT SUM(played) FROM table_name_50 WHERE points > 71 AND losses < 8</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Power HP (kW), when First Year is greater than 1965, when Distribution is "International", when Engine is V6 Biturbo, and when Model is "425"?
### Context:
CREATE TABLE table_name_60 (power_hp__kw_ VARCHAR, model VARCHAR, engine VARCHAR, first_year VARCHAR, distribution VARCHAR)
### Response:
### Response:
SELECT power_hp__kw_ FROM table_name_60 WHERE first_year > 1965 AND distribution = "international" AND engine = "v6 biturbo" AND model = "425"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Monsanto open located in Florida?
### Context:
CREATE TABLE table_name_58 (date VARCHAR, location VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_58 WHERE location = "florida" AND tournament = "monsanto open"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 friendly competition with a score of 4-0?
### Context:
CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-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 section did seymour halpern run in
### Context:
CREATE TABLE table_1341865_34 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_1341865_34 WHERE incumbent = "Seymour 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:
Which Attendance has an Opponent of carolina panthers?
### Context:
CREATE TABLE table_name_27 (attendance VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_27 WHERE opponent = "carolina panthers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 location and attendance when the record was 19-17?
### Context:
CREATE TABLE table_name_69 (location_attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_name_69 WHERE record = "19-17"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many stages did Team Sky lead the teams classification?
### Context:
CREATE TABLE table_26010857_13 (stage INTEGER, teams_classification VARCHAR)
### Response:
### Response:
SELECT MAX(stage) FROM table_26010857_13 WHERE teams_classification = "Team Sky"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
which was k. annamalai´s party a?
### Context:
CREATE TABLE table_22757733_4 (party VARCHAR, runner_up_a VARCHAR)
### Response:
### Response:
SELECT party AS a FROM table_22757733_4 WHERE runner_up_a = "K. Annamalai"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 passengers (in millions) flew through along the route that is 1075km long in 2012?
### Context:
CREATE TABLE table_16066063_1 (distance VARCHAR)
### Response:
### Response:
SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE distance = "1075km"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Score In The Final, when Date is "22 October 1990"?
### Context:
CREATE TABLE table_name_94 (score_in_the_final VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score_in_the_final FROM table_name_94 WHERE date = "22 october 1990"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the team #2 in the round where team #1 is Iraklis?
### Context:
CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR)
### Response:
### Response:
SELECT team__number2 FROM table_19130829_4 WHERE team__number1 = "Iraklis"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2007 that has a grand slam tournaments in 2006.
### Context:
CREATE TABLE table_name_32 (Id VARCHAR)
### Response:
### Response:
SELECT 2007 FROM table_name_32 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 was the score when Fred Couples played in the United States and placed t9?
### Context:
CREATE TABLE table_name_26 (score VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_26 WHERE country = "united states" AND place = "t9" AND player = "fred couples"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the low number of top 25s in an event with over 15 appearances?
### Context:
CREATE TABLE table_name_42 (top_25 INTEGER, events INTEGER)
### Response:
### Response:
SELECT MIN(top_25) FROM table_name_42 WHERE events > 15</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the rank of the cinema when the headquarters are in toronto, ON and the screens is less than 1,438?
### Context:
CREATE TABLE table_name_19 (rank INTEGER, headquarters VARCHAR, screens VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_19 WHERE headquarters = "toronto, on" AND screens < 1 OFFSET 438</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score when Minnesota visited?
### Context:
CREATE TABLE table_name_86 (score VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_86 WHERE visitor = "minnesota"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Brazil's lane with a time less than 21.15?
### Context:
CREATE TABLE table_name_55 (lane INTEGER, nationality VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT MIN(lane) FROM table_name_55 WHERE nationality = "brazil" AND time < 21.15</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which title is 3:38 long?
### Context:
CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_52 WHERE length = "3: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 saka era for malayalam മിഥുനം
### Context:
CREATE TABLE table_169955_1 (saka_era VARCHAR, in_malayalam VARCHAR)
### Response:
### Response:
SELECT saka_era FROM table_169955_1 WHERE in_malayalam = "മിഥുനം"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Lee Trevino, who had less than 27 wins?
### Context:
CREATE TABLE table_name_89 (rank INTEGER, player VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT SUM(rank) FROM table_name_89 WHERE player = "lee trevino" AND wins < 27</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists?
### Context:
CREATE TABLE table_name_4 (goals INTEGER, club VARCHAR, points VARCHAR, assists VARCHAR)
### Response:
### Response:
SELECT MAX(goals) FROM table_name_4 WHERE points = 13 AND assists = 10 AND club = "eisbären berlin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who had the most points in the game on March 7?
### Context:
CREATE TABLE table_28768469_9 (high_points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_28768469_9 WHERE date = "March 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 was the earliest year that Park Jung-Ah won the gold?
### Context:
CREATE TABLE table_name_16 (year INTEGER, gold VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_16 WHERE gold = "park jung-ah"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What weekday has an against of kashima antlers?
### Context:
CREATE TABLE table_name_68 (weekday VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT weekday FROM table_name_68 WHERE against = "kashima antlers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was episode 02x07 first broadcast?
### Context:
CREATE TABLE table_29141354_2 (first_broadcast VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT first_broadcast FROM table_29141354_2 WHERE episode = "02x07"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 districts featured the democrat nicholas von stein?
### Context:
CREATE TABLE table_name_57 (district VARCHAR, democratic VARCHAR)
### Response:
### Response:
SELECT COUNT(district) FROM table_name_57 WHERE democratic = "nicholas von stein"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lane for the poland swimmer who ranked under 6?
### Context:
CREATE TABLE table_name_42 (lane INTEGER, rank VARCHAR, nationality VARCHAR)
### Response:
### Response:
SELECT MAX(lane) FROM table_name_42 WHERE rank < 6 AND nationality = "poland"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of the Iowa v. Minnesota game?
### Context:
CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_59 WHERE opponent = "minnesota"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dismissals did the player Peter McGlashan have?
### Context:
CREATE TABLE table_13337302_16 (dismissals VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT dismissals FROM table_13337302_16 WHERE player = "Peter McGlashan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player that has a Position of df, and Loaned to is Stoke City?
### Context:
CREATE TABLE table_name_89 (player VARCHAR, position VARCHAR, loaned_to VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_89 WHERE position = "df" AND loaned_to = "stoke 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:
Name the most attendance for game site for los angeles memorial coliseum
### Context:
CREATE TABLE table_14984103_1 (attendance INTEGER, game_site VARCHAR)
### Response:
### Response:
SELECT MAX(attendance) FROM table_14984103_1 WHERE game_site = "Los Angeles Memorial Coliseum"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for Julius Kahn's first election of 1898?
### Context:
CREATE TABLE table_name_6 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_6 WHERE first_elected = 1898 AND incumbent = "julius kahn"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 national rank for medical university of south carolina
### Context:
CREATE TABLE table_27956_3 (national_rank VARCHAR, institution VARCHAR)
### Response:
### Response:
SELECT national_rank FROM table_27956_3 WHERE institution = "Medical University of South 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:
What game ended with a final score of 126-108?
### Context:
CREATE TABLE table_name_16 (game INTEGER, score VARCHAR)
### Response:
### Response:
SELECT MAX(game) FROM table_name_16 WHERE score = "126-108"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 visitor the Boston Bruins, and the record was 4–0–1?
### Context:
CREATE TABLE table_name_25 (date VARCHAR, visitor VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_25 WHERE visitor = "boston bruins" AND record = "4–0–1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the professional partner in season 4?
### Context:
CREATE TABLE table_name_29 (professional_partner VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT professional_partner FROM table_name_29 WHERE season = 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 nationality of the C?
### Context:
CREATE TABLE table_name_79 (nationality VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_79 WHERE position = "c"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total score is 740, what is tromso?
### Context:
CREATE TABLE table_19439864_2 (tromsø INTEGER, total VARCHAR)
### Response:
### Response:
SELECT MIN(tromsø) FROM table_19439864_2 WHERE total = 740</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the circuit for 10 may for targa florio
### Context:
CREATE TABLE table_name_79 (circuit VARCHAR, date VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT circuit FROM table_name_79 WHERE date = "10 may" AND name = "targa florio"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listing date for nuckolls county?
### Context:
CREATE TABLE table_name_79 (listed VARCHAR, county VARCHAR)
### Response:
### Response:
SELECT listed FROM table_name_79 WHERE county = "nuckolls"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 change 2009 to 2010 where international tourist arrivals is 9.4 million
### Context:
CREATE TABLE table_14752049_3 (change__2009_to_2010_ VARCHAR, international_tourist_arrivals__2011_ VARCHAR)
### Response:
### Response:
SELECT change__2009_to_2010_ FROM table_14752049_3 WHERE international_tourist_arrivals__2011_ = "9.4 million"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 division record for Woodbridge?
### Context:
CREATE TABLE table_name_78 (division_record VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT division_record FROM table_name_78 WHERE school = "woodbridge"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 codes and fates of missions, and names of ships involved.
### Context:
CREATE TABLE mission (Code VARCHAR, Fate VARCHAR, Ship_ID VARCHAR); CREATE TABLE ship (Name VARCHAR, Ship_ID VARCHAR)
### Response:
### Response:
SELECT T1.Code, T1.Fate, T2.Name FROM mission AS T1 JOIN ship AS T2 ON T1.Ship_ID = T2.Ship_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 were the candidates in the election that featured incumbent don edwards?
### Context:
CREATE TABLE table_1341738_6 (candidates VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_1341738_6 WHERE incumbent = "Don Edwards"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest game number on February 20?
### Context:
CREATE TABLE table_name_69 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_69 WHERE date = "february 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's the new south wales with crop (kilotonnes) being canola
### Context:
CREATE TABLE table_1057262_2 (new_south_wales VARCHAR, crop__kilotonnes_ VARCHAR)
### Response:
### Response:
SELECT new_south_wales FROM table_1057262_2 WHERE crop__kilotonnes_ = "Canola"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Championships have a League of ontario australian football league?
### Context:
CREATE TABLE table_name_70 (championships VARCHAR, league VARCHAR)
### Response:
### Response:
SELECT championships FROM table_name_70 WHERE league = "ontario australian football 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:
In which category did Nick Jonas win at the Kids' Choice Awards Mexico?
### Context:
CREATE TABLE table_name_9 (category VARCHAR, recipient_s_ VARCHAR, award VARCHAR)
### Response:
### Response:
SELECT category FROM table_name_9 WHERE recipient_s_ = "nick jonas" AND award = "kids' choice awards mexico"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the place of the player with a 71-66-64=201 score?
### Context:
CREATE TABLE table_name_44 (place VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_44 WHERE score = 71 - 66 - 64 = 201</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surface has a Score of 2009 wta tour?
### Context:
CREATE TABLE table_name_13 (surface VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_13 WHERE score = "2009 wta tour"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 component amounts and names of all furnitures that have more than 10 components.
### Context:
CREATE TABLE furniture (Num_of_Component INTEGER, name VARCHAR)
### Response:
### Response:
SELECT Num_of_Component, name FROM furniture WHERE Num_of_Component > 10</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What body styles have 6/75 as the model?
### Context:
CREATE TABLE table_name_4 (body_styles VARCHAR, model VARCHAR)
### Response:
### Response:
SELECT body_styles FROM table_name_4 WHERE model = "6/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:
Name the party a for sriperumbudur
### Context:
CREATE TABLE table_22754310_1 (party VARCHAR, constituency VARCHAR)
### Response:
### Response:
SELECT party AS a FROM table_22754310_1 WHERE constituency = "Sriperumbudur"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cavalier County and the geo id is larger than 3801931620.0, what is the population?
### Context:
CREATE TABLE table_18600760_7 (pop__2010_ VARCHAR, county VARCHAR, geo_id VARCHAR)
### Response:
### Response:
SELECT pop__2010_ FROM table_18600760_7 WHERE county = "Cavalier" AND geo_id > 3801931620.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 Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5?
### Context:
CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)
### Response:
### Response:
SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the primary artillery for the 1,051 ships?
### Context:
CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)
### Response:
### Response:
SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = "1,051"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the GDP per capita (US$) of the country that has a Population of 2,011,473?
### Context:
CREATE TABLE table_name_54 (gdp_per_capita__us$_ VARCHAR, population VARCHAR)
### Response:
### Response:
SELECT gdp_per_capita__us$_ FROM table_name_54 WHERE population = "2,011,473"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 third entry in the row with a first entry of "club"?
### Context:
CREATE TABLE table_12792876_2 (won VARCHAR)
### Response:
### Response:
SELECT won FROM table_12792876_2 WHERE "club" = "club"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Tournament with a Date larger than 1973, with Opponents in the final with hank pfister sherwood stewart?
### Context:
CREATE TABLE table_name_66 (tournament VARCHAR, date VARCHAR, opponents_in_the_final VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_66 WHERE date > 1973 AND opponents_in_the_final = "hank pfister sherwood stewart"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 family for uk31
### Context:
CREATE TABLE table_19897294_8 (family_families VARCHAR, no_overall VARCHAR)
### Response:
### Response:
SELECT family_families FROM table_19897294_8 WHERE no_overall = "UK31"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many laps does driver dario franchitti have?
### Context:
CREATE TABLE table_name_46 (laps VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT laps FROM table_name_46 WHERE driver = "dario franchitti"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.