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 is the location when began is before 1990 and the country is france? ### Context: CREATE TABLE table_name_87 (location VARCHAR, began VARCHAR, country VARCHAR) [/INST] ### Response: SELECT location FROM table_name_87 WHERE began < 1990 AND country = "france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the court surface when the tournament is paris masters? ### Context: CREATE TABLE table_name_47 (court_surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT court_surface FROM table_name_47 WHERE 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 tournament when the country is united states? ### Context: CREATE TABLE table_name_38 (tournament VARCHAR, country VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_38 WHERE country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest began when the court surface is clay in hamburg? ### Context: CREATE TABLE table_name_21 (began INTEGER, court_surface VARCHAR, location VARCHAR) [/INST] ### Response: SELECT MIN(began) FROM table_name_21 WHERE court_surface = "clay" AND location = "hamburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country placed t5? ### Context: CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT country FROM table_name_6 WHERE 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: How did Tim Herron place? ### Context: CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_83 WHERE player = "tim herron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player placed t10? ### Context: CREATE TABLE table_name_72 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_72 WHERE place = "t10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what event did he fight takaharu murahama? ### Context: CREATE TABLE table_name_5 (event VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT event FROM table_name_5 WHERE opponent = "takaharu murahama" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the match lasted 2:16 how was it decided? ### Context: CREATE TABLE table_name_12 (method VARCHAR, time VARCHAR) [/INST] ### Response: SELECT method FROM table_name_12 WHERE time = "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 is the highest urban population for Guangxi province? ### Context: CREATE TABLE table_name_83 (urban_population__2010_ INTEGER, province VARCHAR) [/INST] ### Response: SELECT MAX(urban_population__2010_) FROM table_name_83 WHERE province = "guangxi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 urban population for the city of Fuzhou? ### Context: CREATE TABLE table_name_7 (urban_population__2010_ INTEGER, city VARCHAR) [/INST] ### Response: SELECT AVG(urban_population__2010_) FROM table_name_7 WHERE city = "fuzhou" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area (in km2) for theewaterskloof, whose population in 2011 was less than 108,790? ### Context: CREATE TABLE table_name_67 (area__km_2__ INTEGER, name VARCHAR, population__2011_ VARCHAR) [/INST] ### Response: SELECT SUM(area__km_2__) FROM table_name_67 WHERE name = "theewaterskloof" AND population__2011_ < 108 OFFSET 790 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area in km2 for Cape Agulhas, whose density is larger than 9.4 inhabitants/km2 and whose population in 2011 was less than 33,038? ### Context: CREATE TABLE table_name_28 (area__km_2__ INTEGER, population__2011_ VARCHAR, density__inhabitants_km_2__ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MAX(area__km_2__) FROM table_name_28 WHERE density__inhabitants_km_2__ > 9.4 AND name = "cape agulhas" AND population__2011_ < 33 OFFSET 038 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent was Montreal Canadiens? ### Context: CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_8 WHERE opponent = "montreal canadiens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on December 3? ### Context: CREATE TABLE table_name_40 (record VARCHAR, december VARCHAR) [/INST] ### Response: SELECT record FROM table_name_40 WHERE december = 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: Who was the opponent in Game 27? ### Context: CREATE TABLE table_name_94 (opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_94 WHERE game = 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent on December 1, before Game 28? ### Context: CREATE TABLE table_name_2 (opponent VARCHAR, game VARCHAR, december VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_2 WHERE game < 28 AND december = 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's the population of durham parish? ### Context: CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR) [/INST] ### Response: SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area in kilometers of the parish addington? ### Context: CREATE TABLE table_name_52 (area_km_2 VARCHAR, official_name VARCHAR) [/INST] ### Response: SELECT COUNT(area_km_2) FROM table_name_52 WHERE official_name = "addington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Studio has a Director of oliver stone? ### Context: CREATE TABLE table_name_97 (studio VARCHAR, director VARCHAR) [/INST] ### Response: SELECT studio FROM table_name_97 WHERE director = "oliver stone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Director has a Rank of 12? ### Context: CREATE TABLE table_name_22 (director VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT director FROM table_name_22 WHERE rank = 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: Which Gross has a Studio of mgm? ### Context: CREATE TABLE table_name_25 (gross VARCHAR, studio VARCHAR) [/INST] ### Response: SELECT gross FROM table_name_25 WHERE studio = "mgm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Builder for the locomotive that has a works number of 323? ### Context: CREATE TABLE table_name_92 (builder VARCHAR, works_number VARCHAR) [/INST] ### Response: SELECT builder FROM table_name_92 WHERE works_number = "323" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 side has Vischer as the inscription? ### Context: CREATE TABLE table_name_25 (side VARCHAR, inscription VARCHAR) [/INST] ### Response: SELECT side FROM table_name_25 WHERE inscription = "vischer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 inscription with John Vanbrugh listed as the identification? ### Context: CREATE TABLE table_name_26 (inscription VARCHAR, identification VARCHAR) [/INST] ### Response: SELECT inscription FROM table_name_26 WHERE identification = "john vanbrugh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 side has Orcagna as the inscription? ### Context: CREATE TABLE table_name_89 (side VARCHAR, inscription VARCHAR) [/INST] ### Response: SELECT side FROM table_name_89 WHERE inscription = "orcagna" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 group has David D'Angers as the official history? ### Context: CREATE TABLE table_name_91 (group VARCHAR, official_history VARCHAR) [/INST] ### Response: SELECT group FROM table_name_91 WHERE official_history = "david d'angers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 inscription where Virgil is listed as the identification? ### Context: CREATE TABLE table_name_57 (inscription VARCHAR, identification VARCHAR) [/INST] ### Response: SELECT inscription FROM table_name_57 WHERE identification = "virgil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 side has Ludovico Carracci listed as the identification? ### Context: CREATE TABLE table_name_74 (side VARCHAR, identification VARCHAR) [/INST] ### Response: SELECT side FROM table_name_74 WHERE identification = "ludovico carracci" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of round with Nebraska as the college and the overall greater than 40? ### Context: CREATE TABLE table_name_14 (round VARCHAR, college VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_14 WHERE college = "nebraska" AND overall > 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 minimum pick that drafted Pat Shires, with a round greater than 29 and an overall greater than 328? ### Context: CREATE TABLE table_name_87 (pick INTEGER, round VARCHAR, overall VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(pick) FROM table_name_87 WHERE overall > 328 AND name = "pat shires" AND round > 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Celestino Tugot place? ### Context: CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_43 WHERE player = "celestino tugot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Doug Ford's country? ### Context: CREATE TABLE table_name_1 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_1 WHERE player = "doug ford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ben Hogan's par? ### Context: CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_45 WHERE player = "ben hogan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tommy Bolt's place? ### Context: CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_10 WHERE player = "tommy bolt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a score smaller than 74 and a par of e? ### Context: CREATE TABLE table_name_43 (place VARCHAR, score VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT place FROM table_name_43 WHERE score < 74 AND to_par = "e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time/retired for the car raced by Simone Grotzkyj? ### Context: CREATE TABLE table_name_94 (time_retired VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_94 WHERE rider = "simone grotzkyj" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacter of the car with a time/retired of +0.122? ### Context: CREATE TABLE table_name_79 (manufacturer VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_name_79 WHERE time_retired = "+0.122" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the manufacturer of the car driven by Bradley Smith? ### Context: CREATE TABLE table_name_91 (manufacturer VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_name_91 WHERE rider = "bradley smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the driver of the car that started in grid 14? ### Context: CREATE TABLE table_name_18 (rider VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_18 WHERE grid = "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: Who is the driver of the car manufactured by ktm, who started in grid 1. ### Context: CREATE TABLE table_name_5 (rider VARCHAR, manufacturer VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_5 WHERE manufacturer = "ktm" AND grid = "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 the time/retired of the car that started in grid 4? ### Context: CREATE TABLE table_name_41 (time_retired VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_41 WHERE grid = "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 To par of the Player from Spain? ### Context: CREATE TABLE table_name_81 (to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_81 WHERE country = "spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the T4 Place Player with a Score of 71-66-74-67=278? ### Context: CREATE TABLE table_name_64 (money___ INTEGER, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT AVG(money___) AS $__ FROM table_name_64 WHERE place = "t4" AND score = 71 - 66 - 74 - 67 = 278 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the Player with a Score of 71-66-74-67=278? ### Context: CREATE TABLE table_name_46 (money___ INTEGER, score VARCHAR) [/INST] ### Response: SELECT AVG(money___) AS $__ FROM table_name_46 WHERE score = 71 - 66 - 74 - 67 = 278 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 IUCN for the gales point reserve when the Est. is 1998? ### Context: CREATE TABLE table_name_96 (iucn VARCHAR, est VARCHAR, reserve VARCHAR) [/INST] ### Response: SELECT iucn FROM table_name_96 WHERE est = 1998 AND reserve = "gales point" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 IUCN for the Cockscomb Basin reserve when the Est. is less than 1998? ### Context: CREATE TABLE table_name_98 (iucn VARCHAR, est VARCHAR, reserve VARCHAR) [/INST] ### Response: SELECT iucn FROM table_name_98 WHERE est < 1998 AND reserve = "cockscomb basin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game, when High Assists is "Rajon Rondo (6)"? ### Context: CREATE TABLE table_name_83 (game VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_83 WHERE high_assists = "rajon rondo (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 is Record, when High Points is "Ray Allen (20)"? ### Context: CREATE TABLE table_name_98 (record VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT record FROM table_name_98 WHERE high_points = "ray allen (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 Record, when High Points is "Ray Allen (27)"? ### Context: CREATE TABLE table_name_90 (record VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT record FROM table_name_90 WHERE high_points = "ray allen (27)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Team, when Date is "March 27"? ### Context: CREATE TABLE table_name_75 (team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_name_75 WHERE date = "march 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is High Assists, when Team is "Oklahoma City"? ### Context: CREATE TABLE table_name_38 (high_assists VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_38 WHERE team = "oklahoma city" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High Assists is "Rajon Rondo (12)", and when High Points is "Paul Pierce (27)"? ### Context: CREATE TABLE table_name_64 (score VARCHAR, high_assists VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_name_64 WHERE high_assists = "rajon rondo (12)" AND high_points = "paul pierce (27)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHICH 2/3 (P) has a Verb of khêla? ### Context: CREATE TABLE table_name_76 (verb VARCHAR) [/INST] ### Response: SELECT 2 AS _3__p_ FROM table_name_76 WHERE verb = "khêla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cumulative time (min and seconds) that has more than 6 seconds in shuttle time and a total level time of 64.8 seconds? ### Context: CREATE TABLE table_name_93 (cumulative_time__min_and_seconds_ VARCHAR, shuttle_time__seconds_ VARCHAR, total_level_time__s_ VARCHAR) [/INST] ### Response: SELECT cumulative_time__min_and_seconds_ FROM table_name_93 WHERE shuttle_time__seconds_ > 6 AND total_level_time__s_ = 64.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: What is average December when game is 30? ### Context: CREATE TABLE table_name_79 (december INTEGER, game VARCHAR) [/INST] ### Response: SELECT AVG(december) FROM table_name_79 WHERE game = 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 opponent has a game larger than 23, December larger than 8, and record of 8-10-7? ### Context: CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR, game VARCHAR, december VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_55 WHERE game > 23 AND december > 8 AND record = "8-10-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 the aveg/g for the qb with the Att-Cmp-Int of 117–215–6? ### Context: CREATE TABLE table_name_47 (avg_g VARCHAR, att_cmp_int VARCHAR) [/INST] ### Response: SELECT COUNT(avg_g) FROM table_name_47 WHERE att_cmp_int = "117–215–6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the total effic for the quarterbacks? ### Context: CREATE TABLE table_name_20 (effic INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(effic) FROM table_name_20 WHERE name = "total" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 att-cmp-int for the qb with an effic of 127.89? ### Context: CREATE TABLE table_name_85 (att_cmp_int VARCHAR, effic VARCHAR) [/INST] ### Response: SELECT att_cmp_int FROM table_name_85 WHERE effic = 127.89 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the challenge leader that played on 9:30 pm on Wed., Nov. 28? ### Context: CREATE TABLE table_name_42 (challenge_leader VARCHAR, time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT challenge_leader FROM table_name_42 WHERE time = "9:30 pm" AND date = "wed., nov. 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27? ### Context: CREATE TABLE table_name_89 (location VARCHAR, date VARCHAR, television VARCHAR, time VARCHAR) [/INST] ### Response: SELECT location FROM table_name_89 WHERE television = "espnu" AND time = "7:15 pm" AND date = "tue., nov. 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which tournament was the opponent Lauren Embree? ### Context: CREATE TABLE table_name_83 (tournament VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_83 WHERE opponent = "lauren embree" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 19/08/2012? ### Context: CREATE TABLE table_name_30 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE date = "19/08/2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outcome of the match on 01/07/2007? ### Context: CREATE TABLE table_name_39 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_39 WHERE date = "01/07/2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 10 as the population? ### Context: CREATE TABLE table_name_10 (status VARCHAR, population VARCHAR) [/INST] ### Response: SELECT status FROM table_name_10 WHERE population = 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 status has an area km 2 less than 27.82, with 352 as the population? ### Context: CREATE TABLE table_name_90 (status VARCHAR, area_km_2 VARCHAR, population VARCHAR) [/INST] ### Response: SELECT status FROM table_name_90 WHERE area_km_2 < 27.82 AND population = 352 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 an area km 2 greater than 10.9, with 4,674 of 5,008 as the census ranking ### Context: CREATE TABLE table_name_22 (status VARCHAR, area_km_2 VARCHAR, census_ranking VARCHAR) [/INST] ### Response: SELECT status FROM table_name_22 WHERE area_km_2 > 10.9 AND census_ranking = "4,674 of 5,008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population that has Big Hole Tract 8 (south) as the official name, with an area km 2 greater than 27.82? ### Context: CREATE TABLE table_name_50 (population INTEGER, official_name VARCHAR, area_km_2 VARCHAR) [/INST] ### Response: SELECT MIN(population) FROM table_name_50 WHERE official_name = "big hole tract 8 (south)" AND area_km_2 > 27.82 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 up:down ratio with 4 mbit/s upstream? ### Context: CREATE TABLE table_name_72 (up INTEGER, upstream VARCHAR) [/INST] ### Response: SELECT MAX(up) AS :down_ratio FROM table_name_72 WHERE upstream = "4 mbit/s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the upstream with a 150 gb monthly cap? ### Context: CREATE TABLE table_name_68 (upstream VARCHAR, monthly_cap VARCHAR) [/INST] ### Response: SELECT upstream FROM table_name_68 WHERE monthly_cap = "150 gb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location has a Score of 3–2, and a Record of 3–2–3? ### Context: CREATE TABLE table_name_31 (location VARCHAR, score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location FROM table_name_31 WHERE score = "3–2" AND record = "3–2–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 score has a Date of october 29, 2008? ### Context: CREATE TABLE table_name_70 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_70 WHERE date = "october 29, 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 is the year when the course is sunset ridge cc? ### Context: CREATE TABLE table_name_43 (year INTEGER, course VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_43 WHERE course = "sunset ridge cc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at Olympia fields, illinois? ### Context: CREATE TABLE table_name_80 (score VARCHAR, location VARCHAR) [/INST] ### Response: SELECT score FROM table_name_80 WHERE location = "olympia fields, illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the course at midlothian, illinois for a year before 1934? ### Context: CREATE TABLE table_name_98 (course VARCHAR, year VARCHAR, location VARCHAR) [/INST] ### Response: SELECT course FROM table_name_98 WHERE year < 1934 AND location = "midlothian, illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is runner-up Betsy Rawls from? ### Context: CREATE TABLE table_name_76 (location VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT location FROM table_name_76 WHERE runner_s__up = "betsy rawls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Venue on November 14, 2007? ### Context: CREATE TABLE table_name_17 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_17 WHERE date = "november 14, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 November 10, 2007? ### Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_76 WHERE date = "november 10, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Competition on November 16, 2007? ### Context: CREATE TABLE table_name_64 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_64 WHERE date = "november 16, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface tye during the match with the opponent of richard fromberg? ### Context: CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_3 WHERE opponent = "richard fromberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship during the match with the opponent of richard fromberg? ### Context: CREATE TABLE table_name_8 (championship VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_8 WHERE opponent = "richard fromberg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface type during the match with the score of 6–4, 7–6 (7-5)?? ### Context: CREATE TABLE table_name_54 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_54 WHERE score = "6–4, 7–6 (7-5)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who did wilson reis fight against that lasted less than 3 rounds with a time of 1:02? ### Context: CREATE TABLE table_name_25 (opponent VARCHAR, round VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_25 WHERE round < 3 AND time = "1: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: Which Meet has a Time of 3:50.65? ### Context: CREATE TABLE table_name_95 (meet VARCHAR, time VARCHAR) [/INST] ### Response: SELECT meet FROM table_name_95 WHERE time = "3:50.65" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Time has an Event of 200 m butterfly? ### Context: CREATE TABLE table_name_7 (time VARCHAR, event VARCHAR) [/INST] ### Response: SELECT time FROM table_name_7 WHERE event = "200 m butterfly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Meet has a Club of centro de natacon carabobo? ### Context: CREATE TABLE table_name_67 (meet VARCHAR, club VARCHAR) [/INST] ### Response: SELECT meet FROM table_name_67 WHERE club = "centro de natacon carabobo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location has a Time of 4:13.48? ### Context: CREATE TABLE table_name_83 (location VARCHAR, time VARCHAR) [/INST] ### Response: SELECT location FROM table_name_83 WHERE time = "4:13.48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Time of 1:00.59? ### Context: CREATE TABLE table_name_90 (date VARCHAR, time VARCHAR) [/INST] ### Response: SELECT date FROM table_name_90 WHERE time = "1:00.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: Which Location has a Club of delfines ucv? ### Context: CREATE TABLE table_name_96 (location VARCHAR, club VARCHAR) [/INST] ### Response: SELECT location FROM table_name_96 WHERE club = "delfines ucv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has notes b and the game of tennis? ### Context: CREATE TABLE table_name_13 (name VARCHAR, sport VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT name FROM table_name_13 WHERE sport = "tennis" AND notes = "b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which lifetime has alan gendreau? ### Context: CREATE TABLE table_name_3 (lifetime VARCHAR, name VARCHAR) [/INST] ### Response: SELECT lifetime FROM table_name_3 WHERE name = "alan gendreau" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hometown/high school of 170 pound player tyler wilson? ### Context: CREATE TABLE table_name_81 (hometown_highschool VARCHAR, weight VARCHAR, name VARCHAR) [/INST] ### Response: SELECT hometown_highschool FROM table_name_81 WHERE weight = 170 AND name = "tyler wilson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did kyle mckenzie play? ### Context: CREATE TABLE table_name_41 (position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT position FROM table_name_41 WHERE name = "kyle mckenzie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Week larger than 5, and an Attendance of 54,803? ### Context: CREATE TABLE table_name_6 (date VARCHAR, week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_6 WHERE week > 5 AND attendance = "54,803" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Week smaller than 14, and an Opponent of san francisco 49ers? ### Context: CREATE TABLE table_name_92 (date VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_92 WHERE week < 14 AND opponent = "san francisco 49ers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has a week smaller than 15, and a Result of l 23-17? ### Context: CREATE TABLE table_name_48 (opponent VARCHAR, week VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_48 WHERE week < 15 AND result = "l 23-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: Which date has an Opponent of bye? ### Context: CREATE TABLE table_name_78 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_78 WHERE opponent = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Result of l 25-13? ### Context: CREATE TABLE table_name_18 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_18 WHERE result = "l 25-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 capital has an area of 2166086? ### Context: CREATE TABLE table_name_53 (capital VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT capital FROM table_name_53 WHERE area__km²_ = 2166086 </s>