Home » RDBMS Server » Networking and Gateways » I´m feeling stupid but...
I´m feeling stupid but... [message #66054] Fri, 26 October 2001 02:10 Go to next message
Baratta
Messages: 1
Registered: October 2001
Junior Member
..can anyone help me?
A friend has mailed me this and I´ve fried my brain with it.

TIMESTP SNAME SVALUE
-------------------- ------ ------------
2001/10.01 00:00:54 HUMED 33,9013937
2001/10.01 00:00:54 HYDR 397,851378
2001/10.01 00:00:33 PTC1 80,3393444 <<
2001/10.01 00:00:54 PTC1 80,3393444
2001/10.01 00:00:33 PTC2 28,5317456 <<
2001/10.01 00:00:54 PTC2 28,6017532

We look for a statement to get this:

2001/10.01 00:00:54 HUMED 33,9013937
2001/10.01 00:00:54 HYDR 397,851378
2001/10.01 00:00:54 PTC1 80,3393444
2001/10.01 00:00:54 PTC2 28,6017532

It means: groups with the same SNAME, we take those with the most recent date.
Without additional columns, neither things like that.
We did it with PL/SQL but it is not interesting.

Thanks,

----------------------------------------------------------------------
Re: I´m feeling stupid but... [message #66056 is a reply to message #66054] Fri, 26 October 2001 08:25 Go to previous messageGo to next message
Oraculo
Messages: 1
Registered: October 2001
Junior Member
Why do we concern ourselves with programming? I say let this forum be about chicks, drugs, partying, yaeger meister, and guns!!!!!! Here is one to start us off with!

----------------------------------------------------------------------
Re: I´m feeling stupid but... [message #66327 is a reply to message #66054] Wed, 03 April 2002 21:19 Go to previous messageGo to next message
Hoaea
Messages: 1
Registered: April 2002
Junior Member
Mr Baratta go eat Paratta,

What are u doing in the IT industry
Re: I´m feeling stupid but... [message #66329 is a reply to message #66054] Thu, 04 April 2002 08:33 Go to previous messageGo to next message
Sreenivasan Balaji
Messages: 5
Registered: February 2002
Junior Member
Did you use MAX(TIMESTAMP) along with GROUP BY SNAME?
Re: I´m feeling stupid but. [message #67462 is a reply to message #66056] Fri, 06 August 2004 21:50 Go to previous message
Dani
Messages: 15
Registered: October 2000
Junior Member
what does Yaeger Meister consist of.. if you're talkin about the alcohol
Previous Topic: DBLink problem with insert as select
Next Topic: Error While Installating ORACLE 8i On Windows 2000 Server.
Goto Forum:
  


Current Time: Wed May 01 02:07:24 CDT 2024