MySQL Get row with greatest parent row
If you have a database of CDs, and artists, etc. Say you want to get a list of artists with their most recent releases: SELECT artist.name, album.title, album.release_date FROM artist…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
If you have a database of CDs, and artists, etc. Say you want to get a list of artists with their most recent releases: SELECT artist.name, album.title, album.release_date FROM artist…
Don’t use DATE_FORMAT when trying to assertain the latest date in a table. It won’t work. DATE_FORMAT will convert the dates to a string, and then the MAX will compare…