Added different filter sql statements