ResolutionsNET
IS-IT--Management
Hi,
Can anyone solve my problem, I have a table with the following data.
SessionID date time
12345676 010101 23:56
12345676 010101 23:57
12345676 010101 23:58
12345676 010101 23:59
12345676 020101 00:00
12345676 020101 00:01
12345676 020101 00:02
12345677 020101 00:05
12345677 020101 00:07
12345677 020101 00:10
12345677 020101 00:11
12345677 020101 00:34
what i need is a single query that will return the last record for a session. sessionid, date and time
e.g. for the above data all I need is
12345676 020101 00:02
12345677 020101 00:34
Anyone help
Thanks
Can anyone solve my problem, I have a table with the following data.
SessionID date time
12345676 010101 23:56
12345676 010101 23:57
12345676 010101 23:58
12345676 010101 23:59
12345676 020101 00:00
12345676 020101 00:01
12345676 020101 00:02
12345677 020101 00:05
12345677 020101 00:07
12345677 020101 00:10
12345677 020101 00:11
12345677 020101 00:34
what i need is a single query that will return the last record for a session. sessionid, date and time
e.g. for the above data all I need is
12345676 020101 00:02
12345677 020101 00:34
Anyone help
Thanks