How to using mysql query in django?

后端 未结 0 1532
逝去的感伤
逝去的感伤 2020-12-11 00:33

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题