Why wont this mySQL query wont work? - Printable Version -Shoutbox (https://shoutbox.menthix.net) +-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58) +--- Forum: Skype & Technology (/forumdisplay.php?fid=9) +---- Forum: Tech Talk (/forumdisplay.php?fid=17) +----- Thread: Why wont this mySQL query wont work? (/showthread.php?tid=50498) Why wont this mySQL query wont work? by Mike on 09-14-2005 at 07:08 PM
code: It says: quote: I tried doing something like that: code:but it didnt just show that Max(ID), it also showed other IDs, with wrong artists and titles... Anyone help please? Thanks. RE: Why wont this mySQL query wont work? by wj on 09-14-2005 at 08:24 PM
SELECT `ID`, `artist`, `title` FROM `historylist` WHERE ID IN (SELECT max(ID) FROM historylist) RE: Why wont this mySQL query wont work? by RaceProUK on 09-14-2005 at 08:26 PM
SELECT `ID`, `artist`, `title` quote:should also work. RE: Why wont this mySQL query wont work? by Mike on 09-15-2005 at 09:18 AM
Thanks for your help code:which also works |