query data without deleted data