Possible en utilisant Sub-Query
OU UNION
est possible d'obtenir le COUNT
à partir de plusieurs tables.Essayez cette requête :
SELECT
(SELECT count(*) FROM `car_model` WHERE user_id=3 ) AS car_model_count,
(SELECT COUNT(*) FROM `list_item` WHERE user_id=3) AS list_item_count,
(SELECT count(*) FROM `part_item` WHERE user_id=3) AS part_item_count;