text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the english spelling of the word that has the strongs trasliteration of y e howram? ### Context: CREATE TABLE table_1242447_1 (english_spelling VARCHAR, strongs_transliteration VARCHAR) [/INST] ### Response: SELECT english_spelling FROM table_1242447_1 WHERE strongs_transliteration = "Y e howram" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the strongs # of the english spelling word jehojakin? ### Context: CREATE TABLE table_1242447_1 (strongs__number VARCHAR, english_spelling VARCHAR) [/INST] ### Response: SELECT strongs__number FROM table_1242447_1 WHERE english_spelling = "Jehojakin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the strongs transliteration of the hebrew word יוֹחָנָן? ### Context: CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, hebrew_word VARCHAR) [/INST] ### Response: SELECT strongs_transliteration FROM table_1242447_1 WHERE hebrew_word = "יוֹחָנָן" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 strongs transliteration of the english spelling of the work jehojakin? ### Context: CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, english_spelling VARCHAR) [/INST] ### Response: SELECT COUNT(strongs_transliteration) FROM table_1242447_1 WHERE english_spelling = "Jehojakin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Kaluvanchikudy is the main town in what DS division? ### Context: CREATE TABLE table_12485020_1 (ds_division VARCHAR, main_town VARCHAR) [/INST] ### Response: SELECT ds_division FROM table_12485020_1 WHERE main_town = "Kaluvanchikudy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 DS division has S. L. M. Haneefa as the divisional secretary? ### Context: CREATE TABLE table_12485020_1 (ds_division VARCHAR, divisional_secretary VARCHAR) [/INST] ### Response: SELECT ds_division FROM table_12485020_1 WHERE divisional_secretary = "S. L. M. Haneefa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the DS division where the divisional secretary is S. H. Muzammil? ### Context: CREATE TABLE table_12485020_1 (ds_division VARCHAR, divisional_secretary VARCHAR) [/INST] ### Response: SELECT ds_division FROM table_12485020_1 WHERE divisional_secretary = "S. H. Muzammil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 figures are given for the region's total in 1947? ### Context: CREATE TABLE table_12555835_1 (population__region_total_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(population__region_total_) FROM table_12555835_1 WHERE year = 1947 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest population figure for Mareeba? ### Context: CREATE TABLE table_12555835_1 (population__mareeba_ INTEGER) [/INST] ### Response: SELECT MIN(population__mareeba_) FROM table_12555835_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many episodes were watched by 12.72 million U.S. viewers? ### Context: CREATE TABLE table_12570759_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_12570759_2 WHERE us_viewers__millions_ = "12.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 millions of U.S. viewers watched the episode directed by Rob Bailey and written by Pam Veasey? ### Context: CREATE TABLE table_12570759_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_12570759_2 WHERE directed_by = "Rob Bailey" AND written_by = "Pam Veasey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 persons had immunity in the episode when Wanda was eliminated? ### Context: CREATE TABLE table_1272844_2 (immunity VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT COUNT(immunity) FROM table_1272844_2 WHERE eliminated = "Wanda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the episode in which Jenn is eliminated? ### Context: CREATE TABLE table_1272844_2 (episode_title VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_1272844_2 WHERE eliminated = "Jenn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vote tally on the episode aired May 5, 2005? ### Context: CREATE TABLE table_1272844_2 (vote VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT vote FROM table_1272844_2 WHERE air_date = "May 5, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 received the reward on the episode where the finish was "3rd voted out day 8"? ### Context: CREATE TABLE table_1272844_2 (reward VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT reward FROM table_1272844_2 WHERE finish = "3rd voted Out Day 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 was the vote on the episode where the finish was "10th voted out 3rd jury member day 30"? ### Context: CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT vote FROM table_1272844_2 WHERE finish = "10th voted Out 3rd Jury Member Day 30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were taken when the outcome was "6th voted out day 12"? ### Context: CREATE TABLE table_1272844_2 (vote VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT COUNT(vote) FROM table_1272844_2 WHERE finish = "6th voted Out Day 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 the short stem for garbitzen? ### Context: CREATE TABLE table_12784134_24 (short_stem VARCHAR, imperfect_stem VARCHAR) [/INST] ### Response: SELECT short_stem FROM table_12784134_24 WHERE imperfect_stem = "garbitzen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 perfect stem for pozten? ### Context: CREATE TABLE table_12784134_24 (perfect_stem VARCHAR, imperfect_stem VARCHAR) [/INST] ### Response: SELECT perfect_stem FROM table_12784134_24 WHERE imperfect_stem = "pozten" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 perfect stem for jo ### Context: CREATE TABLE table_12784134_24 (perfect_stem VARCHAR, short_stem VARCHAR) [/INST] ### Response: SELECT COUNT(perfect_stem) FROM table_12784134_24 WHERE short_stem = "jo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for future stem for poztu? ### Context: CREATE TABLE table_12784134_24 (future_stem VARCHAR, perfect_stem VARCHAR) [/INST] ### Response: SELECT COUNT(future_stem) FROM table_12784134_24 WHERE perfect_stem = "poztu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 try bonus of points against at 430 ### Context: CREATE TABLE table_12792876_4 (try_bonus VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT try_bonus FROM table_12792876_4 WHERE points_against = "430" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losing bonus of 96 points ### Context: CREATE TABLE table_12792876_4 (losing_bonus VARCHAR, points VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_12792876_4 WHERE points = "96" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points against for 51 points ### Context: CREATE TABLE table_12792876_4 (points_against VARCHAR, points VARCHAR) [/INST] ### Response: SELECT points_against FROM table_12792876_4 WHERE points = "51" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tries against for 87 points ### Context: CREATE TABLE table_12792876_4 (tries_against VARCHAR, points VARCHAR) [/INST] ### Response: SELECT tries_against FROM table_12792876_4 WHERE points = "87" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tries against for drawn ### Context: CREATE TABLE table_12792876_4 (tries_against VARCHAR) [/INST] ### Response: SELECT COUNT(tries_against) FROM table_12792876_4 WHERE "drawn" = "drawn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 losing bonus for 27 ### Context: CREATE TABLE table_12792876_4 (losing_bonus VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_12792876_4 WHERE tries_for = "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 rear sight in the Cole model no. 735? ### Context: CREATE TABLE table_12834315_1 (rear_sight VARCHAR, colt_model_no VARCHAR) [/INST] ### Response: SELECT rear_sight FROM table_12834315_1 WHERE colt_model_no = "735" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the Colt model numbers of the models named GAU-5A/A, with no bayonet lug, no case deflector and stock of 2nd generation? ### Context: CREATE TABLE table_12834315_1 (colt_model_no VARCHAR, name VARCHAR, case_deflector VARCHAR, bayonet_lug VARCHAR, stock VARCHAR) [/INST] ### Response: SELECT colt_model_no FROM table_12834315_1 WHERE bayonet_lug = "No" AND stock = "2nd Generation" AND case_deflector = "No" AND name = "GAU-5A/A" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the type of muzzle devices on the models with round hand guards? ### Context: CREATE TABLE table_12834315_1 (muzzle_device VARCHAR, hand_guards VARCHAR) [/INST] ### Response: SELECT muzzle_device FROM table_12834315_1 WHERE hand_guards = "Round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Clubs involved is 8, what number would you find from winners from previous round? ### Context: CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, clubs_involved VARCHAR) [/INST] ### Response: SELECT winners_from_previous_round FROM table_1281200_1 WHERE clubs_involved = 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: From the round name of third round; what would the new entries this round that would be found? ### Context: CREATE TABLE table_1281200_1 (new_entries_this_round VARCHAR, round VARCHAR) [/INST] ### Response: SELECT new_entries_this_round FROM table_1281200_1 WHERE round = "Third round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 looking at new entries this round and seeing 8; what number in total is there for clubs remaining? ### Context: CREATE TABLE table_1281200_1 (clubs_remaining VARCHAR, new_entries_this_round VARCHAR) [/INST] ### Response: SELECT COUNT(clubs_remaining) FROM table_1281200_1 WHERE new_entries_this_round = "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: During the first phase portion of phase and having 16 clubs involved; what would you find for the winners from previous round? ### Context: CREATE TABLE table_1281200_1 (winners_from_previous_round VARCHAR, phase VARCHAR, clubs_involved VARCHAR) [/INST] ### Response: SELECT winners_from_previous_round FROM table_1281200_1 WHERE phase = "First phase" AND clubs_involved = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The new entries this round was shown to be 12, in which phase would you find this? ### Context: CREATE TABLE table_1281200_1 (phase VARCHAR, new_entries_this_round VARCHAR) [/INST] ### Response: SELECT phase FROM table_1281200_1 WHERE new_entries_this_round = "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 country submitted miehen työ? ### Context: CREATE TABLE table_12842068_1 (submitting_country VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT submitting_country FROM table_12842068_1 WHERE original_title = "Miehen työ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the movie from lebanon? ### Context: CREATE TABLE table_12842068_1 (film_title_used_in_nomination VARCHAR, submitting_country VARCHAR) [/INST] ### Response: SELECT film_title_used_in_nomination FROM table_12842068_1 WHERE submitting_country = "Lebanon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country submitted the movie the orphanage? ### Context: CREATE TABLE table_12842068_1 (submitting_country VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT submitting_country FROM table_12842068_1 WHERE film_title_used_in_nomination = "The Orphanage" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year did University of Saskatchewan have their first season? ### Context: CREATE TABLE table_12896884_1 (first_season INTEGER, institution VARCHAR) [/INST] ### Response: SELECT MAX(first_season) FROM table_12896884_1 WHERE institution = "University of Saskatchewan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 football stadium has a school enrollment of 43579? ### Context: CREATE TABLE table_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR) [/INST] ### Response: SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 endowments does Mosaic Stadium have? ### Context: CREATE TABLE table_12896884_1 (endowment VARCHAR, football_stadium VARCHAR) [/INST] ### Response: SELECT COUNT(endowment) FROM table_12896884_1 WHERE football_stadium = "Mosaic Stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the enrollment for Foote Field? ### Context: CREATE TABLE table_12896884_1 (enrollment INTEGER, football_stadium VARCHAR) [/INST] ### Response: SELECT MAX(enrollment) FROM table_12896884_1 WHERE football_stadium = "Foote Field" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cities have an enrollment of 19082? ### Context: CREATE TABLE table_12896884_1 (city VARCHAR, enrollment VARCHAR) [/INST] ### Response: SELECT COUNT(city) FROM table_12896884_1 WHERE enrollment = 19082 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for south korea ### Context: CREATE TABLE table_13282157_3 (points VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_13282157_3 WHERE country = "South Korea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many dismissals did the player Peter McGlashan have? ### Context: CREATE TABLE table_13337302_16 (dismissals VARCHAR, player VARCHAR) [/INST] ### Response: SELECT dismissals FROM table_13337302_16 WHERE player = "Peter McGlashan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stumpings did the player Tim Latham have? ### Context: CREATE TABLE table_13337302_16 (stumpings INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(stumpings) FROM table_13337302_16 WHERE player = "Tim Latham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ranks of all dismissals with a value of 4 ### Context: CREATE TABLE table_13337302_16 (rank VARCHAR, dismissals VARCHAR) [/INST] ### Response: SELECT rank FROM table_13337302_16 WHERE dismissals = 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 innings had a total of 2 catches and 0 stumpings? ### Context: CREATE TABLE table_13337302_16 (innings VARCHAR, catches VARCHAR, stumpings VARCHAR) [/INST] ### Response: SELECT COUNT(innings) FROM table_13337302_16 WHERE catches = 2 AND stumpings = 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what district was the incumbent Steve Chabot? ### Context: CREATE TABLE table_1341395_36 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341395_36 WHERE incumbent = "Steve Chabot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Incumbent Deborah Pryce was a member of what party? ### Context: CREATE TABLE table_1341395_36 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_1341395_36 WHERE incumbent = "Deborah Pryce" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the candidates in the election where Saxby Chambliss was the incumbent? ### Context: CREATE TABLE table_1341453_12 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1341453_12 WHERE incumbent = "Saxby Chambliss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does William J. Jefferson? ### Context: CREATE TABLE table_1341453_20 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_1341453_20 WHERE incumbent = "William J. Jefferson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the results for incumbent Jim McCrery? ### Context: CREATE TABLE table_1341453_20 (results VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT results FROM table_1341453_20 WHERE incumbent = "Jim McCrery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates were elected first in 1980? ### Context: CREATE TABLE table_1341453_20 (candidates VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT COUNT(candidates) FROM table_1341453_20 WHERE first_elected = 1980 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does John Cooksey represent? ### Context: CREATE TABLE table_1341453_20 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341453_20 WHERE incumbent = "John Cooksey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 John Porter elected in? ### Context: CREATE TABLE table_1341453_15 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341453_15 WHERE incumbent = "John Porter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Illinois 7? ### Context: CREATE TABLE table_1341453_15 (results VARCHAR, district VARCHAR) [/INST] ### Response: SELECT results FROM table_1341453_15 WHERE district = "Illinois 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: Who were the candidates in the district where Jerry Costello won? ### Context: CREATE TABLE table_1341453_15 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1341453_15 WHERE incumbent = "Jerry Costello" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent ruben hinojosa get elected? ### Context: CREATE TABLE table_1341453_45 (results VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(results) FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is ruben hinojosa from? ### Context: CREATE TABLE table_1341453_45 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341453_45 WHERE incumbent = "Ruben Hinojosa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is nick lampson from? ### Context: CREATE TABLE table_1341453_45 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341453_45 WHERE incumbent = "Nick Lampson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was incumbent jim mcdermott first elected? ### Context: CREATE TABLE table_1341522_50 (first_elected INTEGER, incumbent VARCHAR) [/INST] ### Response: SELECT MIN(first_elected) FROM table_1341522_50 WHERE incumbent = "Jim McDermott" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7% ### Context: CREATE TABLE table_1341522_50 (status VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT status FROM table_1341522_50 WHERE opponent = "Doc Hastings (R) 53.3% Jay Inslee (D) 46.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 districts does incumbent Curt Weldon hold? ### Context: CREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341568_39 WHERE incumbent = "Curt Weldon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 champions were there when the first driver was hiroki yoshimoto ( 2005 )? ### Context: CREATE TABLE table_13416000_3 (champions VARCHAR, first_driver_s_ VARCHAR) [/INST] ### Response: SELECT champions FROM table_13416000_3 WHERE first_driver_s_ = "Hiroki Yoshimoto ( 2005 )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are there for first driver for Canada? ### Context: CREATE TABLE table_13416000_3 (first_driver_s_ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT COUNT(first_driver_s_) FROM table_13416000_3 WHERE country = "Canada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the candidates for georgia 8 ### Context: CREATE TABLE table_1341604_11 (candidates VARCHAR, district VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1341604_11 WHERE district = "Georgia 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 party of georgia 4 ### Context: CREATE TABLE table_1341604_11 (party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT party FROM table_1341604_11 WHERE district = "Georgia 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: Name the party for jack thomas brinkley ### Context: CREATE TABLE table_1341604_11 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_1341604_11 WHERE incumbent = "Jack Thomas Brinkley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 districk for larry mcdonald ### Context: CREATE TABLE table_1341604_11 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341604_11 WHERE incumbent = "Larry McDonald" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the result with district being florida 7 ### Context: CREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT result FROM table_1341604_10 WHERE district = "Florida 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 district with result being new seat democratic gain ### Context: CREATE TABLE table_1341604_10 (district VARCHAR, result VARCHAR) [/INST] ### Response: SELECT district FROM table_1341604_10 WHERE result = "New seat Democratic gain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates with result being new seat democratic gain ### Context: CREATE TABLE table_1341604_10 (candidates VARCHAR, result VARCHAR) [/INST] ### Response: SELECT COUNT(candidates) FROM table_1341604_10 WHERE result = "New seat Democratic gain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result with district being florida 14 ### Context: CREATE TABLE table_1341604_10 (result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT COUNT(result) FROM table_1341604_10 WHERE district = "Florida 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 first elected with district being florida 7 ### Context: CREATE TABLE table_1341604_10 (first_elected VARCHAR, district VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_1341604_10 WHERE district = "Florida 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: who is the the candidates with incumbent being don fuqua ### Context: CREATE TABLE table_1341604_10 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1341604_10 WHERE incumbent = "Don Fuqua" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates were first elected in 1972? ### Context: CREATE TABLE table_1341640_11 (candidates VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT COUNT(candidates) FROM table_1341640_11 WHERE first_elected = 1972 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the party with the candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? ### Context: CREATE TABLE table_1341640_11 (party VARCHAR, candidates VARCHAR) [/INST] ### Response: SELECT party FROM table_1341640_11 WHERE candidates = "Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.9%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the earliest first elected for district georgia 1? ### Context: CREATE TABLE table_1341640_11 (first_elected INTEGER, district VARCHAR) [/INST] ### Response: SELECT MIN(first_elected) FROM table_1341640_11 WHERE district = "Georgia 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many parties were for candidates newt gingrich (r) 59.1% dock h. davis (d) 40.9%? ### Context: CREATE TABLE table_1341640_11 (party VARCHAR, candidates VARCHAR) [/INST] ### Response: SELECT COUNT(party) FROM table_1341640_11 WHERE candidates = "Newt Gingrich (R) 59.1% Dock H. Davis (D) 40.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: How many incumbents were for district georgia 6? ### Context: CREATE TABLE table_1341640_11 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT COUNT(incumbent) FROM table_1341640_11 WHERE district = "Georgia 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 district for tim lee hall ### Context: CREATE TABLE table_1341672_14 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1341672_14 WHERE incumbent = "Tim Lee Hall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected for phil crane ### Context: CREATE TABLE table_1341672_14 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(first_elected) FROM table_1341672_14 WHERE incumbent = "Phil Crane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the party for tim lee hall ### Context: CREATE TABLE table_1341672_14 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_1341672_14 WHERE incumbent = "Tim Lee Hall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates for illinois 15 ### Context: CREATE TABLE table_1341672_14 (candidates VARCHAR, district VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1341672_14 WHERE district = "Illinois 15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected for abner j. mikva ### Context: CREATE TABLE table_1341672_14 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_1341672_14 WHERE incumbent = "Abner J. Mikva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent for first elected of 1944 ### Context: CREATE TABLE table_1341672_14 (incumbent VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT COUNT(incumbent) FROM table_1341672_14 WHERE first_elected = 1944 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many incumbents come from alvin bush's district? ### Context: CREATE TABLE table_1341930_38 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(candidates) FROM table_1341930_38 WHERE incumbent = "Alvin Bush" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the candidates in the Kentucky 4 voting district? ### Context: CREATE TABLE table_1342218_17 (candidates VARCHAR, district VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1342218_17 WHERE district = "Kentucky 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 times was incumbent Noble Jones Gregory first elected? ### Context: CREATE TABLE table_1342218_17 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(first_elected) FROM table_1342218_17 WHERE incumbent = "Noble Jones Gregory" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 voting district Kentucky 2? ### Context: CREATE TABLE table_1342218_17 (result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT result FROM table_1342218_17 WHERE district = "Kentucky 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 was the result of the election incumbent Brent Spence took place in? ### Context: CREATE TABLE table_1342218_17 (result VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT result FROM table_1342218_17 WHERE incumbent = "Brent Spence" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party won in the election in voting district Kentucky 5? ### Context: CREATE TABLE table_1342218_17 (party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT party FROM table_1342218_17 WHERE district = "Kentucky 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: List all candidates in the democratic party where the election had the incumbent Frank Chelf running. ### Context: CREATE TABLE table_1342218_17 (candidates VARCHAR, party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1342218_17 WHERE party = "Democratic" AND incumbent = "Frank Chelf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district is jamie l. whitten from? ### Context: CREATE TABLE table_1342233_24 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_1342233_24 WHERE incumbent = "Jamie L. Whitten" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates are from mississippi 6? ### Context: CREATE TABLE table_1342233_24 (candidates VARCHAR, district VARCHAR) [/INST] ### Response: SELECT candidates FROM table_1342233_24 WHERE district = "Mississippi 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 incumbent from 1941? ### Context: CREATE TABLE table_1342233_24 (incumbent VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_1342233_24 WHERE first_elected = 1941 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result for w. arthur winstead? ### Context: CREATE TABLE table_1342233_24 (result VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT result FROM table_1342233_24 WHERE incumbent = "W. Arthur Winstead" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were first elected in the Arkansas 4 district? ### Context: CREATE TABLE table_1342233_5 (first_elected VARCHAR, district VARCHAR) [/INST] ### Response: SELECT COUNT(first_elected) FROM table_1342233_5 WHERE district = "Arkansas 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 districts had William F. Norrell as the incumbent? ### Context: CREATE TABLE table_1342233_5 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(district) FROM table_1342233_5 WHERE incumbent = "William F. Norrell" </s>