摘要:
--定义变量 1 a numeric; 方式一: 1 select sqla into a from table1 where b = '1' ; --这是sql语句赋值 方式二: 1 2 sql1:= 'select a from table1 where b = ' '1' ' '; execu 阅读全文
摘要:
清洗决策易的客户 select * from jcyclient where clientid=0 create index jcyclient_index on jcyclient(clientname) update jcyclient set clientname=replace(client 阅读全文
摘要:
查询各连锁的标签 select a.id,a.name,b.name as label from client as a left join label b on b.id = any(a.label) where a.category='6' and b.parentid=1 如果有多个标签,可以 阅读全文