use view  to filter data instead sql where