Altered db query for getting birds to use abbreviated table names