
sql如下:
SELECT
(select count(*) from cisp_platform_school where `status` = 'active') AS school_count,
(select count(*) from cisp_system_users where user_type = 0 and is_active = 1 ) as teacher_count ,
(select count(*) from cisp_system_users where user_type = 1 and is_active = 1) as student_count,
(select count(*) from cisp_case_lib where is_active = 1 ) as caselib_count;
)
欢迎加群讨论技术,1群:677373950(满了,可以加,但通过不了),2群:656732739。有需要软件开发,或者学习软件技术的朋友可以和我联系~(Q:815170684)
评价
排名
8
文章
243
粉丝
7
评论
7
ICP备案 :渝ICP备18016597号-1
网站信息:2018-2025TNBLOG.NET
技术交流:群号656732739
联系我们:contact@tnblog.net
公网安备:
50010702506256


欢迎加群交流技术