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:
Which Rec has an Average smaller than 32, and a Touchdown smaller than 3, and an Opponent of oregon state?
### Context:
CREATE TABLE table_name_95 (rec INTEGER, opponent VARCHAR, average VARCHAR, s_touchdown VARCHAR) [/INST]
### Response:
SELECT SUM(rec) FROM table_name_95 WHERE average < 32 AND s_touchdown < 3 AND opponent = "oregon state" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rec has Yards of 192, and a Touchdown smaller than 1?
### Context:
CREATE TABLE table_name_52 (rec INTEGER, yards VARCHAR, s_touchdown VARCHAR) [/INST]
### Response:
SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 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 Opponent has Yards smaller than 197, and an Average smaller than 32, and a Year of 1966?
### Context:
CREATE TABLE table_name_95 (opponent VARCHAR, year VARCHAR, yards VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_95 WHERE yards < 197 AND average < 32 AND year = 1966 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Touchdowns have a rec of 10, and an Opponent of oregon state, and an Average smaller than 19.7?
### Context:
CREATE TABLE table_name_57 (s_touchdown VARCHAR, average VARCHAR, rec VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(s_touchdown) FROM table_name_57 WHERE rec = 10 AND opponent = "oregon state" AND average < 19.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:
Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28?
### Context:
CREATE TABLE table_name_2 (points INTEGER, opponent VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT SUM(points) FROM table_name_2 WHERE opponent = "@ atlanta thrashers" AND game < 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:
How many Points have a Game smaller than 37, and a Score of 2–3, and a December of 13?
### Context:
CREATE TABLE table_name_98 (points VARCHAR, december VARCHAR, game VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(points) FROM table_name_98 WHERE game < 37 AND score = "2–3" AND december = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Game is the highest one that has a Score of 3–2?
### Context:
CREATE TABLE table_name_92 (game INTEGER, score VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_name_92 WHERE score = "3–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 spans were built in 1896?
### Context:
CREATE TABLE table_name_73 (spans VARCHAR, built VARCHAR) [/INST]
### Response:
SELECT spans FROM table_name_73 WHERE built = "1896" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a length of 71 ft?
### Context:
CREATE TABLE table_name_21 (name VARCHAR, length__ft_ VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_21 WHERE length__ft_ = 71 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 county of rockingham?
### Context:
CREATE TABLE table_name_98 (location VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_98 WHERE county = "rockingham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 propulsion for the RB 04 earlier than 1962?
### Context:
CREATE TABLE table_name_79 (propulsion VARCHAR, year VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT propulsion FROM table_name_79 WHERE year < 1962 AND name = "rb 04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the anti-ship missile that had a turbojet propulsion that was launched by a surface, sub after 1985?
### Context:
CREATE TABLE table_name_96 (name VARCHAR, launched_by VARCHAR, propulsion VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_96 WHERE propulsion = "turbojet" AND year > 1985 AND launched_by = "surface, sub" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country had an anti-ship missile that had a solid rocket propulsion?
### Context:
CREATE TABLE table_name_96 (country VARCHAR, propulsion VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_96 WHERE propulsion = "solid rocket" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seats in 2001 with a quantity greater than 4?
### Context:
CREATE TABLE table_name_17 (number_of_seats VARCHAR, year VARCHAR, quantity VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_seats) FROM table_name_17 WHERE year = "2001" AND quantity > 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 make and model of the diesel vehicle with a high floor type, bike capacity less than 3, and a quantity of 4?
### Context:
CREATE TABLE table_name_67 (make_and_model VARCHAR, quantity VARCHAR, bicycle_capacity† VARCHAR, fuel_propulsion VARCHAR, floor_type VARCHAR) [/INST]
### Response:
SELECT make_and_model FROM table_name_67 WHERE fuel_propulsion = "diesel" AND floor_type = "high" AND bicycle_capacity† < 3 AND quantity = 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 score has nashville predators as the opponent?
### Context:
CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_91 WHERE opponent = "nashville predators" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average points that have december 27?
### Context:
CREATE TABLE table_name_36 (points INTEGER, december VARCHAR) [/INST]
### Response:
SELECT AVG(points) FROM table_name_36 WHERE december = 27 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What record has points greater than 39, with 38 as the game?
### Context:
CREATE TABLE table_name_1 (record VARCHAR, points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_1 WHERE points > 39 AND game = 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 Stuffit ability that has a gzip of yes, ISO/CD images of no and LHA/LZH of no?
### Context:
CREATE TABLE table_name_75 (stuffit VARCHAR, lha_lzh VARCHAR, gzip VARCHAR, iso_cd_image VARCHAR) [/INST]
### Response:
SELECT stuffit FROM table_name_75 WHERE gzip = "yes" AND iso_cd_image = "no" AND lha_lzh = "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 is the gzip value associated with a stuffit of no, bzip2 of no, and LHA.LZH of no?
### Context:
CREATE TABLE table_name_90 (gzip VARCHAR, lha_lzh VARCHAR, stuffit VARCHAR, bzip2 VARCHAR) [/INST]
### Response:
SELECT gzip FROM table_name_90 WHERE stuffit = "no" AND bzip2 = "no" AND lha_lzh = "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 is the StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image?
### Context:
CREATE TABLE table_name_26 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR) [/INST]
### Response:
SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "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:
What is the stuffit that has bzip and LHA/LZH of no?
### Context:
CREATE TABLE table_name_99 (stuffit VARCHAR, bzip2 VARCHAR, lha_lzh VARCHAR) [/INST]
### Response:
SELECT stuffit FROM table_name_99 WHERE bzip2 = "no" AND lha_lzh = "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:
Which round was Robert Deciantis taken in?
### Context:
CREATE TABLE table_name_43 (round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_43 WHERE player = "robert deciantis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which round was Brian Elder taken in?
### Context:
CREATE TABLE table_name_15 (round INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_15 WHERE player = "brian elder" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of the tournament in michalovce
### Context:
CREATE TABLE table_name_74 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_74 WHERE tournament = "michalovce" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning score of the Valero Texas Open?
### Context:
CREATE TABLE table_name_99 (winning_score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_99 WHERE tournament = "valero texas 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:
When was the winning score –12 (69-66-72-65=272)?
### Context:
CREATE TABLE table_name_72 (date VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_72 WHERE winning_score = –12(69 - 66 - 72 - 65 = 272) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up when the winning score was –28 (66-67-68-64-67=332)?
### Context:
CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party had a Retired Democratic hold?
### Context:
CREATE TABLE table_name_97 (party VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_97 WHERE result = "retired 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's the average year Charles N. Felton was re-elected?
### Context:
CREATE TABLE table_name_92 (first_elected INTEGER, result VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT AVG(first_elected) FROM table_name_92 WHERE result = "re-elected" AND incumbent = "charles n. 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 year was Barclay Henley first elected?
### Context:
CREATE TABLE table_name_77 (first_elected VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT COUNT(first_elected) FROM table_name_77 WHERE incumbent = "barclay henley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sponsor of motorola
### Context:
CREATE TABLE table_name_12 (team VARCHAR, sponsor VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_12 WHERE sponsor = "motorola" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent has the Event of Sengoku 1?
### Context:
CREATE TABLE table_name_94 (opponent VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_94 WHERE event = "sengoku 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 Record has an Event of Pride Shockwave 2004?
### Context:
CREATE TABLE table_name_22 (record VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_22 WHERE event = "pride shockwave 2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average pole position for the driver that has a percentage of 44.81%?
### Context:
CREATE TABLE table_name_33 (pole_positions INTEGER, percentage VARCHAR) [/INST]
### Response:
SELECT AVG(pole_positions) FROM table_name_33 WHERE percentage = "44.81%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average front row starts for drivers with less than 68 pole positions and entries lower than 52?
### Context:
CREATE TABLE table_name_85 (front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR) [/INST]
### Response:
SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 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:
Attendance of 60,671 had what average week?
### Context:
CREATE TABLE table_name_9 (week INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT AVG(week) FROM table_name_9 WHERE attendance = 60 OFFSET 671 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Week of 7 had what average attendance?
### Context:
CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR) [/INST]
### Response:
SELECT AVG(attendance) FROM table_name_57 WHERE week = 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 many legs were lost for Trina Gulliver with more than 3 played?
### Context:
CREATE TABLE table_name_11 (legs_lost VARCHAR, player VARCHAR, played VARCHAR) [/INST]
### Response:
SELECT COUNT(legs_lost) FROM table_name_11 WHERE player = "trina gulliver" AND played > 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 is the most sets won with less than 1 legs won?
### Context:
CREATE TABLE table_name_25 (sets_won INTEGER, legs_won INTEGER) [/INST]
### Response:
SELECT MAX(sets_won) FROM table_name_25 WHERE legs_won < 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:
Yards of 45, and a Date of november 8, 1971 is what kicker?
### Context:
CREATE TABLE table_name_92 (kicker VARCHAR, yards VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT kicker FROM table_name_92 WHERE yards = 45 AND date = "november 8, 1971" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Game time of 2nd quarter (0:00), and a Date of november 8, 1971 has how many average yards?
### Context:
CREATE TABLE table_name_2 (yards INTEGER, game_time VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT AVG(yards) FROM table_name_2 WHERE game_time = "2nd quarter (0:00)" AND date = "november 8, 1971" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Opponent of new york giants, and a Yards smaller than 68 is what kicker?
### Context:
CREATE TABLE table_name_36 (kicker VARCHAR, opponent VARCHAR, yards VARCHAR) [/INST]
### Response:
SELECT kicker FROM table_name_36 WHERE opponent = "new york giants" AND yards < 68 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Yards larger than 52, and a Opponent of san francisco 49ers is what kicker?
### Context:
CREATE TABLE table_name_5 (kicker VARCHAR, yards VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT kicker FROM table_name_5 WHERE yards > 52 AND opponent = "san francisco 49ers" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Result of missed*, and a Game time of 2nd quarter (0:00), and a Kicker of mason crosby involves what date?
### Context:
CREATE TABLE table_name_3 (date VARCHAR, kicker VARCHAR, result VARCHAR, game_time VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_3 WHERE result = "missed*" AND game_time = "2nd quarter (0:00)" AND kicker = "mason crosby" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Opponent of houston texans had what result?
### Context:
CREATE TABLE table_name_2 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_2 WHERE opponent = "houston texans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the person has a Position on left wing?
### Context:
CREATE TABLE table_name_30 (nationality VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_30 WHERE position = "left wing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College/Junior/Club Team (League) are from sweden?
### Context:
CREATE TABLE table_name_92 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team__league_ FROM table_name_92 WHERE nationality = "sweden" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position is from russia?
### Context:
CREATE TABLE table_name_39 (position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_39 WHERE nationality = "russia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue is with Ukraine?
### Context:
CREATE TABLE table_name_12 (venue VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_12 WHERE nationality = "ukraine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue had a nationality of Belgium?
### Context:
CREATE TABLE table_name_44 (venue VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_44 WHERE nationality = "belgium" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Best Actor has a Best Film of mystery?
### Context:
CREATE TABLE table_name_93 (best_actor VARCHAR, best_film VARCHAR) [/INST]
### Response:
SELECT best_actor FROM table_name_93 WHERE best_film = "mystery" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Best Film of mystery?
### Context:
CREATE TABLE table_name_80 (year VARCHAR, best_film VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_80 WHERE best_film = "mystery" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Best Actress has a Year of 2012 6th?
### Context:
CREATE TABLE table_name_12 (best_actress VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT best_actress FROM table_name_12 WHERE year = "2012 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:
Which Best Actor has a Best Director of takeshi kitano for outrage beyond?
### Context:
CREATE TABLE table_name_44 (best_actor VARCHAR, best_director VARCHAR) [/INST]
### Response:
SELECT best_actor FROM table_name_44 WHERE best_director = "takeshi kitano for outrage beyond" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Best Film has a Best Supporting Actress of shamaine buencamino for niño?
### Context:
CREATE TABLE table_name_42 (best_film VARCHAR, best_supporting_actress VARCHAR) [/INST]
### Response:
SELECT best_film FROM table_name_42 WHERE best_supporting_actress = "shamaine buencamino for niñ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:
Score of 0–0, and a Date of 02-jan-64 had what result?
### Context:
CREATE TABLE table_name_11 (result VARCHAR, score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_11 WHERE score = "0–0" AND date = "02-jan-64" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Result of l, and a Competition of 1966 asian games, and a Score of 0–1 had what date?
### Context:
CREATE TABLE table_name_44 (date VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_44 WHERE result = "l" AND competition = "1966 asian games" AND score = "0–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:
Competition of friendly, and a Date of 03-jun-62 had what score?
### Context:
CREATE TABLE table_name_72 (score VARCHAR, competition VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_72 WHERE competition = "friendly" AND date = "03-jun-62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Result of w, and a Competition of 1968 asian cup happened on what date?
### Context:
CREATE TABLE table_name_5 (date VARCHAR, result VARCHAR, competition VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_5 WHERE result = "w" AND competition = "1968 asian cup" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Result of l, and a Date of 15-oct-64 had what score?
### Context:
CREATE TABLE table_name_45 (score VARCHAR, result VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_45 WHERE result = "l" AND date = "15-oct-64" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent was re-elected in the district in california 3?
### Context:
CREATE TABLE table_name_85 (incumbent VARCHAR, result VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_85 WHERE result = "re-elected" AND district = "california 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 is the district of the incumbent Thomas Larkin Thompson?
### Context:
CREATE TABLE table_name_37 (district VARCHAR, incumbent VARCHAR) [/INST]
### Response:
SELECT district FROM table_name_37 WHERE incumbent = "thomas larkin thompson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What incumbent has a re-elected result and first elected larger than 1884?
### Context:
CREATE TABLE table_name_15 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) [/INST]
### Response:
SELECT incumbent FROM table_name_15 WHERE result = "re-elected" AND first_elected > 1884 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Telugu తెలుగు has a Kannada ಕನ್ನಡ of chitra ಚಿತ್ತ?
### Context:
CREATE TABLE table_name_87 (telugu_తెలుగు VARCHAR, kannada_ಕನ್ನಡ VARCHAR) [/INST]
### Response:
SELECT telugu_తెలుగు FROM table_name_87 WHERE kannada_ಕನ್ನಡ = "chitra ಚಿತ್ತ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Telugu తెలుగు has a Tamil தமிழ் of pūrāṭam பூராடம்?
### Context:
CREATE TABLE table_name_68 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR) [/INST]
### Response:
SELECT telugu_తెలుగు FROM table_name_68 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Telugu తెలుగు has a Tamil தமிழ் of pūsam பூசம்?
### Context:
CREATE TABLE table_name_52 (telugu_తెలుగు VARCHAR, tamil_தமிழ் VARCHAR) [/INST]
### Response:
SELECT telugu_తెలుగు FROM table_name_52 WHERE tamil_தமிழ் = "pūsam பூசம்" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mongolian has a Tamil தமிழ் of pūrāṭam பூராடம்?
### Context:
CREATE TABLE table_name_78 (mongolian VARCHAR, tamil_தமிழ் VARCHAR) [/INST]
### Response:
SELECT mongolian FROM table_name_78 WHERE tamil_தமிழ் = "pūrāṭam பூராடம்" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kind of Sanskrit संस्कृतम् has a Kannada ಕನ್ನಡ of uttara ಉತ್ತರಾ?
### Context:
CREATE TABLE table_name_95 (sanskrit_संस्कृतम् VARCHAR, kannada_ಕನ್ನಡ VARCHAR) [/INST]
### Response:
SELECT sanskrit_संस्कृतम् FROM table_name_95 WHERE kannada_ಕನ್ನಡ = "uttara ಉತ್ತರಾ" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kind of Sanskrit संस्कृतम् has a Tamil தமிழ் of rōkiṇi ரோகிணி?
### Context:
CREATE TABLE table_name_23 (sanskrit_संस्कृतम् VARCHAR, tamil_தமிழ் VARCHAR) [/INST]
### Response:
SELECT sanskrit_संस्कृतम् FROM table_name_23 WHERE tamil_தமிழ் = "rōkiṇ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:
What is the frequency for katherine?
### Context:
CREATE TABLE table_name_99 (frequency VARCHAR, area_served VARCHAR) [/INST]
### Response:
SELECT frequency FROM table_name_99 WHERE area_served = "katherine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 band has a current freq of 8tab (hpon)?
### Context:
CREATE TABLE table_name_80 (band VARCHAR, freq_currently VARCHAR) [/INST]
### Response:
SELECT band FROM table_name_80 WHERE freq_currently = "8tab (hpon)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 freq currently has 0 657?
### Context:
CREATE TABLE table_name_86 (freq_currently VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT freq_currently FROM table_name_86 WHERE frequency = "0 657" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 purpose for the katherine freq of 8rn?
### Context:
CREATE TABLE table_name_50 (purpose VARCHAR, freq_currently VARCHAR, area_served VARCHAR) [/INST]
### Response:
SELECT purpose FROM table_name_50 WHERE freq_currently = "8rn" AND area_served = "katherine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 freq currently has 0 684?
### Context:
CREATE TABLE table_name_7 (freq_currently VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT freq_currently FROM table_name_7 WHERE frequency = "0 684" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 band serves darwin for commercial purpose?
### Context:
CREATE TABLE table_name_61 (band VARCHAR, area_served VARCHAR, purpose VARCHAR) [/INST]
### Response:
SELECT band FROM table_name_61 WHERE area_served = "darwin" AND purpose = "commercial" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points difference for a loss less than 6, and points less than 11?
### Context:
CREATE TABLE table_name_30 (points_difference VARCHAR, lost VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT points_difference FROM table_name_30 WHERE lost < 6 AND points < 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Opponent has a Loss of báez (5-5)?
### Context:
CREATE TABLE table_name_17 (opponent VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_17 WHERE loss = "báez (5-5)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Score has an Opponent of @ rockies, and a Record of 33-35?
### Context:
CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_75 WHERE opponent = "@ rockies" AND record = "33-35" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance has an Opponent of phillies, and a Record of 30-33?
### Context:
CREATE TABLE table_name_34 (attendance INTEGER, opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT SUM(attendance) FROM table_name_34 WHERE opponent = "phillies" AND record = "30-33" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance is the highest one that has a Loss of batista (4-5)?
### Context:
CREATE TABLE table_name_3 (attendance INTEGER, loss VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_name_3 WHERE loss = "batista (4-5)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the frequency MHz of the ERP W's greater than 250?
### Context:
CREATE TABLE table_name_55 (frequency_mhz INTEGER, erp_w INTEGER) [/INST]
### Response:
SELECT AVG(frequency_mhz) FROM table_name_55 WHERE erp_w > 250 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call sign of the MHz Frequency less than 94.9 and an ERP W of 170?
### Context:
CREATE TABLE table_name_35 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) [/INST]
### Response:
SELECT call_sign FROM table_name_35 WHERE frequency_mhz < 94.9 AND erp_w = 170 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info for the city of Tribune, Kansas?
### Context:
CREATE TABLE table_name_74 (fcc_info VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT fcc_info FROM table_name_74 WHERE city_of_license = "tribune, kansas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the city of license with an ERP W less than 170?
### Context:
CREATE TABLE table_name_15 (city_of_license VARCHAR, erp_w INTEGER) [/INST]
### Response:
SELECT city_of_license FROM table_name_15 WHERE erp_w < 170 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W with a frequency MHz of 94.9?
### Context:
CREATE TABLE table_name_26 (erp_w INTEGER, frequency_mhz VARCHAR) [/INST]
### Response:
SELECT MIN(erp_w) FROM table_name_26 WHERE frequency_mhz = 94.9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the ERP W of a Frequency MHz greater than 89.5 in the city of Washburn, Texas?
### Context:
CREATE TABLE table_name_68 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT erp_w FROM table_name_68 WHERE frequency_mhz > 89.5 AND city_of_license = "washburn, texas" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bronze medals the U.S. Virgin Islands, which has less than 0 golds, has?
### Context:
CREATE TABLE table_name_45 (bronze VARCHAR, nation VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT COUNT(bronze) FROM table_name_45 WHERE nation = "u.s. virgin islands" AND gold < 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank of the team with 11 total medals and more than 4 silver medals has?
### Context:
CREATE TABLE table_name_95 (rank INTEGER, total VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT SUM(rank) FROM table_name_95 WHERE total = 11 AND silver > 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 is the lowest total medals the team with more than 0 bronze, 6 silver, and a rank higher than 3 has?
### Context:
CREATE TABLE table_name_97 (total INTEGER, rank VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_97 WHERE bronze > 0 AND silver = 6 AND rank < 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 is the highest rank of Venezuela, which has more than 9 bronze medals?
### Context:
CREATE TABLE table_name_54 (rank INTEGER, nation VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_54 WHERE nation = "venezuela" AND bronze > 9 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest rank of the team with 0 bronze, 1 silver, and more than 0 gold?
### Context:
CREATE TABLE table_name_69 (rank INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR) [/INST]
### Response:
SELECT MIN(rank) FROM table_name_69 WHERE bronze = 0 AND silver = 1 AND gold > 0 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What round has mathieu garon as the player?
### Context:
CREATE TABLE table_name_29 (round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_29 WHERE player = "mathieu garon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality has a position of left wing, and a round greater than 4, with mattia baldi as the player?
### Context:
CREATE TABLE table_name_75 (nationality VARCHAR, player VARCHAR, position VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_75 WHERE position = "left wing" AND round > 4 AND player = "mattia baldi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds have goalie as the position?
### Context:
CREATE TABLE table_name_26 (round INTEGER, position VARCHAR) [/INST]
### Response:
SELECT SUM(round) FROM table_name_26 WHERE position = "goalie" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Date of may 2, 1993?
### Context:
CREATE TABLE table_name_12 (competition VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT competition FROM table_name_12 WHERE date = "may 2, 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Result has a Goal larger than 6, and a Score of 1–0, and a Competition of friendly, and a Date of may 31, 1998?
### Context:
CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR, competition VARCHAR, goal VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_1 WHERE goal > 6 AND score = "1–0" AND competition = "friendly" AND date = "may 31, 1998" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on april 4, 1993?
### Context:
CREATE TABLE table_name_33 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_33 WHERE date = "april 4, 1993" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1 credit with a Hand of Theoretical Return?
### Context:
CREATE TABLE table_name_86 (hand VARCHAR) [/INST]
### Response:
SELECT 1 AS _credit FROM table_name_86 WHERE hand = "theoretical return" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games number when the Position was wr, and a Number larger than 17?
### Context:
CREATE TABLE table_name_58 (games VARCHAR, position VARCHAR, number VARCHAR) [/INST]
### Response:
SELECT COUNT(games) AS ↑ FROM table_name_58 WHERE position = "wr" AND number > 17 </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.