Implement sale query based on client