Skip to Content
0
Jun 20 at 10:24 AM

How to get date difference with in the same column in a table using sql?

271 Views

for example:

ID DATE

101 20220201

102 20220204

103 20220305

104 20220406

I Need the days difference between the rows in separate column? can anyone expain this?