You are here: Re: Displaying Data Across when data goes down! Has to be easy! « MsSQL Server « IT news, forums, messages
Re: Displaying Data Across when data goes down! Has to be easy!

Posted by ZeldorBlat on 05/03/07 00:36

On May 2, 8:04 pm, gwhi...@kc.rr.com wrote:
> I have a table with:
>
> Name, Qtr, Amount
> Tom, 1, 100
> Bob, 1, 123
> Tom, 2, 234
> Bob, 2, 456
> Steve, 1, 565
> Steve, 2, 898
>
> I want the query to return:
>
> Name, Qtr 1 Amount, Qtr 2 Amount
> Bob 123 456
> Steve 565 898
> Tom 100 234
>
> I can't seem to figure this out! Any help would be appreciated!!
> Sheila

Search this newsgroup for the word "crosstab."

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация