CREATE TABLE table_name_21 (team VARCHAR, year_entered_league VARCHAR, location VARCHAR)

Which team had a year entering the league under 2009, located in Bath?
SELECT team FROM table_name_21 WHERE year_entered_league < 2009 AND location = "bath"
SELECT "team" FROM "table_name_21" WHERE "bath" = "location" AND "year_entered_league" < 2009