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 low bronze total for the team with 4 total and under 1 gold?
### Context:
CREATE TABLE table_name_66 (bronze INTEGER, total VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MIN(bronze) FROM table_name_66 WHERE total = 4 AND gold < 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:
What is the average total for teams with over 3 bronzes and over 8 golds?
### Context:
CREATE TABLE table_name_33 (total INTEGER, bronze VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_33 WHERE bronze > 3 AND gold > 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:
What is the low silver total associated with under 1 total?
### Context:
CREATE TABLE table_name_99 (silver INTEGER, total INTEGER) [/INST]
### Response:
SELECT MIN(silver) FROM table_name_99 WHERE total < 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:
What is the number of points associated with the highest position under 9 and a current position of 22?
### Context:
CREATE TABLE table_name_92 (points VARCHAR, highest_position VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT points FROM table_name_92 WHERE highest_position < 9 AND position = 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:
Performer 3 of paul merton, and a Performer 4 of sandi toksvig is which performer 1?
### Context:
CREATE TABLE table_name_93 (performer_1 VARCHAR, performer_3 VARCHAR, performer_4 VARCHAR) [/INST]
### Response:
SELECT performer_1 FROM table_name_93 WHERE performer_3 = "paul merton" AND performer_4 = "sandi toksvig" </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:
Episode of 16 involves which performer 1?
### Context:
CREATE TABLE table_name_64 (performer_1 VARCHAR, episode VARCHAR) [/INST]
### Response:
SELECT performer_1 FROM table_name_64 WHERE episode = 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:
Performer 2 of compilation 1 had what performer 1?
### Context:
CREATE TABLE table_name_55 (performer_1 VARCHAR, performer_2 VARCHAR) [/INST]
### Response:
SELECT performer_1 FROM table_name_55 WHERE performer_2 = "compilation 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:
Which Schwaben has an Oberbayern of fc ingolstadt 04 and a Mittelfranken of sv seligenporten
### Context:
CREATE TABLE table_name_98 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR) [/INST]
### Response:
SELECT schwaben FROM table_name_98 WHERE oberbayern = "fc ingolstadt 04" AND mittelfranken = "sv seligenporten" </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 Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii?
### Context:
CREATE TABLE table_name_15 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR) [/INST]
### Response:
SELECT schwaben FROM table_name_15 WHERE oberbayern = "fc bayern munich ii" AND mittelfranken = "1. fc nuremberg ii" </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 incumbent for south carolina 3 district?
### Context:
CREATE TABLE table_name_64 (incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_64 WHERE district = "south carolina 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:
When was the incumbent from the south carolina 1 district first elected?
### Context:
CREATE TABLE table_name_56 (first_elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT first_elected FROM table_name_56 WHERE district = "south carolina 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 incumbent that was first elected in 1892 and retired to run for the senate democratic hold?
### Context:
CREATE TABLE table_name_96 (incumbent VARCHAR, first_elected VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_96 WHERE first_elected = "1892" AND result = "retired to run for the senate democratic hold" </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 incumbent that retired to run for the senate democratic hold?
### Context:
CREATE TABLE table_name_82 (incumbent VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_82 WHERE result = "retired to run for the senate democratic hold" </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 result of W. Jasper Talbert who was first elected in 1892?
### Context:
CREATE TABLE table_name_83 (result VARCHAR, first_elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_83 WHERE first_elected = "1892" AND incumbent = "w. jasper talbert" </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 Nationality has a 2.24 of xo, and a 2.20 of xo?
### Context:
CREATE TABLE table_name_35 (nationality VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_35 WHERE 224 = "xo" AND 220 = "xo" </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 Athlete has a 2.24 of xo, and a 2.20 of o, and a 2.15 of o?
### Context:
CREATE TABLE table_name_8 (athlete VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_name_8 WHERE 224 = "xo" AND 220 = "o" AND 215 = "o" </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 earliest election with more than 7 candidates nominated, a percentage of the popular vote of 2.75%, and 0 seats won?
### Context:
CREATE TABLE table_name_69 (election INTEGER, _number_of_seats_won VARCHAR, _number_of_candidates_nominated VARCHAR, _percentage_of_popular_vote VARCHAR) [/INST]
### Response:
SELECT MIN(election) FROM table_name_69 WHERE _number_of_candidates_nominated > 7 AND _percentage_of_popular_vote = "2.75%" AND _number_of_seats_won < 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:
How much Played has a Lost larger than 14, and Drawn of 8, and a Team of ipatinga?
### Context:
CREATE TABLE table_name_22 (played INTEGER, team VARCHAR, lost VARCHAR, drawn VARCHAR) [/INST]
### Response:
SELECT SUM(played) FROM table_name_22 WHERE lost > 14 AND drawn = 8 AND team = "ipatinga" </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 Drawn have a Difference of 3, and Points smaller than 52?
### Context:
CREATE TABLE table_name_55 (drawn VARCHAR, difference VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(drawn) FROM table_name_55 WHERE difference = "3" AND points < 52 </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 Points is the highest one that has a Position smaller than 4, and a Team of sΓ£o paulo, and Drawn larger than 12?
### Context:
CREATE TABLE table_name_80 (points INTEGER, drawn VARCHAR, position VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_80 WHERE position < 4 AND team = "sΓ£o paulo" AND drawn > 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:
How many Lost have Points larger than 40, and a Position of 11, and a Played smaller than 38?
### Context:
CREATE TABLE table_name_18 (lost INTEGER, played VARCHAR, points VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT SUM(lost) FROM table_name_18 WHERE points > 40 AND position = 11 AND played < 38 </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 lowest number of games loss with a Points difference of 40 - 17, and over 6 games?
### Context:
CREATE TABLE table_name_3 (lost INTEGER, points_difference VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT MIN(lost) FROM table_name_3 WHERE points_difference = "40 - 17" AND games > 6 </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 lost for teams with over 6 games?
### Context:
CREATE TABLE table_name_46 (lost INTEGER, games INTEGER) [/INST]
### Response:
SELECT MIN(lost) FROM table_name_46 WHERE games > 6 </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 highest number of games drawn for games numbered under 6?
### Context:
CREATE TABLE table_name_80 (drawn INTEGER, games INTEGER) [/INST]
### Response:
SELECT MAX(drawn) FROM table_name_80 WHERE games < 6 </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 drawn with a Points difference of 31 - 33, and under 4 games lost?
### Context:
CREATE TABLE table_name_41 (drawn INTEGER, points_difference VARCHAR, lost VARCHAR) [/INST]
### Response:
SELECT SUM(drawn) FROM table_name_41 WHERE points_difference = "31 - 33" AND lost < 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:
Which Outcome has a Surface of hard (i), and a Date of 28 january 2003?
### Context:
CREATE TABLE table_name_78 (outcome VARCHAR, surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_78 WHERE surface = "hard (i)" AND date = "28 january 2003" </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 Tournament has an Outcome of winner, and a Surface of hard (i)?
### Context:
CREATE TABLE table_name_4 (tournament VARCHAR, outcome VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_4 WHERE outcome = "winner" AND surface = "hard (i)" </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 Date has a Score of 6β1, 6β2?
### Context:
CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_76 WHERE score = "6β1, 6β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:
Which Surface has an Opponent of oleksandra kravets?
### Context:
CREATE TABLE table_name_99 (surface VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_99 WHERE opponent = "oleksandra kravets" </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 Surface has a Date of 3 october 2003?
### Context:
CREATE TABLE table_name_60 (surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_60 WHERE date = "3 october 2003" </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 Surface has a Score of 6β4, 6β2?
### Context:
CREATE TABLE table_name_65 (surface VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_65 WHERE score = "6β4, 6β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:
How many ranks have a Code (IATA/ICAO) of ord/kord?
### Context:
CREATE TABLE table_name_29 (rank VARCHAR, code__iata_icao_ VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_name_29 WHERE code__iata_icao_ = "ord/kord" </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 Total Cargo (Metric Tonnes) is the highest one that has a Rank smaller than 4, and an Airport of shanghai pudong international airport?
### Context:
CREATE TABLE table_name_66 (total_cargo__metric_tonnes_ INTEGER, rank VARCHAR, airport VARCHAR) [/INST]
### Response:
SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_66 WHERE rank < 4 AND airport = "shanghai pudong 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 Per capita income where Median family income is $72,288?
### Context:
CREATE TABLE table_name_7 (per_capita_income VARCHAR, median_family_income VARCHAR) [/INST]
### Response:
SELECT per_capita_income FROM table_name_7 WHERE median_family_income = "$72,288" </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 grid for the +2.2 secs time/retired?
### Context:
CREATE TABLE table_name_44 (grid INTEGER, time_retired VARCHAR) [/INST]
### Response:
SELECT AVG(grid) FROM table_name_44 WHERE time_retired = "+2.2 secs" </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 Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230?
### Context:
CREATE TABLE table_name_15 (facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR) [/INST]
### Response:
SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = "springfield, ma" AND erp___power_w < 230 </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 Frequency has a Facility ID of 13598?
### Context:
CREATE TABLE table_name_33 (frequency VARCHAR, facility_id VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_33 WHERE facility_id = 13598 </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 Facility ID has a Call sign of wnpr?
### Context:
CREATE TABLE table_name_64 (facility_id INTEGER, call_sign VARCHAR) [/INST]
### Response:
SELECT AVG(facility_id) FROM table_name_64 WHERE call_sign = "wnpr" </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 Frequency has a Facility ID of 13598?
### Context:
CREATE TABLE table_name_71 (frequency VARCHAR, facility_id VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_71 WHERE facility_id = 13598 </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 number of 1sts that Martin Schmitt had where he less than 235.7 points?
### Context:
CREATE TABLE table_name_81 (name VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(1 AS st__m_) FROM table_name_81 WHERE name = "martin schmitt" AND points < 235.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 total number of attendance for games where buffalo was the home team?
### Context:
CREATE TABLE table_name_83 (attendance VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_83 WHERE home = "buffalo" </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 score of the game on April 28 where Buffalo were the visiting team?
### Context:
CREATE TABLE table_name_64 (score VARCHAR, visitor VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_64 WHERE visitor = "buffalo" AND date = "april 28" </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 date was the game where the visiting team was philadelphia?
### Context:
CREATE TABLE table_name_10 (date VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_10 WHERE visitor = "philadelphia" </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 got the gold in seoul before 2002?
### Context:
CREATE TABLE table_name_53 (gold VARCHAR, year VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT gold FROM table_name_53 WHERE year < 2002 AND location = "seoul" </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 sohn bong-gak win silver?
### Context:
CREATE TABLE table_name_14 (location VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_14 WHERE silver = "sohn bong-gak" </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 bronze when jin kanno won the gold?
### Context:
CREATE TABLE table_name_99 (bronze VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT bronze FROM table_name_99 WHERE gold = "jin kanno" </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 Score has an Outcome of runner-up, and a Tournament of johannesburg?
### Context:
CREATE TABLE table_name_69 (score VARCHAR, outcome VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_69 WHERE outcome = "runner-up" AND tournament = "johannesburg" </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 Surface has an Opponent of kerry melville reid, and a Score of 6β3, 2β6, 3β6?
### Context:
CREATE TABLE table_name_53 (surface VARCHAR, opponent VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_53 WHERE opponent = "kerry melville reid" AND score = "6β3, 2β6, 3β6" </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 Outcome has an Opponent of wendy turnbull, and a Surface of grass?
### Context:
CREATE TABLE table_name_54 (outcome VARCHAR, opponent VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_54 WHERE opponent = "wendy turnbull" AND surface = "grass" </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 Tournament has a Date of 22 january 1979?
### Context:
CREATE TABLE table_name_6 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_6 WHERE date = "22 january 1979" </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 Outcome has a Score of 6β4, 2β6, 6β3?
### Context:
CREATE TABLE table_name_86 (outcome VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_name_86 WHERE score = "6β4, 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:
Which nation has total medals under 63, less than 2 silver, more than 2 bronze, and a rank of 8?
### Context:
CREATE TABLE table_name_69 (nation VARCHAR, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT nation FROM table_name_69 WHERE total < 63 AND silver < 2 AND bronze > 2 AND rank = "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 golds have bronze values of 4 and silver values over 2?
### Context:
CREATE TABLE table_name_65 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT COUNT(gold) FROM table_name_65 WHERE bronze = 4 AND silver > 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 is the sum of silver values that have bronze values under 4, golds over 2, and a rank of 3?
### Context:
CREATE TABLE table_name_52 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT SUM(silver) FROM table_name_52 WHERE bronze < 4 AND rank = "3" AND gold > 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 is the sum of gold values that have bronze values over 0 and totals under 2?
### Context:
CREATE TABLE table_name_34 (gold INTEGER, bronze VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT SUM(gold) FROM table_name_34 WHERE bronze > 0 AND total < 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 is the smallest gold value that has a total over 15 and bronze values under 31?
### Context:
CREATE TABLE table_name_51 (gold INTEGER, total VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT MIN(gold) FROM table_name_51 WHERE total > 15 AND bronze < 31 </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 Equatorial diameter of the Body: Mars?
### Context:
CREATE TABLE table_name_24 (equatorial_diameter VARCHAR, body VARCHAR) [/INST]
### Response:
SELECT equatorial_diameter FROM table_name_24 WHERE body = "mars" </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 Equatorial diameter of the Body: ceres?
### Context:
CREATE TABLE table_name_33 (equatorial_diameter VARCHAR, body VARCHAR) [/INST]
### Response:
SELECT equatorial_diameter FROM table_name_33 WHERE body = "ceres" </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 Flattening ratio associated with the Equatorial diameter of 49,528km?
### Context:
CREATE TABLE table_name_79 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR) [/INST]
### Response:
SELECT flattening_ratio FROM table_name_79 WHERE equatorial_diameter = "49,528km" </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 Equatorial bulge of the Body: Earth?
### Context:
CREATE TABLE table_name_74 (equatorial_bulge VARCHAR, body VARCHAR) [/INST]
### Response:
SELECT equatorial_bulge FROM table_name_74 WHERE body = "earth" </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 Flattening ratio associated with the Equatorial diameter of 120,536km?
### Context:
CREATE TABLE table_name_75 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR) [/INST]
### Response:
SELECT flattening_ratio FROM table_name_75 WHERE equatorial_diameter = "120,536km" </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 Flattening ratio associated with the Equatorial diameter of 12,756.28km?
### Context:
CREATE TABLE table_name_27 (flattening_ratio VARCHAR, equatorial_diameter VARCHAR) [/INST]
### Response:
SELECT flattening_ratio FROM table_name_27 WHERE equatorial_diameter = "12,756.28km" </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 Yards with an average of less than 4 and the long is 12 with less than 29 attempts?
### Context:
CREATE TABLE table_name_53 (yards INTEGER, attempts VARCHAR, average VARCHAR, long VARCHAR) [/INST]
### Response:
SELECT AVG(yards) FROM table_name_53 WHERE average < 4 AND long = 12 AND attempts < 29 </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 yards when the average is less than 2.6?
### Context:
CREATE TABLE table_name_65 (yards INTEGER, average INTEGER) [/INST]
### Response:
SELECT MIN(yards) FROM table_name_65 WHERE average < 2.6 </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 lease amount of touchdowns with 1318 yards?
### Context:
CREATE TABLE table_name_41 (touchdowns INTEGER, yards VARCHAR) [/INST]
### Response:
SELECT MIN(touchdowns) FROM table_name_41 WHERE yards = 1318 </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 number of touchdowns with the average is less than 2.6?
### Context:
CREATE TABLE table_name_80 (touchdowns VARCHAR, average INTEGER) [/INST]
### Response:
SELECT COUNT(touchdowns) FROM table_name_80 WHERE average < 2.6 </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 number for long when there are 19 attempts?
### Context:
CREATE TABLE table_name_52 (long VARCHAR, attempts VARCHAR) [/INST]
### Response:
SELECT COUNT(long) FROM table_name_52 WHERE attempts = 19 </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 margin of victory for Olazabal in the German Masters?
### Context:
CREATE TABLE table_name_78 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_name_78 WHERE tournament = "german masters" </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 Olazabal's winning score in the event in which Phillip Price finished 2nd?
### Context:
CREATE TABLE table_name_90 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_90 WHERE runner_s__up = "phillip price" </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 Olazabal's winning score in the German Masters?
### Context:
CREATE TABLE table_name_62 (winning_score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_62 WHERE tournament = "german masters" </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 Olazabal's margin of victory int he Ebel European Masters Swiss Open?
### Context:
CREATE TABLE table_name_6 (margin_of_victory VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT margin_of_victory FROM table_name_6 WHERE tournament = "ebel european masters swiss open" </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 Series Ep has a Netflix of s08e18?
### Context:
CREATE TABLE table_name_83 (series_ep VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT series_ep FROM table_name_83 WHERE netflix = "s08e18" </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 Segment B has a Segment D of stone wool insulation?
### Context:
CREATE TABLE table_name_92 (segment_b VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_name_92 WHERE segment_d = "stone wool insulation" </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 Segment A has a Segment C of poster restoration?
### Context:
CREATE TABLE table_name_70 (segment_a VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_a FROM table_name_70 WHERE segment_c = "poster restoration" </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 Segment C has a Segment B of fish food?
### Context:
CREATE TABLE table_name_54 (segment_c VARCHAR, segment_b VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_name_54 WHERE segment_b = "fish food" </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 Segment C has a Netflix of s08e16?
### Context:
CREATE TABLE table_name_43 (segment_c VARCHAR, netflix VARCHAR) [/INST]
### Response:
SELECT segment_c FROM table_name_43 WHERE netflix = "s08e16" </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 name of the competition that had Peterborough Phantoms as an opponent and a date of 2?
### Context:
CREATE TABLE table_name_26 (competition VARCHAR, opponent VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_26 WHERE opponent = "peterborough phantoms" AND date = 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 is the Tally in Kerry County?
### Context:
CREATE TABLE table_name_36 (tally VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT tally FROM table_name_36 WHERE county = "kerry" </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:
With a Total of less than 29, what is Ian Ryan's most Matches?
### Context:
CREATE TABLE table_name_31 (matches INTEGER, player VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT MAX(matches) FROM table_name_31 WHERE player = "ian ryan" AND total < 29 </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 LEMA/SUBLEMA that has Votes smaller than 218656, and a Ch of Deputies of 0?
### Context:
CREATE TABLE table_name_22 (lema_sublema VARCHAR, votes VARCHAR, ch_of_deputies VARCHAR) [/INST]
### Response:
SELECT lema_sublema FROM table_name_22 WHERE votes < 218656 AND ch_of_deputies = "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 LEMA/SUBLEMA has a Ch of Senators of 2?
### Context:
CREATE TABLE table_name_4 (lema_sublema VARCHAR, ch_of_senators VARCHAR) [/INST]
### Response:
SELECT lema_sublema FROM table_name_4 WHERE ch_of_senators = "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 tornament had the scores 6β7, 6β2, 6β4?
### Context:
CREATE TABLE table_name_22 (tournament VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_22 WHERE score_in_the_final = "6β7, 6β2, 6β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 partner made the scores 6β4, 6β1?
### Context:
CREATE TABLE table_name_19 (partner VARCHAR, score_in_the_final VARCHAR) [/INST]
### Response:
SELECT partner FROM table_name_19 WHERE score_in_the_final = "6β4, 6β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:
What year had 6.62 m in the notes?
### Context:
CREATE TABLE table_name_60 (year VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_60 WHERE notes = "6.62 m" </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 competition in Budapest, Hungary gave a result of 8th?
### Context:
CREATE TABLE table_name_1 (competition VARCHAR, position VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_1 WHERE position = "8th" AND venue = "budapest, hungary" </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 year did the World indoor championships gave a position of 3rd?
### Context:
CREATE TABLE table_name_12 (year INTEGER, competition VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_12 WHERE competition = "world indoor championships" AND position = "3rd" </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 notes in Toronto, Canada?
### Context:
CREATE TABLE table_name_32 (notes VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT notes FROM table_name_32 WHERE venue = "toronto, 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:
Name the most points for class of 125cc and team of mv agusta with year more than 1957
### Context:
CREATE TABLE table_name_65 (points INTEGER, year VARCHAR, class VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_65 WHERE class = "125cc" AND team = "mv agusta" AND year > 1957 </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 ZX Spectrum has a Year larger than 1984, and a Genre of arcade/strategy?
### Context:
CREATE TABLE table_name_92 (zx_spectrum VARCHAR, year VARCHAR, genre VARCHAR) [/INST]
### Response:
SELECT zx_spectrum FROM table_name_92 WHERE year > 1984 AND genre = "arcade/strategy" </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 Title of kriegspiel?
### Context:
CREATE TABLE table_name_16 (year VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_16 WHERE title = "kriegspiel" </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 ZX Spectrum has a C=64 of c64, and a Title of ankh?
### Context:
CREATE TABLE table_name_7 (zx_spectrum VARCHAR, c64 VARCHAR, title VARCHAR, c VARCHAR) [/INST]
### Response:
SELECT zx_spectrum FROM table_name_7 WHERE c = 64 = c64 AND title = "ankh" </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 Title has Others of amstrad cpc, and a Genre of arcade?
### Context:
CREATE TABLE table_name_22 (title VARCHAR, others VARCHAR, genre VARCHAR) [/INST]
### Response:
SELECT title FROM table_name_22 WHERE others = "amstrad cpc" AND genre = "arcade" </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 result when the attendance was 12,000?
### Context:
CREATE TABLE table_name_77 (result VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_77 WHERE attendance = "12,000" </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 attendance for weeks prior to 5 when there was no game scheduled?
### Context:
CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_21 WHERE week < 5 AND date = "no game scheduled" </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 attendance number for the venue of Lakeside Park?
### Context:
CREATE TABLE table_name_37 (attendance VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_37 WHERE venue = "lakeside park" </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 largest week number for the venue of League Park for the date of November 25, 1920?
### Context:
CREATE TABLE table_name_63 (week INTEGER, venue VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_63 WHERE venue = "league park" AND date = "november 25, 1920" </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 Michael's surname?
### Context:
CREATE TABLE table_name_16 (surname VARCHAR, first VARCHAR) [/INST]
### Response:
SELECT surname FROM table_name_16 WHERE first = "michael" </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 First has Bats of r, and Throws of l, and a DOB of 12 october 1977?
### Context:
CREATE TABLE table_name_86 (first VARCHAR, dob VARCHAR, bats VARCHAR, throws VARCHAR) [/INST]
### Response:
SELECT first FROM table_name_86 WHERE bats = "r" AND throws = "l" AND dob = "12 october 1977" </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 was Maat born?
### Context:
CREATE TABLE table_name_44 (dob VARCHAR, surname VARCHAR) [/INST]
### Response:
SELECT dob FROM table_name_44 WHERE surname = "maat" </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 bats does Todd have?
### Context:
CREATE TABLE table_name_88 (bats VARCHAR, first VARCHAR) [/INST]
### Response:
SELECT bats FROM table_name_88 WHERE first = "todd" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.