Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
COUNT() Function
Message
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
COUNT() Function
Miscellaneous
Thread ID:
01114075
Message ID:
01114075
Views:
67
What's wrong with this? When I remove the count() function, it works fine.
SELECT r.id,
       r.transaction_date,
       0 as batchid,
       r.telemrkt_company,
       t.company_code,
       count(*) as Cnt
FROM result_detail r
JOIN telemrkt_company t on r.telemrkt_company = t.id
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform