【发布时间】:2019-04-04 14:14:28
【问题描述】:
我有三个名为users、'clients'和'products'的mysql表。我想计算同一查询中每个表的“id”字段。可能吗?请帮我。
提前致谢。
【问题讨论】:
-
count the 'id' field of every table是什么意思? -
我想得到如下结果:total_user = 10,total_clients = 15,total_products = 20
-
请参阅this。可能会给你一个想法。
-
谢谢@Jixone 兄弟