Question: Which Year has a Borough of harrogate, and a Rank smaller than 6, and a Definition of civil parish?
SQL: SELECT Year FROM table WHERE Borough = harrogate AND Rank < 6 AND Definition = civil parish