|
-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-
bounces@xxxxxxxxxxxx] On Behalf Of David FOXWELL
Sent: maandag 4 augustus 2008 11:24
To: Midrange Systems Technical Discussion
Subject: SQL select statement
Hi everyone,
I have a master file like this :
AgentCode AgentName StatisticType StatisticTotal
I have to extract records from this file :
AgentCode StatType StatTotal
I have to select the records by AgentCode, StatType, sum(StatTotal)
and insert them into the master file.
How do I get AgentName into my select statement ?
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.