Using this Query:
SELECT OracleID, FirstName+" "+LastName AS Name, Max([PrefChangeDate]) AS LastPrefChange, Client, TM, Extention, HireDate, Termed, TermDate
FROM AgentPrefs
WHERE PrefChangeDate Is Not Null
GROUP BY OracleID, FirstName, LastName, Client, TM, Extention, HireDate...
I had XP and RedHat 7.2 both installed on my Laptop not too long ago. I've also fooled around with installing RedHat on my desktop machine with XP. If your going to run XP / Linux dual booting, it's probably best to use the Grub bootloader. XP doesn't like Lilo for some reason.
There is really no one difference between the rows that would cause it to pull them. After 10 columns added to the group by, it pulls one, if I had all the columns I want to pull, it ends up pulling all rows where PrefChangeDate != Null.
I'm thinking of restructuring the database to maybe make...
Hrm, one thing I just noticed. Once I go over 10 columns pulled from the table, that query no longer works, it starts pulling extra records..
My exact SELECT statement:
SELECT OracleID, FirstName+" "+LastName AS Name, Max([PrefChangeDate]) AS LastPrefChange, Client, TM, Extention...
Ok, I've been trying for a couple days to get this query to work work.
Here's an example of the data I'm working with:
ID | FirstName | LastName | LastUpdate
----------------------------------------------------
999 | John | Doe | <null>
9999| Jane | Doe | <null>
999 | John | Doe |...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.