Jump to content

Query to supress older dates


tHud

Recommended Posts

phpMyAdmin 2.6.0-pl3

MySQL 4.1.22-standard-log

 

Hello :)

I need to generate a report that will only display the latest date that a device was serviced.

Each piece of equipment will have several job sheets attached to it but I would like to display only the latest one.

 

For instance, in the list below I would like the monitor & printer to be listed - but also only the pump serviced on 25/12/2010.

 

I'd appreciate if someone could guide me on this

 

Device      Serviced

pump        01/06/2009

pump        25/12/2010

monitor      01/02/2010

printer      01/04/2010

pump        02/02/2010

 

Thank you :)

Link to comment
https://forums.phpfreaks.com/topic/226664-query-to-supress-older-dates/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.