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

Database

 
AnswerRe: smarter ways to make a column value unique Pin
Hamid_RT15-Jan-09 2:28
Hamid_RT15-Jan-09 2:28 
QuestionHow to generate XML reoprt programmatically using SQL Server Reporting Services Pin
DipaliG13-Jan-09 18:32
DipaliG13-Jan-09 18:32 
AnswerCross-post Pin
Wendelius13-Jan-09 21:54
mentorWendelius13-Jan-09 21:54 
QuestionSQL Server 2005 query execution time Pin
sujithkumarsl13-Jan-09 18:05
sujithkumarsl13-Jan-09 18:05 
AnswerRe: SQL Server 2005 query execution time Pin
RyanEK13-Jan-09 19:05
RyanEK13-Jan-09 19:05 
GeneralRe: SQL Server 2005 query execution time Pin
sujithkumarsl13-Jan-09 19:07
sujithkumarsl13-Jan-09 19:07 
AnswerRe: SQL Server 2005 query execution time Pin
Wendelius13-Jan-09 21:05
mentorWendelius13-Jan-09 21:05 
Questionsql group by and minimum Pin
swjam13-Jan-09 15:41
swjam13-Jan-09 15:41 
anyone can help me solve the following problem say i have the following rows for a table:

Col1      Col2       Col3
1            3         20
2            6         512
1            2         23
4            9         429
3            8         92
4            7         35
2            9         1


I would like to group by Col1 and then get the minimum of Col2 and the corresponding value in Col3 for those minimum so I get the following:

Result Set:

1      2      23
2      6      512
3      8      92
4      7      35


----------------------------------------------------------
"unzip; strip; touch; finger; mount; fsck; more; yes; unmount; sleep" - my daily unix command list

AnswerRe: sql group by and minimum Pin
Reza Raad13-Jan-09 17:26
Reza Raad13-Jan-09 17:26 
AnswerRe: sql group by and minimum Pin
RyanEK13-Jan-09 17:29
RyanEK13-Jan-09 17:29 
QuestionStored Procedure for Dynamic Table Creation Pin
Sunset Towers13-Jan-09 10:49
Sunset Towers13-Jan-09 10:49 
AnswerRe: Stored Procedure for Dynamic Table Creation Pin
Wendelius13-Jan-09 11:06
mentorWendelius13-Jan-09 11:06 
GeneralRe: Stored Procedure for Dynamic Table Creation Pin
Sunset Towers13-Jan-09 11:55
Sunset Towers13-Jan-09 11:55 
GeneralRe: Stored Procedure for Dynamic Table Creation Pin
Wendelius13-Jan-09 21:50
mentorWendelius13-Jan-09 21:50 
GeneralRe: Stored Procedure for Dynamic Table Creation Pin
Mycroft Holmes14-Jan-09 0:08
professionalMycroft Holmes14-Jan-09 0:08 
QuestionSQL Server 2008 Management Studio Installation Pin
Grapes-R-Fun13-Jan-09 5:57
Grapes-R-Fun13-Jan-09 5:57 
AnswerRe: SQL Server 2008 Management Studio Installation Pin
Wendelius13-Jan-09 6:22
mentorWendelius13-Jan-09 6:22 
GeneralRe: SQL Server 2008 Management Studio Installation Pin
Grapes-R-Fun13-Jan-09 6:41
Grapes-R-Fun13-Jan-09 6:41 
GeneralRe: SQL Server 2008 Management Studio Installation Pin
Wendelius13-Jan-09 7:26
mentorWendelius13-Jan-09 7:26 
AnswerRe: SQL Server 2008 Management Studio Installation Pin
Reza Raad13-Jan-09 17:40
Reza Raad13-Jan-09 17:40 
Questiontry catch in T-SQL Pin
George_George12-Jan-09 21:59
George_George12-Jan-09 21:59 
AnswerRe: try catch in T-SQL Pin
Wendelius12-Jan-09 22:16
mentorWendelius12-Jan-09 22:16 
GeneralRe: try catch in T-SQL Pin
George_George13-Jan-09 0:58
George_George13-Jan-09 0:58 
AnswerRe: try catch in T-SQL Pin
Hamid_RT15-Jan-09 2:28
Hamid_RT15-Jan-09 2:28 
GeneralRe: try catch in T-SQL Pin
George_George15-Jan-09 18:29
George_George15-Jan-09 18:29 

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.