Click here to Skip to main content
15,886,799 members
Home / Discussions / Database
   

Database

 
QuestionError Pin
Member 1116162531-Mar-15 2:11
Member 1116162531-Mar-15 2:11 
AnswerRe: Error Pin
CHill6031-Mar-15 2:19
mveCHill6031-Mar-15 2:19 
QuestionRe: Error Pin
Richard Deeming31-Mar-15 8:54
mveRichard Deeming31-Mar-15 8:54 
AnswerRe: Error Pin
CHill6031-Mar-15 12:36
mveCHill6031-Mar-15 12:36 
AnswerRe: Error Pin
Mycroft Holmes31-Mar-15 12:48
professionalMycroft Holmes31-Mar-15 12:48 
GeneralRe: Error Pin
Richard Deeming1-Apr-15 0:39
mveRichard Deeming1-Apr-15 0:39 
QuestionConvert msaccess pivot to mssql pivot Pin
kdaras30-Mar-15 22:22
kdaras30-Mar-15 22:22 
AnswerRe: Convert msaccess pivot to mssql pivot Pin
CHill6031-Mar-15 2:44
mveCHill6031-Mar-15 2:44 
GeneralRe: Convert msaccess pivot to mssql pivot Pin
kdaras31-Mar-15 19:45
kdaras31-Mar-15 19:45 
GeneralRe: Convert msaccess pivot to mssql pivot Pin
CHill6031-Mar-15 20:43
mveCHill6031-Mar-15 20:43 
Questionretrieving index info Pin
loyal ginger30-Mar-15 9:39
loyal ginger30-Mar-15 9:39 
AnswerRe: retrieving index info Pin
Sascha Lefèvre30-Mar-15 13:07
professionalSascha Lefèvre30-Mar-15 13:07 
QuestionINSERT from with a loop using MySQL Pin
Jassim Rahma30-Mar-15 4:39
Jassim Rahma30-Mar-15 4:39 
QuestionOracle create database error: Error in process: C:\app\...\product\12.1.0\dbhome_1\perl\bin\perl.exe Pin
KasGuest29-Mar-15 22:32
KasGuest29-Mar-15 22:32 
SuggestionRe: Oracle create database error: Error in process: C:\app\...\product\12.1.0\dbhome_1\perl\bin\perl.exe Pin
Kornfeld Eliyahu Peter29-Mar-15 23:43
professionalKornfeld Eliyahu Peter29-Mar-15 23:43 
GeneralRe: Oracle create database error: Error in process: C:\app\...\product\12.1.0\dbhome_1\perl\bin\perl.exe Pin
KasGuest30-Mar-15 0:34
KasGuest30-Mar-15 0:34 
AnswerRe: Oracle create database error: Error in process: C:\app\...\product\12.1.0\dbhome_1\perl\bin\perl.exe Pin
Eddy Vluggen30-Mar-15 0:57
professionalEddy Vluggen30-Mar-15 0:57 
GeneralRe: Oracle create database error: Error in process: C:\app\...\product\12.1.0\dbhome_1\perl\bin\perl.exe Pin
KasGuest30-Mar-15 1:29
KasGuest30-Mar-15 1:29 
GeneralRe: Oracle create database error: Error in process: C:\app\...\product\12.1.0\dbhome_1\perl\bin\perl.exe Pin
Eddy Vluggen30-Mar-15 1:39
professionalEddy Vluggen30-Mar-15 1:39 
QuestionGet a single record for each user Pin
Meax25-Mar-15 22:49
Meax25-Mar-15 22:49 
AnswerRe: Get a single record for each user Pin
Afzaal Ahmad Zeeshan25-Mar-15 23:17
professionalAfzaal Ahmad Zeeshan25-Mar-15 23:17 
GeneralRe: Get a single record for each user Pin
Meax25-Mar-15 23:30
Meax25-Mar-15 23:30 
GeneralRe: Get a single record for each user Pin
Afzaal Ahmad Zeeshan25-Mar-15 23:36
professionalAfzaal Ahmad Zeeshan25-Mar-15 23:36 
GeneralRe: Get a single record for each user Pin
Meax25-Mar-15 23:47
Meax25-Mar-15 23:47 
GeneralRe: Get a single record for each user Pin
RUs12326-Mar-15 0:42
RUs12326-Mar-15 0:42 
Well you select all columns and group by LogDate.
Group by makes a single row out of all the rows that have the same LogDate in this example.
But what information is it supposed to put in ?
That's what aggregate functions are for.


However I think you should group by name, where LogDate=the day you want to select by.
You could also group by LogDate and name.
Anything that isn't in group by must be in an aggregate function.
So you have to decide which time you want to have selected (from what I deducted, first log ? ).

A bit unrelated to your question, but why do you have ID's that repeat ?

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.