开发者

Regarding calculation of date difference in oracle

开发者 https://www.devze.com 2023-02-28 18:52 出处:网络
I have a table which consist of column like movies ,date etc and i have to find difference of date in movies watch please specify the query t开发者_如何学PythonhanksOracle has native support for date

I have a table which consist of column like movies ,date etc and i have to find difference of date in movies watch please specify the query t开发者_如何学Pythonhanks


Oracle has native support for date arithmetic. You can subtract one date from another - e.g. SELECT SYSDATE - date_watched FROM movies_table will return a the number of days between today's date and date_watched.

You need to provide more detail about your requirements for a more exact answer - e.g. table structure, sample data, expected output.

0

精彩评论

暂无评论...
验证码 换一张
取 消