Click here to Skip to main content
15,901,035 members
Home / Discussions / Database
   

Database

 
QuestionDistinct Select Query Pin
Shajeel4-Sep-07 21:23
Shajeel4-Sep-07 21:23 
AnswerRe: Distinct Select Query Pin
John-ph5-Sep-07 0:10
John-ph5-Sep-07 0:10 
GeneralRe: Distinct Select Query Pin
Shajeel5-Sep-07 1:19
Shajeel5-Sep-07 1:19 
AnswerRe: Distinct Select Query Pin
Frank Kerrigan5-Sep-07 1:03
Frank Kerrigan5-Sep-07 1:03 
QuestionSql Ansi Pin
Clickok4-Sep-07 16:50
Clickok4-Sep-07 16:50 
AnswerRe: Sql Ansi Pin
Sathesh Sakthivel4-Sep-07 20:13
Sathesh Sakthivel4-Sep-07 20:13 
QuestionHow to filter column ? Pin
RichardBlare4-Sep-07 16:34
RichardBlare4-Sep-07 16:34 
AnswerRe: How to filter column ? Pin
John-ph5-Sep-07 0:42
John-ph5-Sep-07 0:42 
RichardBlare wrote:
Select * from Table1

I suppose this is you query...and My doubt is
RichardBlare wrote:
Department NewYork Chicago Washington LA

Is this your table columns?
RichardBlare wrote:
DepartmentA 1 5 4 0
DepartMentB 2 0 0 3
DepartMentC 0 1 1 1

Is this your output?
RichardBlare wrote:
Chicago,WashingTon,LA

Is this you want?
RichardBlare wrote:
Can anybody help me, please?

If I'm not wrong please tell...Do you need a output that gives you the list of Column names that has maximum values?
If I'm wrong Please explain more clearly what you want...








Regards
J O H N Rose | [Rose]

"Even eagles need a push." David McNally

GeneralRe: How to filter column ? Pin
RichardBlare5-Sep-07 0:52
RichardBlare5-Sep-07 0:52 
GeneralRe: How to filter column ? Pin
Frank Kerrigan5-Sep-07 1:10
Frank Kerrigan5-Sep-07 1:10 
QuestionClear the Service Broker Queue Pin
FernandoMartin4-Sep-07 7:21
FernandoMartin4-Sep-07 7:21 
Questionreading xml by sql function Pin
Sachin Pimpale4-Sep-07 1:49
Sachin Pimpale4-Sep-07 1:49 
AnswerRe: reading xml by sql function Pin
WoutL4-Sep-07 1:54
WoutL4-Sep-07 1:54 
Questionhow t o call a stored procedure inside a stored procedure Pin
bhattiprolu4-Sep-07 0:59
bhattiprolu4-Sep-07 0:59 
AnswerRe: how t o call a stored procedure inside a stored procedure Pin
John-ph4-Sep-07 1:17
John-ph4-Sep-07 1:17 
GeneralRe: how t o call a stored procedure inside a stored procedure Pin
bhattiprolu4-Sep-07 1:26
bhattiprolu4-Sep-07 1:26 
GeneralRe: how t o call a stored procedure inside a stored procedure Pin
John-ph4-Sep-07 1:30
John-ph4-Sep-07 1:30 
GeneralRe: how t o call a stored procedure inside a stored procedure Pin
bhattiprolu4-Sep-07 1:34
bhattiprolu4-Sep-07 1:34 
GeneralRe: how t o call a stored procedure inside a stored procedure Pin
John-ph4-Sep-07 1:46
John-ph4-Sep-07 1:46 
GeneralRe: how t o call a stored procedure inside a stored procedure Pin
bhattiprolu4-Sep-07 2:03
bhattiprolu4-Sep-07 2:03 
GeneralRe: how t o call a stored procedure inside a stored procedure Pin
John-ph4-Sep-07 2:57
John-ph4-Sep-07 2:57 
QuestionInsert data into database Pin
Tuanhung1894-Sep-07 0:35
Tuanhung1894-Sep-07 0:35 
AnswerRe: Insert data into database Pin
John-ph4-Sep-07 1:03
John-ph4-Sep-07 1:03 
AnswerRe: Insert data into database Pin
Rami Said Abd Alhalim4-Sep-07 6:26
Rami Said Abd Alhalim4-Sep-07 6:26 
QuestionSql server. varbinary or varchar Pin
Eli Nurman4-Sep-07 0:24
Eli Nurman4-Sep-07 0:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.