I am trying to get get the number of records from 2 tables in the one SQL query.
Access JET does not even have an error for this.
Thanks in advance.
Access JET does not even have an error for this.
Code:
SELECT (
SELECT COUNT(*)
FROM tbl_task
) AS count1,
(
SELECT COUNT(*)
FROM tbl_note
) AS count2;