I have two tables
Say Table-A and Table-B
Table-A
id | Article Name |date
1 | ABC | 25/2/2011
2 | xyz | 26/2/2011
Table-B
id | Comment | Article-id
1 | good | 1
2 | nice article | 2
3 | Apreciable | 1
Output required is
Table-C
id | Article Name | date | NumberOfComments
1 | ABC | 25/2/2011 | 2
2 | xyz | 26/2/2011 | 1
Please suggest !!!
Something like this should do (untested, not at home):