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: Who was the artist who worked on the stories published in 1966? ### Context: CREATE TABLE table_23963073_1 (artist VARCHAR, date_of_publication VARCHAR) [/INST] ### Response: SELECT artist FROM table_23963073_1 WHERE date_of_publication = 1966 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did series 6 start? ### Context: CREATE TABLE table_24057191_2 (start_date VARCHAR, series VARCHAR) [/INST] ### Response: SELECT start_date FROM table_24057191_2 WHERE series = 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 series had an average of 3.72 million people watching it? ### Context: CREATE TABLE table_24057191_2 (series INTEGER, average_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MAX(series) FROM table_24057191_2 WHERE average_viewers__millions_ = "3.72" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 end dates are there for the series seen by 4.2 million people? ### Context: CREATE TABLE table_24057191_2 (end_date VARCHAR, average_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(end_date) FROM table_24057191_2 WHERE average_viewers__millions_ = "4.2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer? ### Context: CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR) [/INST] ### Response: SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the area of Austria's territory in square kilometers? ### Context: CREATE TABLE table_24066938_1 (area_km_2 VARCHAR, member_state VARCHAR) [/INST] ### Response: SELECT area_km_2 FROM table_24066938_1 WHERE member_state = "Austria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 inhabitants does Sweden have per square kilometer? ### Context: CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) [/INST] ### Response: SELECT pop_density_people_km_2 FROM table_24066938_1 WHERE member_state = "Sweden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 measurements of the Czech Republic's population density are recorded in this table? ### Context: CREATE TABLE table_24066938_1 (pop_density_people_km_2 VARCHAR, member_state VARCHAR) [/INST] ### Response: SELECT COUNT(pop_density_people_km_2) FROM table_24066938_1 WHERE member_state = "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 number of number in the season for 11 ### Context: CREATE TABLE table_2409041_4 (no_in_series VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_series) FROM table_2409041_4 WHERE no_in_season = 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: Name the number of airdates for 14 ### Context: CREATE TABLE table_2409041_4 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_2409041_4 WHERE no_in_season = 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: Name the title for 446913 ### Context: CREATE TABLE table_2409041_4 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_2409041_4 WHERE production_code = 446913 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kentucky Oaks attendance the year the Belmont Stakes had 64,949 attendance? ### Context: CREATE TABLE table_24089503_1 (kentucky_oaks VARCHAR, belmont_stakes VARCHAR) [/INST] ### Response: SELECT kentucky_oaks FROM table_24089503_1 WHERE belmont_stakes = "64,949" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance at the Travers Stakes in 1977? ### Context: CREATE TABLE table_24089503_1 (travers_stakes VARCHAR, year VARCHAR) [/INST] ### Response: SELECT travers_stakes FROM table_24089503_1 WHERE year = 1977 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Breeder's Cup Friday attendance for the year the Breeder's Cup Saturday had 52,987? ### Context: CREATE TABLE table_24089503_1 (breeders_cup_friday VARCHAR, breeders_cup_saturday VARCHAR) [/INST] ### Response: SELECT breeders_cup_friday FROM table_24089503_1 WHERE breeders_cup_saturday = "52,987" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 edition is Ungur's opponent David Nalbandian? ### Context: CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the win/lose lose and the round a play-off? ### Context: CREATE TABLE table_24099476_8 (date VARCHAR, win_lose VARCHAR, round VARCHAR) [/INST] ### Response: SELECT date FROM table_24099476_8 WHERE win_lose = "Lose" AND round = "Play-off" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 he play against Sergiy Stakhovsky? ### Context: CREATE TABLE table_24099476_8 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_24099476_8 WHERE opponent = "Sergiy Stakhovsky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 municipality had 754 votes for coakley? ### Context: CREATE TABLE table_24115349_6 (municipality VARCHAR, coakley_votes VARCHAR) [/INST] ### Response: SELECT municipality FROM table_24115349_6 WHERE coakley_votes = 754 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 votes for brown in the place that had 84.1% for coakley? ### Context: CREATE TABLE table_24115349_6 (brown_votes INTEGER, coakley__percentage VARCHAR) [/INST] ### Response: SELECT MAX(brown_votes) FROM table_24115349_6 WHERE coakley__percentage = "84.1%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the turnout percentage in the place that had 44.6% vote for brown? ### Context: CREATE TABLE table_24115349_6 (turnout__percentage VARCHAR, brown__percentage VARCHAR) [/INST] ### Response: SELECT turnout__percentage FROM table_24115349_6 WHERE brown__percentage = "44.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 finish top 10 being 8 ### Context: CREATE TABLE table_24119784_1 (finish INTEGER, top_10 VARCHAR) [/INST] ### Response: SELECT MAX(finish) FROM table_24119784_1 WHERE top_10 = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the finish associated with a 3-2 vote? ### Context: CREATE TABLE table_24122653_2 (finish VARCHAR, vote VARCHAR) [/INST] ### Response: SELECT finish FROM table_24122653_2 WHERE vote = "3-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 reward for the elimination of Peterson? ### Context: CREATE TABLE table_24122653_2 (reward VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT reward FROM table_24122653_2 WHERE eliminated = "Peterson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of finishes associated with an elimination of Adriana? ### Context: CREATE TABLE table_24122653_2 (finish VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT COUNT(finish) FROM table_24122653_2 WHERE eliminated = "Adriana" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of episodes that had a 3-1 vote? ### Context: CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-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: When troy is the regular season winner what is the conference tournament? ### Context: CREATE TABLE table_24160890_3 (conference VARCHAR, regular_season_winner VARCHAR) [/INST] ### Response: SELECT conference AS Tournament FROM table_24160890_3 WHERE regular_season_winner = "Troy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 madison square garden ( new york city, new york ) is the tournament venue (city) what is the conference tournament? ### Context: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_venue__city_ VARCHAR) [/INST] ### Response: SELECT conference AS Tournament FROM table_24160890_3 WHERE tournament_venue__city_ = "Madison Square Garden ( New York City, 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: When Cincinnati is the tournament winner how many regular season winners are there? ### Context: CREATE TABLE table_24160890_3 (regular_season_winner VARCHAR, tournament_winner VARCHAR) [/INST] ### Response: SELECT COUNT(regular_season_winner) FROM table_24160890_3 WHERE tournament_winner = "Cincinnati" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 western michigan is the tournament winner how many conferences are there? ### Context: CREATE TABLE table_24160890_3 (conference VARCHAR, tournament_winner VARCHAR) [/INST] ### Response: SELECT COUNT(conference) FROM table_24160890_3 WHERE tournament_winner = "Western Michigan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor George E. Harris (R) seated? ### Context: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "George E. Harris (R)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the reason for change when the successor was William Milnes, Jr. (C)? ### Context: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_2417345_4 WHERE successor = "William Milnes, Jr. (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: When were the successor/s seated for Ohio 10th? ### Context: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, district VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_2417345_4 WHERE district = "Ohio 10th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason for change when George W. Greene (D) was the vacator. ### Context: CREATE TABLE table_2417345_4 (reason_for_change VARCHAR, vacator VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_2417345_4 WHERE vacator = "George W. Greene (D)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor David Atwood (R) seated? ### Context: CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "David Atwood (R)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What district was the successor seated in March 28, 1878? ### Context: CREATE TABLE table_2417390_4 (district VARCHAR, date_successor_seated VARCHAR) [/INST] ### Response: SELECT district FROM table_2417390_4 WHERE date_successor_seated = "March 28, 1878" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vacator for the district of Nebraska at-large? ### Context: CREATE TABLE table_2417390_4 (vacator VARCHAR, district VARCHAR) [/INST] ### Response: SELECT vacator FROM table_2417390_4 WHERE district = "Nebraska At-large" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment with cougars ### Context: CREATE TABLE table_24216139_2 (enrollment VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT enrollment FROM table_24216139_2 WHERE nickname = "Cougars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for field hockey, men's swimming ### Context: CREATE TABLE table_24216139_2 (enrollment INTEGER, sport VARCHAR) [/INST] ### Response: SELECT MIN(enrollment) FROM table_24216139_2 WHERE sport = "Field hockey, men's swimming" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school that is cougars ### Context: CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT institution FROM table_24216139_2 WHERE nickname = "Cougars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 institution for purple aces ### Context: CREATE TABLE table_24216139_2 (institution VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT institution FROM table_24216139_2 WHERE nickname = "Purple Aces" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title that was directed by john terlesky ### Context: CREATE TABLE table_24222929_2 (title VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT title FROM table_24222929_2 WHERE directed_by = "John Terlesky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles for 3x5655 ### Context: CREATE TABLE table_24222929_2 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_24222929_2 WHERE production_code = "3X5655" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the episode that had 1.023 million u.s. viewers originally air? ### Context: CREATE TABLE table_24223834_3 (original_air_date VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_24223834_3 WHERE us_viewers__in_millions_ = "1.023" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What episode number in the series had 2.528 million u.s. viewers? ### Context: CREATE TABLE table_24223834_3 (no_in_series VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT no_in_series FROM table_24223834_3 WHERE us_viewers__in_millions_ = "2.528" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 U.S. viewers watched the episode that Daniel H. Forer directed? ### Context: CREATE TABLE table_24223834_3 (us_viewers__in_millions_ VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT us_viewers__in_millions_ FROM table_24223834_3 WHERE directed_by = "Daniel H. Forer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 may overall episodes had the title "this is what they want"? ### Context: CREATE TABLE table_24223834_3 (overall VARCHAR, title VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_24223834_3 WHERE title = "This is What They Want" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tournament Winner when UNC Wilmington won the regular season? ### Context: CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, regular_season_winner VARCHAR) [/INST] ### Response: SELECT tournament_winner FROM table_24248450_3 WHERE regular_season_winner = "UNC Wilmington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the tournament for the Atlantic Sun Conference? ### Context: CREATE TABLE table_24248450_3 (tournament_winner VARCHAR, conference VARCHAR) [/INST] ### Response: SELECT tournament_winner FROM table_24248450_3 WHERE conference = "Atlantic Sun 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: What is the tournament called for the Big Sky Conference? ### Context: CREATE TABLE table_24248450_3 (conference VARCHAR) [/INST] ### Response: SELECT conference AS Tournament FROM table_24248450_3 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: How many men had an event 1 medley score of 6 (16.6m)? ### Context: CREATE TABLE table_24302700_2 (event_2_truck_pull VARCHAR, event_1_medley VARCHAR) [/INST] ### Response: SELECT COUNT(event_2_truck_pull) FROM table_24302700_2 WHERE event_1_medley = "6 (16.6m)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 men from the Ukraine? ### Context: CREATE TABLE table_24302700_2 (event_4_carwalk VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT COUNT(event_4_carwalk) FROM table_24302700_2 WHERE nationality = "Ukraine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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(s) in the event 3 squatlift for the man from the United states with a result of 1 (42.66s) in the event 2 truck pull? ### Context: CREATE TABLE table_24302700_2 (event_3_squat_lift VARCHAR, nationality VARCHAR, event_2_truck_pull VARCHAR) [/INST] ### Response: SELECT event_3_squat_lift FROM table_24302700_2 WHERE nationality = "United States" AND event_2_truck_pull = "1 (42.66s)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the event 1 medley for the man with a 4 (6 in 31.85s) in the event 3 squat lift? ### Context: CREATE TABLE table_24302700_2 (event_1_medley VARCHAR, event_3_squat_lift VARCHAR) [/INST] ### Response: SELECT event_1_medley FROM table_24302700_2 WHERE event_3_squat_lift = "4 (6 in 31.85s)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number ### Context: CREATE TABLE table_2430014_9 (series_no INTEGER) [/INST] ### Response: SELECT MIN(series_no) FROM table_2430014_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: Which county has a membership of 1, a franchise type of corporation and a borough of Ennis? ### Context: CREATE TABLE table_24329520_8 (county VARCHAR, borough VARCHAR, members VARCHAR, franchise_type VARCHAR) [/INST] ### Response: SELECT county FROM table_24329520_8 WHERE members = 1 AND franchise_type = "Corporation" AND borough = "Ennis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of members that have boroughs of Bandon Bridge? ### Context: CREATE TABLE table_24329520_8 (members VARCHAR, borough VARCHAR) [/INST] ### Response: SELECT COUNT(members) FROM table_24329520_8 WHERE borough = "Bandon Bridge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of voters in 1800 that have boroughs named Drogheda? ### Context: CREATE TABLE table_24329520_8 (voters_in_1800 VARCHAR, borough VARCHAR) [/INST] ### Response: SELECT COUNT(voters_in_1800) FROM table_24329520_8 WHERE borough = "Drogheda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: While the original toyko/seoul tour cast included thomas hettrick, who was in the original 1st us tour cast? ### Context: CREATE TABLE table_24353141_1 (original_1st_us_tour_cast VARCHAR, original_tokyo___seoul_tour_cast VARCHAR) [/INST] ### Response: SELECT original_1st_us_tour_cast FROM table_24353141_1 WHERE original_tokyo___seoul_tour_cast = "Thomas Hettrick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3rd us tour cast were there while the original uk cast was alyssa dipalma? ### Context: CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_uk_cast VARCHAR) [/INST] ### Response: SELECT COUNT(original_3rd_us_tour_cast) FROM table_24353141_1 WHERE original_uk_cast = "Alyssa DiPalma" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: While the original 1st us tour cast included nicci claspell, who was in the original tokyo/seoul tour cast? ### Context: CREATE TABLE table_24353141_1 (original_tokyo___seoul_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) [/INST] ### Response: SELECT original_tokyo___seoul_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Nicci Claspell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the original berkley cast while stark sands was in the original broadway cast? ### Context: CREATE TABLE table_24353141_1 (original_berkeley_cast VARCHAR, original_broadway_cast VARCHAR) [/INST] ### Response: SELECT original_berkeley_cast FROM table_24353141_1 WHERE original_broadway_cast = "Stark Sands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the original broadway cast while jake epstein was in the original 1st us tour cast? ### Context: CREATE TABLE table_24353141_1 (original_broadway_cast VARCHAR, original_1st_us_tour_cast VARCHAR) [/INST] ### Response: SELECT original_broadway_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Jake Epstein" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the original 3rd us tour cast while scott j. campbell was in the original 1st us tour cast? ### Context: CREATE TABLE table_24353141_1 (original_3rd_us_tour_cast VARCHAR, original_1st_us_tour_cast VARCHAR) [/INST] ### Response: SELECT original_3rd_us_tour_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Scott J. Campbell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest cable ranking? ### Context: CREATE TABLE table_24399615_6 (cable_rank INTEGER) [/INST] ### Response: SELECT MAX(cable_rank) FROM table_24399615_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 status of player Philipp Kohlschreiber? ### Context: CREATE TABLE table_24431348_18 (status VARCHAR, player VARCHAR) [/INST] ### Response: SELECT status FROM table_24431348_18 WHERE player = "Philipp Kohlschreiber" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the total amount of points won during seed 25? ### Context: CREATE TABLE table_24431348_18 (points VARCHAR, seed VARCHAR) [/INST] ### Response: SELECT COUNT(points) AS won FROM table_24431348_18 WHERE seed = 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the status of rank 20? ### Context: CREATE TABLE table_24431348_18 (status VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT status FROM table_24431348_18 WHERE rank = 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the total number of defense points for caroline wozniacki. ### Context: CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR) [/INST] ### Response: SELECT points AS defending FROM table_24431264_17 WHERE player = "Caroline Wozniacki" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the total defensive points for marion bartoli. ### Context: CREATE TABLE table_24431264_17 (points VARCHAR, player VARCHAR) [/INST] ### Response: SELECT points AS defending FROM table_24431264_17 WHERE player = "Marion Bartoli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest points won when the player is aravane rezaï? ### Context: CREATE TABLE table_24431348_20 (points INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(points) AS won FROM table_24431348_20 WHERE player = "Aravane Rezaï" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the new points 2690? ### Context: CREATE TABLE table_24431348_20 (status VARCHAR, new_points VARCHAR) [/INST] ### Response: SELECT COUNT(status) FROM table_24431348_20 WHERE new_points = 2690 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the players with 1285 new points? ### Context: CREATE TABLE table_24431264_18 (player VARCHAR, new_points VARCHAR) [/INST] ### Response: SELECT player FROM table_24431264_18 WHERE new_points = 1285 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 defending points did radek štěpánek have? ### Context: CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(points) AS defending FROM table_24431264_18 WHERE player = "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: List the rank of the player that left the tournament due to right foot injury ### Context: CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_24431264_18 WHERE withdrew_due_to = "right foot injury" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the total number of defensive points for radek štěpánek? ### Context: CREATE TABLE table_24431264_18 (points INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(points) AS defending FROM table_24431264_18 WHERE player = "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: List the rank of the player that left due to right wrist surgery? ### Context: CREATE TABLE table_24431264_18 (rank VARCHAR, withdrew_due_to VARCHAR) [/INST] ### Response: SELECT rank FROM table_24431264_18 WHERE withdrew_due_to = "right wrist surgery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awardees for best special effects ### Context: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) [/INST] ### Response: SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_award = "Best Special Effects" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awardees for best screenplay ### Context: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_award VARCHAR) [/INST] ### Response: SELECT COUNT(awardee_s_) FROM table_24446718_3 WHERE name_of_award = "Best Screenplay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of award for marathi ### Context: CREATE TABLE table_24446718_3 (name_of_award VARCHAR, language VARCHAR) [/INST] ### Response: SELECT name_of_award FROM table_24446718_3 WHERE language = "Marathi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awardee for tingya ### Context: CREATE TABLE table_24446718_3 (awardee_s_ VARCHAR, name_of_film VARCHAR) [/INST] ### Response: SELECT awardee_s_ FROM table_24446718_3 WHERE name_of_film = "Tingya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 language for b. ajith kumar ### Context: CREATE TABLE table_24446718_3 (language VARCHAR, awardee_s_ VARCHAR) [/INST] ### Response: SELECT language FROM table_24446718_3 WHERE awardee_s_ = "B. Ajith Kumar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was the game at AOL Arena? ### Context: CREATE TABLE table_24453847_2 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_24453847_2 WHERE game_site = "AOL Arena" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Rhein Fire team record on week 8? ### Context: CREATE TABLE table_24453847_2 (team_record VARCHAR, week VARCHAR) [/INST] ### Response: SELECT team_record FROM table_24453847_2 WHERE week = 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 circuit for france and portugal ### Context: CREATE TABLE table_2446333_2 (circuit VARCHAR, main_winner VARCHAR, country VARCHAR) [/INST] ### Response: SELECT circuit FROM table_2446333_2 WHERE main_winner = "France" AND country = "Portugal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sprint winner mexico ### Context: CREATE TABLE table_2446333_2 (date VARCHAR, sprint_winner VARCHAR) [/INST] ### Response: SELECT date FROM table_2446333_2 WHERE sprint_winner = "Mexico" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eastern creek raceway ### Context: CREATE TABLE table_2446333_2 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_2446333_2 WHERE circuit = "Eastern Creek 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 circuit for united arab emirates ### Context: CREATE TABLE table_2446333_2 (circuit VARCHAR, country VARCHAR) [/INST] ### Response: SELECT circuit FROM table_2446333_2 WHERE country = "United Arab Emirates" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date for 10 ### Context: CREATE TABLE table_2446333_2 (date VARCHAR, round VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_2446333_2 WHERE round = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of the first game? ### Context: CREATE TABLE table_24464253_1 (game INTEGER) [/INST] ### Response: SELECT MIN(game) FROM table_24464253_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: Against what opponent did the Wildcats have a record of 5-4? ### Context: CREATE TABLE table_24464253_1 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_24464253_1 WHERE record = "5-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: How many pa were blank ends 7 and 5? ### Context: CREATE TABLE table_24475186_2 (pa VARCHAR, blank_ends VARCHAR, l VARCHAR) [/INST] ### Response: SELECT COUNT(pa) FROM table_24475186_2 WHERE blank_ends = 7 AND l = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the conductor on the Multisonic label? ### Context: CREATE TABLE table_24521345_1 (conductor VARCHAR, record_label VARCHAR) [/INST] ### Response: SELECT conductor FROM table_24521345_1 WHERE record_label = "Multisonic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 conductor for Rusalka? ### Context: CREATE TABLE table_24521345_1 (conductor VARCHAR, work_title VARCHAR) [/INST] ### Response: SELECT conductor FROM table_24521345_1 WHERE work_title = "Rusalka" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 composed the work conducted by jaroslav Vogel? ### Context: CREATE TABLE table_24521345_1 (composer VARCHAR, conductor VARCHAR) [/INST] ### Response: SELECT composer FROM table_24521345_1 WHERE conductor = "Jaroslav Vogel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the episode with production code 406? ### Context: CREATE TABLE table_2453243_5 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_2453243_5 WHERE production_code = "406" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 write episode number 48 in the series? ### Context: CREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT written_by FROM table_2453243_5 WHERE no_in_series = "48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goals for 1972 – 1975, 1976 – 1982 ### Context: CREATE TABLE table_24565004_19 (goals¹ INTEGER, period VARCHAR) [/INST] ### Response: SELECT MAX(goals¹) FROM table_24565004_19 WHERE period = "1972 – 1975, 1976 – 1982" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 period for uruguay ### Context: CREATE TABLE table_24565004_19 (period VARCHAR, nationality² VARCHAR) [/INST] ### Response: SELECT period FROM table_24565004_19 WHERE nationality² = "Uruguay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for 1980 – 1987 ### Context: CREATE TABLE table_24565004_19 (position VARCHAR, period VARCHAR) [/INST] ### Response: SELECT position FROM table_24565004_19 WHERE period = "1980 – 1987" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position did pierre bajoc play? ### Context: CREATE TABLE table_24565004_3 (position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT position FROM table_24565004_3 WHERE name = "Pierre Bajoc" </s>