text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the class a for pearland ### Context: CREATE TABLE table_14601528_2 (class_a VARCHAR, class_aAAAA VARCHAR, Pearland VARCHAR) [/INST] ### Response: SELECT class_a FROM table_14601528_2 WHERE class_aAAAA = Pearland </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class aaaaa for 2005-06 ### Context: CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAAAA FROM table_14601528_2 WHERE school_year = "2005-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of class aaaaa for 1988-89 ### Context: CREATE TABLE table_14601528_2 (class_aAAAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT COUNT(class_aAAAA) FROM table_14601528_2 WHERE school_year = "1988-89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage of females where in India and are maharashtra? ### Context: CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, india_state_ut VARCHAR) [/INST] ### Response: SELECT females___percentage_ FROM table_14598_9 WHERE india_state_ut = "Maharashtra" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage of all females that are literate people have a percentage of 68.74? ### Context: CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, literate_persons___percentage_ VARCHAR) [/INST] ### Response: SELECT females___percentage_ FROM table_14598_9 WHERE literate_persons___percentage_ = "68.74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the percentage of females where the state code is a 4? ### Context: CREATE TABLE table_14598_9 (females___percentage_ VARCHAR, state_ut_code VARCHAR) [/INST] ### Response: SELECT females___percentage_ FROM table_14598_9 WHERE state_ut_code = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the percentage of all the literate people where females are 73.17? ### Context: CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, females___percentage_ VARCHAR) [/INST] ### Response: SELECT literate_persons___percentage_ FROM table_14598_9 WHERE females___percentage_ = "73.17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage of literate people where india is andaman and Nicobar Islands? ### Context: CREATE TABLE table_14598_9 (literate_persons___percentage_ VARCHAR, india_state_ut VARCHAR) [/INST] ### Response: SELECT literate_persons___percentage_ FROM table_14598_9 WHERE india_state_ut = "Andaman and Nicobar Islands" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class AAAA champion in 2006-07? ### Context: CREATE TABLE table_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAAA FROM table_14603057_2 WHERE school_year = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there a class A winner when Gregory-Portland was the class AAAA? ### Context: CREATE TABLE table_14603057_2 (class_a VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR) [/INST] ### Response: SELECT COUNT(class_a) FROM table_14603057_2 WHERE class_aAAA = Gregory - Portland </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class AAAA winners where in 2002-03? ### Context: CREATE TABLE table_14603057_2 (class_aAAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT COUNT(class_aAAA) FROM table_14603057_2 WHERE school_year = "2002-03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the class AAAAA in 2008-09? ### Context: CREATE TABLE table_14603057_2 (class_aAAAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAAAA FROM table_14603057_2 WHERE school_year = "2008-09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the Class AA winner when Plains was Class A winner and Lubbock was Class AAAAA winner? ### Context: CREATE TABLE table_14603057_2 (class_aA VARCHAR, class_a VARCHAR, class_aAAAA VARCHAR, Lubbock VARCHAR) [/INST] ### Response: SELECT class_aA FROM table_14603057_2 WHERE class_a = "Plains" AND class_aAAAA = Lubbock </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class A winner in 2006-07? ### Context: CREATE TABLE table_14603057_2 (class_a VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_a FROM table_14603057_2 WHERE school_year = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If class a is canadian and class aaa is wimberley, which possible school years could this fall on? ### Context: CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aAA VARCHAR, Wimberley VARCHAR, class_a VARCHAR) [/INST] ### Response: SELECT school_year FROM table_14603212_1 WHERE class_aAA = Wimberley AND class_a = "Canadian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For franklin of class aa, which school years does this occur? ### Context: CREATE TABLE table_14603212_1 (school_year VARCHAR, class_aA VARCHAR, Franklin VARCHAR) [/INST] ### Response: SELECT school_year FROM table_14603212_1 WHERE class_aA = Franklin </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school years have a class a being lindsay and a class aaa being cuero? ### Context: CREATE TABLE table_14603212_1 (school_year VARCHAR, class_a VARCHAR, class_aAA VARCHAR, Cuero VARCHAR) [/INST] ### Response: SELECT school_year FROM table_14603212_1 WHERE class_a = "Lindsay" AND class_aAA = Cuero </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What season was the overall record 29-7? ### Context: CREATE TABLE table_14609295_4 (season VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT season FROM table_14609295_4 WHERE overall = "29-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: How far into the postseason did the Rams go when their record was 29-7? ### Context: CREATE TABLE table_14609295_4 (postseason VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT postseason FROM table_14609295_4 WHERE overall = "29-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 was the Ram's conference record when they were the CBI champions? ### Context: CREATE TABLE table_14609295_4 (conference VARCHAR, postseason VARCHAR) [/INST] ### Response: SELECT conference FROM table_14609295_4 WHERE postseason = "CBI Champions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What season was the overall record 24-10? ### Context: CREATE TABLE table_14609295_4 (season VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT season FROM table_14609295_4 WHERE overall = "24-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 are the school years where class "AAA" is argyle? ### Context: CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAA VARCHAR, Argyle VARCHAR) [/INST] ### Response: SELECT school_year FROM table_14603212_5 WHERE class_aAA = Argyle </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the AAA classes in the school years of 2005-06? ### Context: CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2005-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the AAAA classes in the schools years 2004-05? ### Context: CREATE TABLE table_14603212_5 (class_aAAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAAA FROM table_14603212_5 WHERE school_year = "2004-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the school years where class AAAA is in Gregory-Portland? ### Context: CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR) [/INST] ### Response: SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the AAA classes in the school years of 2004-05? ### Context: CREATE TABLE table_14603212_5 (class_aAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT class_aAA FROM table_14603212_5 WHERE school_year = "2004-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all classes for the position SLB? ### Context: CREATE TABLE table_14624447_24 (class VARCHAR, position VARCHAR) [/INST] ### Response: SELECT class FROM table_14624447_24 WHERE position = "SLB" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all weights for the number 27? ### Context: CREATE TABLE table_14624447_24 (weight VARCHAR, number VARCHAR) [/INST] ### Response: SELECT weight FROM table_14624447_24 WHERE number = 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 are all names for the position FS? ### Context: CREATE TABLE table_14624447_24 (name VARCHAR, position VARCHAR) [/INST] ### Response: SELECT name FROM table_14624447_24 WHERE position = "FS" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call sign for the 17 physical ### Context: CREATE TABLE table_14623167_1 (call_sign VARCHAR, physical VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_14623167_1 WHERE physical = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding for forum communications ### Context: CREATE TABLE table_14623167_1 (branding VARCHAR, owner VARCHAR) [/INST] ### Response: SELECT branding FROM table_14623167_1 WHERE owner = "Forum Communications" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 branding for 31 physical ### Context: CREATE TABLE table_14623167_1 (branding VARCHAR, physical VARCHAR) [/INST] ### Response: SELECT COUNT(branding) FROM table_14623167_1 WHERE physical = 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 virtual for NBC ### Context: CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR) [/INST] ### Response: SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "NBC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 virtual for Fox ### Context: CREATE TABLE table_14623167_1 (virtual VARCHAR, network VARCHAR) [/INST] ### Response: SELECT COUNT(virtual) FROM table_14623167_1 WHERE network = "Fox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owners for prairie public ### Context: CREATE TABLE table_14623167_1 (owner VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT COUNT(owner) FROM table_14623167_1 WHERE branding = "Prairie Public" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class aaa for 2006-07 ### Context: CREATE TABLE table_14630796_1 (class_aAA VARCHAR, school_year VARCHAR) [/INST] ### Response: SELECT COUNT(class_aAA) FROM table_14630796_1 WHERE school_year = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class aaaa for menard ### Context: CREATE TABLE table_14630796_1 (class_aAAA VARCHAR, class_a VARCHAR) [/INST] ### Response: SELECT class_aAAA FROM table_14630796_1 WHERE class_a = "Menard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 class a for carthage ### Context: CREATE TABLE table_14630796_1 (class_a VARCHAR, class_aAAA VARCHAR, Carthage VARCHAR) [/INST] ### Response: SELECT class_a FROM table_14630796_1 WHERE class_aAAA = Carthage </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the original title of europe for dummies? ### Context: CREATE TABLE table_14631909_1 (original_title VARCHAR, english_title VARCHAR) [/INST] ### Response: SELECT original_title FROM table_14631909_1 WHERE english_title = "Europe for Dummies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 version of Mariusz Szczygieł book? ### Context: CREATE TABLE table_14631909_1 (english_title VARCHAR, author VARCHAR) [/INST] ### Response: SELECT english_title FROM table_14631909_1 WHERE author = "Mariusz Szczygieł" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pole position with date being august 10 ### Context: CREATE TABLE table_14638077_2 (pole_position VARCHAR, date VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_14638077_2 WHERE date = "August 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: how many winning team with circuit being road america ### Context: CREATE TABLE table_14638077_2 (winning_team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(winning_team) FROM table_14638077_2 WHERE circuit = "Road America" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning driver with pole position being paul tracy and race name being miller genuine draft 200 ### Context: CREATE TABLE table_14638077_2 (winning_driver VARCHAR, pole_position VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_14638077_2 WHERE pole_position = "Paul Tracy" AND race_name = "Miller Genuine Draft 200" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pole position with rnd being 16 ### Context: CREATE TABLE table_14638077_2 (pole_position VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_14638077_2 WHERE rnd = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the race name with date being september 7 ### Context: CREATE TABLE table_14638077_2 (race_name VARCHAR, date VARCHAR) [/INST] ### Response: SELECT race_name FROM table_14638077_2 WHERE date = "September 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 circuit with rnd being 5 ### Context: CREATE TABLE table_14638077_2 (circuit VARCHAR, rnd VARCHAR) [/INST] ### Response: SELECT circuit FROM table_14638077_2 WHERE rnd = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of appearances where the most recent final result is 1999, beat Genk 3-1? ### Context: CREATE TABLE table_1463332_2 (_number_appearances VARCHAR, most_recent_final VARCHAR) [/INST] ### Response: SELECT COUNT(_number_appearances) FROM table_1463332_2 WHERE most_recent_final = "1999, beat Genk 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: What is the number of runner-up results for the years (won in bold) 1984, 2010? ### Context: CREATE TABLE table_1463332_2 (_number_runner_up INTEGER, years__won_in_bold_ VARCHAR) [/INST] ### Response: SELECT MAX(_number_runner_up) FROM table_1463332_2 WHERE years__won_in_bold_ = "1984, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most recent final result for the years (won in bold) 1979? ### Context: CREATE TABLE table_1463332_2 (most_recent_final VARCHAR, years__won_in_bold_ VARCHAR) [/INST] ### Response: SELECT most_recent_final FROM table_1463332_2 WHERE years__won_in_bold_ = "1979" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the title with original air date being september23,1995 ### Context: CREATE TABLE table_14637853_3 (title VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT title FROM table_14637853_3 WHERE original_air_date = "September23,1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote with original air date being september23,1995 ### Context: CREATE TABLE table_14637853_3 (written_by VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT written_by FROM table_14637853_3 WHERE original_air_date = "September23,1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed with original air date being november18,1995 ### Context: CREATE TABLE table_14637853_3 (directed_by VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_14637853_3 WHERE original_air_date = "November18,1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentages of social democratic correspond to a 5.5% left bloc? ### Context: CREATE TABLE table_1463383_1 (social_democratic VARCHAR, left_bloc VARCHAR) [/INST] ### Response: SELECT social_democratic FROM table_1463383_1 WHERE left_bloc = "5.5%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was there 8.9% Green-Communist? ### Context: CREATE TABLE table_1463383_1 (date_released VARCHAR, green_communist VARCHAR) [/INST] ### Response: SELECT date_released FROM table_1463383_1 WHERE green_communist = "8.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 socialists correspond to a 7.5% People's Party? ### Context: CREATE TABLE table_1463383_1 (socialist VARCHAR, peoples_party VARCHAR) [/INST] ### Response: SELECT COUNT(socialist) FROM table_1463383_1 WHERE peoples_party = "7.5%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all percentages of Left Block when there is a 28.7% Social Democratic? ### Context: CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR) [/INST] ### Response: SELECT left_bloc FROM table_1463383_1 WHERE social_democratic = "28.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: If Socialist is at 46.1%, what are all percentages for social democratic? ### Context: CREATE TABLE table_1463383_1 (social_democratic VARCHAR, socialist VARCHAR) [/INST] ### Response: SELECT social_democratic FROM table_1463383_1 WHERE socialist = "46.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 percentages of Left Bloc correspond to a 32.1% Social Democratic? ### Context: CREATE TABLE table_1463383_1 (left_bloc VARCHAR, social_democratic VARCHAR) [/INST] ### Response: SELECT COUNT(left_bloc) FROM table_1463383_1 WHERE social_democratic = "32.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 is the NFL team of the player whose college is Minnesota? ### Context: CREATE TABLE table_14650162_1 (nfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_14650162_1 WHERE college = "Minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college did the defensive back attend? ### Context: CREATE TABLE table_14650162_1 (college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_14650162_1 WHERE position = "Defensive Back" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number of the player whose college is Florida State? ### Context: CREATE TABLE table_14650162_1 (pick__number VARCHAR, college VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_14650162_1 WHERE college = "Florida State" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many colleges did pick number 269 attend? ### Context: CREATE TABLE table_14650162_1 (college VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT COUNT(college) FROM table_14650162_1 WHERE pick__number = 269 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 picks played Tight end? ### Context: CREATE TABLE table_14650162_1 (pick__number VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_14650162_1 WHERE position = "Tight End" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position of the player whose college is Western Kentucky? ### Context: CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does Robert Brooks play? ### Context: CREATE TABLE table_14649522_1 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_14649522_1 WHERE player = "Robert Brooks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team does Robert Brooks play with? ### Context: CREATE TABLE table_14649522_1 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_14649522_1 WHERE player = "Robert Brooks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team picked from South Carolina college? ### Context: CREATE TABLE table_14649522_1 (nfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_14649522_1 WHERE college = "South Carolina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college was the wide receiver whose pick was less than 130.0 picked from? ### Context: CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position(s) does the player drafted #34 play? ### Context: CREATE TABLE table_14650373_1 (position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT position FROM table_14650373_1 WHERE pick__number = 34 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number? ### Context: CREATE TABLE table_14650373_1 (pick__number INTEGER) [/INST] ### Response: SELECT MAX(pick__number) FROM table_14650373_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 number picked were players from arizona state picked? ### Context: CREATE TABLE table_14650373_1 (pick__number VARCHAR, college VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_14650373_1 WHERE college = "Arizona State" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What NFL team does player keith woodside play for? ### Context: CREATE TABLE table_14650373_1 (nfl_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nfl_team FROM table_14650373_1 WHERE player = "Keith Woodside" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player with college being penn state ### Context: CREATE TABLE table_14655985_1 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_14655985_1 WHERE college = "Penn State" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the position with college being usc ### Context: CREATE TABLE table_14655985_1 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_14655985_1 WHERE college = "USC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college with player being rich voltzke ### Context: CREATE TABLE table_14655985_1 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(college) FROM table_14655985_1 WHERE player = "Rich Voltzke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college with position being placekicker ### Context: CREATE TABLE table_14655985_1 (college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_14655985_1 WHERE position = "Placekicker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player where pick # is 64 ### Context: CREATE TABLE table_14655985_1 (player VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT player FROM table_14655985_1 WHERE pick__number = 64 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day were the Denver Broncos the opponent? ### Context: CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_14655917_1 WHERE opponent = "Denver Broncos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was the oppenent the detroit lions? ### Context: CREATE TABLE table_14655917_1 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_14655917_1 WHERE opponent = "Detroit Lions" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record of 0-1 from the table? ### Context: CREATE TABLE table_14656147_2 (week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT week FROM table_14656147_2 WHERE record = "0-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: Type the record details if any result has L 3-6 in it? ### Context: CREATE TABLE table_14656147_2 (record VARCHAR, result VARCHAR) [/INST] ### Response: SELECT record FROM table_14656147_2 WHERE result = "L 3-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: Find the least value of attendance? ### Context: CREATE TABLE table_14656147_2 (attendance INTEGER) [/INST] ### Response: SELECT MIN(attendance) FROM table_14656147_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: type the attendance for playing with tampa bay buccaneers? ### Context: CREATE TABLE table_14656147_2 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_14656147_2 WHERE opponent = "Tampa Bay Buccaneers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbers were recorded under revenue when revenue per capita was $6,126? ### Context: CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, revenue_per_capita VARCHAR) [/INST] ### Response: SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE revenue_per_capita = "$6,126" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 spending per capita when the revenue per capita was $7,755? ### Context: CREATE TABLE table_14700336_1 (spending_per_capita VARCHAR, revenue_per_capita VARCHAR) [/INST] ### Response: SELECT spending_per_capita FROM table_14700336_1 WHERE revenue_per_capita = "$7,755" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 recorded result under presidential majority 2000/2004 when the presiditial majority in 2012 was non-voting? ### Context: CREATE TABLE table_14700336_1 (presidential_majority_2000_2004 VARCHAR, presidential_majority_2012 VARCHAR) [/INST] ### Response: SELECT presidential_majority_2000_2004 FROM table_14700336_1 WHERE presidential_majority_2012 = "Non-voting" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 revenue in millions recorded when the spending per capita was $6,736? ### Context: CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR) [/INST] ### Response: SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest number of DVDs? ### Context: CREATE TABLE table_1467951_4 (dvd_no INTEGER) [/INST] ### Response: SELECT MAX(dvd_no) FROM table_1467951_4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of episodes? ### Context: CREATE TABLE table_1467951_4 (ep_no INTEGER) [/INST] ### Response: SELECT MAX(ep_no) FROM table_1467951_4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most recent release date? ### Context: CREATE TABLE table_1467951_4 (release_date INTEGER) [/INST] ### Response: SELECT MAX(release_date) FROM table_1467951_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 release dates does volume 4 DVD have? ### Context: CREATE TABLE table_1467951_4 (release_date VARCHAR, dvd_name VARCHAR) [/INST] ### Response: SELECT COUNT(release_date) FROM table_1467951_4 WHERE dvd_name = "Volume 4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the arrival time for no. 14? ### Context: CREATE TABLE table_14688744_2 (arrival VARCHAR, no VARCHAR) [/INST] ### Response: SELECT arrival FROM table_14688744_2 WHERE no = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the arrival time where the station code is awy? ### Context: CREATE TABLE table_14688744_2 (arrival VARCHAR, station_code VARCHAR) [/INST] ### Response: SELECT arrival FROM table_14688744_2 WHERE station_code = "AWY" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of stations have station code is awy? ### Context: CREATE TABLE table_14688744_2 (station VARCHAR, station_code VARCHAR) [/INST] ### Response: SELECT COUNT(station) FROM table_14688744_2 WHERE station_code = "AWY" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arrival time where station code is pnvl? ### Context: CREATE TABLE table_14688744_2 (arrival VARCHAR, station_code VARCHAR) [/INST] ### Response: SELECT arrival FROM table_14688744_2 WHERE station_code = "PNVL" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many years was the total 402? ### Context: CREATE TABLE table_14707564_1 (years VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(years) FROM table_14707564_1 WHERE total = 402 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 young rider classification in Stage 9 where the mountain classification was Emanuele Sella? ### Context: CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT young_rider_classification FROM table_14710984_2 WHERE mountains_classification = "Emanuele Sella" AND stage = 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: Who is the general classification leader for stage 3? ### Context: CREATE TABLE table_14710984_2 (general_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT general_classification FROM table_14710984_2 WHERE stage = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who won the points classifications in the stage where Matteo Priamo was the winner? ### Context: CREATE TABLE table_14710984_2 (points_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT COUNT(points_classification) FROM table_14710984_2 WHERE winner = "Matteo Priamo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 awarded the young ride classification leader when the winner was Marzio Bruseghin? ### Context: CREATE TABLE table_14710984_2 (young_rider_classification VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT young_rider_classification FROM table_14710984_2 WHERE winner = "Marzio Bruseghin" </s>