0

In SQL Server I do the following way

DECLARE @Date DATE

SELECT @Date=Max(date) from table1

Final Out put

SELECT * FROM Table2 WHERE date=@Date

But in the same way in ORACLE PL/SQL(Esp in SQL Developer ) , How can I declare the Variable?

Advise and help please?

Thank you in advance

user3594484
  • 99
  • 3
  • 9

0 Answers0