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: How many Goals against have Goals for smaller than 33, and Points smaller than 16? ### Context: CREATE TABLE table_name_54 (goals_against INTEGER, goals_for VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(goals_against) FROM table_name_54 WHERE goals_for < 33 AND points < 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 Date was the Game at Griffith Stadium? ### Context: CREATE TABLE table_name_9 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_9 WHERE game_site = "griffith stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What attendance is listed against the date of bye? ### Context: CREATE TABLE table_name_4 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_4 WHERE date = "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: What date is week 3? ### Context: CREATE TABLE table_name_77 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_77 WHERE week = 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 Floors has a Location of tower hill? ### Context: CREATE TABLE table_name_89 (floors VARCHAR, location VARCHAR) [/INST] ### Response: SELECT floors FROM table_name_89 WHERE location = "tower hill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Floors of 03.0 n/a? ### Context: CREATE TABLE table_name_18 (location VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT location FROM table_name_18 WHERE floors = "03.0 n/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: Name the Height metres / ft of Floors of 05.0 n/a? ### Context: CREATE TABLE table_name_89 (height_metres___ft VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT height_metres___ft FROM table_name_89 WHERE floors = "05.0 n/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: Name the Years as tallest that has Height metres / ft of 01.0 27 / 90? ### Context: CREATE TABLE table_name_14 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) [/INST] ### Response: SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the Years as tallest has a Height metres / ft of 07.0 150 / 493 [b ]? ### Context: CREATE TABLE table_name_95 (years_as_tallest VARCHAR, height_metres___ft VARCHAR) [/INST] ### Response: SELECT years_as_tallest FROM table_name_95 WHERE height_metres___ft = "07.0 150 / 493 [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: Name the Height metres / ft of Years with tallest of 1098–1310? ### Context: CREATE TABLE table_name_68 (height_metres___ft VARCHAR, years_as_tallest VARCHAR) [/INST] ### Response: SELECT height_metres___ft FROM table_name_68 WHERE years_as_tallest = "1098–1310" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many scores have a Place of t5? ### Context: CREATE TABLE table_name_2 (score VARCHAR, place VARCHAR) [/INST] ### Response: SELECT COUNT(score) FROM table_name_2 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: Which To Par has a Score smaller than 70, and a Player of matt kowal? ### Context: CREATE TABLE table_name_33 (to_par VARCHAR, score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_33 WHERE score < 70 AND player = "matt kowal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 To Par of –1? ### Context: CREATE TABLE table_name_59 (score INTEGER, to_par VARCHAR) [/INST] ### Response: SELECT MIN(score) FROM table_name_59 WHERE to_par = "–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the date for catolog 88697185162 when the region is canada? ### Context: CREATE TABLE table_name_9 (date VARCHAR, catalog VARCHAR, region VARCHAR) [/INST] ### Response: SELECT date FROM table_name_9 WHERE catalog = 88697185162 AND region = "canada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 parish has a church named Vangsnes Kyrkje? ### Context: CREATE TABLE table_name_44 (parish__prestegjeld_ VARCHAR, church_name VARCHAR) [/INST] ### Response: SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sub-Parish has a church built in 1866? ### Context: CREATE TABLE table_name_19 (sub_parish__sokn_ VARCHAR, year_built VARCHAR) [/INST] ### Response: SELECT sub_parish__sokn_ FROM table_name_19 WHERE year_built = "1866" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the Hopperstad Stavkyrkje built? ### Context: CREATE TABLE table_name_83 (year_built VARCHAR, church_name VARCHAR) [/INST] ### Response: SELECT year_built FROM table_name_83 WHERE church_name = "hopperstad stavkyrkje" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the church in Arnafjord built? ### Context: CREATE TABLE table_name_43 (year_built VARCHAR, location_of_the_church VARCHAR) [/INST] ### Response: SELECT year_built FROM table_name_43 WHERE location_of_the_church = "arnafjord" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Sub-Parish called that has a church located in Fresvik? ### Context: CREATE TABLE table_name_39 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR) [/INST] ### Response: SELECT sub_parish__sokn_ FROM table_name_39 WHERE location_of_the_church = "fresvik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 church in the Sub-Parish of Fresvik called? ### Context: CREATE TABLE table_name_94 (church_name VARCHAR, sub_parish__sokn_ VARCHAR) [/INST] ### Response: SELECT church_name FROM table_name_94 WHERE sub_parish__sokn_ = "fresvik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time for Sheffield? ### Context: CREATE TABLE table_name_15 (time VARCHAR, city VARCHAR) [/INST] ### Response: SELECT time FROM table_name_15 WHERE city = "sheffield" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the total points for the skier with 3.18 slalom points? ### Context: CREATE TABLE table_name_33 (total VARCHAR, slalom_points VARCHAR) [/INST] ### Response: SELECT total FROM table_name_33 WHERE slalom_points = "3.18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place is the skier with 7.73 downhill points? ### Context: CREATE TABLE table_name_38 (place VARCHAR, downhill_points VARCHAR) [/INST] ### Response: SELECT place FROM table_name_38 WHERE downhill_points = 7.73 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the downhill points for the skier with total of 9.31 points? ### Context: CREATE TABLE table_name_50 (downhill_points INTEGER, total VARCHAR) [/INST] ### Response: SELECT SUM(downhill_points) FROM table_name_50 WHERE total = "9.31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank for the player where there are 11 points? ### Context: CREATE TABLE table_name_87 (rank_points VARCHAR, score_points VARCHAR) [/INST] ### Response: SELECT rank_points FROM table_name_87 WHERE score_points = "11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which shooter had a total of 11 at the WC Munich with a score of 6? ### Context: CREATE TABLE table_name_18 (shooter VARCHAR, score_points VARCHAR, total VARCHAR, event VARCHAR) [/INST] ### Response: SELECT shooter FROM table_name_18 WHERE total = "11" AND event = "wc munich" AND score_points = "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 event where there are 10 score points? ### Context: CREATE TABLE table_name_10 (event VARCHAR, score_points VARCHAR) [/INST] ### Response: SELECT event FROM table_name_10 WHERE score_points = "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: Who is the shooter that is the Defending Champion? ### Context: CREATE TABLE table_name_63 (shooter VARCHAR, total VARCHAR) [/INST] ### Response: SELECT shooter FROM table_name_63 WHERE total = "defending champion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owner had MRT 1 HD? ### Context: CREATE TABLE table_name_73 (owner VARCHAR, name VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_73 WHERE name = "mrt 1 hd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 programming for mrt sobraniski kanal? ### Context: CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR) [/INST] ### Response: SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the type for a general programming and the owner tv kanal 5? ### Context: CREATE TABLE table_name_73 (type VARCHAR, programming VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT type FROM table_name_73 WHERE programming = "general" AND owner = "tv kanal 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the programming for Kanal 5? ### Context: CREATE TABLE table_name_20 (programming VARCHAR, name VARCHAR) [/INST] ### Response: SELECT programming FROM table_name_20 WHERE name = "kanal 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the surface on march 2, 1997? ### Context: CREATE TABLE table_name_91 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_91 WHERE date = "march 2, 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result when the partner was magdalena maleeva? ### Context: CREATE TABLE table_name_16 (result VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT result FROM table_name_16 WHERE partner = "magdalena maleeva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What edition had magdalena maleeva as partner? ### Context: CREATE TABLE table_name_34 (edition VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT edition FROM table_name_34 WHERE partner = "magdalena maleeva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partner for the 1988 world group i edition? ### Context: CREATE TABLE table_name_23 (partner VARCHAR, edition VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_23 WHERE edition = "1988 world group i" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result on july 16, 1992? ### Context: CREATE TABLE table_name_4 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_4 WHERE date = "july 16, 1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event that is in 8th position? ### Context: CREATE TABLE table_name_70 (event VARCHAR, position VARCHAR) [/INST] ### Response: SELECT event FROM table_name_70 WHERE position = "8th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event in a year before 1989? ### Context: CREATE TABLE table_name_37 (event VARCHAR, year INTEGER) [/INST] ### Response: SELECT event FROM table_name_37 WHERE year < 1989 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 medals in 1964? ### Context: CREATE TABLE table_name_24 (total INTEGER, year_s__won VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_24 WHERE year_s__won = "1964" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many kills when percentage is more than 0.313, attempts are more than 1035 and assists are larger than 57? ### Context: CREATE TABLE table_name_32 (kills VARCHAR, assists VARCHAR, percentage VARCHAR, total_attempts VARCHAR) [/INST] ### Response: SELECT COUNT(kills) FROM table_name_32 WHERE percentage > 0.313 AND total_attempts > 1035 AND assists > 57 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest percentage when there are more than 361 blocks? ### Context: CREATE TABLE table_name_66 (percentage INTEGER, total_blocks INTEGER) [/INST] ### Response: SELECT MAX(percentage) FROM table_name_66 WHERE total_blocks > 361 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 blocks when there are less than 210 digs and the total attempts are more than 1116? ### Context: CREATE TABLE table_name_78 (total_blocks INTEGER, digs VARCHAR, total_attempts VARCHAR) [/INST] ### Response: SELECT AVG(total_blocks) FROM table_name_78 WHERE digs < 210 AND total_attempts > 1116 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English has German of leben? ### Context: CREATE TABLE table_name_26 (english VARCHAR, german VARCHAR) [/INST] ### Response: SELECT english FROM table_name_26 WHERE german = "leben" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Plautdietsch has Dutch of maken? ### Context: CREATE TABLE table_name_61 (plautdietsch VARCHAR, dutch VARCHAR) [/INST] ### Response: SELECT plautdietsch FROM table_name_61 WHERE dutch = "maken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English has Dutch of tong? ### Context: CREATE TABLE table_name_26 (english VARCHAR, dutch VARCHAR) [/INST] ### Response: SELECT english FROM table_name_26 WHERE dutch = "tong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English has Plautdietsch of aupel? ### Context: CREATE TABLE table_name_64 (english VARCHAR, plautdietsch VARCHAR) [/INST] ### Response: SELECT english FROM table_name_64 WHERE plautdietsch = "aupel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English has Dutch of maken? ### Context: CREATE TABLE table_name_37 (english VARCHAR, dutch VARCHAR) [/INST] ### Response: SELECT english FROM table_name_37 WHERE dutch = "maken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Country that has the Year(s) Won of 1988? ### Context: CREATE TABLE table_name_21 (country VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT country FROM table_name_21 WHERE year_s__won = "1988" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the average Total that has the To par smaller than 10, and the Country of south korea? ### Context: CREATE TABLE table_name_60 (total INTEGER, to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_60 WHERE to_par < 10 AND country = "south korea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Year(s) Won that has the Country of united states, and the Total larger than 152? ### Context: CREATE TABLE table_name_62 (year_s__won VARCHAR, country VARCHAR, total VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_62 WHERE country = "united states" AND total > 152 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Year(s) Won that has the To par larger than 5, and the Total smaller than 155, and the Country of united states? ### Context: CREATE TABLE table_name_18 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR, total VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_18 WHERE to_par > 5 AND total < 155 AND 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 golfer has a greater than 293 total, and won in 1989? ### Context: CREATE TABLE table_name_34 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT player FROM table_name_34 WHERE total > 293 AND year_s__won = "1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum total when the To par is +3? ### Context: CREATE TABLE table_name_16 (total INTEGER, to_par VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_16 WHERE to_par = "+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 golfer has 281 as their total? ### Context: CREATE TABLE table_name_52 (player VARCHAR, total VARCHAR) [/INST] ### Response: SELECT player FROM table_name_52 WHERE total = 281 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 capacity of the tsentral stadium (batumi)? ### Context: CREATE TABLE table_name_95 (capacity INTEGER, stadium VARCHAR) [/INST] ### Response: SELECT MAX(capacity) FROM table_name_95 WHERE stadium = "tsentral stadium (batumi)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What clubs are in the evgrapi shevardnadze stadium? ### Context: CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the stadium of the zooveti tbilisi club? ### Context: CREATE TABLE table_name_27 (stadium VARCHAR, clubs VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_27 WHERE clubs = "zooveti tbilisi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college had Jim Leonhard Category:articles with hcards? ### Context: CREATE TABLE table_name_79 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_79 WHERE player = "jim leonhard category:articles with hcards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's the original team for Rashied Davis Category:articles with hcards? ### Context: CREATE TABLE table_name_25 (original_nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college has Lance Moore Category:articles with hcards? ### Context: CREATE TABLE table_name_94 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_94 WHERE player = "lance moore category:articles with hcards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original NFL team when the POS is S and college is Georgia Tech? ### Context: CREATE TABLE table_name_31 (original_nfl_team VARCHAR, pos VARCHAR, college VARCHAR) [/INST] ### Response: SELECT original_nfl_team FROM table_name_31 WHERE pos = "s" AND college = "georgia tech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 birth of Oliver Buell's child? ### Context: CREATE TABLE table_name_32 (date_of_birth VARCHAR, child VARCHAR) [/INST] ### Response: SELECT date_of_birth FROM table_name_32 WHERE child = "oliver buell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 father that was born on January 2, 1842? ### Context: CREATE TABLE table_name_30 (father VARCHAR, date_of_birth VARCHAR) [/INST] ### Response: SELECT father FROM table_name_30 WHERE date_of_birth = "january 2, 1842" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 father of the child whose mother is Presendia Huntington Buell? ### Context: CREATE TABLE table_name_58 (father VARCHAR, mother VARCHAR) [/INST] ### Response: SELECT father FROM table_name_58 WHERE mother = "presendia huntington buell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 place in Germany with a score of 69-69=138? ### Context: CREATE TABLE table_name_24 (place VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_24 WHERE score = 69 - 69 = 138 AND country = "germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has a place of T6 that Eduardo Romero plays for? ### Context: CREATE TABLE table_name_73 (country VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_73 WHERE place = "t6" AND player = "eduardo romero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the to par for Scotland? ### Context: CREATE TABLE table_name_96 (to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_96 WHERE country = "scotland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for Darren Clarke? ### Context: CREATE TABLE table_name_73 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_73 WHERE player = "darren clarke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has a place of T6, a socre of 69-69=138, and where Niclas Fasth played? ### Context: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_17 WHERE place = "t6" AND score = 69 - 69 = 138 AND player = "niclas fasth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 losses that has more than 12 wins and 1017 against? ### Context: CREATE TABLE table_name_42 (losses VARCHAR, against VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT COUNT(losses) FROM table_name_42 WHERE against = 1017 AND wins > 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's the most wins of Tatong? ### Context: CREATE TABLE table_name_43 (wins INTEGER, benalla_dfl VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_43 WHERE benalla_dfl = "tatong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most number of byes for Longwood having less than 1944 against? ### Context: CREATE TABLE table_name_13 (byes INTEGER, benalla_dfl VARCHAR, against VARCHAR) [/INST] ### Response: SELECT MAX(byes) FROM table_name_13 WHERE benalla_dfl = "longwood" AND against < 1944 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest number against when the draws are less than 0? ### Context: CREATE TABLE table_name_21 (against INTEGER, draws INTEGER) [/INST] ### Response: SELECT MIN(against) FROM table_name_21 WHERE draws < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the average byes of Bonnie Doon having more than 16 wins? ### Context: CREATE TABLE table_name_54 (byes INTEGER, benalla_dfl VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(byes) FROM table_name_54 WHERE benalla_dfl = "bonnie doon" AND wins > 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 Rovigo's Club? ### Context: CREATE TABLE table_name_91 (club VARCHAR, city VARCHAR) [/INST] ### Response: SELECT club FROM table_name_91 WHERE city = "rovigo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 2007-08 had A.S. Gubbio 1910 Club? ### Context: CREATE TABLE table_name_15 (club VARCHAR) [/INST] ### Response: SELECT 2007 AS _08_season FROM table_name_15 WHERE club = "a.s. gubbio 1910" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a total of 295? ### Context: CREATE TABLE table_name_49 (country VARCHAR, total VARCHAR) [/INST] ### Response: SELECT country FROM table_name_49 WHERE total = 295 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date is West Ham United the Home team? ### Context: CREATE TABLE table_name_35 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_35 WHERE home_team = "west ham united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date was the Score 4–1? ### Context: CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_76 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: What is the Away team of Tie no 1? ### Context: CREATE TABLE table_name_68 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_68 WHERE tie_no = "1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Tie no when Crystal Palace is the Away team? ### Context: CREATE TABLE table_name_37 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_37 WHERE away_team = "crystal palace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home team of Tie no 11? ### Context: CREATE TABLE table_name_66 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_66 WHERE tie_no = "11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date is West Ham United the Home team? ### Context: CREATE TABLE table_name_84 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_84 WHERE home_team = "west ham united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of Week 4 has a Week 1 of sheila levell? ### Context: CREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR) [/INST] ### Response: SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of Week 2 has a Week 4 of araya robinson? ### Context: CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR) [/INST] ### Response: SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of Week 4 has a Week 2 of tiffany logan? ### Context: CREATE TABLE table_name_65 (week_4 VARCHAR, week_2 VARCHAR) [/INST] ### Response: SELECT week_4 FROM table_name_65 WHERE week_2 = "tiffany logan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what kind of Week 5 that has a Week 1 of mandy ashford? ### Context: CREATE TABLE table_name_68 (week_5 VARCHAR, week_1 VARCHAR) [/INST] ### Response: SELECT week_5 FROM table_name_68 WHERE week_1 = "mandy ashford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What kind of Week 2 that has a Week 1 of mandy ashford? ### Context: CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR) [/INST] ### Response: SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Week 2 that has a Week 1 of mackenzie ryan? ### Context: CREATE TABLE table_name_81 (week_2 VARCHAR, week_1 VARCHAR) [/INST] ### Response: SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 weight shows head coach: Aleksandr Kabanov? ### Context: CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 park & ride lot for the Temple Square station? ### Context: CREATE TABLE table_name_97 (park_and_ride_lot VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT park_and_ride_lot FROM table_name_97 WHERE station_name = "temple square" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the Temple Square station, what is the park & ride lot name? ### Context: CREATE TABLE table_name_53 (park_and_ride_lot VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT park_and_ride_lot FROM table_name_53 WHERE station_name = "temple square" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 station was opened in 2013, with no park & ride lot? ### Context: CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR) [/INST] ### Response: SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the free fare zone for the Arena station? ### Context: CREATE TABLE table_name_65 (free_fare_zone VARCHAR, station_name VARCHAR) [/INST] ### Response: SELECT free_fare_zone FROM table_name_65 WHERE station_name = "arena" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Calvin Abueva Calvin Abueva had what statistic? ### Context: CREATE TABLE table_name_70 (statistic VARCHAR, name VARCHAR) [/INST] ### Response: SELECT statistic FROM table_name_70 WHERE name = "calvin abueva calvin abueva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposing team was SSC-R what was the statistic? ### Context: CREATE TABLE table_name_79 (statistic VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT statistic FROM table_name_79 WHERE opponent = "ssc-r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SSC-R is the opponent what is the name? ### Context: CREATE TABLE table_name_70 (name VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT name FROM table_name_70 WHERE opponent = "ssc-r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a statistic of most points, what is the stage? ### Context: CREATE TABLE table_name_7 (stage VARCHAR, statistic VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_7 WHERE statistic = "most points" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposing team was CSB UPHDS what was the total? ### Context: CREATE TABLE table_name_49 (total VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT total FROM table_name_49 WHERE opponent = "csb uphds" </s>