Click here to Skip to main content
15,888,340 members
Home / Discussions / Database
   

Database

 
GeneralRe: SELECT ... GROUP BY Error Pin
Jörgen Andersson26-Oct-11 23:46
professionalJörgen Andersson26-Oct-11 23:46 
GeneralRe: SELECT ... GROUP BY Error Pin
Jörgen Andersson27-Oct-11 0:09
professionalJörgen Andersson27-Oct-11 0:09 
GeneralRe: SELECT ... GROUP BY Error Pin
Blue_Boy26-Oct-11 5:00
Blue_Boy26-Oct-11 5:00 
AnswerRe: SELECT ... GROUP BY Error Pin
Chris Meech26-Oct-11 2:45
Chris Meech26-Oct-11 2:45 
GeneralRe: SELECT ... GROUP BY Error Pin
MikeDhaan26-Oct-11 4:23
MikeDhaan26-Oct-11 4:23 
GeneralRe: SELECT ... GROUP BY Error Pin
Chris Meech26-Oct-11 4:27
Chris Meech26-Oct-11 4:27 
GeneralRe: SELECT ... GROUP BY Error Pin
MikeDhaan26-Oct-11 4:57
MikeDhaan26-Oct-11 4:57 
GeneralRe: SELECT ... GROUP BY Error Pin
Mycroft Holmes26-Oct-11 5:03
professionalMycroft Holmes26-Oct-11 5:03 
Do a little research on Row_Number, Partition and Ranking. Using these you can set up an inner query that ranks the records by date partitioned over type.

The outer query would then join by date and type where the rank = 1.
Never underestimate the power of human stupidity
RAH

GeneralRe: SELECT ... GROUP BY Error Pin
Chris Meech26-Oct-11 5:14
Chris Meech26-Oct-11 5:14 
GeneralRe: SELECT ... GROUP BY Error Pin
MikeDhaan26-Oct-11 5:29
MikeDhaan26-Oct-11 5:29 
GeneralRe: SELECT ... GROUP BY Error Pin
Mycroft Holmes26-Oct-11 14:01
professionalMycroft Holmes26-Oct-11 14:01 
GeneralRe: SELECT ... GROUP BY Error Pin
Jörgen Andersson26-Oct-11 23:56
professionalJörgen Andersson26-Oct-11 23:56 
AnswerRe: SELECT ... GROUP BY Error Pin
purnananda behera7-Nov-11 19:10
purnananda behera7-Nov-11 19:10 
Questionrestore mysql database from [Program Files] Pin
Jassim Rahma24-Oct-11 3:48
Jassim Rahma24-Oct-11 3:48 
AnswerRe: restore mysql database from [Program Files] Pin
Eddy Vluggen24-Oct-11 8:39
professionalEddy Vluggen24-Oct-11 8:39 
GeneralRe: restore mysql database from [Program Files] Pin
Jassim Rahma28-Oct-11 15:03
Jassim Rahma28-Oct-11 15:03 
GeneralRe: restore mysql database from [Program Files] Pin
Jassim Rahma28-Oct-11 15:05
Jassim Rahma28-Oct-11 15:05 
AnswerRe: restore mysql database from [Program Files] Pin
Eddy Vluggen29-Oct-11 2:06
professionalEddy Vluggen29-Oct-11 2:06 
GeneralRe: restore mysql database from [Program Files] Pin
Jassim Rahma29-Oct-11 9:04
Jassim Rahma29-Oct-11 9:04 
QuestionStored procedure query Pin
mehrdadov23-Oct-11 23:20
mehrdadov23-Oct-11 23:20 
AnswerRe: Stored procedure query Pin
Blue_Boy24-Oct-11 4:25
Blue_Boy24-Oct-11 4:25 
AnswerRe: Stored procedure query Pin
Eddy Vluggen24-Oct-11 8:40
professionalEddy Vluggen24-Oct-11 8:40 
AnswerRe: Stored procedure query Pin
jschell24-Oct-11 8:44
jschell24-Oct-11 8:44 
QuestionRemove empty spaces in a String in TSQL Pin
Vimalsoft(Pty) Ltd20-Oct-11 2:08
professionalVimalsoft(Pty) Ltd20-Oct-11 2:08 
AnswerRe: Remove empty spaces in a String in TSQL Pin
Blue_Boy20-Oct-11 2:15
Blue_Boy20-Oct-11 2:15 

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.