标签:info HERE ima src acl load ora mic highlight
1、在查询中根据A字段关联另一个表,并用另一个表A字段对应的另一个字段替换本表中A字段的值。
virtualid表,两列label, number;virtualid_zd表,两列name, number,查询virtualid表中各name所对应的label值:
select name, (select label from virtualid_zd where number = a.number) as number, from virtualid_zd a
标签:info HERE ima src acl load ora mic highlight
原文地址:https://www.cnblogs.com/wynlfd/p/14933809.html