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 Calendar has WYSIWYG Editor of yes and an Unread message tracking of yes? ### Context: CREATE TABLE table_name_56 (calendar VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR) [/INST] ### Response: SELECT calendar FROM table_name_56 WHERE wysiwyg_editor = "yes" AND unread_message_tracking = "yes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which WYSIWYG Editor has an Image attachment of yes, and a Calendar of plugin? ### Context: CREATE TABLE table_name_75 (wysiwyg_editor VARCHAR, image_attachment VARCHAR, calendar VARCHAR) [/INST] ### Response: SELECT wysiwyg_editor FROM table_name_75 WHERE image_attachment = "yes" AND calendar = "plugin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Calendar has a WYSIWYG Editor of no, and an Unread message tracking of session, and an Image attachment of no? ### Context: CREATE TABLE table_name_91 (calendar VARCHAR, image_attachment VARCHAR, wysiwyg_editor VARCHAR, unread_message_tracking VARCHAR) [/INST] ### Response: SELECT calendar FROM table_name_91 WHERE wysiwyg_editor = "no" AND unread_message_tracking = "session" AND image_attachment = "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 Image attachment has a Threaded of yes, and a Calendar of yes? ### Context: CREATE TABLE table_name_44 (image_attachment VARCHAR, threaded VARCHAR, calendar VARCHAR) [/INST] ### Response: SELECT image_attachment FROM table_name_44 WHERE threaded = "yes" AND calendar = "yes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Calendar has a User-selectable themes of user-selectable themes? ### Context: CREATE TABLE table_name_95 (calendar VARCHAR, user_selectable_themes VARCHAR) [/INST] ### Response: SELECT calendar FROM table_name_95 WHERE user_selectable_themes = "user-selectable themes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record of the game with a score of 12–6? ### Context: CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_76 WHERE score = "12–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 was the date of the game with a loss of Bush (1–5)? ### Context: CREATE TABLE table_name_18 (date VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT date FROM table_name_18 WHERE loss = "bush (1–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 opponent at the game with a score of 7–6? ### Context: CREATE TABLE table_name_16 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_16 WHERE score = "7–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 was the score of the game with a loss of Maholm (2–4)? ### Context: CREATE TABLE table_name_81 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE loss = "maholm (2–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 attendance for the game on May 25? ### Context: CREATE TABLE table_name_33 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_33 WHERE date = "may 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: What was the game with a rank higher than 2 and a name of zendon hamilton? ### Context: CREATE TABLE table_name_20 (games INTEGER, name VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(games) FROM table_name_20 WHERE name = "zendon hamilton" 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: If the points were 0, what was the losing bonus? ### Context: CREATE TABLE table_name_32 (losing_bonus VARCHAR, points VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_32 WHERE 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: What club had 56 points? ### Context: CREATE TABLE table_name_67 (club VARCHAR, points VARCHAR) [/INST] ### Response: SELECT club FROM table_name_67 WHERE points = "56" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the points were 0, what were the tries for? ### Context: CREATE TABLE table_name_65 (tries_for VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_65 WHERE points_for = "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 try bonus that had 423 points? ### Context: CREATE TABLE table_name_38 (try_bonus VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT try_bonus FROM table_name_38 WHERE points_for = "423" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tries when tries against were 41, try bonus was 6, and had 317 points. ### Context: CREATE TABLE table_name_35 (tries_for VARCHAR, points_against VARCHAR, try_bonus VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_35 WHERE try_bonus = "6" AND tries_against = "41" AND points_against = "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 was the tries against when they had 32 tries for? ### Context: CREATE TABLE table_name_14 (tries_against VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_name_14 WHERE tries_for = "32" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the english title with a lp format and an Original title of то ли ещё будет? ### Context: CREATE TABLE table_name_49 (title_in_english VARCHAR, format VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT title_in_english FROM table_name_49 WHERE format = "lp" AND original_title = "то ли ещё будет" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the attendance was 18,545? ### Context: CREATE TABLE table_name_83 (score VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_83 WHERE attendance = "18,545" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 decision when the attendance was 19,592? ### Context: CREATE TABLE table_name_6 (decision VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT decision FROM table_name_6 WHERE attendance = "19,592" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Run has an Opponent of Canterbury? ### Context: CREATE TABLE table_name_52 (runs VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_52 WHERE opponent = "canterbury" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runs has a Opponent of south australia? ### Context: CREATE TABLE table_name_53 (runs VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_53 WHERE opponent = "south australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Skip has a Third of tony angiboust? ### Context: CREATE TABLE table_name_45 (skip VARCHAR, third VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_45 WHERE third = "tony angiboust" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lead has a Nation of switzerland? ### Context: CREATE TABLE table_name_15 (lead VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_15 WHERE nation = "switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Third has a Nation of scotland? ### Context: CREATE TABLE table_name_14 (third VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT third FROM table_name_14 WHERE nation = "scotland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which third did angel garcia lead? ### Context: CREATE TABLE table_name_71 (third VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT third FROM table_name_71 WHERE lead = "angel garcia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did France come in second? ### Context: CREATE TABLE table_name_54 (second VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT second FROM table_name_54 WHERE nation = "france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did holger höhne come in third? ### Context: CREATE TABLE table_name_59 (third VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT third FROM table_name_59 WHERE lead = "holger höhne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Caps does the Club/province Munster, position of lock and Mick O'Driscoll have? ### Context: CREATE TABLE table_name_16 (caps VARCHAR, player VARCHAR, club_province VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(caps) FROM table_name_16 WHERE club_province = "munster" AND position = "lock" AND player = "mick o'driscoll" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Club/province have caps less than 2 and Jonathan Sexton as player? ### Context: CREATE TABLE table_name_74 (club_province VARCHAR, caps VARCHAR, player VARCHAR) [/INST] ### Response: SELECT club_province FROM table_name_74 WHERE caps < 2 AND player = "jonathan sexton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Paddy Wallace who plays the position of fly-half has how many Caps? ### Context: CREATE TABLE table_name_97 (caps VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT caps FROM table_name_97 WHERE position = "fly-half" AND player = "paddy wallace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of Caps when player born 13 December 1977? ### Context: CREATE TABLE table_name_57 (caps INTEGER, date_of_birth__age_ VARCHAR) [/INST] ### Response: SELECT SUM(caps) FROM table_name_57 WHERE date_of_birth__age_ = "13 december 1977" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what artist has a book called cyberella ### Context: CREATE TABLE table_name_80 (artist_s_ VARCHAR, book_title VARCHAR) [/INST] ### Response: SELECT artist_s_ FROM table_name_80 WHERE book_title = "cyberella" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 INEGI code has a Population density (/km 2 ) smaller than 81.4 and 0.6593 Human Development Index (2000)? ### Context: CREATE TABLE table_name_17 (inegi_code INTEGER, population_density___km_2__ VARCHAR, human_development_index__2000_ VARCHAR) [/INST] ### Response: SELECT AVG(inegi_code) FROM table_name_17 WHERE population_density___km_2__ < 81.4 AND human_development_index__2000_ = 0.6593 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 field goals for a player with 3 touchdowns? ### Context: CREATE TABLE table_name_84 (field_goals INTEGER, touchdowns VARCHAR) [/INST] ### Response: SELECT MIN(field_goals) FROM table_name_84 WHERE touchdowns = 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: How many extra points did right halfback Roswell Wendell have? ### Context: CREATE TABLE table_name_12 (extra_points VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT extra_points FROM table_name_12 WHERE position = "right halfback" AND player = "roswell wendell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 touchdowns for left halfback WIllie Heston who has more than 15 points? ### Context: CREATE TABLE table_name_74 (touchdowns INTEGER, points VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MIN(touchdowns) FROM table_name_74 WHERE position = "left halfback" AND player = "willie heston" AND points > 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result for the 1964 summer olympics on october 18? ### Context: CREATE TABLE table_name_64 (results¹ VARCHAR, type_of_game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT results¹ FROM table_name_64 WHERE type_of_game = "1964 summer olympics" AND date = "october 18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the opponent on october 28? ### Context: CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_24 WHERE date = "october 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: Wjich city had a date of october 13? ### Context: CREATE TABLE table_name_65 (city VARCHAR, date VARCHAR) [/INST] ### Response: SELECT city FROM table_name_65 WHERE date = "october 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 day were the results 3:2? ### Context: CREATE TABLE table_name_54 (date VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT date FROM table_name_54 WHERE results¹ = "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 is the number of failure for the country of Russia, and a Family of r14 r-14, and a Partial failures smaller than 0? ### Context: CREATE TABLE table_name_76 (failures VARCHAR, partial_failures VARCHAR, country VARCHAR, family VARCHAR) [/INST] ### Response: SELECT COUNT(failures) FROM table_name_76 WHERE country = "russia" AND family = "r14 r-14" AND partial_failures < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the partial failure for the Country of russia, and a Failure larger than 0, and a Family of angara, and a Launch larger than 1? ### Context: CREATE TABLE table_name_53 (partial_failures INTEGER, launches VARCHAR, family VARCHAR, country VARCHAR, failures VARCHAR) [/INST] ### Response: SELECT AVG(partial_failures) FROM table_name_53 WHERE country = "russia" AND failures > 0 AND family = "angara" AND launches > 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 group B region with a Group E region of Georgia? ### Context: CREATE TABLE table_name_17 (group_b VARCHAR, group_e VARCHAR) [/INST] ### Response: SELECT group_b FROM table_name_17 WHERE group_e = "georgia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 group A region with a region number of 2? ### Context: CREATE TABLE table_name_20 (group_a VARCHAR, region VARCHAR) [/INST] ### Response: SELECT group_a FROM table_name_20 WHERE region = 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 group C region with Illinois as group B? ### Context: CREATE TABLE table_name_53 (group_c VARCHAR, group_b VARCHAR) [/INST] ### Response: SELECT group_c FROM table_name_53 WHERE group_b = "illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What opponnent has a record of 82-68? ### Context: CREATE TABLE table_name_61 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_61 WHERE record = "82-68" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what date has the record of 77-62? ### Context: CREATE TABLE table_name_22 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_22 WHERE record = "77-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: what opponent has the record of 78-63? ### Context: CREATE TABLE table_name_25 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_25 WHERE record = "78-63" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what score has the opponent of tigers and a record of 78-64? ### Context: CREATE TABLE table_name_75 (score VARCHAR, opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_75 WHERE opponent = "tigers" AND record = "78-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 time did team kawasaki zx10 1000cc have? ### Context: CREATE TABLE table_name_61 (time VARCHAR, team VARCHAR) [/INST] ### Response: SELECT time FROM table_name_61 WHERE team = "kawasaki zx10 1000cc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team kawasaki zx10 1000cc have? ### Context: CREATE TABLE table_name_72 (time VARCHAR, team VARCHAR) [/INST] ### Response: SELECT time FROM table_name_72 WHERE team = "kawasaki zx10 1000cc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team with a Time of 1:12.40.28? ### Context: CREATE TABLE table_name_94 (rank INTEGER, time VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_94 WHERE time = "1:12.40.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: Which Issue Date(s) has an Artist of men at work? ### Context: CREATE TABLE table_name_32 (issue_date_s_ VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT issue_date_s_ FROM table_name_32 WHERE artist = "men at work" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Weeks on Top have an Issue Date(s) of 20 november? ### Context: CREATE TABLE table_name_94 (weeks_on_top INTEGER, issue_date_s_ VARCHAR) [/INST] ### Response: SELECT SUM(weeks_on_top) FROM table_name_94 WHERE issue_date_s_ = "20 november" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the male partner for amy winehouse? ### Context: CREATE TABLE table_name_26 (male VARCHAR, female VARCHAR) [/INST] ### Response: SELECT male FROM table_name_26 WHERE female = "amy winehouse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 male is paired with dido in 2004? ### Context: CREATE TABLE table_name_79 (male VARCHAR, year VARCHAR, female VARCHAR) [/INST] ### Response: SELECT male FROM table_name_79 WHERE year < 2004 AND female = "dido" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 female artist has an album named elephant? ### Context: CREATE TABLE table_name_48 (female VARCHAR, album VARCHAR) [/INST] ### Response: SELECT female FROM table_name_48 WHERE album = "elephant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Date of march 30 involves what home? ### Context: CREATE TABLE table_name_86 (home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home FROM table_name_86 WHERE date = "march 30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which venue hosted the Los Angeles Rams as an opponent? ### Context: CREATE TABLE table_name_64 (venue VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_64 WHERE opponent = "los angeles rams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date's week was more than 4 with the venue being City Stadium and where the attendance was more than 14,297? ### Context: CREATE TABLE table_name_1 (date VARCHAR, attendance VARCHAR, week VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_1 WHERE week > 4 AND venue = "city stadium" AND attendance > 14 OFFSET 297 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the home with toronto visiting ### Context: CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT home FROM table_name_29 WHERE visitor = "toronto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick# for Lorenzo Freeman as defensive tackle? ### Context: CREATE TABLE table_name_97 (pick__number VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_97 WHERE position = "defensive tackle" AND player = "lorenzo freeman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest pick# for Greg Harris? ### Context: CREATE TABLE table_name_87 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_87 WHERE player = "greg harris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goes to Stanford college? ### Context: CREATE TABLE table_name_21 (round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT round FROM table_name_21 WHERE college = "stanford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of pick# for Don Majkowski?3 ### Context: CREATE TABLE table_name_26 (pick__number INTEGER, player VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_26 WHERE player = "don majkowski" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had Tony Leiker in round 7? ### Context: CREATE TABLE table_name_19 (college VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_19 WHERE round = "round 7" AND player = "tony leiker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 company's type is joint venture, and has principle activities listed as Cargo Airline and an incorporation of China? ### Context: CREATE TABLE table_name_37 (company VARCHAR, incorporated_in VARCHAR, type VARCHAR, principal_activities VARCHAR) [/INST] ### Response: SELECT company FROM table_name_37 WHERE type = "joint venture" AND principal_activities = "cargo airline" AND incorporated_in = "china" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 type for the Cathay Pacific Holidays company, an incorporation of Hong Kong and listed activities as Travel Agency? ### Context: CREATE TABLE table_name_42 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR) [/INST] ### Response: SELECT type FROM table_name_42 WHERE incorporated_in = "hong kong" AND principal_activities = "travel agency" AND company = "cathay pacific holidays" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Surname of naylor? ### Context: CREATE TABLE table_name_78 (position VARCHAR, surname VARCHAR) [/INST] ### Response: SELECT position FROM table_name_78 WHERE surname = "naylor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Uni numbers have Bats of s, and a Position of utl? ### Context: CREATE TABLE table_name_31 (uni_number VARCHAR, bats VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(uni_number) FROM table_name_31 WHERE bats = "s" AND position = "utl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which First has a Uni # larger than 34, and Throws of r, and a Position of rhp, and a Surname of stockman? ### Context: CREATE TABLE table_name_12 (first VARCHAR, surname VARCHAR, position VARCHAR, uni_number VARCHAR, throws VARCHAR) [/INST] ### Response: SELECT first FROM table_name_12 WHERE uni_number > 34 AND throws = "r" AND position = "rhp" AND surname = "stockman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Uni # has a Surname of ough? ### Context: CREATE TABLE table_name_40 (uni_number VARCHAR, surname VARCHAR) [/INST] ### Response: SELECT uni_number FROM table_name_40 WHERE surname = "ough" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surname has Throws of l, and a DOB of 5/02/79? ### Context: CREATE TABLE table_name_63 (surname VARCHAR, throws VARCHAR, dob VARCHAR) [/INST] ### Response: SELECT surname FROM table_name_63 WHERE throws = "l" AND dob = "5/02/79" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which surface had a partner of Sandrine Testud on November 14, 1999? ### Context: CREATE TABLE table_name_93 (surface VARCHAR, partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_93 WHERE partner = "sandrine testud" AND date = "november 14, 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: What is the average number of field goals for players with more than 60 points? ### Context: CREATE TABLE table_name_65 (field_goals INTEGER, points INTEGER) [/INST] ### Response: SELECT AVG(field_goals) FROM table_name_65 WHERE points > 60 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest number of field goals for players with 4 touchdowns and less than 9 extra points? ### Context: CREATE TABLE table_name_5 (field_goals INTEGER, touchdowns VARCHAR, extra_points VARCHAR) [/INST] ### Response: SELECT MIN(field_goals) FROM table_name_5 WHERE touchdowns = 4 AND extra_points < 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 highest number of points for players with less than 2 touchdowns and 0 extra points? ### Context: CREATE TABLE table_name_88 (points INTEGER, extra_points VARCHAR, touchdowns VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_88 WHERE extra_points = 0 AND touchdowns < 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 highest number of extra points for players with less than 2 touchdowns and less than 1 point? ### Context: CREATE TABLE table_name_47 (extra_points INTEGER, touchdowns VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(extra_points) FROM table_name_47 WHERE touchdowns < 2 AND points < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of points for players with 4 touchdowns and more than 0 field goals? ### Context: CREATE TABLE table_name_41 (points INTEGER, touchdowns VARCHAR, field_goals VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_41 WHERE touchdowns = 4 AND field_goals > 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 E score has the T score of 8 and a number smaller than 22.95? ### Context: CREATE TABLE table_name_66 (e_score INTEGER, t_score VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(e_score) FROM table_name_66 WHERE t_score = 8 AND total < 22.95 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of A Score that also has a score lower than 7.3 and an E Score larger than 7.1? ### Context: CREATE TABLE table_name_92 (a_score INTEGER, t_score VARCHAR, e_score VARCHAR) [/INST] ### Response: SELECT SUM(a_score) FROM table_name_92 WHERE t_score < 7.3 AND e_score > 7.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 relative height of Scotland with Ben Vorlich as parent? ### Context: CREATE TABLE table_name_9 (relative_height__m_ VARCHAR, country VARCHAR, parent VARCHAR) [/INST] ### Response: SELECT COUNT(relative_height__m_) FROM table_name_9 WHERE country = "scotland" AND parent = "ben vorlich" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Austria, which had less than 0 silvers? ### Context: CREATE TABLE table_name_83 (rank INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_83 WHERE nation = "austria" AND silver < 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 0 gold and less than 0 silvers? ### Context: CREATE TABLE table_name_72 (rank INTEGER, gold VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_72 WHERE gold = 0 AND silver < 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 total number of bronze medals of West Germany, which is ranked 2 and has less than 1 total medals? ### Context: CREATE TABLE table_name_83 (bronze VARCHAR, total VARCHAR, rank VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_83 WHERE rank = 2 AND nation = "west germany" AND total < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of points of the game less than number 17 with an 11-6-0 record? ### Context: CREATE TABLE table_name_43 (points INTEGER, record VARCHAR, game__number VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_43 WHERE record = "11-6-0" AND game__number < 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 record of the game on November 22? ### Context: CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_14 WHERE date = "november 22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the visitor team of game 19 with Los Angeles as the home team? ### Context: CREATE TABLE table_name_30 (visitor VARCHAR, home VARCHAR, game__number VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_30 WHERE home = "los angeles" AND game__number = 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHich Studio host has a Year of 2003-04? ### Context: CREATE TABLE table_name_42 (studio_host VARCHAR, year VARCHAR) [/INST] ### Response: SELECT studio_host FROM table_name_42 WHERE year = "2003-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: WHich Studio analysts has a Studio host of gary tanguay in 2009-10? ### Context: CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR) [/INST] ### Response: SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-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: WHich Color commentatorhas a Studio host of gary tanguay & eric frede? ### Context: CREATE TABLE table_name_3 (color_commentator_s_ VARCHAR, studio_host VARCHAR) [/INST] ### Response: SELECT color_commentator_s_ FROM table_name_3 WHERE studio_host = "gary tanguay & eric frede" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Play-by-play has a Studio host of gary tanguay, and a Studio analysts of donny marshall? ### Context: CREATE TABLE table_name_63 (play_by_play VARCHAR, studio_host VARCHAR, studio_analysts VARCHAR) [/INST] ### Response: SELECT play_by_play FROM table_name_63 WHERE studio_host = "gary tanguay" AND studio_analysts = "donny marshall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Color commentator has a Channel of fsn new england, and a Year of 2004-05? ### Context: CREATE TABLE table_name_41 (color_commentator_s_ VARCHAR, channel VARCHAR, year VARCHAR) [/INST] ### Response: SELECT color_commentator_s_ FROM table_name_41 WHERE channel = "fsn new england" AND year = "2004-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: Which Courtside reporter has a Channel of fsn new england in 2006-07? ### Context: CREATE TABLE table_name_43 (courtside_reporter VARCHAR, channel VARCHAR, year VARCHAR) [/INST] ### Response: SELECT courtside_reporter FROM table_name_43 WHERE channel = "fsn new england" AND year = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 21? ### Context: CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_12 WHERE date = "april 21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the game at Comiskey Park and had a 4th Inning? ### Context: CREATE TABLE table_name_47 (date VARCHAR, location VARCHAR, inning VARCHAR) [/INST] ### Response: SELECT date FROM table_name_47 WHERE location = "comiskey park" AND inning = "4th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When Efrain Valdez was pitching, what was the highest home run? ### Context: CREATE TABLE table_name_82 (home_run INTEGER, opposing_pitcher VARCHAR) [/INST] ### Response: SELECT MAX(home_run) FROM table_name_82 WHERE opposing_pitcher = "efrain valdez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On June 17 in Tiger stadium, what was the average home run? ### Context: CREATE TABLE table_name_43 (home_run INTEGER, location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT AVG(home_run) FROM table_name_43 WHERE location = "tiger stadium" AND date = "june 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: For the game with 528 attendance, what was the result? ### Context: CREATE TABLE table_name_14 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_14 WHERE attendance = "528" </s>