Hello!
Sorry - new here! First query!
I want to display all of the records in Table1 but also there are loads of records in Table2 that have the same ID and I want to count each of these for each record in Table1
e.g.
Table1 =
ID
----
1
2
3
4
Table2 =
ID
-----
1
1
1
2
2
2
2
3
And I want an output that looks like:
ID Count
--- ---------
1 3
2 4
3 1
Sorry for being confusing!
Many thanks in advance!