I would like to make a SQL query where I am only able to see my latest shipments. Currently I get the following result.
item date licence plate number
1 13.5.2016 abc-123
2 13.5.2016 abc-123
3 10.5.2016 xyz-567
1 20.4.2016 abc-123
2 20.4.2016 abc-123
6 10.5.2016 xyz-567
However I would like to only get the latest shipments based on the licence plate number. The wanted output would look like
item date licence plate number
1 13.5.2016 abc-123
2 13.5.2016 abc-123
3 10.5.2016 xyz-567