Click here to Skip to main content
15,905,028 members
Home / Discussions / Database
   

Database

 
GeneralRe: index Pin
Xmen Real 24-Nov-07 3:50
professional Xmen Real 24-Nov-07 3:50 
GeneralRe: index Pin
John-ph24-Nov-07 18:17
John-ph24-Nov-07 18:17 
GeneralRe: index Pin
Xmen Real 24-Nov-07 18:32
professional Xmen Real 24-Nov-07 18:32 
Questionusing datasets Pin
haseeb_saeed23-Nov-07 20:40
haseeb_saeed23-Nov-07 20:40 
QuestionAuto Increment and Decrement column data Pin
D i x y23-Nov-07 20:11
D i x y23-Nov-07 20:11 
AnswerRe: Auto Increment and Decrement column data Pin
pmarfleet23-Nov-07 23:01
pmarfleet23-Nov-07 23:01 
QuestionAggregate function on multiple table Pin
Rock Star.23-Nov-07 19:34
Rock Star.23-Nov-07 19:34 
AnswerRe: Aggregate function on multiple table Pin
pmarfleet23-Nov-07 22:55
pmarfleet23-Nov-07 22:55 
There's no difference between using aggregate functions on a single-table query to a multiple-table query.

The problem with your query is that it doesn't have a GROUP BY clause. You use a GROUP BY clause to group similar items of data together. For each group of distinct data items, the COUNT function will return the count of items within this group. Without a GROUP BY clause, no grouping of data will occur and the COUNT function will always return 1.

Paul Marfleet

"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush


AnswerRe: Aggregate function on multiple table Pin
Pete O'Hanlon25-Nov-07 9:34
mvePete O'Hanlon25-Nov-07 9:34 
QuestionError 5172 Pin
Developer61123-Nov-07 18:54
Developer61123-Nov-07 18:54 
AnswerRe: Error 5172 Pin
pmarfleet23-Nov-07 22:58
pmarfleet23-Nov-07 22:58 
QuestionCase statement in WHERE clause Pin
moon_stick23-Nov-07 4:41
moon_stick23-Nov-07 4:41 
AnswerRe: Case statement in WHERE clause Pin
pmarfleet23-Nov-07 5:21
pmarfleet23-Nov-07 5:21 
AnswerRe: Case statement in WHERE clause Pin
andyharman23-Nov-07 6:06
professionalandyharman23-Nov-07 6:06 
QuestionSQL SCRIPT Pin
kibromg23-Nov-07 0:39
kibromg23-Nov-07 0:39 
AnswerRe: SQL SCRIPT Pin
Hesham Amin23-Nov-07 1:02
Hesham Amin23-Nov-07 1:02 
GeneralRe: SQL SCRIPT Pin
kibromg23-Nov-07 1:15
kibromg23-Nov-07 1:15 
GeneralRe: SQL SCRIPT Pin
kibromg23-Nov-07 1:38
kibromg23-Nov-07 1:38 
GeneralRe: SQL SCRIPT Pin
KambojR23-Nov-07 2:39
KambojR23-Nov-07 2:39 
GeneralRe: SQL SCRIPT Pin
kibromg23-Nov-07 2:54
kibromg23-Nov-07 2:54 
GeneralRe: SQL SCRIPT Pin
Hesham Amin23-Nov-07 2:58
Hesham Amin23-Nov-07 2:58 
GeneralRe: SQL SCRIPT Pin
kibromg23-Nov-07 3:12
kibromg23-Nov-07 3:12 
GeneralRe: SQL SCRIPT Pin
Hesham Amin23-Nov-07 2:56
Hesham Amin23-Nov-07 2:56 
GeneralRe: SQL SCRIPT Pin
KambojR23-Nov-07 3:01
KambojR23-Nov-07 3:01 
GeneralRe: SQL SCRIPT Pin
kibromg23-Nov-07 3:02
kibromg23-Nov-07 3:02 

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.