text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which conference joined in 1954 with a beavers mascot? ### Context: CREATE TABLE table_name_40 (conference_joined VARCHAR, year_joined VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT conference_joined FROM table_name_40 WHERE year_joined = 1954 AND mascot = "beavers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Romanji title for around40〜注文の多いオンナたち〜 on TBS? ### Context: CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) [/INST] ### Response: SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What station has average ratings of 14.7%? ### Context: CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR) [/INST] ### Response: SELECT tv_station FROM table_name_25 WHERE average_ratings = "14.7%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%? ### Context: CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) [/INST] ### Response: SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.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 episode has average ratings of 7.4%? ### Context: CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR) [/INST] ### Response: SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.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 episode on Fuji TV titled Absolute Boyfriend? ### Context: CREATE TABLE table_name_98 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR) [/INST] ### Response: SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode on NHK with average ratings of 9.2%? ### Context: CREATE TABLE table_name_39 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR) [/INST] ### Response: SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.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 School has a Year Joined larger than 1926, and a Mascot of vikings? ### Context: CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR) [/INST] ### Response: SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mascot has a School of logansport community? ### Context: CREATE TABLE table_name_76 (mascot VARCHAR, school VARCHAR) [/INST] ### Response: SELECT mascot FROM table_name_76 WHERE school = "logansport community" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926? ### Context: CREATE TABLE table_name_22 (previous_conference VARCHAR, ihsaa_class___football_soccer VARCHAR, year_joined VARCHAR) [/INST] ### Response: SELECT previous_conference FROM table_name_22 WHERE ihsaa_class___football_soccer = "4a/5a/2a" AND year_joined > 1926 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic? ### Context: CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) [/INST] ### Response: SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = "olympic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1996 Asian Cup Qualification on June 29, 1996? ### Context: CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the King's Cup 1998? ### Context: CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Venue of the Competition with a Score of 4-1? ### Context: CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_11 WHERE score = "4-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa? ### Context: CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR) [/INST] ### Response: SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Indian Creek school located? ### Context: CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR) [/INST] ### Response: SELECT location FROM table_name_79 WHERE school = "indian creek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school is located in trafalgar? ### Context: CREATE TABLE table_name_73 (school VARCHAR, location VARCHAR) [/INST] ### Response: SELECT school FROM table_name_73 WHERE location = "trafalgar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IHSAA Class is located in charlottesville? ### Context: CREATE TABLE table_name_24 (ihsaa_class VARCHAR, location VARCHAR) [/INST] ### Response: SELECT ihsaa_class FROM table_name_24 WHERE location = "charlottesville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had notes of sa/b and a rank of 2? ### Context: CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the rank for Great Britain? ### Context: CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_28 WHERE country = "great britain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tv time for the game on week 12? ### Context: CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_76 WHERE week = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance for the game against miami dolphins? ### Context: CREATE TABLE table_name_68 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_68 WHERE opponent = "miami dolphins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result of the game with 67,715 fans attending? ### Context: CREATE TABLE table_name_54 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_54 WHERE attendance = "67,715" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the game that had 90,287 in attendance? ### Context: CREATE TABLE table_name_77 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_77 WHERE attendance = "90,287" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team with 1st period at 12:37? ### Context: CREATE TABLE table_name_53 (team VARCHAR, period VARCHAR, time VARCHAR) [/INST] ### Response: SELECT team FROM table_name_53 WHERE period = "1st" AND time = "12:37" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athlete with the time 6:02.46? ### Context: CREATE TABLE table_name_83 (athlete VARCHAR, time VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_83 WHERE time = "6:02.46" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the country for rank 6? ### Context: CREATE TABLE table_name_3 (country VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT country FROM table_name_3 WHERE rank = 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 the notes when the rank is less than 2? ### Context: CREATE TABLE table_name_59 (notes VARCHAR, rank INTEGER) [/INST] ### Response: SELECT notes FROM table_name_59 WHERE rank < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the rank for athlete hauffe, seifert, kaeufer, adamski? ### Context: CREATE TABLE table_name_88 (rank INTEGER, athlete VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_88 WHERE athlete = "hauffe, seifert, kaeufer, adamski" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 notes for the time 6:05.21? ### Context: CREATE TABLE table_name_77 (notes VARCHAR, time VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_77 WHERE time = "6:05.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: Who was the discoverer of the object with an Aphelion above 97 in 2004? ### Context: CREATE TABLE table_name_41 (discoverer_s_ VARCHAR, aphelion__au_ VARCHAR, year_discovered VARCHAR) [/INST] ### Response: SELECT discoverer_s_ FROM table_name_41 WHERE aphelion__au_ > 97 AND year_discovered = 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What model number has part number cl8064701510101? ### Context: CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR) [/INST] ### Response: SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 I/O bus entry for the processor with a release price of $657? ### Context: CREATE TABLE table_name_65 (i_o_bus VARCHAR, release_price___usd__ VARCHAR) [/INST] ### Response: SELECT i_o_bus FROM table_name_65 WHERE release_price___usd__ = "$657" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 L2 cache for the processor with iris pro graphics 5200 and frequency of 2.6 ghz? ### Context: CREATE TABLE table_name_96 (l2_cache VARCHAR, gpu_model VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT l2_cache FROM table_name_96 WHERE gpu_model = "iris pro graphics 5200" AND frequency = "2.6 ghz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 frequency of the processor released at $383, with a sSpec of sr15f(c0)? ### Context: CREATE TABLE table_name_14 (frequency VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_14 WHERE release_price___usd__ = "$383" AND sspec_number = "sr15f(c0)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 GPU frequency for the processor released in June 2013, with a sSpec number of sr17l(c0)? ### Context: CREATE TABLE table_name_27 (gpu_frequency VARCHAR, release_date VARCHAR, sspec_number VARCHAR) [/INST] ### Response: SELECT gpu_frequency FROM table_name_27 WHERE release_date = "june 2013" AND sspec_number = "sr17l(c0)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 L3 cache of the processor with a release price of $440? ### Context: CREATE TABLE table_name_3 (l3_cache VARCHAR, release_price___usd__ VARCHAR) [/INST] ### Response: SELECT l3_cache FROM table_name_3 WHERE release_price___usd__ = "$440" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 OS X for the Home Media Center? ### Context: CREATE TABLE table_name_88 (os_x VARCHAR, name VARCHAR) [/INST] ### Response: SELECT os_x FROM table_name_88 WHERE name = "home media center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when Windows is partial? ### Context: CREATE TABLE table_name_55 (name VARCHAR, windows VARCHAR) [/INST] ### Response: SELECT name FROM table_name_55 WHERE windows = "partial" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 license for Rygel? ### Context: CREATE TABLE table_name_11 (license VARCHAR, name VARCHAR) [/INST] ### Response: SELECT license FROM table_name_11 WHERE name = "rygel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 license for Jriver Media Center? ### Context: CREATE TABLE table_name_91 (license VARCHAR, name VARCHAR) [/INST] ### Response: SELECT license FROM table_name_91 WHERE name = "jriver media center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Of the series that last aired August 20, 2010, what is the lowest number of seasons? ### Context: CREATE TABLE table_name_42 (season INTEGER, last_aired VARCHAR) [/INST] ### Response: SELECT MIN(season) FROM table_name_42 WHERE last_aired = "august 20, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Of the series that first aired April 8, 2011, what is the total number of episodes? ### Context: CREATE TABLE table_name_53 (episodes INTEGER, first_aired VARCHAR) [/INST] ### Response: SELECT SUM(episodes) FROM table_name_53 WHERE first_aired = "april 8, 2011" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the position was more than 6 and had an A Score of less than 7.6? ### Context: CREATE TABLE table_name_83 (total INTEGER, position VARCHAR, a_score VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_83 WHERE position > 6 AND a_score < 7.6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total when A Score was less than 6.9? ### Context: CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER) [/INST] ### Response: SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459? ### Context: CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR) [/INST] ### Response: SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of Longitude with an ANSI code of 1036573 and has Water (sqmi) that is smaller than 0.404? ### Context: CREATE TABLE table_name_1 (longitude VARCHAR, ansi_code VARCHAR, water__sqmi_ VARCHAR) [/INST] ### Response: SELECT COUNT(longitude) FROM table_name_1 WHERE ansi_code = 1036573 AND water__sqmi_ < 0.404 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest listed longitude that has a Latitude of 46.843963 and Water (sqmi) that is smaller than 0.052000000000000005? ### Context: CREATE TABLE table_name_31 (longitude INTEGER, latitude VARCHAR, water__sqmi_ VARCHAR) [/INST] ### Response: SELECT MIN(longitude) FROM table_name_31 WHERE latitude = 46.843963 AND water__sqmi_ < 0.052000000000000005 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 heat ranked higher than 7? ### Context: CREATE TABLE table_name_46 (heat INTEGER, rank INTEGER) [/INST] ### Response: SELECT SUM(heat) FROM table_name_46 WHERE rank > 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: Which cyclist is from Australia? ### Context: CREATE TABLE table_name_90 (cyclist VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT cyclist FROM table_name_90 WHERE nation = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which nation has a heat of 4, and is ranked 8? ### Context: CREATE TABLE table_name_13 (nation VARCHAR, heat VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_13 WHERE heat = 4 AND rank = 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 John Curtice's position? ### Context: CREATE TABLE table_name_35 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_35 WHERE player = "john curtice" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is from Seton Hall University? ### Context: CREATE TABLE table_name_24 (player VARCHAR, school VARCHAR) [/INST] ### Response: SELECT player FROM table_name_24 WHERE school = "seton hall university" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick of a player for the SS, P Position for the Minnesota Twins? ### Context: CREATE TABLE table_name_51 (pick INTEGER, position VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(pick) FROM table_name_51 WHERE position = "ss, p" AND team = "minnesota twins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average v-band for Ka-band values under 33 and Q-bands of 1? ### Context: CREATE TABLE table_name_53 (v_band INTEGER, ka_band VARCHAR, q_band VARCHAR) [/INST] ### Response: SELECT AVG(v_band) FROM table_name_53 WHERE ka_band < 33 AND q_band = 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 award has a year earlier than 2004 and the episode shows —? ### Context: CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT award FROM table_name_90 WHERE year < 2004 AND episode = "—" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year has a Nominee of —, and a Result of nominated? ### Context: CREATE TABLE table_name_14 (year INTEGER, nominee VARCHAR, result VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_14 WHERE nominee = "—" AND result = "nominated" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Country of the Play Electra? ### Context: CREATE TABLE table_name_60 (country VARCHAR, play VARCHAR) [/INST] ### Response: SELECT country FROM table_name_60 WHERE play = "electra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Athens Base play with Dance Theatre Roes Company? ### Context: CREATE TABLE table_name_59 (play VARCHAR, base VARCHAR, company VARCHAR) [/INST] ### Response: SELECT play FROM table_name_59 WHERE base = "athens" AND company = "dance theatre roes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 author of the Play Electra? ### Context: CREATE TABLE table_name_24 (author VARCHAR, play VARCHAR) [/INST] ### Response: SELECT author FROM table_name_24 WHERE play = "electra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Waht is the Country of the play by Author Aristophanes? ### Context: CREATE TABLE table_name_25 (country VARCHAR, author VARCHAR) [/INST] ### Response: SELECT country FROM table_name_25 WHERE author = "aristophanes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the Play The Libation Bearers a Base of Mecklenburg? ### Context: CREATE TABLE table_name_52 (country VARCHAR, base VARCHAR, play VARCHAR) [/INST] ### Response: SELECT country FROM table_name_52 WHERE base = "mecklenburg" AND play = "the libation bearers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series had a title of Boyhood Daze? ### Context: CREATE TABLE table_name_78 (series VARCHAR, title VARCHAR) [/INST] ### Response: SELECT series FROM table_name_78 WHERE title = "boyhood daze" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release date of Rabbit Romeo? ### Context: CREATE TABLE table_name_8 (release_date VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_8 WHERE title = "rabbit romeo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release date of Three Little Bops? ### Context: CREATE TABLE table_name_42 (release_date VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_42 WHERE title = "three little bops" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2005 the earnings is less than 615,499 with less than 2 LPGA wins and what smallest Money list rank? ### Context: CREATE TABLE table_name_2 (money_list_rank INTEGER, earnings__$_ VARCHAR, lpga_wins VARCHAR, year VARCHAR) [/INST] ### Response: SELECT MIN(money_list_rank) FROM table_name_2 WHERE lpga_wins < 2 AND year = 2005 AND earnings__$_ < 615 OFFSET 499 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team name from Hammond Bishop Noll? ### Context: CREATE TABLE table_name_42 (team_name VARCHAR, school VARCHAR) [/INST] ### Response: SELECT team_name FROM table_name_42 WHERE school = "hammond bishop noll" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What city has a team in IHSAA class 3a, and previous conference of lake? ### Context: CREATE TABLE table_name_83 (city VARCHAR, previous_counference VARCHAR, ihsaa_class VARCHAR) [/INST] ### Response: SELECT city FROM table_name_83 WHERE previous_counference = "lake" AND ihsaa_class = "3a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A? ### Context: CREATE TABLE table_name_28 (enrollment_08_09 INTEGER, previous_counference VARCHAR, ihsaa_class VARCHAR) [/INST] ### Response: SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date of the Kroger Classic Tournament? ### Context: CREATE TABLE table_name_64 (date VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_64 WHERE tournament = "kroger classic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date of the Ameritech Senior Open? ### Context: CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_61 WHERE tournament = "ameritech senior open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Tournament has a Winning score of −16 (66-64-67=197)? ### Context: CREATE TABLE table_name_89 (tournament VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_89 WHERE winning_score = −16(66 - 64 - 67 = 197) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wu Xing (五行) with Korean (RR) of 임 (im)? ### Context: CREATE TABLE table_name_80 (wu_xing___五行__ VARCHAR, korean___rr__ VARCHAR) [/INST] ### Response: SELECT wu_xing___五行__ FROM table_name_80 WHERE korean___rr__ = "임 (im)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Manchu (Möllendorff) with the Wi Xing Correltation of 南 South, along with Wuu Wuupin of ting44? ### Context: CREATE TABLE table_name_48 (manchu___möllendorff__ VARCHAR, wu_xing_correlations VARCHAR, wuu_wuupin VARCHAR) [/INST] ### Response: SELECT manchu___möllendorff__ FROM table_name_48 WHERE wu_xing_correlations = "南 south" AND wuu_wuupin = "ting44" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Japanese Title has a TV Station of ntv? ### Context: CREATE TABLE table_name_19 (japanese_title VARCHAR, tv_station VARCHAR) [/INST] ### Response: SELECT japanese_title FROM table_name_19 WHERE tv_station = "ntv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 TV Station has a Romaji Title of kegareta shita? ### Context: CREATE TABLE table_name_43 (tv_station VARCHAR, romaji_title VARCHAR) [/INST] ### Response: SELECT tv_station FROM table_name_43 WHERE romaji_title = "kegareta shita" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Theme Song(s) has a Japanese Title of 恋におちたら~僕の成功の秘密~? ### Context: CREATE TABLE table_name_54 (theme_song_s_ VARCHAR, japanese_title VARCHAR) [/INST] ### Response: SELECT theme_song_s_ FROM table_name_54 WHERE japanese_title = "恋におちたら~僕の成功の秘密~" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Churai has what as the fewest number of electorates? ### Context: CREATE TABLE table_name_2 (number_of_electorates__2009_ INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(number_of_electorates__2009_) FROM table_name_2 WHERE name = "churai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title when the release date is 1938-12-17 and the production number is 8610? ### Context: CREATE TABLE table_name_86 (title VARCHAR, release_date VARCHAR, production_num VARCHAR) [/INST] ### Response: SELECT title FROM table_name_86 WHERE release_date = "1938-12-17" AND production_num = "8610" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The match played July 8, 2007 had what outcome? ### Context: CREATE TABLE table_name_54 (outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_54 WHERE date = "july 8, 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: The final match played against Evie Dominikovic was played on what surface? ### Context: CREATE TABLE table_name_54 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_54 WHERE opponent_in_the_final = "evie dominikovic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Olga Blahotová was the opponent in the final at what tournament? ### Context: CREATE TABLE table_name_42 (tournament VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_42 WHERE opponent_in_the_final = "olga blahotová" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In the final against Ashley Harkleroad what was the score? ### Context: CREATE TABLE table_name_21 (score VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_21 WHERE opponent_in_the_final = "ashley harkleroad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time did the opponent Takaichi Hirayama have an event? ### Context: CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_83 WHERE opponent = "takaichi hirayama" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round was Gabriel Veiga the opponent? ### Context: CREATE TABLE table_name_42 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_name_42 WHERE opponent = "gabriel veiga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method had a 3 rounds, result in a loss and the Juiz de Fora - fight 1 event? ### Context: CREATE TABLE table_name_86 (method VARCHAR, event VARCHAR, round VARCHAR, res VARCHAR) [/INST] ### Response: SELECT method FROM table_name_86 WHERE round = "3" AND res = "loss" AND event = "juiz de fora - fight 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has a record of 4-2? ### Context: CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_55 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: what is the country for zhang xiuyun? ### Context: CREATE TABLE table_name_91 (country VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT country FROM table_name_91 WHERE athlete = "zhang xiuyun" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the country for fabiana beltrame? ### Context: CREATE TABLE table_name_56 (country VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT country FROM table_name_56 WHERE athlete = "fabiana beltrame" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 notes when the time is 7:58.71? ### Context: CREATE TABLE table_name_44 (notes VARCHAR, time VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_44 WHERE time = "7:58.71" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the time is 7:52.65? ### Context: CREATE TABLE table_name_73 (rank INTEGER, time VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_73 WHERE time = "7:52.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: what is the country when the nots is sa/b, the rank is more than 1 and the athlete is zhang xiuyun? ### Context: CREATE TABLE table_name_55 (country VARCHAR, athlete VARCHAR, notes VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT country FROM table_name_55 WHERE notes = "sa/b" AND rank > 1 AND athlete = "zhang xiuyun" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a rank under 17 with a total of 119? ### Context: CREATE TABLE table_name_30 (athlete VARCHAR, rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_30 WHERE rank < 17 AND total = "119" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round has 2-1 as the result, and A as the venue? ### Context: CREATE TABLE table_name_2 (round VARCHAR, result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT round FROM table_name_2 WHERE result = "2-1" AND venue = "a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most time for the swimmer from South Africa who was in a lane greater than 3? ### Context: CREATE TABLE table_name_64 (time INTEGER, nationality VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MAX(time) FROM table_name_64 WHERE nationality = "south africa" AND lane > 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 school has enrollment of 887? ### Context: CREATE TABLE table_name_44 (school VARCHAR, enrollment VARCHAR) [/INST] ### Response: SELECT school FROM table_name_44 WHERE enrollment = 887 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round when the pick # is less than 236 and the position is offensive guard? ### Context: CREATE TABLE table_name_64 (round INTEGER, pick__number VARCHAR, position VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_64 WHERE pick__number < 236 AND position = "offensive guard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position in round 3? ### Context: CREATE TABLE table_name_9 (position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT position FROM table_name_9 WHERE round = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Position of the Pick 8 Player? ### Context: CREATE TABLE table_name_99 (position VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT position FROM table_name_99 WHERE pick = 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 High assists has a Score of w 71-56? ### Context: CREATE TABLE table_name_85 (high_assists VARCHAR, score VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_85 WHERE score = "w 71-56" </s>