Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
COUNT() Function
Message
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Titre:
COUNT() Function
Divers
Thread ID:
01114075
Message ID:
01114075
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform