<P> Deputy Bernard Milton "Barney" Fife is Deputy Sheriff of Mayberry . Thin, wiry and high - strung, Barney fancies himself an expert lawman even though--in reality--he is actually a bumbling goof . In episodes 001 and 002, Andy refers to him as "Cousin Barney". In episode 025, his middle name is said to be "Oliver"; in episode 082, his middle name according to his high school yearbook is "Milton", in episode 157 (season 5) his middle initial is repeated as "P". He considers his position to be essential to keeping Mayberry safe . Even though the town has very little crime, he dubs the town: "Mayberry, Gateway to Danger". Andy keeps Barney's crime - fighting shenanigans to a reasonable level, but tries to never step on his ego . For safety reasons, he only allows Barney to carry one bullet, which he keeps in his shirt pocket until needed . Often, when the bullet is employed, Barney accidentally shoots the bullet into the floor, narrowly missing his own foot . Like Andy, he has a steady stream of girlfriends, but his longest lasting relationship is with Thelma Lou . In episode 028, Barney has just met Thelma Lou at the "Junction Diner". In season five, he takes a job as a detective in Raleigh, leaving Mayberry, but returns in seasons six through eight for guest appearances . </P> <P> Beatrice "Aunt Bee" Taylor is Andy's paternal aunt . Aunt Bee is a spinster in her late - 50s who raised Andy . She was living alone in West Virginia when Andy invited her to come to live with him and Opie, after their housekeeper Rose got married and moved away . Aunt Bee is a motherly figure who takes the place of Opie's late mother and dotes over the boy, caring for his welfare and taking care of Andy as well . She is prominent in town, a respected lady who spends her time helping with social functions and church events . She is prone to spend time with her friends gossiping about the town's citizens . </P> <Table> <Tr> <Th> Name </Th> <Th> Seasons </Th> <Th> No. of episodes </Th> <Th> Played by </Th> <Th> Brief character summary </Th> </Tr> <Tr> <Td> Goober Pyle </Td> <Td> 4--8 </Td> <Td> 86 </Td> <Td> George Lindsey </Td> <Td> Auto mechanic and cousin of Gomer Pyle (Called Goober Beasley in Season 5 Episode 23 "TV or Not TV") </Td> </Tr> <Tr> <Td> Floyd Lawson </Td> <Td> 1--7 </Td> <Td> 80 </Td> <Td> Howard McNear </Td> <Td> The barber </Td> </Tr> <Tr> <Td> Helen Crump </Td> <Td> 3--8 </Td> <Td> 66 </Td> <Td> Aneta Corsaut </Td> <Td> School teacher and Andy's girlfriend in later episodes </Td> </Tr> <Tr> <Td> Howard Sprague </Td> <Td> 6--8 </Td> <Td> 37 </Td> <Td> Jack Dodson </Td> <Td> The milquetoast county clerk </Td> </Tr> <Tr> <Td> Otis Campbell </Td> <Td> 1--7 </Td> <Td> 32 </Td> <Td> Hal Smith </Td> <Td> The town drunk who lets himself into the jail to sleep it off </Td> </Tr> <Tr> <Td> Clara Edwards </Td> <Td> 1--8 </Td> <Td> 31 </Td> <Td> Hope Summers </Td> <Td> aka Clara Johnson, Bertha Edwards; a widow who is Aunt Bee's best friend </Td> </Tr> <Tr> <Td> Thelma Lou </Td> <Td> 1--6 </Td> <Td> 26 </Td> <Td> Betty Lynn </Td> <Td> Barney's girlfriend . Her last name was never revealed . </Td> </Tr> <Tr> <Td> Gomer Pyle </Td> <Td> 3--4 </Td> <Td> 23 </Td> <Td> Jim Nabors </Td> <Td> Dim - witted mechanic at Wally's Filling Station; a deputy when needed; joins the United States Marine Corps </Td> </Tr> <Tr> <Td> Emmett Clark </Td> <Td> 8 </Td> <Td> 16 </Td> <Td> Paul Hartman </Td> <Td> Fix - it shop owner / operator </Td> </Tr> <Tr> <Td> Ellie Walker </Td> <Td> </Td> <Td> 12 </Td> <Td> Elinor Donahue </Td> <Td> Andy's first girlfriend of the series; pharmacist at drug store </Td> </Tr> <Tr> <Td> Johnny Paul Jason </Td> <Td> 3--6 </Td> <Td> 11 </Td> <Td> Richard Keith </Td> <Td> Opie's best friend </Td> </Tr> <Tr> <Td> Deputy Warren Ferguson </Td> <Td> 6 </Td> <Td> 11 </Td> <Td> Jack Burns </Td> <Td> Floyd's nephew; replaces Barney </Td> </Tr> <Tr> <Td> Mayor Pike </Td> <Td> 1--2 </Td> <Td> 11 </Td> <Td> Dick Elliott </Td> <Td> Mayor of Mayberry </Td> </Tr> <Tr> <Td> Judd Fletcher </Td> <Td> 1--7 </Td> <Td> 8 </Td> <Td> Burt Mustin </Td> <Td> Elderly citizen of Mayberry </Td> </Tr> <Tr> <Td> Mayor Roy Stoner </Td> <Td> </Td> <Td> 7 </Td> <Td> Parley Baer </Td> <Td> Mayor of Mayberry </Td> </Tr> <Tr> <Td> Briscoe Darling </Td> <Td> 3--7 </Td> <Td> 6 </Td> <Td> Denver Pyle </Td> <Td> Head of The Darlings </Td> </Tr> <Tr> <Td> Charlene Darling </Td> <Td> 3--7 </Td> <Td> 5 </Td> <Td> Maggie Peterson </Td> <Td> Briscoe Darling's daughter . Had a crush on Andy . </Td> </Tr> <Tr> <Td> Reverend Hobart M. Tucker </Td> <Td> 3--8 </Td> <Td> 6 </Td> <Td> William Keene </Td> <Td> Pastor of All Souls Church </Td> </Tr> <Tr> <Td> The Darling Boys </Td> <Td> 3--7 </Td> <Td> 6 </Td> <Td> The Dillards </Td> <Td> Musical brothers played by real - life bluegrass band </Td> </Tr> <Tr> <Td> Ben Weaver </Td> <Td> 1--8 </Td> <Td> 6 </Td> <Td> Will Wright / Tol Avery </Td> <Td> Miserly old landlord and department store owner </Td> </Tr> <Tr> <Td> Emma Watson </Td> <Td> 1--2 </Td> <Td> 6 </Td> <Td> Cheerio Meredith </Td> <Td> aka Emma Brand </Td> </Tr> <Tr> <Td> Ernest T. Bass </Td> <Td> 3--6 </Td> <Td> 5 </Td> <Td> Howard Morris </Td> <Td> A troublemaking mountain man </Td> </Tr> <Tr> <Td> Asa Breeney </Td> <Td> 3--5 </Td> <Td> 5 </Td> <Td> Charles P. Thompson </Td> <Td> The elderly (always sleeping) Mayberry Bank guard </Td> </Tr> <Tr> <Td> John Masters </Td> <Td> 2--5 </Td> <Td> 5 </Td> <Td> Olan Soule </Td> <Td> Choir director and hotel manager </Td> </Tr> <Tr> <Td> Leon </Td> <Td> 2--4 </Td> <Td> 5 </Td> <Td> Clint Howard </Td> <Td> Toddler in a cowboy outfit </Td> </Tr> <Tr> <Td> Peggy McMillan </Td> <Td> </Td> <Td> </Td> <Td> Joanna Moore </Td> <Td> Andy's girlfriend and nurse </Td> </Tr> <Tr> <Td> Sam Jones </Td> <Td> 8 </Td> <Td> </Td> <Td> Ken Berry </Td> <Td> Widowed farmer </Td> </Tr> <Tr> <Td> Rafe Hollister </Td> <Td> 2--3 </Td> <Td> </Td> <Td> Jack Prince </Td> <Td> Local farmer and moonshiner </Td> </Tr> <Tr> <Td> Wally </Td> <Td> 6 </Td> <Td> </Td> <Td> Norman Leavitt (2) Trevor Bardette Cliff Norton </Td> <Td> Owner of the filling station where Gomer and later Goober work </Td> </Tr> <Tr> <Td> Martha Clark </Td> <Td> 8 </Td> <Td> </Td> <Td> Mary Lansing </Td> <Td> Emmett's wife </Td> </Tr> <Tr> <Td> Trey Bowden </Td> <Td> </Td> <Td> </Td> <Td> David Alan Bailey </Td> <Td> Opie's friend </Td> </Tr> <Tr> <Td> Daphne </Td> <Td> 3--5 </Td> <Td> </Td> <Td> Jean Carson </Td> <Td> One of "The Fun Girls" </Td> </Tr> <Tr> <Td> Skippy </Td> <Td> 3--5 </Td> <Td> </Td> <Td> Joyce Jameson </Td> <Td> The other "Fun Girl" </Td> </Tr> <Tr> <Td> Malcolm Merriweather </Td> <Td> 3--6 </Td> <Td> </Td> <Td> Bernard Fox </Td> <Td> English valet </Td> </Tr> <Tr> <Td> Hilda Mae </Td> <Td> </Td> <Td> </Td> <Td> Florence MacMichael </Td> <Td> Girlfriend of Barney in season 1, replaced by Thelma Lou . </Td> </Tr> </Table> <Tr> <Th> Name </Th> <Th> Seasons </Th> <Th> No. of episodes </Th> <Th> Played by </Th> <Th> Brief character summary </Th> </Tr>

Who played the teacher on the andy griffith show
find me the text answering this question