SHOW FULL COLUMNS FROM `zx_system` [ RunTime:0.000557s ]
SELECT * FROM `zx_system` WHERE `id` = 1 LIMIT 1 [ RunTime:0.000324s ]
SHOW FULL COLUMNS FROM `zx_article` [ RunTime:0.000448s ]
SHOW FULL COLUMNS FROM `zx_course` [ RunTime:0.000429s ]
SHOW FULL COLUMNS FROM `zx_cate` [ RunTime:0.000416s ]
SHOW FULL COLUMNS FROM `zx_school` [ RunTime:0.000433s ]
select id,1 as type,title,create_time from zx_article where title like '%日語%'
UNION
select id,2 as type,title,create_time from zx_school where title like '%日語%'
UNION
select id,3 as type,title,create_time from zx_course where title like '%日語%'
order by create_time desc [ RunTime:0.000452s ]
SELECT * FROM `zx_school` WHERE `status` = 1 ORDER BY rand() LIMIT 12 [ RunTime:0.000749s ]
SELECT * FROM `zx_school` WHERE `status` = 1 ORDER BY rand() LIMIT 12 [ RunTime:0.000732s ]
SELECT `a`.* FROM `zx_course` `a` LEFT JOIN `zx_school` `b` ON `a`.`school_id`=`b`.`id` WHERE `a`.`status` = '1' AND `b`.`status` = '1' ORDER BY rand() LIMIT 12 [ RunTime:0.001095s ]