sql queries working for filters