我在php(mysql)中生成一个报告,
例如:
`select count(id) as tot_user from user_table
select count(id) as tot_cat from cat_table
select count(id) as tot_course from course_table`
Run Code Online (Sandbox Code Playgroud)
像这样我有12张桌子.
我可以在单个查询中进行.如果我做了?流程变慢了?
mysql ×1