text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Scores by each individual judge has a Status of eliminated, and a Date performed of august 13? ### Context: CREATE TABLE table_name_15 (scores_by_each_individual_judge VARCHAR, status VARCHAR, date_performed VARCHAR) [/INST] ### Response: SELECT scores_by_each_individual_judge FROM table_name_15 WHERE status = "eliminated" AND date_performed = "august 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 Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? ### Context: CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) [/INST] ### Response: SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND 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: What Co-contestant (Yaar vs. Pyaar) has a Total score/week of 48/60, and a Date performed of august 14? ### Context: CREATE TABLE table_name_40 (co_contestant__yaar_vs_pyaar_ VARCHAR, total_score_week VARCHAR, date_performed VARCHAR) [/INST] ### Response: SELECT co_contestant__yaar_vs_pyaar_ FROM table_name_40 WHERE total_score_week = "48/60" AND date_performed = "august 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: What Date performed has a Scores by each individual judge of 10 + 10 + 10 = 30, and a Main contestant of karanvir bohra? ### Context: CREATE TABLE table_name_19 (date_performed VARCHAR, main_contestant VARCHAR, scores_by_each_individual_judge VARCHAR) [/INST] ### Response: SELECT date_performed FROM table_name_19 WHERE scores_by_each_individual_judge = 10 + 10 + 10 = 30 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: What Status has a Date performed of august 13, and a Position of safe? ### Context: CREATE TABLE table_name_42 (status VARCHAR, date_performed VARCHAR, position VARCHAR) [/INST] ### Response: SELECT status FROM table_name_42 WHERE date_performed = "august 13" AND position = "safe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Scores by each individual judge has a Status of current, and a Co-contestant (Yaar vs. Pyaar) of krushna abhishek? ### Context: CREATE TABLE table_name_67 (scores_by_each_individual_judge VARCHAR, status VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) [/INST] ### Response: SELECT scores_by_each_individual_judge FROM table_name_67 WHERE status = "current" AND co_contestant__yaar_vs_pyaar_ = "krushna abhishek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of electorates (2009) has a District of jhajjar, and a Reserved for (SC/ST/None) of sc, and a Constituency number smaller than 66? ### Context: CREATE TABLE table_name_56 (number_of_electorates__2009_ VARCHAR, constituency_number VARCHAR, district VARCHAR, reserved_for___sc___st__none_ VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_electorates__2009_) FROM table_name_56 WHERE district = "jhajjar" AND reserved_for___sc___st__none_ = "sc" AND constituency_number < 66 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the athlete with a Taijiquan higher than 9.64 and a total more than 19.69? ### Context: CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_95 WHERE taijiquan > 9.64 AND total > 19.69 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Taijiquan of the athlete who has a Taijijian of 9.7 and a total more than 19.34? ### Context: CREATE TABLE table_name_90 (taijiquan INTEGER, taijijian VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(taijiquan) FROM table_name_90 WHERE taijijian = 9.7 AND total > 19.34 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the years that had someone nominated for best supporting actress? ### Context: CREATE TABLE table_name_67 (year VARCHAR, result VARCHAR, category VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_67 WHERE result = "nominated" AND category = "best supporting actress" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nominee for best supporting actress? ### Context: CREATE TABLE table_name_86 (nominee VARCHAR, category VARCHAR) [/INST] ### Response: SELECT nominee FROM table_name_86 WHERE category = "best supporting actress" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tie no of the game with a Score of 1–1? ### Context: CREATE TABLE table_name_39 (tie_no VARCHAR, score VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_39 WHERE score = "1–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 Score of the Burnley Home game? ### Context: CREATE TABLE table_name_57 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_57 WHERE home_team = "burnley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away team when Arsenal is the Home team? ### Context: CREATE TABLE table_name_93 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_93 WHERE home_team = "arsenal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tie no 3? ### Context: CREATE TABLE table_name_67 (date VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT date FROM table_name_67 WHERE tie_no = "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 opponent has a record of 3–1? ### Context: CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_94 WHERE record = "3–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 event has a Record of 4–2? ### Context: CREATE TABLE table_name_22 (event VARCHAR, record VARCHAR) [/INST] ### Response: SELECT event FROM table_name_22 WHERE record = "4–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent has a Time of 0:38? ### Context: CREATE TABLE table_name_18 (opponent VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_18 WHERE time = "0:38" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when the result was win, in Helsinki, competition was friendly? ### Context: CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR, result VARCHAR, location VARCHAR) [/INST] ### Response: SELECT score FROM table_name_50 WHERE result = "win" AND location = "helsinki" AND competition = "friendly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What competition has a Score of 7–0? ### Context: CREATE TABLE table_name_85 (competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_85 WHERE score = "7–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 date has a result of win, in a friendly competition in Porto? ### Context: CREATE TABLE table_name_79 (date VARCHAR, location VARCHAR, result VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT date FROM table_name_79 WHERE result = "win" AND competition = "friendly" AND location = "porto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who has the city Santiago? ### Context: CREATE TABLE table_name_41 (name VARCHAR, city VARCHAR) [/INST] ### Response: SELECT name FROM table_name_41 WHERE city = "santiago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score for Set 2 at 15:21? ### Context: CREATE TABLE table_name_48 (score VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT score FROM table_name_48 WHERE set_2 = "15: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 Set 2 has a set one at 19:21? ### Context: CREATE TABLE table_name_3 (set_2 VARCHAR, set_1 VARCHAR) [/INST] ### Response: SELECT set_2 FROM table_name_3 WHERE set_1 = "19: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 is the score for Set 1 at 19:21? ### Context: CREATE TABLE table_name_59 (score VARCHAR, set_1 VARCHAR) [/INST] ### Response: SELECT score FROM table_name_59 WHERE set_1 = "19: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 is the Set 1 with set 2 at 21:17? ### Context: CREATE TABLE table_name_93 (set_1 VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT set_1 FROM table_name_93 WHERE set_2 = "21: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 Result F – A has a League position of 2nd, and Opponents of liverpool? ### Context: CREATE TABLE table_name_92 (result_f___a VARCHAR, league_position VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT result_f___a FROM table_name_92 WHERE league_position = "2nd" AND opponents = "liverpool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What League position has a Result F – A of 2 – 0, and Opponents of queens park rangers? ### Context: CREATE TABLE table_name_31 (league_position VARCHAR, result_f___a VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT league_position FROM table_name_31 WHERE result_f___a = "2 – 0" AND opponents = "queens park rangers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance with H / A of h, and Opponents of nottingham forest? ### Context: CREATE TABLE table_name_4 (attendance INTEGER, h___a VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_4 WHERE h___a = "h" AND opponents = "nottingham forest" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has a place of 4? ### Context: CREATE TABLE table_name_66 (country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT country FROM table_name_66 WHERE place = "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 did the United States score in the T5? ### Context: CREATE TABLE table_name_88 (score VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT score FROM table_name_88 WHERE country = "united states" AND place = "t5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par at the T5 for the player with a score of 74-69-66=209? ### Context: CREATE TABLE table_name_39 (to_par VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_39 WHERE place = "t5" AND score = 74 - 69 - 66 = 209 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where did Trinidad and Tobago play? ### Context: CREATE TABLE table_name_99 (place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT place FROM table_name_99 WHERE country = "trinidad and tobago" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par for the game with a score of 74-69-66=209? ### Context: CREATE TABLE table_name_24 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_24 WHERE score = 74 - 69 - 66 = 209 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Eduardo Romero from? ### Context: CREATE TABLE table_name_64 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_64 WHERE player = "eduardo romero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 what city is the Estonian University of Life Sciences located? ### Context: CREATE TABLE table_name_42 (city VARCHAR, name VARCHAR) [/INST] ### Response: SELECT city FROM table_name_42 WHERE name = "estonian university of life sciences" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 abbreviation for the University of Tartu? ### Context: CREATE TABLE table_name_43 (abbr VARCHAR, name VARCHAR) [/INST] ### Response: SELECT abbr FROM table_name_43 WHERE name = "university of tartu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place is Fred Funk in? ### Context: CREATE TABLE table_name_30 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_30 WHERE player = "fred funk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score, when Away Team is "Thame United"? ### Context: CREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_67 WHERE away_team = "thame 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: What is Score, when Attendance is "76", and when Home Team is "Meir Ka"? ### Context: CREATE TABLE table_name_84 (score VARCHAR, attendance VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_84 WHERE attendance = "76" AND home_team = "meir ka" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tie No, when Score is "Marlow United won 4–2 on penalties"? ### Context: CREATE TABLE table_name_89 (tie_no VARCHAR, score VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_89 WHERE score = "marlow united won 4–2 on penalties" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home Team, when Attendance is "112", and when Away Team is "Kentish Town"? ### Context: CREATE TABLE table_name_94 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_94 WHERE attendance = "112" AND away_team = "kentish 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: What was the April 7, 2008 score on a clay surface? ### Context: CREATE TABLE table_name_71 (score VARCHAR, surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_71 WHERE surface = "clay" AND date = "april 7, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the score 6–3, 3–6, 6–0? ### Context: CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–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 17th c., when American is "ə"? ### Context: CREATE TABLE table_name_25 (american VARCHAR) [/INST] ### Response: SELECT 17 AS th_c FROM table_name_25 WHERE american = "ə" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 17th c., when Australian is "i, ɪ, ə", and when Examples is "œsophagus"? ### Context: CREATE TABLE table_name_25 (australian VARCHAR, examples VARCHAR) [/INST] ### Response: SELECT 17 AS th_c FROM table_name_25 WHERE australian = "i, ɪ, ə" AND examples = "œsophagus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Australian, when Examples is "amœba, anemone, ascesis"? ### Context: CREATE TABLE table_name_95 (australian VARCHAR, examples VARCHAR) [/INST] ### Response: SELECT australian FROM table_name_95 WHERE examples = "amœba, anemone, ascesis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 British, when Australian is "i, ɪ, ə", and when Examples is "œsophagus"? ### Context: CREATE TABLE table_name_83 (british VARCHAR, australian VARCHAR, examples VARCHAR) [/INST] ### Response: SELECT british FROM table_name_83 WHERE australian = "i, ɪ, ə" AND examples = "œsophagus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Australian, when Examples is "elysium, emeritus, epitome, erotica"? ### Context: CREATE TABLE table_name_50 (australian VARCHAR, examples VARCHAR) [/INST] ### Response: SELECT australian FROM table_name_50 WHERE examples = "elysium, emeritus, epitome, erotica" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report had a circuit of Cagliari? ### Context: CREATE TABLE table_name_33 (report VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT report FROM table_name_33 WHERE circuit = "cagliari" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name had the circuit Monza? ### Context: CREATE TABLE table_name_49 (name VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT name FROM table_name_49 WHERE circuit = "monza" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the circuit Isle of Man? ### Context: CREATE TABLE table_name_72 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_name_72 WHERE circuit = "isle of man" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2nd leg for the team 2 Milano? ### Context: CREATE TABLE table_name_72 (team_2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_72 WHERE team_2 = "milano" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of the player picked at 243? ### Context: CREATE TABLE table_name_32 (position VARCHAR, pick INTEGER) [/INST] ### Response: SELECT position FROM table_name_32 WHERE pick > 243 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visitor when the record was 24–14–2? ### Context: CREATE TABLE table_name_69 (visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_69 WHERE record = "24–14–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: On what date was the score 6–4? ### Context: CREATE TABLE table_name_1 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_1 WHERE score = "6–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on February 17? ### Context: CREATE TABLE table_name_77 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_77 WHERE date = "february 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 total number of Silver, when Gold is "1", and when Bronze is less than 0? ### Context: CREATE TABLE table_name_35 (silver VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_35 WHERE gold = 1 AND bronze < 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 highest Bronze, when Nation is "South Africa", and when Total is less than 20? ### Context: CREATE TABLE table_name_73 (bronze INTEGER, nation VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(bronze) FROM table_name_73 WHERE nation = "south africa" AND total < 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Silver, when Gold is "8", and when Total is greater than 31? ### Context: CREATE TABLE table_name_61 (silver INTEGER, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(silver) FROM table_name_61 WHERE gold = 8 AND total > 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Silver, when Gold is less than 34, when Rank is "6", and when Total is greater than 10? ### Context: CREATE TABLE table_name_81 (silver VARCHAR, total VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_81 WHERE gold < 34 AND rank = "6" AND total > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Bronze, when Silver is less than 89, and when Total is "4"? ### Context: CREATE TABLE table_name_6 (bronze VARCHAR, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_6 WHERE silver < 89 AND total = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the production time with more than 2.737 built and a 280s model? ### Context: CREATE TABLE table_name_59 (production_time VARCHAR, number_built VARCHAR, model VARCHAR) [/INST] ### Response: SELECT production_time FROM table_name_59 WHERE number_built > 2.737 AND model = "280s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number built with a chassis code of w108.057? ### Context: CREATE TABLE table_name_45 (number_built VARCHAR, chassis_code VARCHAR) [/INST] ### Response: SELECT COUNT(number_built) FROM table_name_45 WHERE chassis_code = "w108.057" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chassis code for the 280s model? ### Context: CREATE TABLE table_name_17 (chassis_code VARCHAR, model VARCHAR) [/INST] ### Response: SELECT chassis_code FROM table_name_17 WHERE model = "280s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Jianshu number for Liu Yang ( hkg )? ### Context: CREATE TABLE table_name_29 (jianshu INTEGER, athlete VARCHAR) [/INST] ### Response: SELECT MIN(jianshu) FROM table_name_29 WHERE athlete = "liu yang ( hkg )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest rank when Jianshu is smaller than 9.66, for Richard Devine ( gbr ), with a total smaller than 19.02? ### Context: CREATE TABLE table_name_25 (rank INTEGER, total VARCHAR, jianshu VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_25 WHERE jianshu < 9.66 AND athlete = "richard devine ( gbr )" AND total < 19.02 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Jianshu when the total is more than 19.16, for Nguyen Huy Thanh ( vie ), and Qiangshu is more than 9.66? ### Context: CREATE TABLE table_name_76 (jianshu VARCHAR, qiangshu VARCHAR, total VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT COUNT(jianshu) FROM table_name_76 WHERE total > 19.16 AND athlete = "nguyen huy thanh ( vie )" AND qiangshu > 9.66 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Qiangshu when rank is less than 10, with a total of 18.97, and Jianshu is larger than 9.51? ### Context: CREATE TABLE table_name_73 (qiangshu VARCHAR, jianshu VARCHAR, rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(qiangshu) FROM table_name_73 WHERE rank < 10 AND total = 18.97 AND jianshu > 9.51 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Place that has the Country of australia, and the Player of ian baker-finch? ### Context: CREATE TABLE table_name_22 (place VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_22 WHERE country = "australia" AND player = "ian baker-finch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Place that has the Score of 68, and the Player of christy o'connor jnr? ### Context: CREATE TABLE table_name_70 (place VARCHAR, score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_70 WHERE score = 68 AND player = "christy o'connor jnr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Player that has the Score larger than 67? ### Context: CREATE TABLE table_name_60 (player VARCHAR, score INTEGER) [/INST] ### Response: SELECT player FROM table_name_60 WHERE score > 67 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 value with a 134 in 2008? ### Context: CREATE TABLE table_name_31 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_31 WHERE 2008 = "134" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009 value with A in 2012 and q2 in 2011? ### Context: CREATE TABLE table_name_32 (Id VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_32 WHERE 2012 = "a" AND 2011 = "q2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011 value for the paris masters tournament with 1r in 2008? ### Context: CREATE TABLE table_name_5 (tournament VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_5 WHERE 2008 = "1r" AND tournament = "paris masters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2011 value with nms in 2008? ### Context: CREATE TABLE table_name_54 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_54 WHERE 2008 = "nms" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Club of burgos cf, and a Position larger than 8? ### Context: CREATE TABLE table_name_98 (draws INTEGER, club VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MIN(draws) FROM table_name_98 WHERE club = "burgos cf" AND position > 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Played has a Goal Difference larger than 24? ### Context: CREATE TABLE table_name_35 (played INTEGER, goal_difference INTEGER) [/INST] ### Response: SELECT AVG(played) FROM table_name_35 WHERE goal_difference > 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Goals against has Wins of 13, and Goals for larger than 42, and more than 9 Losses? ### Context: CREATE TABLE table_name_45 (goals_against INTEGER, losses VARCHAR, wins VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT AVG(goals_against) FROM table_name_45 WHERE wins = 13 AND goals_for > 42 AND losses > 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: How many draws have less than 8 wins, and 31 goals for? ### Context: CREATE TABLE table_name_25 (draws INTEGER, wins VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT SUM(draws) FROM table_name_25 WHERE wins < 8 AND goals_for = 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What event of this season had a time of 2:43? ### Context: CREATE TABLE table_name_36 (event VARCHAR, time VARCHAR) [/INST] ### Response: SELECT event FROM table_name_36 WHERE time = "2:43" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 penalties were there in the game with a G.F. of 40? ### Context: CREATE TABLE table_name_20 (penalties VARCHAR, gf VARCHAR) [/INST] ### Response: SELECT penalties FROM table_name_20 WHERE gf = "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's the P.I.M. for the G.F. of 55? ### Context: CREATE TABLE table_name_42 (pim VARCHAR, gf VARCHAR) [/INST] ### Response: SELECT pim FROM table_name_42 WHERE gf = "55" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 G.A. when there were 2 losses and Scotland played? ### Context: CREATE TABLE table_name_33 (ga VARCHAR, losses VARCHAR, team VARCHAR) [/INST] ### Response: SELECT ga FROM table_name_33 WHERE losses = "2" AND team = "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: Which venue has 2:04.22 notes? ### Context: CREATE TABLE table_name_19 (venue VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_19 WHERE notes = "2:04.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 years does Goreville High School have members? ### Context: CREATE TABLE table_name_62 (years_member VARCHAR, school VARCHAR) [/INST] ### Response: SELECT years_member FROM table_name_62 WHERE school = "goreville high school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the school with the Tornadoes Lady Tornadoes? ### Context: CREATE TABLE table_name_41 (school VARCHAR, nickname_s_ VARCHAR) [/INST] ### Response: SELECT school FROM table_name_41 WHERE nickname_s_ = "tornadoes lady tornadoes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 school with the nickname Tornadoes Lady Tornadoes? ### Context: CREATE TABLE table_name_65 (school VARCHAR, nickname_s_ VARCHAR) [/INST] ### Response: SELECT school FROM table_name_65 WHERE nickname_s_ = "tornadoes lady tornadoes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nickname with an enrollment (2013/14) of 160? ### Context: CREATE TABLE table_name_59 (nickname_s_ VARCHAR, enrollment__2013_14_ VARCHAR) [/INST] ### Response: SELECT nickname_s_ FROM table_name_59 WHERE enrollment__2013_14_ = "160" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notes, when Gold is "Thierry Gueorgiou", when Year is before 2008, and when Bronze is "Valentin Novikov"? ### Context: CREATE TABLE table_name_70 (notes VARCHAR, bronze VARCHAR, gold VARCHAR, year VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_70 WHERE gold = "thierry gueorgiou" AND year < 2008 AND bronze = "valentin novikov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notes, when Silver is "Jarkko Huovila"? ### Context: CREATE TABLE table_name_3 (notes VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_3 WHERE silver = "jarkko huovila" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year, when Bronze is "Jamie Stevenson"? ### Context: CREATE TABLE table_name_90 (year VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_90 WHERE bronze = "jamie stevenson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Notes, when Bronze is "Pasi Ikonen"? ### Context: CREATE TABLE table_name_20 (notes VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_20 WHERE bronze = "pasi ikonen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bronze, when Notes is "6.7km, 22controls"? ### Context: CREATE TABLE table_name_2 (bronze VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_2 WHERE notes = "6.7km, 22controls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Silver, when Notes is "6.24km, 23controls"? ### Context: CREATE TABLE table_name_86 (silver VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT silver FROM table_name_86 WHERE notes = "6.24km, 23controls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position has siim ennemuist as the player? ### Context: CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_52 WHERE player = "siim ennemuist" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 less than 15 and a Total of 149? ### Context: CREATE TABLE table_name_21 (player VARCHAR, to_par VARCHAR, total VARCHAR) [/INST] ### Response: SELECT player FROM table_name_21 WHERE to_par < 15 AND total = 149 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Year(s) won of the Player with a To par of 5? ### Context: CREATE TABLE table_name_4 (year_s__won VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_4 WHERE to_par = 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's the English word for apfel? ### Context: CREATE TABLE table_name_53 (english VARCHAR, german VARCHAR) [/INST] ### Response: SELECT english FROM table_name_53 WHERE german = "apfel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Dutch word for Apel? ### Context: CREATE TABLE table_name_48 (dutch VARCHAR, crimean_gothic VARCHAR) [/INST] ### Response: SELECT dutch FROM table_name_48 WHERE crimean_gothic = "apel" </s>