Playing w/queries
- From: "Ron" <nospam@xxxxxxxxx>
- Date: Wed, 10 Jan 2007 23:57:30 +0100
Hi,
Have a complex (for me) query which combines several subqueries and tables
to get the following information:
Agent_ID, Agent_Name, (and their expenses) Transportation, Salary, Meals..
(and their incomes) Commissions, bonus,..and dates.
I'd like to create an output where vertically will list the agents' names
and horizontally their expenses and incomes ordered by month.
Something like:
January February
Transportation, Salary. Transportation, Salary.
Agente_Name: 120 1200 100
1200
Not sure if it's possible but I thought to ask.
TIA
Ron
SQL2k
--------------------------------------------------------------------------------
Estoy utilizando la versión gratuita de SPAMfighter para usuarios privados.
Ha eliminado 1696 correos spam hasta la fecha.
Los abonados no tienen este mensaje en sus correos.
¡Pruebe SPAMfighter gratis ya!
.
- Follow-Ups:
- Re: Playing w/queries
- From: Dejan Sarka
- Re: Playing w/queries
- Prev by Date: RE: Error using OPENROWSET
- Next by Date: Re: Playing w/queries
- Previous by thread: MDX newbie question please
- Next by thread: Re: Playing w/queries
- Index(es):
Relevant Pages
|