What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » Need some help with some MySQL trickery

Need some help with some MySQL trickery
Author: Message:
MeEtc
Patchou's look-alike
*****

Avatar
In the Shadow Gallery once again

Posts: 2200
Reputation: 60
38 / Male / Flag
Joined: Nov 2004
Status: Away
O.P. RE: Need some help with some MySQL trickery
Its been answered in IRC, thanks to Adeptus
code:

SELECT a.`notes`, a.`itemid`
FROM yass_log a
JOIN
   (SELECT MAX(`logid`) AS logid
   FROM yass_log
   GROUP BY `itemid`) b
ON a.`logid` = b.`logid`
JOIN yass_image_items c
ON a.`itemid` = c.`itemid`
WHERE c.`uid` = 1
AND a.`notes` <> ''


This post was edited on 09-08-2008 at 02:29 AM by MeEtc.
[Image: signature/]     [Image: sharing.png]
I cannot hear you. There is a banana in my ear.
09-08-2008 02:21 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
Need some help with some MySQL trickery - by MeEtc on 09-08-2008 at 01:28 AM
RE: Need some help with some MySQL trickery - by MeEtc on 09-08-2008 at 02:21 AM
RE: Need some help with some MySQL trickery - by Dempsey on 09-08-2008 at 07:40 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On