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: Name the report for 2003 ### Context: CREATE TABLE table_2266230_1 (report VARCHAR, year VARCHAR) [/INST] ### Response: SELECT report FROM table_2266230_1 WHERE year = "2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opened if thedistrict ID is 11901? ### Context: CREATE TABLE table_22665117_1 (date_opened VARCHAR, dist_id VARCHAR) [/INST] ### Response: SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the district name is the Academy of Flint, what is the authorizing agency? ### Context: CREATE TABLE table_22665117_1 (authorizing_agency VARCHAR, district_name VARCHAR) [/INST] ### Response: SELECT authorizing_agency FROM table_22665117_1 WHERE district_name = "Academy of Flint" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the district ID is 74907, what is the name of the district? ### Context: CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR) [/INST] ### Response: SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the name of the district is the Charyl Stockwell Academy, what is the county name? ### Context: CREATE TABLE table_22665117_1 (county VARCHAR, district_name VARCHAR) [/INST] ### Response: SELECT county FROM table_22665117_1 WHERE district_name = "Charyl Stockwell Academy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver in 1986? ### Context: CREATE TABLE table_2266976_1 (driver VARCHAR, year VARCHAR) [/INST] ### Response: SELECT driver FROM table_2266976_1 WHERE year = "1986" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an average speed of 81.388 mph recorded? ### Context: CREATE TABLE table_2266976_1 (date VARCHAR, average_speed__mph_ VARCHAR) [/INST] ### Response: SELECT date FROM table_2266976_1 WHERE average_speed__mph_ = "81.388" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer in 1990? ### Context: CREATE TABLE table_2266976_1 (manufacturer VARCHAR, year VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_2266976_1 WHERE year = "1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer in the year when the race lasted 2:30:28? ### Context: CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team competed in 2003? ### Context: CREATE TABLE table_2266976_1 (team VARCHAR, year VARCHAR) [/INST] ### Response: SELECT team FROM table_2266976_1 WHERE year = "2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long in miles (km) was the race that lasted 3:07:53? ### Context: CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race name for june 6 ### Context: CREATE TABLE table_22669375_1 (race_name VARCHAR, date VARCHAR) [/INST] ### Response: SELECT race_name FROM table_22669375_1 WHERE date = "June 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: Name the location for trenton 300 ### Context: CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race name for rnd being 11 ### Context: CREATE TABLE table_22669375_1 (race_name VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT race_name FROM table_22669375_1 WHERE rnd = 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: What length was won by Roger McCluskey? ### Context: CREATE TABLE table_22669816_1 (length VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT length FROM table_22669816_1 WHERE winning_driver = "Roger McCluskey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What rounds did Phoenix International Raceway host? ### Context: CREATE TABLE table_22669816_1 (rnd VARCHAR, track VARCHAR) [/INST] ### Response: SELECT rnd FROM table_22669816_1 WHERE track = "Phoenix International Raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lengths hosted by Pocono International Raceway? ### Context: CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR) [/INST] ### Response: SELECT length FROM table_22669816_1 WHERE track = "Pocono International Raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What lengths did Phoenix International Raceway host? ### Context: CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR) [/INST] ### Response: SELECT length FROM table_22669816_1 WHERE track = "Phoenix International Raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for score being l 83–118 (ot) ### Context: CREATE TABLE table_22669044_7 (location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_22669044_7 WHERE score = "L 83–118 (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: Name the high assists for december 9 ### Context: CREATE TABLE table_22669044_7 (high_assists VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_22669044_7 WHERE date = "December 9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand? ### Context: CREATE TABLE table_2267345_2 (winner VARCHAR, team_classification VARCHAR, combativity_award VARCHAR) [/INST] ### Response: SELECT COUNT(winner) FROM table_2267345_2 WHERE team_classification = "Kelme-Costa Blanca" AND combativity_award = "Jacky Durand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker? ### Context: CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND winner = "Erik Dekker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand? ### Context: CREATE TABLE table_2267345_2 (team_classification VARCHAR, young_rider_classification VARCHAR, combativity_award VARCHAR) [/INST] ### Response: SELECT COUNT(team_classification) FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND combativity_award = "Jacky Durand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what round did Al Unser win at Wisconsin State Fair Park Speedway? ### Context: CREATE TABLE table_22673872_1 (rnd INTEGER, winning_driver VARCHAR, track VARCHAR) [/INST] ### Response: SELECT MIN(rnd) FROM table_22673872_1 WHERE winning_driver = "Al Unser" AND track = "Wisconsin State Fair Park Speedway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races are in College Station, Texas and won by Johnny Rutherford? ### Context: CREATE TABLE table_22673872_1 (race_name VARCHAR, location VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT COUNT(race_name) FROM table_22673872_1 WHERE location = "College Station, Texas" AND winning_driver = "Johnny Rutherford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the race that Al Unser had the pole position? ### Context: CREATE TABLE table_22673872_1 (race_name VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT race_name FROM table_22673872_1 WHERE pole_position = "Al Unser" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 track for the International 500 mile Sweepstakes race? ### Context: CREATE TABLE table_22673872_1 (track VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT track FROM table_22673872_1 WHERE race_name = "International 500 Mile Sweepstakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations did Gordon Johncock hold the pole position? ### Context: CREATE TABLE table_22673872_1 (location VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT location FROM table_22673872_1 WHERE pole_position = "Gordon Johncock" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What classifications does Fish Rap live! has? ### Context: CREATE TABLE table_2266990_2 (classification VARCHAR, title VARCHAR) [/INST] ### Response: SELECT classification FROM table_2266990_2 WHERE title = "Fish Rap Live!" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races took place on October 1? ### Context: CREATE TABLE table_22673956_1 (race_name VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(race_name) FROM table_22673956_1 WHERE date = "October 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: How many types of tracks are there on the Phoenix International raceway? ### Context: CREATE TABLE table_22673956_1 (type VARCHAR, track VARCHAR) [/INST] ### Response: SELECT COUNT(type) FROM table_22673956_1 WHERE track = "Phoenix International Raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Daily Empress Indy Silverstone took place on which round? ### Context: CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR) [/INST] ### Response: SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = "Daily Empress Indy Silverstone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 races took place on the Indianapolis Motor Speedway track? ### Context: CREATE TABLE table_22673956_1 (race_name VARCHAR, track VARCHAR) [/INST] ### Response: SELECT COUNT(race_name) FROM table_22673956_1 WHERE track = "Indianapolis Motor Speedway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What driver achieved a 3:50:12 race time? ### Context: CREATE TABLE table_2267465_1 (driver VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT driver FROM table_2267465_1 WHERE race_time = "3:50: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: Can you tell me the manufacturer behind Race Hill Farm Team? ### Context: CREATE TABLE table_2267465_1 (manufacturer VARCHAR, team VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps have a 3:34:26 race time? ### Context: CREATE TABLE table_2267465_1 (laps VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = "3:34:26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average mph of 1964? ### Context: CREATE TABLE table_2267465_1 (average_speed__mph_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT average_speed__mph_ FROM table_2267465_1 WHERE year = "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: Whose is the manufacturer for team Ranier-Lundy? ### Context: CREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_2268216_1 WHERE team = "Ranier-Lundy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year was the average speed 92.68? ### Context: CREATE TABLE table_2268216_1 (year VARCHAR, average_speed__mph_ VARCHAR) [/INST] ### Response: SELECT year FROM table_2268216_1 WHERE average_speed__mph_ = "92.68" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years was Pontiac the manufacturer for Joe Gibbs Racing? ### Context: CREATE TABLE table_2268216_1 (year VARCHAR, team VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_2268216_1 WHERE team = "Joe Gibbs Racing" AND manufacturer = "Pontiac" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the race that had the time of 2:43:19? ### Context: CREATE TABLE table_2268216_1 (date VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT date FROM table_2268216_1 WHERE race_time = "2:43:19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average speeds are listed in the year 2003? ### Context: CREATE TABLE table_2268216_1 (average_speed__mph_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(average_speed__mph_) FROM table_2268216_1 WHERE year = "2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team had a race time of 2:53:57? ### Context: CREATE TABLE table_2268216_1 (team VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT team FROM table_2268216_1 WHERE race_time = "2:53: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: Name the sprint classification being alejandro valverde ### Context: CREATE TABLE table_22713796_14 (sprint_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT sprint_classification FROM table_22713796_14 WHERE winner = "Alejandro Valverde" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage for no award ### Context: CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR) [/INST] ### Response: SELECT stage FROM table_22713796_14 WHERE mountains_classification = "no award" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of stage for lloyd mondory ### Context: CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR) [/INST] ### Response: SELECT COUNT(stage) FROM table_22713796_14 WHERE mountains_classification = "Lloyd Mondory" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most stage for alejandro valverde and astana greg henderson ### Context: CREATE TABLE table_22713796_14 (stage INTEGER, winner VARCHAR, general_classification VARCHAR, team_classification VARCHAR) [/INST] ### Response: SELECT MAX(stage) FROM table_22713796_14 WHERE general_classification = "Alejandro Valverde" AND team_classification = "Astana" AND winner = "Greg Henderson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Border Conference was held, who was the tournament winner? ### Context: CREATE TABLE table_22733636_1 (tournament_winner VARCHAR, conference VARCHAR) [/INST] ### Response: SELECT tournament_winner FROM table_22733636_1 WHERE conference = "Border conference" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Princeton was the regular season winner, who was the tournament winner? ### Context: CREATE TABLE table_22733636_1 (tournament_winner VARCHAR, regular_season_winner VARCHAR) [/INST] ### Response: SELECT tournament_winner FROM table_22733636_1 WHERE regular_season_winner = "Princeton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 long has Mel Daniels been playing? ### Context: CREATE TABLE table_22719663_3 (experience VARCHAR, name VARCHAR) [/INST] ### Response: SELECT experience FROM table_22719663_3 WHERE name = "Mel Daniels" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position did the player from San Jose State play? ### Context: CREATE TABLE table_22719663_3 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_22719663_3 WHERE college = "San Jose State" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of the player that was 6-6? ### Context: CREATE TABLE table_22719663_3 (number VARCHAR, height VARCHAR) [/INST] ### Response: SELECT number FROM table_22719663_3 WHERE height = "6-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: If the song choice is Coba and the order number is 10, what is the result? ### Context: CREATE TABLE table_22736523_1 (result VARCHAR, order__number VARCHAR, song_choice VARCHAR) [/INST] ### Response: SELECT result FROM table_22736523_1 WHERE order__number = "10" AND song_choice = "Coba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result if Coba is the song choice? ### Context: CREATE TABLE table_22736523_1 (result VARCHAR, song_choice VARCHAR) [/INST] ### Response: SELECT result FROM table_22736523_1 WHERE song_choice = "Coba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If Coba is the song choice, what is the order number? ### Context: CREATE TABLE table_22736523_1 (order__number VARCHAR, song_choice VARCHAR) [/INST] ### Response: SELECT order__number FROM table_22736523_1 WHERE song_choice = "Coba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If Crazy In Love is the song choice, what is the theme? ### Context: CREATE TABLE table_22736523_1 (theme VARCHAR, song_choice VARCHAR) [/INST] ### Response: SELECT theme FROM table_22736523_1 WHERE song_choice = "Crazy In Love" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week number of the top 40, what was the results? ### Context: CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) [/INST] ### Response: SELECT result FROM table_22736523_1 WHERE week__number = "Top 40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For week of top 9, what were the results? ### Context: CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) [/INST] ### Response: SELECT result FROM table_22736523_1 WHERE week__number = "Top 9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The city of Birmingham is what type of location? ### Context: CREATE TABLE table_2273738_1 (type VARCHAR, city VARCHAR) [/INST] ### Response: SELECT type FROM table_2273738_1 WHERE city = "Birmingham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Leeds City Council is the local authority for what type of location? ### Context: CREATE TABLE table_2273738_1 (type VARCHAR, local_authority VARCHAR) [/INST] ### Response: SELECT type FROM table_2273738_1 WHERE local_authority = "Leeds city Council" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tyne and Wear County has what total membership for their metropolitan area? ### Context: CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR) [/INST] ### Response: SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 membership for the metropolitan area in the city of Manchester? ### Context: CREATE TABLE table_2273738_1 (metropolitan_area INTEGER, city VARCHAR) [/INST] ### Response: SELECT MAX(metropolitan_area) FROM table_2273738_1 WHERE city = "Manchester" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up (a) if K. P. Ramalingam won the election? ### Context: CREATE TABLE table_22752982_5 (runner_up_a VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT runner_up_a FROM table_22752982_5 WHERE winner = "K. P. Ramalingam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1 (5) is the races what is the team name? ### Context: CREATE TABLE table_22737506_1 (team_name VARCHAR, races VARCHAR) [/INST] ### Response: SELECT team_name FROM table_22737506_1 WHERE races = "1 (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: When 19th is the position what is the highest amount of poles? ### Context: CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR) [/INST] ### Response: SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 86 is the amount of points what is the position? ### Context: CREATE TABLE table_22737506_1 (pos VARCHAR, points VARCHAR) [/INST] ### Response: SELECT pos FROM table_22737506_1 WHERE points = 86 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most margin for nco party and p. ramachandran won ### Context: CREATE TABLE table_22754310_1 (margin INTEGER, party VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT MAX(margin) FROM table_22754310_1 WHERE party = "NCO" AND winner = "P. Ramachandran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party a for m. s. k. sathiyendran runner up ### Context: CREATE TABLE table_22754310_1 (party VARCHAR, runner_up_a VARCHAR) [/INST] ### Response: SELECT party AS a FROM table_22754310_1 WHERE runner_up_a = "M. S. K. Sathiyendran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party a for sriperumbudur ### Context: CREATE TABLE table_22754310_1 (party VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT party AS a FROM table_22754310_1 WHERE constituency = "Sriperumbudur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of runner up a for perambalur ### Context: CREATE TABLE table_22754310_1 (runner_up_a VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT COUNT(runner_up_a) FROM table_22754310_1 WHERE constituency = "Perambalur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constituency for 175130 ### Context: CREATE TABLE table_22754310_1 (constituency VARCHAR, margin VARCHAR) [/INST] ### Response: SELECT constituency FROM table_22754310_1 WHERE margin = 175130 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 margins have a winner of S. Singaravadivel? ### Context: CREATE TABLE table_22753439_1 (margin VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winners have a runner-up of A. Karthikeyan? ### Context: CREATE TABLE table_22753439_1 (winner VARCHAR, runner_up_a VARCHAR) [/INST] ### Response: SELECT COUNT(winner) FROM table_22753439_1 WHERE runner_up_a = "A. Karthikeyan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every party with a winner of P. Chidambaram? ### Context: CREATE TABLE table_22753439_1 (party VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT party AS a FROM table_22753439_1 WHERE winner = "P. Chidambaram" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every party A with a constituency of Tiruchendur? ### Context: CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constituency when the runner-up was d. Venugopal? ### Context: CREATE TABLE table_22753245_1 (constituency VARCHAR, runner_up_a VARCHAR) [/INST] ### Response: SELECT constituency FROM table_22753245_1 WHERE runner_up_a = "D. Venugopal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party where the constituency is 10. Tindivanam? ### Context: CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT party FROM table_22753245_1 WHERE constituency = "10. Tindivanam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party when the constituency is 1. Chennai North? ### Context: CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT party FROM table_22753245_1 WHERE constituency = "1. Chennai North" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress? ### Context: CREATE TABLE table_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" AND winner = "L. Adaikalaraj c" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 margin when k. balathandayutham is the winner? ### Context: CREATE TABLE table_22754491_1 (margin INTEGER, winner VARCHAR) [/INST] ### Response: SELECT MAX(margin) FROM table_22754491_1 WHERE winner = "K. Balathandayutham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 margin when periyakulam is the constituency? ### Context: CREATE TABLE table_22754491_1 (margin VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT margin FROM table_22754491_1 WHERE constituency = "Periyakulam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the pole position in the August 15, 1981 race? ### Context: CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track was used on September 12, 1981? ### Context: CREATE TABLE table_22765887_1 (track VARCHAR, date VARCHAR) [/INST] ### Response: SELECT track FROM table_22765887_1 WHERE date = "September 12, 1981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 extension for university of washington ### Context: CREATE TABLE table_22771048_3 (extension VARCHAR, city_neighborhood VARCHAR) [/INST] ### Response: SELECT extension FROM table_22771048_3 WHERE city_neighborhood = "University of Washington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least projected opening ### Context: CREATE TABLE table_22771048_3 (projected_opening INTEGER) [/INST] ### Response: SELECT MIN(projected_opening) FROM table_22771048_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: Name the transit connections for capitol hill u ### Context: CREATE TABLE table_22771048_3 (transit_connections VARCHAR, station VARCHAR) [/INST] ### Response: SELECT transit_connections FROM table_22771048_3 WHERE station = "Capitol Hill U" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 neighborhoods have a station proposed at a Hospital? ### Context: CREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR) [/INST] ### Response: SELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = "Hospital" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transit connections from Pioneer Square U? ### Context: CREATE TABLE table_22771048_2 (transit_connections VARCHAR, station VARCHAR) [/INST] ### Response: SELECT transit_connections FROM table_22771048_2 WHERE station = "Pioneer Square U" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transit connection in Columbia City, Seattle? ### Context: CREATE TABLE table_22771048_2 (transit_connections VARCHAR, city_neighborhood VARCHAR) [/INST] ### Response: SELECT transit_connections FROM table_22771048_2 WHERE city_neighborhood = "Columbia City, Seattle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 small patent type of protections, what type of PCT route is available? ### Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) [/INST] ### Response: SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "small patent" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In Tonga, what is the conversion from patent application? ### Context: CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, country VARCHAR) [/INST] ### Response: SELECT conversion_from_patent_application FROM table_2279413_1 WHERE country = "Tonga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 short patent type of protections, what type of PCT route is available? ### Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) [/INST] ### Response: SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "short patent" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In Tangier Zone, what is the PCT route availibility? ### Context: CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, country VARCHAR) [/INST] ### Response: SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? ### Context: CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR) [/INST] ### Response: SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 against the team which the Cowboys have a 6-2 record against? ### Context: CREATE TABLE table_22801331_1 (result VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result FROM table_22801331_1 WHERE record = "6-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 fewest points opponents have scored when the Cowboys score 36? ### Context: CREATE TABLE table_22801331_1 (opponents INTEGER, cowboys_points VARCHAR) [/INST] ### Response: SELECT MIN(opponents) FROM table_22801331_1 WHERE cowboys_points = 36 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents have a 1-0 record against the Cowboys? ### Context: CREATE TABLE table_22801331_1 (opponents VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponents FROM table_22801331_1 WHERE record = "1-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 game was held against a team with a 6-3 record against the Cowboys? ### Context: CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game FROM table_22801331_1 WHERE record = "6-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: How many names have a country of civ? ### Context: CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUnT AS name FROM table_22810095_8 WHERE country = "CIV" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 moved from Northampton Town? ### Context: CREATE TABLE table_22810095_8 (name VARCHAR, moving_from VARCHAR) [/INST] ### Response: SELECT name FROM table_22810095_8 WHERE moving_from = "northampton Town" </s>