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:
Who was the winner of the race at Belmont?
### Context:
CREATE TABLE table_1358608_4 (winner_2nd VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT winner_2nd FROM table_1358608_4 WHERE venue = "Belmont" </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 did Northerly place 6th?
### Context:
CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT date FROM table_1358608_4 WHERE result = "6th" </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 weight in kg on the day of the race at Ranvet Stakes?
### Context:
CREATE TABLE table_1358608_4 (weight__kg_ VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT weight__kg_ FROM table_1358608_4 WHERE race = "Ranvet Stakes" </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 Northerly's result at the race on 19 Oct 2002?
### Context:
CREATE TABLE table_1358608_4 (result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_1358608_4 WHERE date = "19 Oct 2002" </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 distance of the race in which Northerly raced in group G3?
### Context:
CREATE TABLE table_1358608_4 (distance VARCHAR, group VARCHAR) [/INST]
### Response:
SELECT distance FROM table_1358608_4 WHERE group = "G3" </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 software executable space protection with dbeingtribution being gentoo
### Context:
CREATE TABLE table_1357052_6 (software_executable_space_protection VARCHAR, distribution VARCHAR) [/INST]
### Response:
SELECT software_executable_space_protection FROM table_1357052_6 WHERE distribution = "Gentoo" </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 dbeingtribution with grsecurity being no
### Context:
CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR) [/INST]
### Response:
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "No" </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 grsecurity with dbeingtribution being debian / ubuntu
### Context:
CREATE TABLE table_1357052_6 (grsecurity VARCHAR, distribution VARCHAR) [/INST]
### Response:
SELECT grsecurity FROM table_1357052_6 WHERE distribution = "Debian / Ubuntu" </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 dbeingtribution with grsecurity being optional and compile time buffer checks being yes
### Context:
CREATE TABLE table_1357052_6 (distribution VARCHAR, grsecurity VARCHAR, compile_time_buffer_checks VARCHAR) [/INST]
### Response:
SELECT distribution FROM table_1357052_6 WHERE grsecurity = "Optional" AND compile_time_buffer_checks = "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:
what's the dbeingtribution with rsbac being unknown
### Context:
CREATE TABLE table_1357052_6 (distribution VARCHAR, rsbac VARCHAR) [/INST]
### Response:
SELECT distribution FROM table_1357052_6 WHERE rsbac = "Unknown" </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 is on the 2002 commission from district 3?
### Context:
CREATE TABLE table_136027_2 (district VARCHAR) [/INST]
### Response:
SELECT 2002 AS _commission FROM table_136027_2 WHERE district = "district 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's the others% with parbeingh being tangipahoa
### Context:
CREATE TABLE table_13608101_1 (others_percentage VARCHAR, parish VARCHAR) [/INST]
### Response:
SELECT others_percentage FROM table_13608101_1 WHERE parish = "Tangipahoa" </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 maximum bush# with others% being 1.57%
### Context:
CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR) [/INST]
### Response:
SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%" </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 many bush% with total# being 191269
### Context:
CREATE TABLE table_13608101_1 (bush_percentage VARCHAR, total_number VARCHAR) [/INST]
### Response:
SELECT COUNT(bush_percentage) FROM table_13608101_1 WHERE total_number = 191269 </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 game number?
### Context:
CREATE TABLE table_13619027_10 (game INTEGER) [/INST]
### Response:
SELECT MAX(game) FROM table_13619027_10 </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 many entries are there for weight when the winner is 1st - defier and venue is randwick?
### Context:
CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT COUNT(weight__kg_) FROM table_1360997_3 WHERE winner_2nd = "1st - Defier" AND venue = "Randwick" </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 jockey at Rosehill and the weight was 57.5 kg?
### Context:
CREATE TABLE table_1360997_3 (jockey VARCHAR, venue VARCHAR, weight__kg_ VARCHAR) [/INST]
### Response:
SELECT jockey FROM table_1360997_3 WHERE venue = "Rosehill" AND weight__kg_ = "57.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:
When the time is 1:36.30 what shows as winner?
### Context:
CREATE TABLE table_1360997_3 (winner_2nd VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT winner_2nd FROM table_1360997_3 WHERE time = "1:36.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:
What was the depravitiy of earnings where international sales was 2470?
### Context:
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR) [/INST]
### Response:
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470 </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 head count in 2010 where the farm production is 6.9?
### Context:
CREATE TABLE table_13618358_1 (agri_culture_b VARCHAR) [/INST]
### Response:
SELECT MAX(2010 AS _population__000_) FROM table_13618358_1 WHERE agri_culture_b = "6.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:
How many districts had an depravity level of 27.7
### Context:
CREATE TABLE table_13618358_1 (district VARCHAR, income_poverty_f VARCHAR) [/INST]
### Response:
SELECT COUNT(district) FROM table_13618358_1 WHERE income_poverty_f = "27.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:
How low was the income where services is 72.5?
### Context:
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, services_ VARCHAR, _cons_truction_b VARCHAR) [/INST]
### Response:
SELECT income_poverty_f FROM table_13618358_1 WHERE services_ & _cons_truction_b = "72.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:
How low was the San Juan income?
### Context:
CREATE TABLE table_13618358_1 (income_poverty_f VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT income_poverty_f FROM table_13618358_1 WHERE district = "San Juan" </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 is the player with high assists on january 22?
### Context:
CREATE TABLE table_13619027_7 (high_assists VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_13619027_7 WHERE date = "January 22" </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 score for the date of january 3?
### Context:
CREATE TABLE table_13619027_7 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_13619027_7 WHERE date = "January 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:
Which team was in a game with a record of 15-63?
### Context:
CREATE TABLE table_13619053_9 (team VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT team FROM table_13619053_9 WHERE record = "15-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:
Which team played on April 1?
### Context:
CREATE TABLE table_13619053_9 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_13619053_9 WHERE date = "April 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:
How many players led Game #66 in scoring?
### Context:
CREATE TABLE table_13619053_8 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_13619053_8 WHERE game = 66 </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 scored the most points in the game where the Raptors became 13-49?
### Context:
CREATE TABLE table_13619053_8 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_13619053_8 WHERE record = "13-49" </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 did the Raptors play against when their record was 13-48?
### Context:
CREATE TABLE table_13619053_8 (team VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT team FROM table_13619053_8 WHERE record = "13-48" </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 high scorer in the game when the team was 1-4?
### Context:
CREATE TABLE table_13619105_3 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_13619105_3 WHERE record = "1-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:
Where did they play and how many attended in the game against minnesota?
### Context:
CREATE TABLE table_13619105_3 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_13619105_3 WHERE team = "Minnesota" </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 had the high point total when dee brown (5) had the high assist total?
### Context:
CREATE TABLE table_13619105_4 (high_points VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_13619105_4 WHERE high_assists = "Dee Brown (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:
How many records are there for the games that took place on January 14.
### Context:
CREATE TABLE table_13619135_5 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(record) FROM table_13619135_5 WHERE date = "January 14" </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 players scored the most points when the opposing team was Seattle and how many points did they score?
### Context:
CREATE TABLE table_13619135_5 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_13619135_5 WHERE team = "Seattle" </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 location and attendance of the game against Portland?
### Context:
CREATE TABLE table_13619135_5 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_13619135_5 WHERE team = "Portland" </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 record when the score was w 108–93 (ot)?
### Context:
CREATE TABLE table_13619135_5 (record VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT record FROM table_13619135_5 WHERE score = "W 108–93 (OT)" </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 many total population with catholic being smaller than 31370649.1405057 and region being north africa
### Context:
CREATE TABLE table_1364343_2 (total_population VARCHAR, catholic VARCHAR, region VARCHAR) [/INST]
### Response:
SELECT COUNT(total_population) FROM table_1364343_2 WHERE catholic < 31370649.1405057 AND region = "North Africa" </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 wii points with title and source being tsūshin taikyoku: igo dōjō 2700-mon
### Context:
CREATE TABLE table_13663434_1 (wii_points VARCHAR, title_and_source VARCHAR) [/INST]
### Response:
SELECT wii_points FROM table_13663434_1 WHERE title_and_source = "Tsūshin Taikyoku: Igo Dōjō 2700-Mon" </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 na -350- with title and source being paper wars: cannon fodder
### Context:
CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR) [/INST]
### Response:
SELECT na__350_ FROM table_13663434_1 WHERE title_and_source = "Paper Wars: Cannon Fodder" </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 many title and source with pal -295- being yes and jp -210- being yes
### Context:
CREATE TABLE table_13663434_1 (title_and_source VARCHAR, pal__295_ VARCHAR, jp__210_ VARCHAR) [/INST]
### Response:
SELECT COUNT(title_and_source) FROM table_13663434_1 WHERE pal__295_ = "Yes" AND jp__210_ = "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:
what's the jp -210- with title and source being fun! fun! minigolf
### Context:
CREATE TABLE table_13663434_1 (jp__210_ VARCHAR, title_and_source VARCHAR) [/INST]
### Response:
SELECT jp__210_ FROM table_13663434_1 WHERE title_and_source = "Fun! Fun! Minigolf" </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 many na -350- with title and source being bokumo sekai wo sukuitai: battle tournament
### Context:
CREATE TABLE table_13663434_1 (na__350_ VARCHAR, title_and_source VARCHAR) [/INST]
### Response:
SELECT COUNT(na__350_) FROM table_13663434_1 WHERE title_and_source = "Bokumo Sekai wo Sukuitai: Battle Tournament" </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 gtu winning team when the gto winning team was #48 greenwood racing?
### Context:
CREATE TABLE table_13657883_2 (gtu_winning_team VARCHAR, gto_winning_team VARCHAR) [/INST]
### Response:
SELECT gtu_winning_team FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing" </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 to winnning team when the tu winning team was #16 2002?
### Context:
CREATE TABLE table_13657883_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR) [/INST]
### Response:
SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "#16 2002" </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 round was the gto winning team #48 greenwood racing?
### Context:
CREATE TABLE table_13657883_2 (rnd VARCHAR, gto_winning_team VARCHAR) [/INST]
### Response:
SELECT rnd FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing" </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 to winning team when the tu winning team was joe amato carson baird?
### Context:
CREATE TABLE table_13657883_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR) [/INST]
### Response:
SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "Joe Amato Carson Baird" </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 is GTU Winning Team's #27 Don Lindley's TO Winning Team?
### Context:
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gtu_winning_team VARCHAR) [/INST]
### Response:
SELECT to_winning_team FROM table_13657749_2 WHERE gtu_winning_team = "#27 Don Lindley" </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 GTO Winning Team Mike Keyser's RND number?
### Context:
CREATE TABLE table_13657749_2 (rnd VARCHAR, gto_winning_team VARCHAR) [/INST]
### Response:
SELECT rnd FROM table_13657749_2 WHERE gto_winning_team = "Mike Keyser" </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 is Gene Felton's TO Winning Team?
### Context:
CREATE TABLE table_13657749_2 (to_winning_team VARCHAR, gto_winning_team VARCHAR) [/INST]
### Response:
SELECT to_winning_team FROM table_13657749_2 WHERE gto_winning_team = "Gene Felton" </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 Peter Gregg Hurley Haywood's results?
### Context:
CREATE TABLE table_13657749_2 (results VARCHAR, gto_winning_team VARCHAR) [/INST]
### Response:
SELECT results FROM table_13657749_2 WHERE gto_winning_team = "Peter Gregg Hurley Haywood" </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 least amount for Goals Olimpia?
### Context:
CREATE TABLE table_13688489_1 (goals_olimpia INTEGER) [/INST]
### Response:
SELECT MIN(goals_olimpia) FROM table_13688489_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:
How many goals Olimpia recorded for 32 matches?
### Context:
CREATE TABLE table_13688489_1 (goals_olimpia VARCHAR, matches VARCHAR) [/INST]
### Response:
SELECT COUNT(goals_olimpia) FROM table_13688489_1 WHERE matches = 32 </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 number of matches when the Goals Olimpia was 149?
### Context:
CREATE TABLE table_13688489_1 (matches VARCHAR, goals_olimpia VARCHAR) [/INST]
### Response:
SELECT matches FROM table_13688489_1 WHERE goals_olimpia = 149 </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 time required for prices to double with highest monthly inflation rate being 29,500%
### Context:
CREATE TABLE table_13681_2 (time_required_for_prices_to_double VARCHAR, highest_monthly_inflation_rate VARCHAR) [/INST]
### Response:
SELECT time_required_for_prices_to_double FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%" </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 currency name with highest monthly inflation rate being 29,500%
### Context:
CREATE TABLE table_13681_2 (currency_name VARCHAR, highest_monthly_inflation_rate VARCHAR) [/INST]
### Response:
SELECT currency_name FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%" </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 many equivalent daily inflation rate with time required for prices to double being 3.7 days
### Context:
CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, time_required_for_prices_to_double VARCHAR) [/INST]
### Response:
SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE time_required_for_prices_to_double = "3.7 days" </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 many country with currency name being republika srpska dinar
### Context:
CREATE TABLE table_13681_2 (country VARCHAR, currency_name VARCHAR) [/INST]
### Response:
SELECT COUNT(country) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar" </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 many equivalent daily inflation rate with currency name being republika srpska dinar
### Context:
CREATE TABLE table_13681_2 (equivalent_daily_inflation_rate VARCHAR, currency_name VARCHAR) [/INST]
### Response:
SELECT COUNT(equivalent_daily_inflation_rate) FROM table_13681_2 WHERE currency_name = "Republika Srpska dinar" </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 country with highest monthly inflation rate being 3.13 × 10 8 %
### Context:
CREATE TABLE table_13681_2 (country VARCHAR, highest_monthly_inflation_rate VARCHAR) [/INST]
### Response:
SELECT country FROM table_13681_2 WHERE highest_monthly_inflation_rate = "3.13 × 10 8 %" </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 many grand final dual television commentators were there in 1961?
### Context:
CREATE TABLE table_1368649_9 (grand_final_dual_television_commentator VARCHAR, year_s_ VARCHAR) [/INST]
### Response:
SELECT COUNT(grand_final_dual_television_commentator) FROM table_1368649_9 WHERE year_s_ = 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:
Who was the spokesperson for France in 1970?
### Context:
CREATE TABLE table_1368649_9 (spokesperson VARCHAR, year_s_ VARCHAR) [/INST]
### Response:
SELECT spokesperson FROM table_1368649_9 WHERE year_s_ = 1970 </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 year was Thierry Beccaro the spokesperson?
### Context:
CREATE TABLE table_1368649_9 (year_s_ INTEGER, spokesperson VARCHAR) [/INST]
### Response:
SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro" </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 many games played on june 25?
### Context:
CREATE TABLE table_13710464_1 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_13710464_1 WHERE date = "June 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:
Who won the game on may 21?
### Context:
CREATE TABLE table_13710464_1 (winning_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_13710464_1 WHERE date = "May 21" </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 losing pitcher when 40583 attended?
### Context:
CREATE TABLE table_13710464_1 (losing_pitcher VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT losing_pitcher FROM table_13710464_1 WHERE attendance = 40583 </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 wenning witcher when ezequiel astacio was the losing pitcher?
### Context:
CREATE TABLE table_13710464_1 (winning_pitcher VARCHAR, losing_pitcher VARCHAR) [/INST]
### Response:
SELECT winning_pitcher FROM table_13710464_1 WHERE losing_pitcher = "Ezequiel Astacio" </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 was the game played on may 20?
### Context:
CREATE TABLE table_13710464_1 (location VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location FROM table_13710464_1 WHERE date = "May 20" </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 position number is the club with a w-l-d of 5-7-4?
### Context:
CREATE TABLE table_13713206_1 (club__city_town_ VARCHAR, w_l_d VARCHAR) [/INST]
### Response:
SELECT COUNT(club__city_town_) FROM table_13713206_1 WHERE w_l_d = "5-7-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:
What's the position of the club with w-l-d of 6-2-8?
### Context:
CREATE TABLE table_13713206_1 (position INTEGER, w_l_d VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_13713206_1 WHERE w_l_d = "6-2-8" </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 many games has the club with 29-24 goals for/against score played?
### Context:
CREATE TABLE table_13713206_1 (games_played VARCHAR, goals_for_against VARCHAR) [/INST]
### Response:
SELECT games_played FROM table_13713206_1 WHERE goals_for_against = "29-24" </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 many films titled Gie have been nominated?
### Context:
CREATE TABLE table_13719788_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT COUNT(original_title) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie" </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 is the director of the fimm Biola Tak Berdawai?
### Context:
CREATE TABLE table_13719788_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_13719788_1 WHERE original_title = "Biola tak berdawai" </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 title was used in the nomination for the title Biola Tak Berdawai?
### Context:
CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai" </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 many years have a film that uses the title "Nagabonar" in the nomination?
### Context:
CREATE TABLE table_13719788_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT COUNT(year__ceremony_) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Nagabonar" </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 is the director of the film Gie?
### Context:
CREATE TABLE table_13719788_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT director FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie" </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 try bonus for tries against is 70
### Context:
CREATE TABLE table_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT try_bonus FROM table_13741576_4 WHERE tries_against = "70" </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 try bonus for when tries against is 43?
### Context:
CREATE TABLE table_13741576_4 (try_bonus VARCHAR, tries_against VARCHAR) [/INST]
### Response:
SELECT try_bonus FROM table_13741576_4 WHERE tries_against = "43" </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 drawn for llandaff rfc
### Context:
CREATE TABLE table_13741576_4 (drawn VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_13741576_4 WHERE club = "Llandaff RFC" </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 won for try bonus of 10
### Context:
CREATE TABLE table_13741576_4 (won VARCHAR, try_bonus VARCHAR) [/INST]
### Response:
SELECT won FROM table_13741576_4 WHERE try_bonus = "10" </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:
It was announced on July 2, 2006 that what asset was acquired?
### Context:
CREATE TABLE table_1373542_1 (asset_acquired VARCHAR, date_announced VARCHAR) [/INST]
### Response:
SELECT asset_acquired FROM table_1373542_1 WHERE date_announced = "July 2, 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:
On what date was it announced that an asset was acquired for US$9 Million?
### Context:
CREATE TABLE table_1373542_1 (date_announced VARCHAR, reported_cost VARCHAR) [/INST]
### Response:
SELECT date_announced FROM table_1373542_1 WHERE reported_cost = "US$9 million" </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 was the asset acquisition that was announced on February 22, 2007 completed?
### Context:
CREATE TABLE table_1373542_1 (date_completed VARCHAR, date_announced VARCHAR) [/INST]
### Response:
SELECT date_completed FROM table_1373542_1 WHERE date_announced = "February 22, 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:
What was the reported cost of the asset acquired from Standard & Poor's?
### Context:
CREATE TABLE table_1373542_1 (reported_cost VARCHAR, acquired_from VARCHAR) [/INST]
### Response:
SELECT reported_cost FROM table_1373542_1 WHERE acquired_from = "Standard & Poor's" </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 trim with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb
### Context:
CREATE TABLE table_1373768_1 (trim VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) [/INST]
### Response:
SELECT trim FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" </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 trim with engine being 3.5l lz4 v6
### Context:
CREATE TABLE table_1373768_1 (trim VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT trim FROM table_1373768_1 WHERE engine = "3.5L LZ4 V6" </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 torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb
### Context:
CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) [/INST]
### Response:
SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" </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 torque with trim being xe (2009)
### Context:
CREATE TABLE table_1373768_1 (torque VARCHAR, trim VARCHAR) [/INST]
### Response:
SELECT torque FROM table_1373768_1 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's the transmbeingsion with trim being xe (2009)
### Context:
CREATE TABLE table_1373768_1 (transmission VARCHAR, trim VARCHAR) [/INST]
### Response:
SELECT transmission FROM table_1373768_1 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:
Nantyglo RFC had 546 points for and how many points?
### Context:
CREATE TABLE table_13741576_6 (points VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT points FROM table_13741576_6 WHERE points_for = "546" </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 club had 523 points against?
### Context:
CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT club FROM table_13741576_6 WHERE points_against = "523" </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 club has 536 points for?
### Context:
CREATE TABLE table_13741576_6 (club VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT club FROM table_13741576_6 WHERE points_for = "536" </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 many clubs had 7 wins?
### Context:
CREATE TABLE table_13741576_6 (club VARCHAR, won VARCHAR) [/INST]
### Response:
SELECT COUNT(club) FROM table_13741576_6 WHERE won = "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 club had 404 points against?
### Context:
CREATE TABLE table_13741576_6 (club VARCHAR, points_against VARCHAR) [/INST]
### Response:
SELECT club FROM table_13741576_6 WHERE points_against = "404" </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:
Risca RFC has 54 tries for and how many draws?
### Context:
CREATE TABLE table_13741576_6 (drawn VARCHAR, tries_for VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_13741576_6 WHERE tries_for = "54" </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 club has 36 points?
### Context:
CREATE TABLE table_13758945_1 (club VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT club FROM table_13758945_1 WHERE points = "36" </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 lost where points lost is 353?
### Context:
CREATE TABLE table_13758945_1 (lost VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT lost FROM table_13758945_1 WHERE points_for = "353" </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 won games with losing bonus of 0?
### Context:
CREATE TABLE table_13758945_1 (won VARCHAR, losing_bonus VARCHAR) [/INST]
### Response:
SELECT won FROM table_13758945_1 WHERE losing_bonus = "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:
Which club has 565 points?
### Context:
CREATE TABLE table_13758945_1 (club VARCHAR, points_for VARCHAR) [/INST]
### Response:
SELECT club FROM table_13758945_1 WHERE points_for = "565" </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 many tries where points is 77?
### Context:
CREATE TABLE table_13758945_1 (tries_for VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT tries_for FROM table_13758945_1 WHERE points = "77" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.