N
N
Name2018-01-28 08:09:20
SQL
Name, 2018-01-28 08:09:20

Change the value to be greater than the previous one by 1?

Hello. Help solve the issue.
The following records exist in the table table:
date
_____________________
2018-01-01 00-00-00
2018-01-01 00-00-00
2018-01-01 00-00-00
2018-01-01 00-00-00
2018 -01-01 00-00-00
...
2018-01-01 00-00-00
what SQL query can add a second to each record more than in the previous
one, that is, it should turn out like this
2018-01-01 00-00 -01
2018-01-01 00-00-02
2018-01-01 00-00-03
2018-01-01 00-00-04
2018-01-01 00-00-05
...
2018-01-01 01-00-00

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question