Write recursive function to ensure that every subsequent timestamp is greater than the last entry in oracle sql -


i attempting write recursive function in oracle sql ensure every subsequent row of transact_time column greater or equal previous entry. intend write view. unsure how go this.

the sample transaction time column looks this:

transaction_time

24-jul-17 04.05.54.404000000 pm

24-jul-17 03.46.25.540000000 pm

24-jul-17 05.56.50.127000000 pm

24-jul-17 05.56.50.127000000 pm

for example, first entry should after second entry because second 1 came in @ 3 o'clock , first 1 @ 4.

you need sort result of query based on date , time. follow link.

select column-list  table_name  [where condition]  [order column1, column2, .. columnn] [asc | desc]; 

Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -