I want to query next id like this in django
select CONCAT("EMP",LPAD(IFNULL(MAX(substr(emp_idgen,4,3)+1),"1"),3,"0")) from store_employe