rrchowdhary
Programmer
I am having trouble getting the count of records from tableA
I need to find the LocationId whose count is < 5
here is the Sample Data
I need to get the LocationId whose count < 5 and, in this case i should get the LocationId 3 from Table A.
Thanks very much for any help.
I need to find the LocationId whose count is < 5
here is the Sample Data
Code:
TableA
=======
LocationId
1
2
3
TableB
=======
LocationId DocumentId
1 1000
1 1001
1 1002
1 1003
1 1004
2 1005
2 1006
2 1007
2 1008
2 1009
Thanks very much for any help.