I have data with no relation. Just need to count various columns from 3 tables and display them on the page as a view.
This is the code so far but doesn’t work:
SELECT COUNT(cars) AS A,
(SELECT COUNT(boats) FROM tableBoats) AS B,
(SELECT COUNT(trees) FROM tableTrees) AS C,
FROM tableCars
should do it.