This is my construct query, i need to filter data based on fromdate and todate,and also based on adminid, whats wrong am i doing here,is there any other way? Answer You’re not concatenating. You forgot the ‘.’. There is also no need to append the ‘NULL’. If you don’t want to do anything with executive_id, then don’t add anything to