Welcome Guest, Not a member yet? Register   Sign In
MYSQL Query
#4

[eluser]missionsix[/eluser]
I think you might be coming at it the wrong way then. Try to select from the history table first, and join the member. Select a distinct customerID from the table, join the member on that customerID and order by the creation date as you have now. Since you have more than one history note, this will give you the latest notes and return the associated member to that history note.


Messages In This Thread
MYSQL Query - by El Forum - 04-21-2008, 05:21 PM
MYSQL Query - by El Forum - 04-21-2008, 07:14 PM
MYSQL Query - by El Forum - 04-22-2008, 11:06 AM
MYSQL Query - by El Forum - 04-22-2008, 02:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB