text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the permanence of the body where penance is the undifferenced ### Context: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, penance VARCHAR) [/INST] ### Response: SELECT permanence_of_the_body FROM table_11609814_1 WHERE penance = "the undifferenced" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constancy where permanence of the body is meditation ### Context: CREATE TABLE table_11609814_1 (constancy VARCHAR, permanence_of_the_body VARCHAR) [/INST] ### Response: SELECT constancy FROM table_11609814_1 WHERE permanence_of_the_body = "meditation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 permanence of the body where constancy is interestedness ### Context: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, constancy VARCHAR) [/INST] ### Response: SELECT permanence_of_the_body FROM table_11609814_1 WHERE constancy = "interestedness" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the episode with the production code 624? ### Context: CREATE TABLE table_11630008_8 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_11630008_8 WHERE production_code = 624 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date of the episode written by Karen Felix and Don Woodard? ### Context: CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the total number of species in the peruvian amazon with 8411 species in the world  ### Context: CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon VARCHAR, species_in_the_world VARCHAR) [/INST] ### Response: SELECT COUNT(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE species_in_the_world = 8411 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum species in the peruvian amazon with taxonomy s fern ( pteridophyta ) ### Context: CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon INTEGER, taxonomy VARCHAR) [/INST] ### Response: SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE taxonomy = "s Fern ( Pteridophyta )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 species in the world with peruvian amazon vs. peru (percent)  of 63 ### Context: CREATE TABLE table_11727969_1 (species_in_the_world VARCHAR, peruvian_amazon_vs_peru__percent_ VARCHAR) [/INST] ### Response: SELECT species_in_the_world FROM table_11727969_1 WHERE peruvian_amazon_vs_peru__percent_ = 63 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum species in the peruvian amazon with species in peru of 1000 ### Context: CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon INTEGER, species_in_peru VARCHAR) [/INST] ### Response: SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE species_in_peru = 1000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum species in the peruvian amazon with peru vs. world (percent) value of 7 ### Context: CREATE TABLE table_11727969_1 (species_in_the_peruvian_amazon INTEGER, peru_vs_world__percent_ VARCHAR) [/INST] ### Response: SELECT MIN(species_in_the_peruvian_amazon) FROM table_11727969_1 WHERE peru_vs_world__percent_ = 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's the maximum peru vs. world (percent) with 9672 species in the world  ### Context: CREATE TABLE table_11727969_1 (peru_vs_world__percent_ INTEGER, species_in_the_world VARCHAR) [/INST] ### Response: SELECT MAX(peru_vs_world__percent_) FROM table_11727969_1 WHERE species_in_the_world = 9672 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school did the forward whose number is 10 belong to? ### Context: CREATE TABLE table_11734041_2 (school_club_team_country VARCHAR, no_s_ VARCHAR, position VARCHAR) [/INST] ### Response: SELECT school_club_team_country FROM table_11734041_2 WHERE no_s_ = "10" AND position = "Forward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 height of the player who attended Hartford? ### Context: CREATE TABLE table_11734041_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR) [/INST] ### Response: SELECT height_in_ft FROM table_11734041_2 WHERE school_club_team_country = "Hartford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What years did the player from LaSalle play for the Rockets? ### Context: CREATE TABLE table_11734041_2 (years_for_rockets VARCHAR, school_club_team_country VARCHAR) [/INST] ### Response: SELECT years_for_rockets FROM table_11734041_2 WHERE school_club_team_country = "LaSalle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position is number 35 whose height is 6-6? ### Context: CREATE TABLE table_11734041_2 (position VARCHAR, height_in_ft VARCHAR, no_s_ VARCHAR) [/INST] ### Response: SELECT position FROM table_11734041_2 WHERE height_in_ft = "6-6" AND no_s_ = "35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player who played for the Rockets for the years 1986-92? ### Context: CREATE TABLE table_11734041_9 (player VARCHAR, years_for_rockets VARCHAR) [/INST] ### Response: SELECT player FROM table_11734041_9 WHERE years_for_rockets = "1986-92" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of the player who went to Southern University? ### Context: CREATE TABLE table_11734041_9 (no_s_ VARCHAR, school_club_team_country VARCHAR) [/INST] ### Response: SELECT no_s_ FROM table_11734041_9 WHERE school_club_team_country = "Southern 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: How tall is the player jones, major major jones? ### Context: CREATE TABLE table_11734041_9 (height_in_ft VARCHAR, player VARCHAR) [/INST] ### Response: SELECT height_in_ft FROM table_11734041_9 WHERE player = "Jones, Major Major Jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sent to the third island in week 1? ### Context: CREATE TABLE table_11764007_2 (member VARCHAR, week_sent_to_third_island VARCHAR) [/INST] ### Response: SELECT member FROM table_11764007_2 WHERE week_sent_to_third_island = "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 week was the member who arrived on the main island in week 6 sent to the third island? ### Context: CREATE TABLE table_11764007_2 (week_sent_to_third_island VARCHAR, week_arrived_on_main_island VARCHAR) [/INST] ### Response: SELECT week_sent_to_third_island FROM table_11764007_2 WHERE week_arrived_on_main_island = "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: How many members arrived on the main island in week 4? ### Context: CREATE TABLE table_11764007_2 (member VARCHAR, week_arrived_on_main_island VARCHAR) [/INST] ### Response: SELECT COUNT(member) FROM table_11764007_2 WHERE week_arrived_on_main_island = "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 week did the member who's original tribe was shark and who was sent to the third island on week 14 arrive on the main island? ### Context: CREATE TABLE table_11764007_2 (week_arrived_on_main_island VARCHAR, original_tribe VARCHAR, week_sent_to_third_island VARCHAR) [/INST] ### Response: SELECT week_arrived_on_main_island FROM table_11764007_2 WHERE original_tribe = "Shark" AND week_sent_to_third_island = "14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of sikhs in Japan? ### Context: CREATE TABLE table_11800185_1 (no_of_sikhs VARCHAR, country VARCHAR) [/INST] ### Response: SELECT no_of_sikhs FROM table_11800185_1 WHERE country = "Japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 evening gown score when the swimsuit was 9.61? ### Context: CREATE TABLE table_11884814_3 (evening_gown VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT evening_gown FROM table_11884814_3 WHERE swimsuit = "9.61" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimsuit score when the interview was 9.74? ### Context: CREATE TABLE table_11884814_3 (swimsuit VARCHAR, interview VARCHAR) [/INST] ### Response: SELECT swimsuit FROM table_11884814_3 WHERE interview = "9.74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an interview score of 9.40 and average of 9.44? ### Context: CREATE TABLE table_11884814_3 (country VARCHAR, interview VARCHAR, average VARCHAR) [/INST] ### Response: SELECT country FROM table_11884814_3 WHERE interview = "9.40" AND average = "9.44" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the swimsuit score 9.67? ### Context: CREATE TABLE table_11884814_3 (country VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT country FROM table_11884814_3 WHERE swimsuit = "9.67" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the average for the country with the swimsuit score of 9.57? ### Context: CREATE TABLE table_11884814_3 (average VARCHAR, swimsuit VARCHAR) [/INST] ### Response: SELECT average FROM table_11884814_3 WHERE swimsuit = "9.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 was the interview score for Hawaii? ### Context: CREATE TABLE table_11884814_3 (interview VARCHAR, country VARCHAR) [/INST] ### Response: SELECT interview FROM table_11884814_3 WHERE country = "Hawaii" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Game 50? ### Context: CREATE TABLE table_11960407_5 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_11960407_5 WHERE game = 50 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scored the most points in Game 49? ### Context: CREATE TABLE table_11960407_5 (high_points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_points FROM table_11960407_5 WHERE game = 49 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of teams at the philips arena 19,335? ### Context: CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT COUNT(team) FROM table_11961582_6 WHERE location_attendance = "Philips Arena 19,335" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 located at philips arena 18,227? ### Context: CREATE TABLE table_11961582_6 (team VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT team FROM table_11961582_6 WHERE location_attendance = "Philips Arena 18,227" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the records with a score is w 98–91 ### Context: CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_11964047_7 WHERE score = "W 98–91" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what records have a score of l 109–116 2 ot ### Context: CREATE TABLE table_11964047_7 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_11964047_7 WHERE score = "L 109–116 2 OT" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are all the visitor with a record of 25–18 ### Context: CREATE TABLE table_11964047_7 (visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT visitor FROM table_11964047_7 WHERE record = "25–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: Which visitors have a leading scorer of roy : 25 ### Context: CREATE TABLE table_11964047_7 (visitor VARCHAR, leading_scorer VARCHAR) [/INST] ### Response: SELECT visitor FROM table_11964047_7 WHERE leading_scorer = "Roy : 25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of dates where the scorer is gordon : 32 ### Context: CREATE TABLE table_11964047_7 (date VARCHAR, leading_scorer VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_11964047_7 WHERE leading_scorer = "Gordon : 32" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team where streak is l3 and leading scorer is roy : 23 ### Context: CREATE TABLE table_11964047_5 (home VARCHAR, streak VARCHAR, leading_scorer VARCHAR) [/INST] ### Response: SELECT home FROM table_11964047_5 WHERE streak = "L3" AND leading_scorer = "Roy : 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the attendance where score is l 92–101 ### Context: CREATE TABLE table_11964047_5 (attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT attendance FROM table_11964047_5 WHERE score = "L 92–101" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of date where visitor is new jersey nets ### Context: CREATE TABLE table_11964047_5 (date VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_11964047_5 WHERE visitor = "New Jersey Nets" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leading scorer where home is charlotte bobcats ### Context: CREATE TABLE table_11964047_5 (leading_scorer VARCHAR, home VARCHAR) [/INST] ### Response: SELECT leading_scorer FROM table_11964047_5 WHERE home = "Charlotte Bobcats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score where record is 0–2 ### Context: CREATE TABLE table_11964047_5 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_11964047_5 WHERE record = "0–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 total number of record where streak is l2 and leading scorer is roy : 23 ### Context: CREATE TABLE table_11964047_5 (record VARCHAR, streak VARCHAR, leading_scorer VARCHAR) [/INST] ### Response: SELECT COUNT(record) FROM table_11964047_5 WHERE streak = "L2" AND leading_scorer = "Roy : 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the location on june 10 ### Context: CREATE TABLE table_11965481_13 (location_attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_11965481_13 WHERE date = "June 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: Name the number of games on june 12 ### Context: CREATE TABLE table_11965481_13 (game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_11965481_13 WHERE date = "June 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: Name the series on june 5 ### Context: CREATE TABLE table_11965481_13 (series VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series FROM table_11965481_13 WHERE date = "June 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the authors of series episode #25? ### Context: CREATE TABLE table_12030612_3 (written_by VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT written_by FROM table_12030612_3 WHERE series__number = 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What season features writer Michael Poryes? ### Context: CREATE TABLE table_12030612_3 (season__number VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT season__number FROM table_12030612_3 WHERE written_by = "Michael Poryes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode written by Michael Poryes? ### Context: CREATE TABLE table_12030612_3 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_12030612_3 WHERE written_by = "Michael Poryes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 somerset for the year 2009? ### Context: CREATE TABLE table_12043148_2 (somerset VARCHAR, year VARCHAR) [/INST] ### Response: SELECT somerset FROM table_12043148_2 WHERE year = 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bristol & n. som where the somerset is ashcott and shapwick? ### Context: CREATE TABLE table_12043148_2 (bristol_ VARCHAR, _n_som VARCHAR, somerset VARCHAR) [/INST] ### Response: SELECT bristol_ & _n_som FROM table_12043148_2 WHERE somerset = "Ashcott and Shapwick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest year where glos & wilts is warminster? ### Context: CREATE TABLE table_12043148_2 (year INTEGER, glos_ VARCHAR, _wilts VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_12043148_2 WHERE glos_ & _wilts = "Warminster" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 glos & wilts where the bristol & somerset is lansdown? ### Context: CREATE TABLE table_12043148_2 (glos_ VARCHAR, _wilts VARCHAR, bristol_ VARCHAR, _somerset VARCHAR) [/INST] ### Response: SELECT glos_ & _wilts FROM table_12043148_2 WHERE bristol_ & _somerset = "Lansdown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the year where glos & wilts is gloucester city winget? ### Context: CREATE TABLE table_12043148_2 (year VARCHAR, glos_ VARCHAR, _wilts VARCHAR) [/INST] ### Response: SELECT year FROM table_12043148_2 WHERE glos_ & _wilts = "Gloucester City Winget" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 many times is gloucestershire is painswick? ### Context: CREATE TABLE table_12043148_2 (premier_two VARCHAR, gloucestershire VARCHAR) [/INST] ### Response: SELECT COUNT(premier_two) FROM table_12043148_2 WHERE gloucestershire = "Painswick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 preliminaries where evening gown is 8.988 ### Context: CREATE TABLE table_12094609_1 (preliminaries VARCHAR, evening_gown VARCHAR) [/INST] ### Response: SELECT preliminaries FROM table_12094609_1 WHERE evening_gown = "8.988" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 swimsuit where average is 8.670 ### Context: CREATE TABLE table_12094609_1 (swimsuit VARCHAR, average VARCHAR) [/INST] ### Response: SELECT swimsuit FROM table_12094609_1 WHERE average = "8.670" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 evening gown where preliminaries is 8.977 ### Context: CREATE TABLE table_12094609_1 (evening_gown VARCHAR, preliminaries VARCHAR) [/INST] ### Response: SELECT evening_gown FROM table_12094609_1 WHERE preliminaries = "8.977" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 preliminaries where state is south dakota ### Context: CREATE TABLE table_12094609_1 (preliminaries VARCHAR, state VARCHAR) [/INST] ### Response: SELECT preliminaries FROM table_12094609_1 WHERE state = "South Dakota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 evening gown where state is south dakota ### Context: CREATE TABLE table_12094609_1 (evening_gown VARCHAR, state VARCHAR) [/INST] ### Response: SELECT evening_gown FROM table_12094609_1 WHERE state = "South Dakota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the total number of average where evening gown is 8.988 ### Context: CREATE TABLE table_12094609_1 (average VARCHAR, evening_gown VARCHAR) [/INST] ### Response: SELECT COUNT(average) FROM table_12094609_1 WHERE evening_gown = "8.988" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 men's singles of marina yakusheva elena shimko ### Context: CREATE TABLE table_12104319_1 (mens_singles VARCHAR, womens_doubles VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12104319_1 WHERE womens_doubles = "Marina Yakusheva Elena Shimko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 womens singles of imam sodikin irawan andi tandaputra? ### Context: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, mens_doubles VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_12104319_1 WHERE mens_doubles = "Imam Sodikin Irawan Andi Tandaputra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 womens singles of naoko fukuman kurumi yonao? ### Context: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, womens_doubles VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_12104319_1 WHERE womens_doubles = "Naoko Fukuman Kurumi Yonao" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 womens singles of marcus ellis gabrielle white? ### Context: CREATE TABLE table_12104319_1 (womens_singles VARCHAR, mixed_doubles VARCHAR) [/INST] ### Response: SELECT womens_singles FROM table_12104319_1 WHERE mixed_doubles = "Marcus Ellis Gabrielle White" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mens singles of 2008? ### Context: CREATE TABLE table_12104319_1 (mens_singles VARCHAR, year VARCHAR) [/INST] ### Response: SELECT mens_singles FROM table_12104319_1 WHERE year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the gdp ( bn ) where capital is capital? ### Context: CREATE TABLE table_12108_1 (gdp___bn__ VARCHAR) [/INST] ### Response: SELECT gdp___bn__ FROM table_12108_1 WHERE "capital" = "capital" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the population where the area (sq. mi.) is area (sq. mi.)? ### Context: CREATE TABLE table_12108_1 (population VARCHAR) [/INST] ### Response: SELECT population FROM table_12108_1 WHERE "area__sq_mi_" = "area__sq_mi_" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00? ### Context: CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR) [/INST] ### Response: SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the plaza where the toll for heavy vehicles with 2 axles is r87.00? ### Context: CREATE TABLE table_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR) [/INST] ### Response: SELECT name FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 toll for heavy vehicles with 3/4 axles at Verkeerdevlei toll plaza? ### Context: CREATE TABLE table_1211545_2 (heavy_vehicle__3_4_axles_ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT heavy_vehicle__3_4_axles_ FROM table_1211545_2 WHERE name = "Verkeerdevlei Toll Plaza" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the location of the Carousel toll plaza? ### Context: CREATE TABLE table_1211545_2 (location VARCHAR, name VARCHAR) [/INST] ### Response: SELECT location FROM table_1211545_2 WHERE name = "Carousel Toll Plaza" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 toll for light vehicles at the plaza between bela bela and modimolle? ### Context: CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, location VARCHAR) [/INST] ### Response: SELECT light_vehicle FROM table_1211545_2 WHERE location = "between Bela Bela and Modimolle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the plaza where the told for heavy vehicles with 2 axles is r20.50? ### Context: CREATE TABLE table_1211545_2 (name VARCHAR, heavy_vehicle__2_axles_ VARCHAR) [/INST] ### Response: SELECT name FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R20.50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 inclination when the alt name is OPS-1584? ### Context: CREATE TABLE table_12141496_1 (inclination VARCHAR, alt_name VARCHAR) [/INST] ### Response: SELECT inclination FROM table_12141496_1 WHERE alt_name = "OPS-1584" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 apogee for samos f3-3? ### Context: CREATE TABLE table_12141496_1 (apogee__km_ INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(apogee__km_) FROM table_12141496_1 WHERE name = "SAMOS F3-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 was the maximum perigee on 1969-01-09? ### Context: CREATE TABLE table_12141496_1 (perigee__km_ INTEGER, decay_date VARCHAR) [/INST] ### Response: SELECT MAX(perigee__km_) FROM table_12141496_1 WHERE decay_date = "1969-01-09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 alt names does 1964-011a have? ### Context: CREATE TABLE table_12141496_1 (alt_name VARCHAR, id VARCHAR) [/INST] ### Response: SELECT COUNT(alt_name) FROM table_12141496_1 WHERE id = "1964-011A" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played SS when paul konerko played 1st base? ### Context: CREATE TABLE table_12142298_2 (shortstop VARCHAR, first_baseman VARCHAR) [/INST] ### Response: SELECT shortstop FROM table_12142298_2 WHERE first_baseman = "Paul Konerko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played 2nd base when nomar garciaparra was at 1st base? ### Context: CREATE TABLE table_12142298_2 (second_baseman VARCHAR, first_baseman VARCHAR) [/INST] ### Response: SELECT second_baseman FROM table_12142298_2 WHERE first_baseman = "Nomar Garciaparra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 RF when the SP was vicente padilla? ### Context: CREATE TABLE table_12142298_2 (rightfielder VARCHAR, starting_pitcher VARCHAR) [/INST] ### Response: SELECT rightfielder FROM table_12142298_2 WHERE starting_pitcher = "Vicente Padilla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SS when jim lefebvre was at 2nd, willie davis at CF, and don drysdale was the SP. ### Context: CREATE TABLE table_12142298_2 (shortstop VARCHAR, starting_pitcher VARCHAR, second_baseman VARCHAR, centerfielder VARCHAR) [/INST] ### Response: SELECT shortstop FROM table_12142298_2 WHERE second_baseman = "Jim Lefebvre" AND centerfielder = "Willie Davis" AND starting_pitcher = "Don Drysdale" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top scorer where gf is 41? ### Context: CREATE TABLE table_1218784_1 (top_scorer VARCHAR, gf VARCHAR) [/INST] ### Response: SELECT top_scorer FROM table_1218784_1 WHERE gf = 41 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were scored in the 2005-06 season? ### Context: CREATE TABLE table_1218784_1 (goals VARCHAR, season VARCHAR) [/INST] ### Response: SELECT goals FROM table_1218784_1 WHERE season = "2005-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons had a rank of 16? ### Context: CREATE TABLE table_1218784_1 (season VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_1218784_1 WHERE rank = 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: Who is the manager whose rank is 16? ### Context: CREATE TABLE table_1218784_1 (manager VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT manager FROM table_1218784_1 WHERE rank = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank of manager Rob Mcdonald? ### Context: CREATE TABLE table_1218784_1 (rank VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_1218784_1 WHERE manager = "Rob McDonald" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 order number of the song originally performed by Rickie Lee Jones? ### Context: CREATE TABLE table_12310814_1 (order__number VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT order__number FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the Top 3 episode? ### Context: CREATE TABLE table_12310814_1 (result VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT result FROM table_12310814_1 WHERE episode = "Top 3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the total number of songs originally performed by Anna Nalick? ### Context: CREATE TABLE table_12310814_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT COUNT(song_choice) FROM table_12310814_1 WHERE original_artist = "Anna Nalick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 one of the songs was originally performed by Rickie Lee Jones? ### Context: CREATE TABLE table_12310814_1 (song_choice VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT song_choice FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist of the song performed in the top 3 episode? ### Context: CREATE TABLE table_12310814_1 (original_artist VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT original_artist FROM table_12310814_1 WHERE episode = "Top 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 # of seats one for the election in 1974? ### Context: CREATE TABLE table_123462_2 (_number_of_seats_won VARCHAR, election VARCHAR) [/INST] ### Response: SELECT _number_of_seats_won FROM table_123462_2 WHERE election = 1974 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times was the # of total votes 2582322? ### Context: CREATE TABLE table_123462_2 (_number_of_seats_won VARCHAR, _number_of_total_votes VARCHAR) [/INST] ### Response: SELECT COUNT(_number_of_seats_won) FROM table_123462_2 WHERE _number_of_total_votes = 2582322 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the election when the # of seats won was 65? ### Context: CREATE TABLE table_123462_2 (election VARCHAR, _number_of_seats_won VARCHAR) [/INST] ### Response: SELECT election FROM table_123462_2 WHERE _number_of_seats_won = 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 election year when the # of candidates nominated was 262? ### Context: CREATE TABLE table_123462_2 (election VARCHAR, _number_of_candidates_nominated VARCHAR) [/INST] ### Response: SELECT COUNT(election) FROM table_123462_2 WHERE _number_of_candidates_nominated = 262 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the lowest # of total votes? ### Context: CREATE TABLE table_123462_2 (_number_of_total_votes INTEGER) [/INST] ### Response: SELECT MIN(_number_of_total_votes) FROM table_123462_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 strongs words compounded when the english spelling is jonadab? ### Context: CREATE TABLE table_1242447_1 (strongs_words_compounded VARCHAR, english_spelling VARCHAR) [/INST] ### Response: SELECT strongs_words_compounded FROM table_1242447_1 WHERE english_spelling = "Jonadab" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 strong words compounded when the strongs transliteration is yowyariyb? ### Context: CREATE TABLE table_1242447_1 (strongs_words_compounded VARCHAR, strongs_transliteration VARCHAR) [/INST] ### Response: SELECT strongs_words_compounded FROM table_1242447_1 WHERE strongs_transliteration = "Yowyariyb" </s>