Skip to content
Advertisement

Date Entry of SQL ORACLE

Here I am using Oracle SQL and I have a table with 2 columns, Keyword and Created_Date.

Is there any way to get the 3rd column with information of next entry of 2nd column in accordance with first column?

Thanks guys

Advertisement

Answer

Looks like the LEAD analytic function. Sample data in lines #1 – 10; query begins at line #11.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement