Am sory if the title is not matching with this question.
I have 2 table and 1 query, like this picture below:

The query said:
And i want to show the result of query just in year 2016, how to code this query?
Am sory for my bad english, i hope you understand. Thank you
I have 2 table and 1 query, like this picture below:

The query said:
Code:
SELECT A1, (SELECT COUNT(C1) FROM Table1 WHERE Table2.ID=Table1.C1 OR Table2.ID=Table1.C2) AS Total FROM Table2;
Am sory for my bad english, i hope you understand. Thank you
Comment