Hi
I'm struggling with why my SQL command won't work.
If i run
I get 23140 records!
However, as soon as I try to group and count with..
I get 0 records, what am i doing wrong?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
I'm struggling with why my SQL command won't work.
If i run
Code:
SELECT FirstName + ' ' + LastName AS Adviser,CompanyName FROM Business_Register LEFT JOIN Members ON Business_Register.Adv_MemNo = Members.ID WHERE Adv_MemNo like 'n%'
I get 23140 records!
However, as soon as I try to group and count with..
Code:
SELECT FirstName + ' ' + LastName AS Adviser,CompanyName,COUNT(1) AS Cases FROM Business_Register LEFT JOIN Members ON Business_Register.Adv_MemNo = Members.ID WHERE Adv_MemNo like 'n%' GROUP BY Adviser,CompanyName
I get 0 records, what am i doing wrong?
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts