imp系统运维用到的sql文件版本仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12345678
  1. 银行客商查询
  2. select sd2.dept_name, b.dept_name,count(*) from custbank b
  3. LEFT JOIN SYS_DEPARTMENT sd ON b.DEPT_ID = sd.ID
  4. LEFT JOIN SYS_DEPARTMENT sd2 ON sd2.DEPT_CODE = sd.f_id
  5. where b.ctStatus = '已准入'
  6. group by sd2.dept_name,b.dept_name