sql 语法树 常量

 

 

SELECT id,'|',url,'|',update_time FROM tab LIMIT 10;
SELECT COUNT(1) AS parent,(SELECT COUNT(1) FROM tab WHERE id%2=0) AS child FROM tab;

 

posted @ 2017-12-22 16:59  papering  阅读(492)  评论(0编辑  收藏  举报