text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the museum name located in Rudyard?
### Context:
CREATE TABLE table_name_52 (name VARCHAR, town_city VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_52 WHERE town_city = "rudyard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the region that the Blaine County Museum is located in?
### Context:
CREATE TABLE table_name_43 (region VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT region FROM table_name_43 WHERE name = "blaine county museum" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Tournament had a Score of 6β3, 2β6, 6β3?
### Context:
CREATE TABLE table_name_13 (tournament VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_13 WHERE score = "6β3, 2β6, 6β3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Partner had a Score of 6β3, 2β6, 6β3?
### Context:
CREATE TABLE table_name_31 (partner VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT partner FROM table_name_31 WHERE score = "6β3, 2β6, 6β3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who were the Opponents in the match on a Hard Surface with Catherine Suire as Partner and Outcome of runner-up?
### Context:
CREATE TABLE table_name_6 (opponents VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_name_6 WHERE outcome = "runner-up" AND surface = "hard" AND partner = "catherine suire" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the visiting team when the record was 6β12β5β1?
### Context:
CREATE TABLE table_name_4 (visitor VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_4 WHERE record = "6β12β5β1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the home team when the record was 21β45β8β5?
### Context:
CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_56 WHERE record = "21β45β8β5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which of the attributes has is cancelable and an answer of yes for bubbles?
### Context:
CREATE TABLE table_name_15 (attribute VARCHAR, cancelable VARCHAR, bubbles VARCHAR) [/INST]
### Response:
SELECT attribute FROM table_name_15 WHERE cancelable = "yes" AND bubbles = "yes" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which bubbles has an atribute of onlostpointercapture?
### Context:
CREATE TABLE table_name_87 (bubbles VARCHAR, attribute VARCHAR) [/INST]
### Response:
SELECT bubbles FROM table_name_87 WHERE attribute = "onlostpointercapture" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the attribute of onpointerout, what is the cancelable?
### Context:
CREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR) [/INST]
### Response:
SELECT cancelable FROM table_name_75 WHERE attribute = "onpointerout" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which bubble have a cancelable of yes and an attribute of onpointerdown?
### Context:
CREATE TABLE table_name_58 (bubbles VARCHAR, cancelable VARCHAR, attribute VARCHAR) [/INST]
### Response:
SELECT bubbles FROM table_name_58 WHERE cancelable = "yes" AND attribute = "onpointerdown" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the highest grid of Ronnie Bremer, who had more than 18 points?
### Context:
CREATE TABLE table_name_91 (grid INTEGER, driver VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT MAX(grid) FROM table_name_91 WHERE driver = "ronnie bremer" AND points > 18 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the most points Lap 70 had with a grid larger than 16?
### Context:
CREATE TABLE table_name_71 (points INTEGER, laps VARCHAR, grid VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_71 WHERE laps = 70 AND grid > 16 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the track in Holland?
### Context:
CREATE TABLE table_name_2 (track VARCHAR, city VARCHAR) [/INST]
### Response:
SELECT track FROM table_name_2 WHERE city = "holland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the track in Washington state?
### Context:
CREATE TABLE table_name_83 (track VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT track FROM table_name_83 WHERE state = "washington" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the city the track of manzanita speedway is in?
### Context:
CREATE TABLE table_name_89 (city VARCHAR, track VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_89 WHERE track = "manzanita speedway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the surface of the track at the indianapolis speedrome?
### Context:
CREATE TABLE table_name_2 (surface VARCHAR, track VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_2 WHERE track = "indianapolis speedrome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the surface for the riverhead raceway?
### Context:
CREATE TABLE table_name_84 (surface VARCHAR, track VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_84 WHERE track = "riverhead raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What city is the indianapolis speedrome in?
### Context:
CREATE TABLE table_name_21 (city VARCHAR, track VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_21 WHERE track = "indianapolis speedrome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the IUPAC name for chloroform?
### Context:
CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR) [/INST]
### Response:
SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the SZDSZ percentage with an MSZP of 25% on 25/2/2009?
### Context:
CREATE TABLE table_name_8 (szdsz VARCHAR, mszp VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT szdsz FROM table_name_8 WHERE mszp = "25%" AND date = "25/2/2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What percentage of others have an SZDSZ of 4% and a Fidesz of 60%?
### Context:
CREATE TABLE table_name_10 (others VARCHAR, szdsz VARCHAR, fidesz VARCHAR) [/INST]
### Response:
SELECT others FROM table_name_10 WHERE szdsz = "4%" AND fidesz = "60%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage of others with a Fidesz of 62% and a Jobbik of 4%?
### Context:
CREATE TABLE table_name_93 (others VARCHAR, fidesz VARCHAR, jobbik VARCHAR) [/INST]
### Response:
SELECT others FROM table_name_93 WHERE fidesz = "62%" AND jobbik = "4%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date do others have 5% with an SZDSZ of 5%?
### Context:
CREATE TABLE table_name_14 (date VARCHAR, others VARCHAR, szdsz VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_14 WHERE others = "5%" AND szdsz = "5%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the SZDSZ percentage with a Jobbik of 5% and a Fidesz of 68%?
### Context:
CREATE TABLE table_name_60 (szdsz VARCHAR, jobbik VARCHAR, fidesz VARCHAR) [/INST]
### Response:
SELECT szdsz FROM table_name_60 WHERE jobbik = "5%" AND fidesz = "68%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Jobbik percentage with a Fidesz of 61% and others of 2%?
### Context:
CREATE TABLE table_name_41 (jobbik VARCHAR, fidesz VARCHAR, others VARCHAR) [/INST]
### Response:
SELECT jobbik FROM table_name_41 WHERE fidesz = "61%" AND others = "2%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's listed for the Turnout % with a Ngilu of 3,429?
### Context:
CREATE TABLE table_name_11 (turnout__percentage VARCHAR, ngilu VARCHAR) [/INST]
### Response:
SELECT turnout__percentage FROM table_name_11 WHERE ngilu = "3,429" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's listed for the Turnout % with a Raila of 519,180?
### Context:
CREATE TABLE table_name_70 (turnout__percentage VARCHAR, raila VARCHAR) [/INST]
### Response:
SELECT turnout__percentage FROM table_name_70 WHERE raila = "519,180" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's listed for the Turnout % with a Ngilu of 30,535?
### Context:
CREATE TABLE table_name_32 (turnout__percentage VARCHAR, ngilu VARCHAR) [/INST]
### Response:
SELECT turnout__percentage FROM table_name_32 WHERE ngilu = "30,535" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's listed for the Registered Voters with a Ngilu of 3,429?
### Context:
CREATE TABLE table_name_68 (registered_voters VARCHAR, ngilu VARCHAR) [/INST]
### Response:
SELECT registered_voters FROM table_name_68 WHERE ngilu = "3,429" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is listed for the Province with a Wamalwa of 4,431?
### Context:
CREATE TABLE table_name_82 (province VARCHAR, wamalwa VARCHAR) [/INST]
### Response:
SELECT province FROM table_name_82 WHERE wamalwa = "4,431" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's listed for the Wamalwa that has a Turnout % of 55.9%?
### Context:
CREATE TABLE table_name_32 (wamalwa VARCHAR, turnout__percentage VARCHAR) [/INST]
### Response:
SELECT wamalwa FROM table_name_32 WHERE turnout__percentage = "55.9%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the average partial failures when the rocket was Ariane 5?
### Context:
CREATE TABLE table_name_87 (partial_failures INTEGER, rocket VARCHAR) [/INST]
### Response:
SELECT AVG(partial_failures) FROM table_name_87 WHERE rocket = "ariane 5" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are average launches with 0 failures, rocket of Soyuz, and less than 12 successes?
### Context:
CREATE TABLE table_name_3 (launches INTEGER, successes VARCHAR, failures VARCHAR, rocket VARCHAR) [/INST]
### Response:
SELECT AVG(launches) FROM table_name_3 WHERE failures = 0 AND rocket = "soyuz" AND successes < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of launches with Long March 3 and 0 failures?
### Context:
CREATE TABLE table_name_4 (launches INTEGER, rocket VARCHAR, failures VARCHAR) [/INST]
### Response:
SELECT SUM(launches) FROM table_name_4 WHERE rocket = "long march 3" AND failures > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the least amount of failures with 1 launch and 0 partial failures?
### Context:
CREATE TABLE table_name_28 (failures INTEGER, launches VARCHAR, partial_failures VARCHAR) [/INST]
### Response:
SELECT MIN(failures) FROM table_name_28 WHERE launches = 1 AND partial_failures < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What were the average launches for Ariane 5 and 0 partial failures?
### Context:
CREATE TABLE table_name_63 (launches INTEGER, rocket VARCHAR, partial_failures VARCHAR) [/INST]
### Response:
SELECT AVG(launches) FROM table_name_63 WHERE rocket = "ariane 5" AND partial_failures < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the race of the jockey in na group in 4th place?
### Context:
CREATE TABLE table_name_15 (race VARCHAR, group VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT race FROM table_name_15 WHERE group = "na" AND result = "4th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How far did p. carbery run to get 2nd?
### Context:
CREATE TABLE table_name_67 (distance VARCHAR, jockey VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT distance FROM table_name_67 WHERE jockey = "p. carbery" AND result = "2nd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Removal that has a Trim of xe (2009)?
### Context:
CREATE TABLE table_name_32 (transmission VARCHAR, trim VARCHAR) [/INST]
### Response:
SELECT transmission FROM table_name_32 WHERE trim = "xe (2009)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Torque that has a Power of hp (kw), and a Trim of xr (2009)? Question 6
### Context:
CREATE TABLE table_name_18 (torque VARCHAR, power VARCHAR, trim VARCHAR) [/INST]
### Response:
SELECT torque FROM table_name_18 WHERE power = "hp (kw)" AND trim = "xr (2009)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Round is the lowest one that has a College/Junior/Club Team (League) of oshawa generals (oha), and a Player of bob kelly?
### Context:
CREATE TABLE table_name_83 (round INTEGER, college_junior_club_team__league_ VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_83 WHERE college_junior_club_team__league_ = "oshawa generals (oha)" AND player = "bob kelly" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What surface was used when she played with Remi Tezuka?
### Context:
CREATE TABLE table_name_76 (surface VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_76 WHERE partner = "remi tezuka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Results has the Record of 28-12?
### Context:
CREATE TABLE table_name_94 (results VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT results FROM table_name_94 WHERE record = "28-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Results has a Seed #12 and a Year that's smaller than 1996
### Context:
CREATE TABLE table_name_36 (results VARCHAR, seed VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT results FROM table_name_36 WHERE seed = "#12" AND year < 1996 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the highest Year with the Record of 18-12?
### Context:
CREATE TABLE table_name_23 (year INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_23 WHERE record = "18-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the highest Year with the Region of Southeast?
### Context:
CREATE TABLE table_name_11 (year INTEGER, region VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_11 WHERE region = "southeast" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What Record has a Year that's larger than 2012?
### Context:
CREATE TABLE table_name_11 (record VARCHAR, year INTEGER) [/INST]
### Response:
SELECT record FROM table_name_11 WHERE year > 2012 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Laker's record when they played against Kansas City Kings?
### Context:
CREATE TABLE table_name_84 (record VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_84 WHERE opponent = "kansas city kings" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the pronunciation for ε³
### Context:
CREATE TABLE table_name_83 (pronunciation_a VARCHAR, word VARCHAR) [/INST]
### Response:
SELECT pronunciation_a FROM table_name_83 WHERE word = "ε³" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the pronunciation for meaning of king
### Context:
CREATE TABLE table_name_85 (pronunciation_a VARCHAR, meaning_a VARCHAR) [/INST]
### Response:
SELECT pronunciation_a FROM table_name_85 WHERE meaning_a = "king" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the word with pronunciation b of *sɨks
### Context:
CREATE TABLE table_name_55 (word VARCHAR, pronunciation_b VARCHAR) [/INST]
### Response:
SELECT word FROM table_name_55 WHERE pronunciation_b = "*sɨks" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the pronunciation for meaning b of border, frontier
### Context:
CREATE TABLE table_name_64 (pronunciation_b VARCHAR, meaning_b VARCHAR) [/INST]
### Response:
SELECT pronunciation_b FROM table_name_64 WHERE meaning_b = "border, frontier" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the pronunciation b for meaning of grind
### Context:
CREATE TABLE table_name_56 (pronunciation_b VARCHAR, meaning_a VARCHAR) [/INST]
### Response:
SELECT pronunciation_b FROM table_name_56 WHERE meaning_a = "grind" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the 2008 value that was 2nd in 2006?
### Context:
CREATE TABLE table_name_87 (Id VARCHAR) [/INST]
### Response:
SELECT 2008 FROM table_name_87 WHERE 2006 = "2nd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the average total that is 1st in 2010?
### Context:
CREATE TABLE table_name_8 (total INTEGER) [/INST]
### Response:
SELECT AVG(total) FROM table_name_8 WHERE 2010 = "1st" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the 2008 value with a 7 in 2010?
### Context:
CREATE TABLE table_name_94 (Id VARCHAR) [/INST]
### Response:
SELECT 2008 FROM table_name_94 WHERE 2010 = "7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Location for the woodburn dragstrip?
### Context:
CREATE TABLE table_name_12 (location VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_12 WHERE name = "woodburn dragstrip" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What State has an Opened (closing date if defunct) that shows 1960?
### Context:
CREATE TABLE table_name_28 (state VARCHAR, opened__closing_date_if_defunct_ VARCHAR) [/INST]
### Response:
SELECT state FROM table_name_28 WHERE opened__closing_date_if_defunct_ = "1960" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Location for the route 66 raceway?
### Context:
CREATE TABLE table_name_70 (location VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_70 WHERE name = "route 66 raceway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Location for the newington international airport?
### Context:
CREATE TABLE table_name_6 (location VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_6 WHERE name = "newington international airport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Name with an Opened (closing date if defunct) of 1995 and has a Length of miles (m), in Illinois?
### Context:
CREATE TABLE table_name_9 (name VARCHAR, state VARCHAR, opened__closing_date_if_defunct_ VARCHAR, length VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_9 WHERE opened__closing_date_if_defunct_ = "1995" AND length = "miles (m)" AND state = "illinois" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Score with an Opponent that is amanda brown brenda remilton?
### Context:
CREATE TABLE table_name_45 (score VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_45 WHERE opponents = "amanda brown brenda remilton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Score with an Outcome of runner-up, and a Partner that is elizabeth little?
### Context:
CREATE TABLE table_name_1 (score VARCHAR, outcome VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_1 WHERE outcome = "runner-up" AND partner = "elizabeth little" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the pitcher on June 8, 1961?
### Context:
CREATE TABLE table_name_88 (pitcher VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team had the record asscoiated with the 9th inning?
### Context:
CREATE TABLE table_name_54 (team VARCHAR, inn VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_54 WHERE inn = "9th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
In what venue did the Boston Red Sox play in?
### Context:
CREATE TABLE table_name_49 (venue VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_49 WHERE team = "boston red sox" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the pitcher with the record recorded in the 7th inning?
### Context:
CREATE TABLE table_name_55 (pitcher VARCHAR, inn VARCHAR) [/INST]
### Response:
SELECT pitcher FROM table_name_55 WHERE inn = "7th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When David E. Finley was the incumbent what was the result?
### Context:
CREATE TABLE table_name_8 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_8 WHERE incumbent = "david e. finley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When someone was first elected in 1898 what was the result?
### Context:
CREATE TABLE table_name_53 (result VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_53 WHERE first_elected = "1898" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What party has an incumbent of Stanyarne Wilson?
### Context:
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When the incumbent was William Elliott, what was the result?
### Context:
CREATE TABLE table_name_75 (result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_75 WHERE incumbent = "william elliott" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Score of 2-1, and a Competition of pl, and a Date of december 22, 2006 had what opponents?
### Context:
CREATE TABLE table_name_84 (opponents VARCHAR, date VARCHAR, score VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_name_84 WHERE score = "2-1" AND competition = "pl" AND date = "december 22, 2006" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Date of april 3, 2007 had what score?
### Context:
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_2 WHERE date = "april 3, 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Competition of pl, and a Score of 1-1, and a Opponents of kelantan had what date?
### Context:
CREATE TABLE table_name_5 (date VARCHAR, opponents VARCHAR, competition VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_5 WHERE competition = "pl" AND score = "1-1" AND opponents = "kelantan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
### Context:
CREATE TABLE table_name_71 (competition VARCHAR, venue VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Opponents of police, and a Venue of selayang municipal council stadium had what date?
### Context:
CREATE TABLE table_name_35 (date VARCHAR, opponents VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_35 WHERE opponents = "police" AND venue = "selayang municipal council stadium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Competition of fa cup rd 1 had what venue?
### Context:
CREATE TABLE table_name_69 (venue VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_69 WHERE competition = "fa cup rd 1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the visiting team on January 27?
### Context:
CREATE TABLE table_name_24 (visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT visitor FROM table_name_24 WHERE date = "january 27" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the home team that played on February 25?
### Context:
CREATE TABLE table_name_43 (home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_43 WHERE date = "february 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the date with chicago visiting
### Context:
CREATE TABLE table_name_64 (date VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_64 WHERE visitor = "chicago" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the home with chicago visiting
### Context:
CREATE TABLE table_name_76 (home VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_76 WHERE visitor = "chicago" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of apps of the player with more than 63 goals and an avge of 0.45?
### Context:
CREATE TABLE table_name_55 (apps INTEGER, goals VARCHAR, avge VARCHAR) [/INST]
### Response:
SELECT MAX(apps) FROM table_name_55 WHERE goals > 63 AND avge = 0.45 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total avge of John Hall, who has less than 63 goals?
### Context:
CREATE TABLE table_name_25 (avge VARCHAR, name VARCHAR, goals VARCHAR) [/INST]
### Response:
SELECT COUNT(avge) FROM table_name_25 WHERE name = "john hall" AND goals < 63 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When did Kim Thompson win with 278 score?
### Context:
CREATE TABLE table_name_87 (year INTEGER, score VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_87 WHERE score = "278" AND champion = "kim thompson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Where did Steve Gotsche win?
### Context:
CREATE TABLE table_name_26 (venue VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_26 WHERE champion = "steve gotsche" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the sum of Rank with a build year earlier than 2007 for the howard johnson hotel bucharest?
### Context:
CREATE TABLE table_name_39 (rank INTEGER, built VARCHAR, building VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_39 WHERE built < 2007 AND building = "howard johnson hotel bucharest" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the Height (m/ft) for bucharest Built in 2009, and a Rank of 13?
### Context:
CREATE TABLE table_name_47 (height__m_ft_ VARCHAR, rank VARCHAR, city VARCHAR, built VARCHAR) [/INST]
### Response:
SELECT height__m_ft_ FROM table_name_47 WHERE city = "bucharest" AND built = 2009 AND rank = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What city is the bucharest tower center (btc) located in?
### Context:
CREATE TABLE table_name_47 (city VARCHAR, building VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_47 WHERE building = "bucharest tower center (btc)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the building in Bucharest with a rank of less than 12?
### Context:
CREATE TABLE table_name_90 (building VARCHAR, city VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT building FROM table_name_90 WHERE city = "bucharest" AND rank < 12 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What city was the building built in 1988?
### Context:
CREATE TABLE table_name_93 (city VARCHAR, built VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_93 WHERE built = 1988 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score of the Boston Bruins game from April 11?
### Context:
CREATE TABLE table_name_39 (score VARCHAR, home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_39 WHERE home = "boston bruins" AND date = "april 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the record of the Hartford Whalers home team with the April 13 game date?
### Context:
CREATE TABLE table_name_7 (record VARCHAR, home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_7 WHERE home = "hartford whalers" AND date = "april 13" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the score of the visiting Hartford Whalers game from April 11?
### Context:
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_8 WHERE visitor = "hartford whalers" AND date = "april 11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Passengers have Carriers of air canada?
### Context:
CREATE TABLE table_name_65 (passengers VARCHAR, carriers VARCHAR) [/INST]
### Response:
SELECT passengers FROM table_name_65 WHERE carriers = "air canada" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Metropolitan area has an Airport of toronto pearson international airport?
### Context:
CREATE TABLE table_name_94 (metropolitan_area VARCHAR, airport VARCHAR) [/INST]
### Response:
SELECT metropolitan_area FROM table_name_94 WHERE airport = "toronto pearson international airport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the link for january 31 β february 3, 2011?
### Context:
CREATE TABLE table_name_64 (link VARCHAR, date_of_polling VARCHAR) [/INST]
### Response:
SELECT link FROM table_name_64 WHERE date_of_polling = "january 31 β february 3, 2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what date of polling was the Polling Firm forum research with 7 green and less than 30 liberals?
### Context:
CREATE TABLE table_name_2 (date_of_polling VARCHAR, liberal VARCHAR, polling_firm VARCHAR, green VARCHAR) [/INST]
### Response:
SELECT date_of_polling FROM table_name_2 WHERE polling_firm = "forum research" AND green = 7 AND liberal < 30 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which september 26β28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green?
### Context:
CREATE TABLE table_name_96 (polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR) [/INST]
### Response:
SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26β28, 2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What june 21β22, 2011 polling has green smaller than 13?
### Context:
CREATE TABLE table_name_89 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR) [/INST]
### Response:
SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21β22, 2011" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.