随笔分类 - SQL
摘要:附件:city.sql - djmg mysql查询某节点下层的所有元素节点: select parentId, areaId, areaCode,areaName, level, center from city_area where find_in_set(areaId, (select GRO
阅读全文
摘要:DATA(update_date) = '20020615'. SELECT SINGLE update_date INTO @update_date FROM ztest WHERE update_date = '20020616'. WRITE update_date. 当表中不存在数据时 即返
阅读全文