human
Considering the provided database schema and associated query, produce SQL code to retrieve the answer to the query. 
###Database Schema: Townland, Area( acres ), Barony, Civil parish, Poor law union
###Question: Name  the townland for fermoy and ballynoe
gpt
SELECT Townland FROM table WHERE Poor law union = Fermoy AND Civil parish = Ballynoe