Get the App
SLTechnology News&Howtos  ›  Database  › 

How to convert oracle dates into weeks

Shulou Source: shulou.com Published: 2022-05-31 13:59:40 11月14日 Update

This article will explain in detail how to convert oracle dates into weeks. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

Now there is a job of data analysis, which needs to analyze some of the registered members of the website:

1. Members registered on working days and working hours become paid members.

two。 Members registered on weekdays and non-working hours become paid members.

3, non-working days, non-working hours registered members become paid members of the list.

4. Members registered during non-working days and working hours become paid members.

Working hours: 08:30 to 17:30

Weekdays: Monday to Friday.

Check the total number of registered members during working days and working hours:

Select count (*) from member_info1234 where to_char (register_date,'d') > 1 and to_char (register_date,'d')'08 and to_char 0012 and to_char (register_date,'HH24:mi:ss') 1 and to_char (register_date,'d')'08 and to_char (register_date,'d') 1 and to_char (register_date,'d')'08 and to_char (register_date) 'HH24:mi:ss') 1 and to_char (register_date,'d')' 08VV 0000' and to_char (register_date,'HH24:mi:ss')

Tags: Membership time work working day week part date data article possibility that is more proportion registered member analysis relevant choice good practical highest Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia Shulou Tech Info Shulou Technology Linux macOS