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's the version that has a 20.0 mbit/s downstream rate? ### Context: CREATE TABLE table_name_81 (version VARCHAR, downstream_rate VARCHAR) [/INST] ### Response: SELECT version FROM table_name_81 WHERE downstream_rate = "20.0 mbit/s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the upstream rate for Itu g.992.2 with a version of ADSL? ### Context: CREATE TABLE table_name_60 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR) [/INST] ### Response: SELECT upstream_rate FROM table_name_60 WHERE version = "adsl" AND standard_name = "itu g.992.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 games does the player with 1 (0) finals and a w-league of 28 (1) have? ### Context: CREATE TABLE table_name_12 (games VARCHAR, finals VARCHAR, w_league VARCHAR) [/INST] ### Response: SELECT games FROM table_name_12 WHERE finals = "1 (0)" AND w_league = "28 (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 more than 2 goals and 11 (2) games? ### Context: CREATE TABLE table_name_36 (years VARCHAR, goals VARCHAR, games VARCHAR) [/INST] ### Response: SELECT years FROM table_name_36 WHERE goals > 2 AND games = "11 (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 lowest number of goals with 8 (2) w-leagues? ### Context: CREATE TABLE table_name_52 (goals INTEGER, w_league VARCHAR) [/INST] ### Response: SELECT MIN(goals) FROM table_name_52 WHERE w_league = "8 (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 UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? ### Context: CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR) [/INST] ### Response: SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 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 Copa del Rey has a Name of guti, and a FIFA Club World Championship smaller than 0? ### Context: CREATE TABLE table_name_63 (copa_del_rey INTEGER, name VARCHAR, fifa_club_world_championship VARCHAR) [/INST] ### Response: SELECT SUM(copa_del_rey) FROM table_name_63 WHERE name = "guti" AND fifa_club_world_championship < 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 Copa del Rey has a La Liga smaller than 0? ### Context: CREATE TABLE table_name_80 (copa_del_rey INTEGER, la_liga INTEGER) [/INST] ### Response: SELECT SUM(copa_del_rey) FROM table_name_80 WHERE la_liga < 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 FIFA Club World Championship has a UEFA Champions League of 0, and a Total smaller than 3, and a Name of geremi? ### Context: CREATE TABLE table_name_56 (fifa_club_world_championship INTEGER, name VARCHAR, uefa_champions_league VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(fifa_club_world_championship) FROM table_name_56 WHERE uefa_champions_league = 0 AND total < 3 AND name = "geremi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank for Hungary? ### Context: CREATE TABLE table_name_82 (rank INTEGER, country VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_82 WHERE country = "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: What country has a time of 3:19.167? ### Context: CREATE TABLE table_name_36 (country VARCHAR, time VARCHAR) [/INST] ### Response: SELECT country FROM table_name_36 WHERE time = "3:19.167" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 notes for the time at 3:19.167? ### Context: CREATE TABLE table_name_85 (notes VARCHAR, time VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_85 WHERE time = "3:19.167" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 album Closer: The Best of Sarah Mclachlan certified as? ### Context: CREATE TABLE table_name_88 (certification VARCHAR, album VARCHAR) [/INST] ### Response: SELECT certification FROM table_name_88 WHERE album = "closer: the best of sarah mclachlan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Laps that have gregorio lavilla as the rider, with a grid greater than 13? ### Context: CREATE TABLE table_name_95 (laps INTEGER, rider VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_95 WHERE rider = "gregorio lavilla" AND grid > 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What bike has 26 as the grid? ### Context: CREATE TABLE table_name_20 (bike VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT bike FROM table_name_20 WHERE grid = 26 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid that has +44.866 as the time, with laps greater than 25? ### Context: CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR) [/INST] ### Response: SELECT MAX(grid) FROM table_name_80 WHERE time = "+44.866" AND laps > 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who has the high points on june 16? ### Context: CREATE TABLE table_name_53 (high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_53 WHERE date = "june 16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance on november 2, 2003? ### Context: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_84 WHERE date = "november 2, 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: What is the 1.93 that is 2.05 in height? ### Context: CREATE TABLE table_name_77 (height VARCHAR) [/INST] ### Response: SELECT 193 FROM table_name_77 WHERE height = 2.05 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1.93 for Svetlana Shkolina? ### Context: CREATE TABLE table_name_69 (name VARCHAR) [/INST] ### Response: SELECT 193 FROM table_name_69 WHERE name = "svetlana shkolina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the play from the Ukraine, and a 1.93 xxo? ### Context: CREATE TABLE table_name_50 (name VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT name FROM table_name_50 WHERE nationality = "ukraine" AND 193 = "xxo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in Europe is ranked 4, with top goal scorer Karl-Heinz Rummenigge with 14 goals? ### Context: CREATE TABLE table_name_68 (europe VARCHAR, goals VARCHAR, rank VARCHAR, top_goalscorer VARCHAR) [/INST] ### Response: SELECT europe FROM table_name_68 WHERE rank = "4" AND top_goalscorer = "karl-heinz rummenigge" AND goals = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Wha is the rank for 52 574 avg. att? ### Context: CREATE TABLE table_name_49 (rank VARCHAR, avgatt VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_49 WHERE avgatt = "52 574" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 european country had more than 14 goals, and 52 538 avg att? ### Context: CREATE TABLE table_name_83 (europe VARCHAR, goals VARCHAR, avgatt VARCHAR) [/INST] ### Response: SELECT europe FROM table_name_83 WHERE goals > 14 AND avgatt = "52 538" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least amount of wins for Germany in the 1999 season having 0 points? ### Context: CREATE TABLE table_name_30 (wins INTEGER, seasons VARCHAR, points VARCHAR, country VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_30 WHERE points = "0" AND country = "germany" AND seasons = "1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wins when the points are 0 and podiums are less than 0? ### Context: CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT SUM(wins) FROM table_name_51 WHERE points = "0" AND podiums < 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's the fastest laps during the 1995 season having poles & podiums at 0? ### Context: CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an Award of venice film festival, and a Title of lust, caution? ### Context: CREATE TABLE table_name_73 (year VARCHAR, award VARCHAR, title VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_73 WHERE award = "venice film festival" AND title = "lust, caution" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Category has a Year larger than 1996, and a Result of won, and a Title of brokeback mountain, and an Award of golden globe award? ### Context: CREATE TABLE table_name_45 (category VARCHAR, award VARCHAR, title VARCHAR, year VARCHAR, result VARCHAR) [/INST] ### Response: SELECT category FROM table_name_45 WHERE year > 1996 AND result = "won" AND title = "brokeback mountain" AND award = "golden globe award" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Year smaller than 2001, and an Award of independent spirit awards? ### Context: CREATE TABLE table_name_14 (title VARCHAR, year VARCHAR, award VARCHAR) [/INST] ### Response: SELECT title FROM table_name_14 WHERE year < 2001 AND award = "independent spirit awards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chassis has 17 points? ### Context: CREATE TABLE table_name_30 (chassis VARCHAR, points VARCHAR) [/INST] ### Response: SELECT chassis FROM table_name_30 WHERE points = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 draw for 186 games? ### Context: CREATE TABLE table_name_33 (draw INTEGER, total_games VARCHAR) [/INST] ### Response: SELECT AVG(draw) FROM table_name_33 WHERE total_games = 186 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games for less than 2 seasons and more than 7 draws? ### Context: CREATE TABLE table_name_34 (total_games INTEGER, number_of_seasons VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT SUM(total_games) FROM table_name_34 WHERE number_of_seasons < 2 AND draw > 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 losses for less than 48 games, and less than 7 draws? ### Context: CREATE TABLE table_name_56 (loss VARCHAR, total_games VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT COUNT(loss) FROM table_name_56 WHERE total_games < 48 AND draw < 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 games with more than 18 loses, a Total League, and more than 317 draws? ### Context: CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR) [/INST] ### Response: SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bobby Ryan's nationality? ### Context: CREATE TABLE table_name_91 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_91 WHERE player = "bobby ryan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location of the team Peter Stuyvesant International Racing? ### Context: CREATE TABLE table_name_65 (city___state VARCHAR, team VARCHAR) [/INST] ### Response: SELECT city___state FROM table_name_65 WHERE team = "peter stuyvesant international racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner of the Adelaide International Raceway circuit? ### Context: CREATE TABLE table_name_27 (winner VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_27 WHERE circuit = "adelaide international raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date has the Surfers Paradise International Raceway circuit? ### Context: CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the race title of Dick Johnson Racing? ### Context: CREATE TABLE table_name_73 (race_title VARCHAR, team VARCHAR) [/INST] ### Response: SELECT race_title FROM table_name_73 WHERE team = "dick johnson racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the career win-loss for the ATP Masters Series? ### Context: CREATE TABLE table_name_3 (career_win_loss VARCHAR) [/INST] ### Response: SELECT career_win_loss FROM table_name_3 WHERE 1995 = "atp masters series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home ground(s) listed for the Name Melville Cricket Club? ### Context: CREATE TABLE table_name_11 (home_ground_s_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT home_ground_s_ FROM table_name_11 WHERE name = "melville cricket club" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Name has the Captain Aaron Heal? ### Context: CREATE TABLE table_name_4 (name VARCHAR, captain VARCHAR) [/INST] ### Response: SELECT name FROM table_name_4 WHERE captain = "aaron heal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nickname listed for the Name of University Cricket Club? ### Context: CREATE TABLE table_name_40 (nickname VARCHAR, name VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_40 WHERE name = "university cricket club" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nickname has a Location of Southern River? ### Context: CREATE TABLE table_name_82 (nickname VARCHAR, location VARCHAR) [/INST] ### Response: SELECT nickname FROM table_name_82 WHERE location = "southern river" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listed for the Nickname of Storm? ### Context: CREATE TABLE table_name_74 (name VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT name FROM table_name_74 WHERE nickname = "storm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Name has the Location of Bayswater? ### Context: CREATE TABLE table_name_67 (name VARCHAR, location VARCHAR) [/INST] ### Response: SELECT name FROM table_name_67 WHERE location = "bayswater" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Form album of the thing? ### Context: CREATE TABLE table_name_39 (year INTEGER, from_album VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_39 WHERE from_album = "the thing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Label-Nr has a Year smaller than 1968, and a Label of world pacific, and an album of chile con soul? ### Context: CREATE TABLE table_name_78 (label VARCHAR, Nr VARCHAR, from_album VARCHAR, year VARCHAR) [/INST] ### Response: SELECT label - Nr FROM table_name_78 WHERE year < 1968 AND label = "world pacific" AND from_album = "chile con soul" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Label-Nr of 88146? ### Context: CREATE TABLE table_name_15 (year VARCHAR, label VARCHAR, Nr VARCHAR) [/INST] ### Response: SELECT year FROM table_name_15 WHERE label - Nr = 88146 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were there albums by heat wave? ### Context: CREATE TABLE table_name_84 (year INTEGER, from_album VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_84 WHERE from_album = "heat wave" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an album of tough talk, and a Label-Nr of x-371? ### Context: CREATE TABLE table_name_4 (title VARCHAR, from_album VARCHAR, label VARCHAR, Nr VARCHAR, x VARCHAR) [/INST] ### Response: SELECT title FROM table_name_4 WHERE from_album = "tough talk" AND label - Nr = x - 371 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 floors for the number 2 ranked Joyus Housing? ### Context: CREATE TABLE table_name_59 (floors INTEGER, name VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(floors) FROM table_name_59 WHERE name = "joyus housing" AND rank < 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 number of floors when the r Rank larger than 41, and a City of parel? ### Context: CREATE TABLE table_name_72 (floors VARCHAR, rank VARCHAR, city VARCHAR) [/INST] ### Response: SELECT floors FROM table_name_72 WHERE rank > 41 AND city = "parel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the city of sewri? ### Context: CREATE TABLE table_name_46 (rank VARCHAR, city VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_46 WHERE city = "sewri" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank has a status of proposed, with 80 floors for Celestia Spaces 4? ### Context: CREATE TABLE table_name_79 (rank INTEGER, name VARCHAR, status VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_79 WHERE status = "proposed" AND floors = 80 AND name = "celestia spaces 4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the English Pluperfect when the Bulgarian is бяха чули? ### Context: CREATE TABLE table_name_48 (english VARCHAR, bulgarian VARCHAR) [/INST] ### Response: SELECT english FROM table_name_48 WHERE bulgarian = "бяха чули" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Italian Pluperfect when the English is We Had Heard? ### Context: CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR) [/INST] ### Response: SELECT italian FROM table_name_83 WHERE english = "we had heard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Portuguese Pluperfect when the French is Ils/Elles Avaient Entendu? ### Context: CREATE TABLE table_name_25 (portuguese VARCHAR, french VARCHAR) [/INST] ### Response: SELECT portuguese FROM table_name_25 WHERE french = "ils/elles avaient entendu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 German Pluperfect when the Macedonian is беше слушнал/-а/-о? ### Context: CREATE TABLE table_name_85 (german VARCHAR, macedonian VARCHAR) [/INST] ### Response: SELECT german FROM table_name_85 WHERE macedonian = "беше слушнал/-а/-о" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 silver for Italy with a total less than 5? ### Context: CREATE TABLE table_name_83 (silver INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(silver) FROM table_name_83 WHERE nation = "italy" AND total < 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 total for Austria when there is less than 1 bronze? ### Context: CREATE TABLE table_name_47 (total INTEGER, nation VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_47 WHERE nation = "austria" AND bronze < 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 total when silver is more than 3, and rank is 2? ### Context: CREATE TABLE table_name_53 (total INTEGER, silver VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_53 WHERE silver > 3 AND rank = "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 gold number when total is more than 1, and bronze is 0, and rank is 5? ### Context: CREATE TABLE table_name_19 (gold INTEGER, rank VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_19 WHERE total > 1 AND bronze = 0 AND rank = "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 date was the episode that aired at 7:30 pm ET? ### Context: CREATE TABLE table_name_26 (date VARCHAR, time VARCHAR) [/INST] ### Response: SELECT date FROM table_name_26 WHERE time = "7:30 pm et" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did episode one air on? ### Context: CREATE TABLE table_name_38 (date VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT date FROM table_name_38 WHERE episode = "one" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what venue was the 2010 FIFA World Cup Qualification? ### Context: CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_2 WHERE competition = "2010 fifa world cup qualification" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 discipline for the summer Olympics in 2008? ### Context: CREATE TABLE table_name_68 (discipline VARCHAR, tournament VARCHAR, year VARCHAR) [/INST] ### Response: SELECT discipline FROM table_name_68 WHERE tournament = "summer olympics" AND year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue has an extra of 45.08 S? ### Context: CREATE TABLE table_name_85 (venue VARCHAR, extra VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_85 WHERE extra = "45.08 s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the extra when the result is 4th at the NCAA Championships? ### Context: CREATE TABLE table_name_28 (extra VARCHAR, result VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT extra FROM table_name_28 WHERE result = "4th" AND tournament = "ncaa championships" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What tournament had an extra of 3:06.94 s? ### Context: CREATE TABLE table_name_60 (tournament VARCHAR, extra VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_60 WHERE extra = "3:06.94 s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the lowest Time of jamaica with a Lane larger than 4 and a Rank smaller than 1? ### Context: CREATE TABLE table_name_66 (time INTEGER, rank VARCHAR, nationality VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MIN(time) FROM table_name_66 WHERE nationality = "jamaica" AND lane > 4 AND rank < 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: Name the lowest Rank with a Lane of 5 and a Time smaller than 11.06? ### Context: CREATE TABLE table_name_39 (rank INTEGER, lane VARCHAR, time VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_39 WHERE lane = 5 AND time < 11.06 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest Rank of carmelita jeter with a Time smaller than 11.08? ### Context: CREATE TABLE table_name_97 (rank INTEGER, name VARCHAR, time VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_97 WHERE name = "carmelita jeter" AND time < 11.08 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the points are 98 what is the draw? ### Context: CREATE TABLE table_name_50 (draw VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(draw) FROM table_name_50 WHERE points = 98 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For what 188kg is the world record clean & jerk? ### Context: CREATE TABLE table_name_96 (world_record VARCHAR) [/INST] ### Response: SELECT 188 AS kg FROM table_name_96 WHERE world_record = "clean & jerk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a score of 6–7(5), 2–6 and opponent of Brenda Schultz-Mccarthy? ### Context: CREATE TABLE table_name_96 (year VARCHAR, opponent_in_the_final VARCHAR, score VARCHAR) [/INST] ### Response: SELECT year FROM table_name_96 WHERE opponent_in_the_final = "brenda schultz-mccarthy" AND score = "6–7(5), 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 year had a score of 4–6, 7–6, 7–5? ### Context: CREATE TABLE table_name_90 (year VARCHAR, score VARCHAR) [/INST] ### Response: SELECT year FROM table_name_90 WHERE score = "4–6, 7–6, 7–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: Who was the away team for the match with a home team of Citizen Team A? ### Context: CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_78 WHERE home_team = "citizen team a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the match with a home team of Citizen Team A? ### Context: CREATE TABLE table_name_51 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_51 WHERE home_team = "citizen team a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team in the match that had an away team of Convoy Sun Hei Team B? ### Context: CREATE TABLE table_name_97 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_97 WHERE away_team = "convoy sun hei team b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time did the match with an away team of Happy Valley Team B start? ### Context: CREATE TABLE table_name_30 (time VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT time FROM table_name_30 WHERE away_team = "happy valley team b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd leg when second team is Sumykhimprom? ### Context: CREATE TABLE table_name_98 (team__number2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_98 WHERE team__number2 = "sumykhimprom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1st leg when team number 1 is CSU SIBIU? ### Context: CREATE TABLE table_name_53 (team__number1 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_name_53 WHERE team__number1 = "csu sibiu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time/Retired has Laps smaller than 100, and Points larger than 0? ### Context: CREATE TABLE table_name_99 (time_retired VARCHAR, laps VARCHAR, points VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_99 WHERE laps < 100 AND points > 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 Laps have a Time/Retired of + 4 laps, and a Grid larger than 18? ### Context: CREATE TABLE table_name_72 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_72 WHERE time_retired = "+ 4 laps" AND grid > 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Team has Laps of 100, and a Time/Retired of +8.6 secs? ### Context: CREATE TABLE table_name_33 (team VARCHAR, laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT team FROM table_name_33 WHERE laps = 100 AND time_retired = "+8.6 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: What strike rate is 9 the matches? ### Context: CREATE TABLE table_name_97 (strike_rate VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT strike_rate FROM table_name_97 WHERE matches = "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: Which player has 79.62 as the strike rate? ### Context: CREATE TABLE table_name_89 (player VARCHAR, strike_rate VARCHAR) [/INST] ### Response: SELECT player FROM table_name_89 WHERE strike_rate = "79.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: With 10 as matches, and 469 runs, what is the strike rate? ### Context: CREATE TABLE table_name_24 (strike_rate VARCHAR, matches VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT strike_rate FROM table_name_24 WHERE matches = "10" AND runs = "469" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the strike rate is 70.10, what is the balls? ### Context: CREATE TABLE table_name_36 (balls VARCHAR, strike_rate VARCHAR) [/INST] ### Response: SELECT balls FROM table_name_36 WHERE strike_rate = "70.10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What nation has a time of 51.35 in the final heat? ### Context: CREATE TABLE table_name_89 (nation VARCHAR, time VARCHAR, heat_semifinal_final VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_89 WHERE time = "51.35" AND heat_semifinal_final = "final" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 heat, semifinal or final has a time of 48.97? ### Context: CREATE TABLE table_name_41 (heat_semifinal_final VARCHAR, time VARCHAR) [/INST] ### Response: SELECT heat_semifinal_final FROM table_name_41 WHERE time = "48.97" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 heat, semifinal or final has a time of 25.00? ### Context: CREATE TABLE table_name_31 (heat_semifinal_final VARCHAR, time VARCHAR) [/INST] ### Response: SELECT heat_semifinal_final FROM table_name_31 WHERE time = "25.00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 men's 100m breaststroke in heat 6? ### Context: CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, heat_semifinal_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_74 WHERE event = "men's 100m breaststroke" AND heat_semifinal_final = "heat 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: Marion Buisson with a 4.00 of o had what result? ### Context: CREATE TABLE table_name_89 (result VARCHAR, name VARCHAR) [/INST] ### Response: SELECT result FROM table_name_89 WHERE 400 = "o" AND name = "marion buisson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Anastasija Reiberger from Germany had what 4.00? ### Context: CREATE TABLE table_name_51 (nationality VARCHAR, name VARCHAR) [/INST] ### Response: SELECT 400 FROM table_name_51 WHERE nationality = "germany" AND name = "anastasija reiberger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Alana Boyd of group B with a 4.30 result has what nationality? ### Context: CREATE TABLE table_name_24 (nationality VARCHAR, name VARCHAR, group VARCHAR, result VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_24 WHERE group = "b" AND result = "4.30" AND name = "alana boyd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Roslinda Samsu has what nationality? ### Context: CREATE TABLE table_name_87 (nationality VARCHAR, name VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_87 WHERE name = "roslinda samsu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation is Marion Buisson playing for? ### Context: CREATE TABLE table_name_49 (nationality VARCHAR, name VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_49 WHERE name = "marion buisson" </s>