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: If the opponents in the final is Hewitt McMillan and the partner is Fleming, what is the surface? ### Context: CREATE TABLE table_22597626_2 (surface VARCHAR, partner VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_22597626_2 WHERE partner = "Fleming" AND opponents_in_the_final = "Hewitt McMillan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 final score if the partner is Woodforde? ### Context: CREATE TABLE table_22597626_2 (score_in_the_final VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_22597626_2 WHERE partner = "Woodforde" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In the US Open championship and the outcome is runner-up, what is the minimum year? ### Context: CREATE TABLE table_22597626_2 (year INTEGER, outcome VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_22597626_2 WHERE outcome = "Runner-up" AND championship = "US Open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the surface made of if the opponent in the final is Hewitt McMillan? ### Context: CREATE TABLE table_22597626_2 (surface VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_22597626_2 WHERE opponents_in_the_final = "Hewitt McMillan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 surface made of if the year is 1979 and the championship is US Open? ### Context: CREATE TABLE table_22597626_2 (surface VARCHAR, championship VARCHAR, year VARCHAR) [/INST] ### Response: SELECT surface FROM table_22597626_2 WHERE championship = "US Open" AND year = 1979 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ticket/office for orville preston ### Context: CREATE TABLE table_22607062_1 (ticket___office VARCHAR, secretary_of_state VARCHAR) [/INST] ### Response: SELECT ticket___office FROM table_22607062_1 WHERE secretary_of_state = "Orville Preston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 comptroller for republican ### Context: CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR) [/INST] ### Response: SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Republican" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 comptroller for office of prohibition ### Context: CREATE TABLE table_22607062_1 (comptroller VARCHAR, ticket___office VARCHAR) [/INST] ### Response: SELECT comptroller FROM table_22607062_1 WHERE ticket___office = "Prohibition" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 replaced by for 8 july 2009 ### Context: CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_22640051_3 WHERE date_of_appointment = "8 July 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: Name the total number of replaced by for 13 june 2009 ### Context: CREATE TABLE table_22640051_3 (replaced_by VARCHAR, date_of_appointment VARCHAR) [/INST] ### Response: SELECT COUNT(replaced_by) FROM table_22640051_3 WHERE date_of_appointment = "13 June 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: Name the date of vacancy for manuel pellegrini ### Context: CREATE TABLE table_22640051_3 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT date_of_vacancy FROM table_22640051_3 WHERE outgoing_manager = "Manuel Pellegrini" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 free dance score in the event where compulsory dance score was 15.99? ### Context: CREATE TABLE table_22644589_4 (free_dance__fd_ VARCHAR, compulsory_dance__cd_ VARCHAR) [/INST] ### Response: SELECT free_dance__fd_ FROM table_22644589_4 WHERE compulsory_dance__cd_ = "15.99" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original dance scores are listed in the event where the compulsory dance was 20.03? ### Context: CREATE TABLE table_22644589_4 (original_dance__od_ VARCHAR, compulsory_dance__cd_ VARCHAR) [/INST] ### Response: SELECT COUNT(original_dance__od_) FROM table_22644589_4 WHERE compulsory_dance__cd_ = "20.03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 even was the compulsory dance scored 23.75? ### Context: CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR) [/INST] ### Response: SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "23.75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event was the compulsory dance score 28.12? ### Context: CREATE TABLE table_22644589_4 (event VARCHAR, compulsory_dance__cd_ VARCHAR) [/INST] ### Response: SELECT event FROM table_22644589_4 WHERE compulsory_dance__cd_ = "28.12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every year when the reporters were Lesley Visser and Robin Roberts? ### Context: CREATE TABLE table_22654139_3 (year VARCHAR, reporters VARCHAR) [/INST] ### Response: SELECT year FROM table_22654139_3 WHERE reporters = "Lesley Visser and Robin Roberts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with reporters Lesley Visser and Robin Roberts? ### Context: CREATE TABLE table_22654139_3 (year INTEGER, reporters VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_22654139_3 WHERE reporters = "Lesley Visser and Robin Roberts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the Richard Childress Racing team in the race with a time of 2:58:22? ### Context: CREATE TABLE table_2266762_1 (driver VARCHAR, team VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT driver FROM table_2266762_1 WHERE team = "Richard Childress Racing" AND race_time = "2:58:22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On how many dates was the average speed of the race 91.033 MPH? ### Context: CREATE TABLE table_2266762_1 (date VARCHAR, average_speed__mph_ VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_2266762_1 WHERE average_speed__mph_ = "91.033" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver in the race that was 3:04:09 long? ### Context: CREATE TABLE table_2266762_1 (driver VARCHAR, race_time VARCHAR) [/INST] ### Response: SELECT driver FROM table_2266762_1 WHERE race_time = "3:04: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: Who was the opponent in the game in which Hakim Warrick (14) did the most high points? ### Context: CREATE TABLE table_22669044_10 (team VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT team FROM table_22669044_10 WHERE high_points = "Hakim Warrick (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's the record in the game in which Brad Miller (7) did the high rebounds? ### Context: CREATE TABLE table_22669044_10 (record VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT record FROM table_22669044_10 WHERE high_rebounds = "Brad Miller (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 score of the game with 31-29 record? ### Context: CREATE TABLE table_22669044_10 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_22669044_10 WHERE record = "31-29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the country for gerrard ### Context: CREATE TABLE table_22667773_8 (country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT country FROM table_22667773_8 WHERE name = "Gerrard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eu for quinn ### Context: CREATE TABLE table_22667773_8 (COUnT VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUnT AS eu FROM table_22667773_8 WHERE name = "Quinn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for w 115–104 (ot) ### Context: CREATE TABLE table_22669044_8 (team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_22669044_8 WHERE score = "W 115–104 (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 number of record for united center 18,838 ### Context: CREATE TABLE table_22669044_8 (record VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT COUNT(record) FROM table_22669044_8 WHERE location_attendance = "United Center 18,838" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for united center 22,147 ### Context: CREATE TABLE table_22669044_9 (team VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT team FROM table_22669044_9 WHERE location_attendance = "United Center 22,147" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rebounds for new york ### Context: CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high rebounds for united center 19,335 ### Context: CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT COUNT(high_rebounds) FROM table_22669044_9 WHERE location_attendance = "United Center 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: Name the team for kirk hinrich , derrick rose , john salmons (6) ### Context: CREATE TABLE table_22669044_9 (team VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT team FROM table_22669044_9 WHERE high_assists = "Kirk Hinrich , Derrick Rose , John Salmons (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 high points 31-27 ### Context: CREATE TABLE table_22669044_9 (high_points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_points FROM table_22669044_9 WHERE record = "31-27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the location is the winning driver is Bill Vukovich II? ### Context: CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT location FROM table_22670216_1 WHERE winning_driver = "Bill Vukovich II" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 track is the Wisconsin State Fair Park Speedway and the winning driver is Wally Dallenbach, what was the location? ### Context: CREATE TABLE table_22670216_1 (location VARCHAR, winning_driver VARCHAR, track VARCHAR) [/INST] ### Response: SELECT location FROM table_22670216_1 WHERE winning_driver = "Wally Dallenbach" 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: If the location is Brooklyn, Michigan and the pole position is Bobby Unser, what is the RND total number? ### Context: CREATE TABLE table_22670216_1 (rnd VARCHAR, location VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT COUNT(rnd) FROM table_22670216_1 WHERE location = "Brooklyn, Michigan" AND pole_position = "Bobby 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: If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number? ### Context: CREATE TABLE table_22670216_1 (rnd VARCHAR, track VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT COUNT(rnd) FROM table_22670216_1 WHERE track = "Ontario Motor Speedway" AND pole_position = "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: Name the laps of october 26 ### Context: CREATE TABLE table_2267857_1 (laps VARCHAR, date VARCHAR) [/INST] ### Response: SELECT laps FROM table_2267857_1 WHERE date = "October 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: Name the date for 2006 ### Context: CREATE TABLE table_2267857_1 (date VARCHAR, year VARCHAR) [/INST] ### Response: SELECT date FROM table_2267857_1 WHERE year = 2006 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for dick hutcherson ### Context: CREATE TABLE table_2267857_1 (year VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_2267857_1 WHERE driver = "Dick Hutcherson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for report july 23 ### Context: CREATE TABLE table_2267857_1 (report VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(report) FROM table_2267857_1 WHERE date = "July 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 party won with a margin of 105731? ### Context: CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR) [/INST] ### Response: SELECT party FROM table_22756549_1 WHERE margin = 105731 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What party is the winner K. Anbazhagan from? ### Context: CREATE TABLE table_22756549_1 (party VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT party AS a FROM table_22756549_1 WHERE winner = "K. Anbazhagan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did M. Gounder win for Party A? ### Context: CREATE TABLE table_22756549_1 (party VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT COUNT(party) AS a FROM table_22756549_1 WHERE winner = "M. Gounder" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won when V. A. Muthiah was the runner-up? ### Context: CREATE TABLE table_22756549_1 (winner VARCHAR, runner_up_a VARCHAR) [/INST] ### Response: SELECT winner FROM table_22756549_1 WHERE runner_up_a = "V. A. Muthiah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What party was the winner when A. Krishnaswamy was the runner-up? ### Context: CREATE TABLE table_22756549_1 (party VARCHAR, runner_up_a VARCHAR) [/INST] ### Response: SELECT party FROM table_22756549_1 WHERE runner_up_a = "A. Krishnaswamy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the Nagapattinam constituency? ### Context: CREATE TABLE table_22756549_1 (runner_up_a VARCHAR, constituency VARCHAR) [/INST] ### Response: SELECT runner_up_a FROM table_22756549_1 WHERE constituency = "Nagapattinam" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ended runner-up to sankar adhi? ### Context: CREATE TABLE table_22757733_4 (runner_up_a VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT runner_up_a FROM table_22757733_4 WHERE winner = "Sankar Adhi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was k. annamalai´s party a? ### Context: CREATE TABLE table_22757733_4 (party VARCHAR, runner_up_a VARCHAR) [/INST] ### Response: SELECT party AS a FROM table_22757733_4 WHERE runner_up_a = "K. Annamalai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in those place where the market income per capita is $17,362? ### Context: CREATE TABLE table_22815568_7 (population VARCHAR, market_income_per_capita VARCHAR) [/INST] ### Response: SELECT population FROM table_22815568_7 WHERE market_income_per_capita = "$17,362" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 unemployment rate in those places where the market income per capita is $16,981? ### Context: CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, market_income_per_capita VARCHAR) [/INST] ### Response: SELECT COUNT(unemployment_rate) FROM table_22815568_7 WHERE market_income_per_capita = "$16,981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status in those places where the poverty rate is 8.6%? ### Context: CREATE TABLE table_22815568_7 (status VARCHAR, poverty_rate VARCHAR) [/INST] ### Response: SELECT status FROM table_22815568_7 WHERE poverty_rate = "8.6%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the unemployment rate in those places in Alexander county whose status is transitional? ### Context: CREATE TABLE table_22815568_7 (unemployment_rate VARCHAR, status VARCHAR, county VARCHAR) [/INST] ### Response: SELECT unemployment_rate FROM table_22815568_7 WHERE status = "Transitional" AND county = "Alexander" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the country of McDowell? ### Context: CREATE TABLE table_22815568_7 (population VARCHAR, county VARCHAR) [/INST] ### Response: SELECT population FROM table_22815568_7 WHERE county = "McDowell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 counties is the unemployment rate 5.8% and the market income per capita is $22,866? ### Context: CREATE TABLE table_22815568_7 (county VARCHAR, unemployment_rate VARCHAR, market_income_per_capita VARCHAR) [/INST] ### Response: SELECT county FROM table_22815568_7 WHERE unemployment_rate = "5.8%" AND market_income_per_capita = "$22,866" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partnering for round sf ### Context: CREATE TABLE table_22825058_23 (partnering VARCHAR, round VARCHAR) [/INST] ### Response: SELECT partnering FROM table_22825058_23 WHERE round = "SF" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for against the netherlands ### Context: CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for john van lottum martin verkerk ### Context: CREATE TABLE table_22825058_23 (round VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT round FROM table_22825058_23 WHERE opponents = "John Van Lottum Martin Verkerk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 w/l for czech republic ### Context: CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR) [/INST] ### Response: SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for jiří novák radek štěpánek ### Context: CREATE TABLE table_22825058_23 (result VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT result FROM table_22825058_23 WHERE opponents = "Jiří Novák Radek Štěpánek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament venue for big sky conference ### Context: CREATE TABLE table_22849575_6 (tournament_venue__city_ VARCHAR, conference VARCHAR) [/INST] ### Response: SELECT tournament_venue__city_ FROM table_22849575_6 WHERE conference = "Big Sky 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: Name the number of conference tournament for james madison ### Context: CREATE TABLE table_22849575_6 (conference VARCHAR, tournament_winner VARCHAR) [/INST] ### Response: SELECT COUNT(conference) AS Tournament FROM table_22849575_6 WHERE tournament_winner = "James Madison" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for arif asadov ### Context: CREATE TABLE table_22848931_3 (team VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT team FROM table_22848931_3 WHERE replaced_by = "Arif Asadov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure for 1 december 2009 ### Context: CREATE TABLE table_22848931_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) [/INST] ### Response: SELECT manner_of_departure FROM table_22848931_3 WHERE date_of_vacancy = "1 December 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: Name the outgoing manager for 10 june 2009 ### Context: CREATE TABLE table_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) [/INST] ### Response: SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 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 every entry for Atlantic Europe when Central Europe is Wisconsin stage? ### Context: CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, central_europe VARCHAR) [/INST] ### Response: SELECT atlantic_europe FROM table_22860_1 WHERE central_europe = "Wisconsin Stage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values for Maghreb with Mediterranean Europe is Siciliense? ### Context: CREATE TABLE table_22860_1 (maghreb VARCHAR, mediterranean_europe VARCHAR) [/INST] ### Response: SELECT COUNT(maghreb) FROM table_22860_1 WHERE mediterranean_europe = "Siciliense" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Atlantic Europe when age is 10,000 years? ### Context: CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, age__before_ VARCHAR) [/INST] ### Response: SELECT atlantic_europe FROM table_22860_1 WHERE age__before_ = "10,000 years" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 entry for America when Atlantic Europe is Hoxniense? ### Context: CREATE TABLE table_22860_1 (america VARCHAR, atlantic_europe VARCHAR) [/INST] ### Response: SELECT america FROM table_22860_1 WHERE atlantic_europe = "Hoxniense" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ages for Maghreb is Maarifiense? ### Context: CREATE TABLE table_22860_1 (age__before_ VARCHAR, maghreb VARCHAR) [/INST] ### Response: SELECT age__before_ FROM table_22860_1 WHERE maghreb = "Maarifiense" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points did the opponents with a 6-2 record against the Spartans score? ### Context: CREATE TABLE table_22860990_3 (opp_points INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(opp_points) FROM table_22860990_3 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: Against whom did the Spartans score 73 points? ### Context: CREATE TABLE table_22860990_3 (opponent VARCHAR, spartans_points VARCHAR) [/INST] ### Response: SELECT opponent FROM table_22860990_3 WHERE spartans_points = 73 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had highest points in game 5? ### Context: CREATE TABLE table_22883210_5 (high_points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_points FROM table_22883210_5 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the final score of the game held on February 24? ### Context: CREATE TABLE table_22883210_8 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_22883210_8 WHERE date = "February 24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent in the game held on February 4? ### Context: CREATE TABLE table_22883210_8 (team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_22883210_8 WHERE date = "February 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: If the region is the Southern district of Texas, what is the citation? ### Context: CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR) [/INST] ### Response: SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chief judge is Jeffrey L. Viken, what is the region? ### Context: CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR) [/INST] ### Response: SELECT region FROM table_22901612_2 WHERE chief_judge = "Jeffrey L. Viken" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chief judge is Glen E. Conrad, what is the region? ### Context: CREATE TABLE table_22901612_2 (region VARCHAR, chief_judge VARCHAR) [/INST] ### Response: SELECT region FROM table_22901612_2 WHERE chief_judge = "Glen E. Conrad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode that had 14.52 viewers? ### Context: CREATE TABLE table_22904707_1 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT title FROM table_22904707_1 WHERE us_viewers__million_ = "14.52" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 million viewers did episode number 63 have? ### Context: CREATE TABLE table_22904707_1 (us_viewers__million_ VARCHAR, no VARCHAR) [/INST] ### Response: SELECT us_viewers__million_ FROM table_22904707_1 WHERE no = 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 number in the season was episode 52 in the series? ### Context: CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR) [/INST] ### Response: SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area has a rank of 60? ### Context: CREATE TABLE table_22916979_2 (metropolitan_area VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT metropolitan_area FROM table_22916979_2 WHERE rank = 60 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population where census designated place is westmont? ### Context: CREATE TABLE table_22916979_2 (population__2000_census_ VARCHAR, census_designated_place VARCHAR) [/INST] ### Response: SELECT COUNT(population__2000_census_) FROM table_22916979_2 WHERE census_designated_place = "Westmont" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 census designated places with a population of 10581? ### Context: CREATE TABLE table_22916979_2 (census_designated_place VARCHAR, population__2000_census_ VARCHAR) [/INST] ### Response: SELECT COUNT(census_designated_place) FROM table_22916979_2 WHERE population__2000_census_ = 10581 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of contestants ### Context: CREATE TABLE table_22951646_1 (number_of_contestants INTEGER) [/INST] ### Response: SELECT MAX(number_of_contestants) FROM table_22951646_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: Name the premiere for 8 episodes ### Context: CREATE TABLE table_22951646_1 (premiere VARCHAR, number_of_episodes VARCHAR) [/INST] ### Response: SELECT premiere FROM table_22951646_1 WHERE number_of_episodes = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the league finish for w being 11 ### Context: CREATE TABLE table_22962745_12 (league_finish VARCHAR, w VARCHAR) [/INST] ### Response: SELECT league_finish FROM table_22962745_12 WHERE w = 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's LSU's overall record/ ### Context: CREATE TABLE table_22993636_2 (overall_record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT overall_record FROM table_22993636_2 WHERE team = "LSU" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different SEC Win counts does the team with an overall record of 30-4 have? ### Context: CREATE TABLE table_22993636_2 (sec_wins VARCHAR, overall_record VARCHAR) [/INST] ### Response: SELECT COUNT(sec_wins) FROM table_22993636_2 WHERE overall_record = "30-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's Auburn's percentage? ### Context: CREATE TABLE table_22993636_2 (percentage VARCHAR, team VARCHAR) [/INST] ### Response: SELECT percentage FROM table_22993636_2 WHERE team = "Auburn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall record of the team with 4-3 road record? ### Context: CREATE TABLE table_22993636_2 (overall_record VARCHAR, road_record VARCHAR) [/INST] ### Response: SELECT overall_record FROM table_22993636_2 WHERE road_record = "4-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 home record of the team with percentage of .168? ### Context: CREATE TABLE table_22993636_2 (home_record VARCHAR, percentage VARCHAR) [/INST] ### Response: SELECT home_record FROM table_22993636_2 WHERE percentage = ".168" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 speed where lap four's time was 22.9049? ### Context: CREATE TABLE table_23018775_3 (avg_speed VARCHAR, lap_four VARCHAR) [/INST] ### Response: SELECT avg_speed FROM table_23018775_3 WHERE lap_four = "22.9049" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lap two's did marco andretti do? ### Context: CREATE TABLE table_23018775_3 (lap_two VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(lap_two) FROM table_23018775_3 WHERE name = "Marco Andretti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tthe lowest number on team 3g? ### Context: CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR) [/INST] ### Response: SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions have a total time of 1:30.4135? ### Context: CREATE TABLE table_23018775_3 (pos VARCHAR, total_time VARCHAR) [/INST] ### Response: SELECT COUNT(pos) FROM table_23018775_3 WHERE total_time = "1:30.4135" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions have a lap two time of 22.7290? ### Context: CREATE TABLE table_23018775_3 (pos VARCHAR, lap_two VARCHAR) [/INST] ### Response: SELECT pos FROM table_23018775_3 WHERE lap_two = "22.7290" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 speed where the total time was 1:30.4842? ### Context: CREATE TABLE table_23018775_3 (avg_speed VARCHAR, total_time VARCHAR) [/INST] ### Response: SELECT avg_speed FROM table_23018775_3 WHERE total_time = "1:30.4842" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poles for avg start being 4.7 ### Context: CREATE TABLE table_2308381_2 (poles VARCHAR, avg_start VARCHAR) [/INST] ### Response: SELECT poles FROM table_2308381_2 WHERE avg_start = "4.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: Name the avg finish for position of 70th ### Context: CREATE TABLE table_2308381_2 (avg_finish VARCHAR, position VARCHAR) [/INST] ### Response: SELECT avg_finish FROM table_2308381_2 WHERE position = "70th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for 15 starts ### Context: CREATE TABLE table_2308381_2 (year VARCHAR, starts VARCHAR) [/INST] ### Response: SELECT year FROM table_2308381_2 WHERE starts = 15 </s>