text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who has a height of 2.16? ### Context: CREATE TABLE table_name_41 (player VARCHAR, height VARCHAR) [/INST] ### Response: SELECT player FROM table_name_41 WHERE height = 2.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's the tallest height for c position in current club unicaja malaga? ### Context: CREATE TABLE table_name_19 (height INTEGER, position VARCHAR, current_club VARCHAR) [/INST] ### Response: SELECT MAX(height) FROM table_name_19 WHERE position = "c" AND current_club = "unicaja malaga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the Southend United was the home team? ### Context: CREATE TABLE table_name_1 (attendance VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_1 WHERE home_team = "southend united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that played Northampton Town at home with a tie number of replay? ### Context: CREATE TABLE table_name_53 (away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_53 WHERE tie_no = "replay" AND home_team = "northampton town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Outcome has an Opponent in the final of simone colombo? ### Context: CREATE TABLE table_name_43 (outcome VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_43 WHERE opponent_in_the_final = "simone colombo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the glyph with a binary less than 111001, an octal less than 65, and a hexadecimal less than 30? ### Context: CREATE TABLE table_name_96 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR, octal VARCHAR) [/INST] ### Response: SELECT SUM(glyph) FROM table_name_96 WHERE binary < 111001 AND octal < 65 AND hexadecimal < 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average hexadecimal with a decimal less than 53, an octal less than 61, and a glyph greater than 0? ### Context: CREATE TABLE table_name_62 (hexadecimal INTEGER, glyph VARCHAR, decimal VARCHAR, octal VARCHAR) [/INST] ### Response: SELECT AVG(hexadecimal) FROM table_name_62 WHERE decimal < 53 AND octal < 61 AND glyph > 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 lowest octal with a 30 hexadecimal and less than 0 glyphs? ### Context: CREATE TABLE table_name_82 (octal INTEGER, hexadecimal VARCHAR, glyph VARCHAR) [/INST] ### Response: SELECT MIN(octal) FROM table_name_82 WHERE hexadecimal = 30 AND glyph < 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 average hexadecimal with a decimal greater than 57? ### Context: CREATE TABLE table_name_2 (hexadecimal INTEGER, decimal INTEGER) [/INST] ### Response: SELECT AVG(hexadecimal) FROM table_name_2 WHERE decimal > 57 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average decimal with a 110010 binary and a glyph greater than 2? ### Context: CREATE TABLE table_name_12 (decimal INTEGER, binary VARCHAR, glyph VARCHAR) [/INST] ### Response: SELECT AVG(decimal) FROM table_name_12 WHERE binary = 110010 AND glyph > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the glyph with a 38 hexadecimal and a binary less than 111000? ### Context: CREATE TABLE table_name_4 (glyph INTEGER, hexadecimal VARCHAR, binary VARCHAR) [/INST] ### Response: SELECT SUM(glyph) FROM table_name_4 WHERE hexadecimal = 38 AND binary < 111000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the game where the opponent wasd the atlanta falcons? ### Context: CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest attendance at a game that was played in tulane stadium? ### Context: CREATE TABLE table_name_63 (attendance INTEGER, game_site VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_63 WHERE game_site = "tulane stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 category for the year when Brioude started and the stage is less than 7? ### Context: CREATE TABLE table_name_10 (category VARCHAR, start VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT COUNT(category) FROM table_name_10 WHERE start = "brioude" AND stage < 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 stage number when the category is less than 1? ### Context: CREATE TABLE table_name_74 (stage VARCHAR, category INTEGER) [/INST] ### Response: SELECT COUNT(stage) FROM table_name_74 WHERE category < 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: For the 1948-49 season, what was the At Home record? ### Context: CREATE TABLE table_name_31 (home VARCHAR, season VARCHAR) [/INST] ### Response: SELECT home FROM table_name_31 WHERE season = "1948-49" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which season was the Away record 2-2 and At Home record 1-0? ### Context: CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR) [/INST] ### Response: SELECT season FROM table_name_33 WHERE away = "2-2" AND home = "1-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: In the 1958-59 season, what league did the team play in? ### Context: CREATE TABLE table_name_7 (league VARCHAR, season VARCHAR) [/INST] ### Response: SELECT league FROM table_name_7 WHERE season = "1958-59" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team played in the Bundesliga league with an Away record of 2-1? ### Context: CREATE TABLE table_name_6 (teams VARCHAR, league VARCHAR, away VARCHAR) [/INST] ### Response: SELECT teams FROM table_name_6 WHERE league = "bundesliga" AND away = "2-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 team(s) played in the 1995-96 season? ### Context: CREATE TABLE table_name_46 (teams VARCHAR, season VARCHAR) [/INST] ### Response: SELECT teams FROM table_name_46 WHERE season = "1995-96" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Playing in the Bundesliga league, what was the Away record for the team with an At Home record of 1-2? ### Context: CREATE TABLE table_name_40 (away VARCHAR, home VARCHAR, league VARCHAR) [/INST] ### Response: SELECT away FROM table_name_40 WHERE home = "1-2" AND league = "bundesliga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 performed has a Main contestant of karanvir bohra? ### Context: CREATE TABLE table_name_58 (date_performed VARCHAR, main_contestant VARCHAR) [/INST] ### Response: SELECT date_performed FROM table_name_58 WHERE main_contestant = "karanvir bohra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 performed has a Position of bottom 3, and Scores by each individual judge of 5 + 5 + 4 = 14? ### Context: CREATE TABLE table_name_12 (date_performed VARCHAR, position VARCHAR, scores_by_each_individual_judge VARCHAR) [/INST] ### Response: SELECT date_performed FROM table_name_12 WHERE position = "bottom 3" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Status has a Co-contestant (Yaar vs. Pyaar) of tina sachdev? ### Context: CREATE TABLE table_name_52 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) [/INST] ### Response: SELECT status FROM table_name_52 WHERE co_contestant__yaar_vs_pyaar_ = "tina sachdev" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Status has a Co-contestant (Yaar vs. Pyaar) of tina parekh? ### Context: CREATE TABLE table_name_29 (status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) [/INST] ### Response: SELECT status FROM table_name_29 WHERE co_contestant__yaar_vs_pyaar_ = "tina parekh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Total score/week has a Status of eliminated, and Scores by each individual judge of 5 + 5 + 4 = 14? ### Context: CREATE TABLE table_name_38 (total_score_week VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR) [/INST] ### Response: SELECT total_score_week FROM table_name_38 WHERE status = "eliminated" AND scores_by_each_individual_judge = 5 + 5 + 4 = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Scores by each individual judge has a Date performed of august 7, and a Main contestant of karanvir bohra? ### Context: CREATE TABLE table_name_87 (scores_by_each_individual_judge VARCHAR, date_performed VARCHAR, main_contestant VARCHAR) [/INST] ### Response: SELECT scores_by_each_individual_judge FROM table_name_87 WHERE date_performed = "august 7" AND main_contestant = "karanvir bohra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 moving to Triestina? ### Context: CREATE TABLE table_name_21 (name VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT name FROM table_name_21 WHERE moving_to = "triestina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 transfer window of the player moving to Panionios? ### Context: CREATE TABLE table_name_97 (transfer_window VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT transfer_window FROM table_name_97 WHERE moving_to = "panionios" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Panionios moving to? ### Context: CREATE TABLE table_name_91 (type VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT type FROM table_name_91 WHERE moving_to = "panionios" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the nationality of Arg Esp moving to? ### Context: CREATE TABLE table_name_15 (moving_to VARCHAR, nat VARCHAR) [/INST] ### Response: SELECT moving_to FROM table_name_15 WHERE nat = "arg esp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 moving to Chelsea on loan? ### Context: CREATE TABLE table_name_84 (name VARCHAR, type VARCHAR, moving_to VARCHAR) [/INST] ### Response: SELECT name FROM table_name_84 WHERE type = "loan" AND moving_to = "chelsea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 digital of Virgin [analogue]? ### Context: CREATE TABLE table_name_24 (digital VARCHAR, provider VARCHAR) [/INST] ### Response: SELECT digital FROM table_name_24 WHERE provider = "virgin [analogue]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 provider is pay with analogue cable? ### Context: CREATE TABLE table_name_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR) [/INST] ### Response: SELECT provider FROM table_name_83 WHERE free_or_pay = "pay" AND transmission = "analogue cable" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 analogue satellite channels does Sky [Analogue] have? ### Context: CREATE TABLE table_name_87 (no_of_channels VARCHAR, transmission VARCHAR, provider VARCHAR) [/INST] ### Response: SELECT no_of_channels FROM table_name_87 WHERE transmission = "analogue satellite" AND provider = "sky [analogue]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years are listed for analogue cable with 35 channels? ### Context: CREATE TABLE table_name_27 (years VARCHAR, transmission VARCHAR, no_of_channels VARCHAR) [/INST] ### Response: SELECT years FROM table_name_27 WHERE transmission = "analogue cable" AND no_of_channels = "35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Week 14 when Week 13 was Nebraska (8-2)? ### Context: CREATE TABLE table_name_37 (week_14_nov_27 VARCHAR, week_13_nov_20 VARCHAR) [/INST] ### Response: SELECT week_14_nov_27 FROM table_name_37 WHERE week_13_nov_20 = "nebraska (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: What was Week 15 when Week 12 was Notre Dame (7-2)? ### Context: CREATE TABLE table_name_50 (week_15__final__dec_3 VARCHAR, week_12_nov_13 VARCHAR) [/INST] ### Response: SELECT week_15__final__dec_3 FROM table_name_50 WHERE week_12_nov_13 = "notre dame (7-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 was Week 11 when Week 10 had Nebraska (7-1)? ### Context: CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR) [/INST] ### Response: SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (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 was Week 15 when Week 12 was Washington (9-1)? ### Context: CREATE TABLE table_name_69 (week_15__final__dec_3 VARCHAR, week_12_nov_13 VARCHAR) [/INST] ### Response: SELECT week_15__final__dec_3 FROM table_name_69 WHERE week_12_nov_13 = "washington (9-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 Surface has a Date of 15 february 1988? ### Context: CREATE TABLE table_name_64 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_64 WHERE date = "15 february 1988" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Score in the final of 3–6, 2–6, 4–6? ### Context: CREATE TABLE table_name_4 (date VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_4 WHERE score_in_the_final = "3–6, 2–6, 4–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 Opponent in the final has a Date of 19 september 1988? ### Context: CREATE TABLE table_name_57 (opponent_in_the_final VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_57 WHERE date = "19 september 1988" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Championship has a Date of 26 may 1986? ### Context: CREATE TABLE table_name_66 (championship VARCHAR, date VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_66 WHERE date = "26 may 1986" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Championship has a Score in the final of 2–6, 6–2, 7–5? ### Context: CREATE TABLE table_name_16 (championship VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_16 WHERE score_in_the_final = "2–6, 6–2, 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: What was the lowest pick number with an overall 86? ### Context: CREATE TABLE table_name_77 (pick__number INTEGER, overall VARCHAR) [/INST] ### Response: SELECT MIN(pick__number) FROM table_name_77 WHERE overall = 86 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of a pick more than 5 at Washington College? ### Context: CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR) [/INST] ### Response: SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the Pick # Anthony Maddox? ### Context: CREATE TABLE table_name_27 (pick__number INTEGER, name VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_27 WHERE name = "anthony maddox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number is 國殤? ### Context: CREATE TABLE table_name_69 (standard_order VARCHAR, traditional_chinese VARCHAR) [/INST] ### Response: SELECT standard_order FROM table_name_69 WHERE traditional_chinese = "國殤" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Traditional Chinese of 国殇 which is over 9? ### Context: CREATE TABLE table_name_14 (traditional_chinese VARCHAR, standard_order VARCHAR, simplified_chinese VARCHAR) [/INST] ### Response: SELECT traditional_chinese FROM table_name_14 WHERE standard_order > 9 AND simplified_chinese = "国殇" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 translation of 山鬼? ### Context: CREATE TABLE table_name_93 (english_translation VARCHAR, simplified_chinese VARCHAR) [/INST] ### Response: SELECT english_translation FROM table_name_93 WHERE simplified_chinese = "山鬼" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 where there are 4 MLS Cups and more US Open Cups than 1? ### Context: CREATE TABLE table_name_43 (total VARCHAR, mls_cup VARCHAR, us_open_cup VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_43 WHERE mls_cup = 4 AND us_open_cup > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which race 3 has points greater than 36, and 2 as the race 1? ### Context: CREATE TABLE table_name_93 (race_3 VARCHAR, points VARCHAR, race_1 VARCHAR) [/INST] ### Response: SELECT race_3 FROM table_name_93 WHERE points > 36 AND race_1 = 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 race 1's have 5 as the race 3, with points less than 59? ### Context: CREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = "5" AND points < 59 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver has points less than 17? ### Context: CREATE TABLE table_name_94 (driver VARCHAR, points INTEGER) [/INST] ### Response: SELECT driver FROM table_name_94 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: Who is from south africa and has a score of 76-75-73-71=295? ### Context: CREATE TABLE table_name_25 (player VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_25 WHERE country = "south africa" AND score = 76 - 75 - 73 - 71 = 295 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par of a player from australia with a score of 76-70-75-72=293? ### Context: CREATE TABLE table_name_96 (to_par INTEGER, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT MIN(to_par) FROM table_name_96 WHERE country = "australia" AND score = 76 - 70 - 75 - 72 = 293 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 money with a Score of 76-70-75-72=293? ### Context: CREATE TABLE table_name_68 (money___£__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT money___£__ FROM table_name_68 WHERE score = 76 - 70 - 75 - 72 = 293 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Title, when Developer is "2Play Mobile", and when Genre is "Action"? ### Context: CREATE TABLE table_name_91 (title VARCHAR, developer VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT title FROM table_name_91 WHERE developer = "2play mobile" AND genre = "action" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Version, when Release Date is "2011-04-01"? ### Context: CREATE TABLE table_name_38 (version INTEGER, release_date VARCHAR) [/INST] ### Response: SELECT MAX(version) FROM table_name_38 WHERE release_date = "2011-04-01" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Version, when Genre is "Action", and when Title is "Hairball"? ### Context: CREATE TABLE table_name_39 (version VARCHAR, genre VARCHAR, title VARCHAR) [/INST] ### Response: SELECT version FROM table_name_39 WHERE genre = "action" AND title = "hairball" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Set 1 of the 45:40 Total? ### Context: CREATE TABLE table_name_73 (set_1 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT set_1 FROM table_name_73 WHERE total = "45:40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the 24:26 Set 1? ### Context: CREATE TABLE table_name_41 (total VARCHAR, set_1 VARCHAR) [/INST] ### Response: SELECT total FROM table_name_41 WHERE set_1 = "24: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 Total of Set 2 of 21:12? ### Context: CREATE TABLE table_name_58 (total VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT total FROM table_name_58 WHERE set_2 = "21:12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Total of Set 2 of 24:22? ### Context: CREATE TABLE table_name_86 (total VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT total FROM table_name_86 WHERE set_2 = "24:22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the 21:12 Set 2? ### Context: CREATE TABLE table_name_17 (date VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT date FROM table_name_17 WHERE set_2 = "21:12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the torque of the 5.8l v12 engine? ### Context: CREATE TABLE table_name_15 (torque VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT torque FROM table_name_15 WHERE engine = "5.8l v12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 torque of the 6.3l v12 engine? ### Context: CREATE TABLE table_name_72 (torque VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT torque FROM table_name_72 WHERE engine = "6.3l v12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 0-100km/h (62mph) of the supercharged 5.4l v8 engine? ### Context: CREATE TABLE table_name_20 (engine VARCHAR) [/INST] ### Response: SELECT 0 AS _100km_h__62mph_ FROM table_name_20 WHERE engine = "supercharged 5.4l v8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population when the Per capita income of $18,884, and a Number of households smaller than 14,485? ### Context: CREATE TABLE table_name_98 (population INTEGER, per_capita_income VARCHAR, number_of_households VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_98 WHERE per_capita_income = "$18,884" AND number_of_households < 14 OFFSET 485 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place, when Player is "Ben Crenshaw"? ### Context: CREATE TABLE table_name_99 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_99 WHERE player = "ben crenshaw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kneel with a stand less than 187, and a 197 prone, and a qual more than 576? ### Context: CREATE TABLE table_name_59 (kneel INTEGER, qual VARCHAR, stand VARCHAR, prone VARCHAR) [/INST] ### Response: SELECT MAX(kneel) FROM table_name_59 WHERE stand < 187 AND prone = 197 AND qual > 576 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the stand with a qual more than 589? ### Context: CREATE TABLE table_name_31 (stand INTEGER, qual INTEGER) [/INST] ### Response: SELECT SUM(stand) FROM table_name_31 WHERE qual > 589 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the match where Remo (PA) is team 1? ### Context: CREATE TABLE table_name_26 (team_1 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_name_26 WHERE team_1 = "remo (pa)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team 1 where team 2 is Fluminense (RJ)? ### Context: CREATE TABLE table_name_17 (team_1 VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_17 WHERE team_2 = "fluminense (rj)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue for the friendly competition at Dreisamstadion, Freiburg? ### Context: CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_52 WHERE competition = "friendly" AND venue = "dreisamstadion, freiburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result at Dreisamstadion, Freiburg? ### Context: CREATE TABLE table_name_96 (result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_96 WHERE venue = "dreisamstadion, freiburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Team, when Position is "LHP", and when Pick is "23"? ### Context: CREATE TABLE table_name_16 (team VARCHAR, position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT team FROM table_name_16 WHERE position = "lhp" AND pick = 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pick, when Player is "Todd Van Poppel"? ### Context: CREATE TABLE table_name_86 (pick INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_86 WHERE player = "todd van poppel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player, when Pick is "26"? ### Context: CREATE TABLE table_name_48 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_48 WHERE pick = 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 Posititon, when Hometown/School is "Westlake, California"? ### Context: CREATE TABLE table_name_15 (position VARCHAR, hometown_school VARCHAR) [/INST] ### Response: SELECT position FROM table_name_15 WHERE hometown_school = "westlake, california" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player, when Position is "SS", and when Pick is "11"? ### Context: CREATE TABLE table_name_61 (player VARCHAR, position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_61 WHERE position = "ss" AND pick = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Population of Sargent County? ### Context: CREATE TABLE table_name_38 (population VARCHAR, county VARCHAR) [/INST] ### Response: SELECT population FROM table_name_38 WHERE county = "sargent" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation with 0 silver medals and a total larger than 2? ### Context: CREATE TABLE table_name_86 (rank INTEGER, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_86 WHERE silver = 0 AND total > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least silvers where there are 39 bronzes and the total is less than 120? ### Context: CREATE TABLE table_name_55 (silver INTEGER, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(silver) FROM table_name_55 WHERE bronze = 39 AND total < 120 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 general classification of stage 3 with David Loosli as the mountains classification? ### Context: CREATE TABLE table_name_74 (general_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT general_classification FROM table_name_74 WHERE mountains_classification = "david loosli" AND stage = "3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the points classification when the stage was final? ### Context: CREATE TABLE table_name_42 (points_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT points_classification FROM table_name_42 WHERE stage = "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: What is the stage of Gerolsteiner? ### Context: CREATE TABLE table_name_29 (stage VARCHAR, team_classification VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_29 WHERE team_classification = "gerolsteiner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mountains classification of Stage 7 when Kim Kirchen was the general classification? ### Context: CREATE TABLE table_name_82 (mountains_classification VARCHAR, general_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT mountains_classification FROM table_name_82 WHERE general_classification = "kim kirchen" AND stage = "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 was Kim Kirchen's team classification? ### Context: CREATE TABLE table_name_21 (team_classification VARCHAR, general_classification VARCHAR) [/INST] ### Response: SELECT team_classification FROM table_name_21 WHERE general_classification = "kim kirchen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player has a To par of +1 and a Score of 73-71-71=217? ### Context: CREATE TABLE table_name_24 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_24 WHERE to_par = "+1" AND score = 73 - 71 - 71 = 217 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player's had a To par of +1 and a Score of 73-71-73=217? ### Context: CREATE TABLE table_name_12 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_12 WHERE to_par = "+1" AND score = 73 - 71 - 73 = 217 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Fuzzy Zoeller's Score? ### Context: CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_56 WHERE player = "fuzzy zoeller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country of the Player with a Score of 71-73-71=215? ### Context: CREATE TABLE table_name_85 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_85 WHERE score = 71 - 73 - 71 = 215 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Country of the Player with a To par of –4? ### Context: CREATE TABLE table_name_72 (country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT country FROM table_name_72 WHERE to_par = "–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 Country of the Player with a To par of +1 and a Score of 75-69-73=217? ### Context: CREATE TABLE table_name_38 (country VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_38 WHERE to_par = "+1" AND score = 75 - 69 - 73 = 217 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 24 Goals against, and a Played smaller than 30? ### Context: CREATE TABLE table_name_97 (position INTEGER, goals_against VARCHAR, played VARCHAR) [/INST] ### Response: SELECT MAX(position) FROM table_name_97 WHERE goals_against = 24 AND played < 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 Points have a Club of cf calvo sotelo, and a Goal Difference larger than -3? ### Context: CREATE TABLE table_name_9 (points INTEGER, club VARCHAR, goal_difference VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_9 WHERE club = "cf calvo sotelo" AND goal_difference > -3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Draws have a Position of 16, and less than 58 Goals against? ### Context: CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR) [/INST] ### Response: SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Losses have Draws larger than 6, and a Club of cd mestalla, and Goals against larger than 44? ### Context: CREATE TABLE table_name_75 (losses INTEGER, goals_against VARCHAR, draws VARCHAR, club VARCHAR) [/INST] ### Response: SELECT MIN(losses) FROM table_name_75 WHERE draws > 6 AND club = "cd mestalla" AND goals_against > 44 </s>