Click here to Skip to main content
15,900,258 members
Home / Discussions / Database
   

Database

 
GeneralRe: an insert query with return value Pin
Mycroft Holmes23-May-10 11:07
professionalMycroft Holmes23-May-10 11:07 
GeneralRe: an insert query with return value Pin
Luc Pattyn23-May-10 13:51
sitebuilderLuc Pattyn23-May-10 13:51 
QuestionMultiple columns at GROUP BY clause in CASE clause [modified] Pin
Naunt19-May-10 22:58
Naunt19-May-10 22:58 
AnswerRe: Multiple columns at GROUP BY clause in CASE clause Pin
Johan Hakkesteegt19-May-10 23:51
Johan Hakkesteegt19-May-10 23:51 
GeneralRe: Multiple columns at GROUP BY clause in CASE clause Pin
David Skelly20-May-10 0:37
David Skelly20-May-10 0:37 
GeneralRe: Multiple columns at GROUP BY clause in CASE clause Pin
Johan Hakkesteegt20-May-10 0:41
Johan Hakkesteegt20-May-10 0:41 
GeneralRe: Multiple columns at GROUP BY clause in CASE clause Pin
Naunt20-May-10 15:54
Naunt20-May-10 15:54 
QuestionRe: Multiple columns at GROUP BY clause in CASE clause Pin
Chris Meech20-May-10 2:39
Chris Meech20-May-10 2:39 
Couple of questions.
Why the use of Distinct? This doesn't make sense to me.
How can you group by b.qty when it is being summed?

This might vary by database, but trying to group by a field (c.status) that is not being selected is usually an error as well. I think you are trying to get two different results sets from similar queries. It might be better to keep the queries separate, or at least until both of them are working. Smile | :)
Chris Meech
I am Canadian. [heard in a local bar]

In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

QuestionRe: Multiple columns at GROUP BY clause in CASE clause Pin
Naunt20-May-10 16:35
Naunt20-May-10 16:35 
AnswerRe: Multiple columns at GROUP BY clause in CASE clause Pin
Johan Hakkesteegt21-May-10 0:47
Johan Hakkesteegt21-May-10 0:47 
AnswerRe: Multiple columns at GROUP BY clause in CASE clause Pin
Chris Meech21-May-10 1:15
Chris Meech21-May-10 1:15 
QuestionSql Server Remote Connection Error Pin
sudheesh kumar s19-May-10 20:30
sudheesh kumar s19-May-10 20:30 
AnswerRe: Sql Server Remote Connection Error Pin
_Damian S_19-May-10 20:36
professional_Damian S_19-May-10 20:36 
GeneralRe: Sql Server Remote Connection Error Pin
sudheesh kumar s19-May-10 21:24
sudheesh kumar s19-May-10 21:24 
QuestionSQL query problem Pin
josephong19-May-10 19:31
josephong19-May-10 19:31 
AnswerRe: SQL query problem Pin
_Damian S_19-May-10 20:19
professional_Damian S_19-May-10 20:19 
GeneralRe: SQL query problem Pin
josephong19-May-10 21:49
josephong19-May-10 21:49 
GeneralRe: SQL query problem Pin
Shameel23-May-10 5:21
professionalShameel23-May-10 5:21 
QuestionCompair Two tables and return result in column Pin
Sachin Pimpale18-May-10 23:41
Sachin Pimpale18-May-10 23:41 
AnswerRe: Compair Two tables and return result in column Pin
Tripathi Swati19-May-10 0:19
Tripathi Swati19-May-10 0:19 
GeneralRe: Compair Two tables and return result in column Pin
Sachin Pimpale19-May-10 1:53
Sachin Pimpale19-May-10 1:53 
GeneralRe: Compair Two tables and return result in column Pin
Tripathi Swati19-May-10 20:17
Tripathi Swati19-May-10 20:17 
AnswerRe: Compair Two tables and return result in column Pin
J4amieC19-May-10 2:25
J4amieC19-May-10 2:25 
QuestionDatawarehousing in oracle Pin
richa02118-May-10 11:42
richa02118-May-10 11:42 
AnswerRe: Datawarehousing in oracle Pin
i.j.russell18-May-10 12:26
i.j.russell18-May-10 12: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.