Hi there, I have a table that stores multiple records for many different servers, each of which is timestamped ... I wanted to write a query that would enable me to only output the "latest" record (based on timestamp) for each "unique" server. So for example my main table looks like this
SERVER NIC IP DATESTAMP
server1 BGE0 1.1.1.1 10-JUN
server1 BGE0 1.1.2.1 09-JUN
server1 BGE1 2.2.2.2 10-JUN
server2 CE0 3.3.3.3 6-APR
server1 BGE1 2.2.2.1 11-JUN
server2 CE0 3.3.3.1 5-MAR
so the query would get only the latest record for each server. so the output would be
SERVER NIC IP DATESTAMP
server2 CE0 3.3.3.3 6-APR
server1 BGE1 2.2.2.1 11-JUN
Ive been playing around and am not quite sure how i integrate two conditionals inside a single statement, i.e. 1) unique server 2) latest timestamp
apologies for the nooby question but im new to this and any guidance would be great