Możliwe przy użyciu Sub-Query
LUB UNION
można uzyskać COUNT
z wielu tabel.Wypróbuj to zapytanie :
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;