Click here to Skip to main content
15,923,051 members
Home / Discussions / Database
   

Database

 
AnswerRe: Sql server Date Diff Pin
Frank Kerrigan5-Sep-07 22:56
Frank Kerrigan5-Sep-07 22:56 
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 
Hi,
Here is my query.
Select * from Table1


Result

Department NewYork Chicago Washington LA

DepartmentA 1 5 4 0
DepartMentB 2 0 0 3
DepartMentC 0 1 1 1


What I need to do is to get the Top 3 City. ( here Chicago,WashingTon,LA)
Can i filter out the columne with the query ? When I use TOP, it can show top 3 rows.
But, that's not what I want.

Can anybody help me, please?

AnswerRe: How to filter column ? Pin
John-ph5-Sep-07 0:42
John-ph5-Sep-07 0:42 
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 

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.