MYSQL query (maybe take just 10 min.)
- or -
Post a project like this1700
€15(approx. $17)
- Posted:
- Proposals: 3
- Remote
- #2671275
- Awarded
Description
Experience Level: Entry
I want to calculate via MariaDB query a date of recurring subscription based on this information:
For Example:
start_date:01.01.2019
period_of_validity: 4 (Months)
regular_finish_date:01.05.2019, 01.09.2019, 01.01.2020, "01.05.2020"
finished_by_user_at:
membership_will_finished_at:
Case1:
When finished_by_user_at is NULL (It means, the user doesnt cancel his subscription) the regular_finish_date should be update automatically after the interval was reached. As we can see in the example above, the date it should show now is 01.05.2020.
Wo can help me with this Task? No php, java or something else is possible. Only MYSQL query. Thanks
For Example:
start_date:01.01.2019
period_of_validity: 4 (Months)
regular_finish_date:01.05.2019, 01.09.2019, 01.01.2020, "01.05.2020"
finished_by_user_at:
membership_will_finished_at:
Case1:
When finished_by_user_at is NULL (It means, the user doesnt cancel his subscription) the regular_finish_date should be update automatically after the interval was reached. As we can see in the example above, the date it should show now is 01.05.2020.
Wo can help me with this Task? No php, java or something else is possible. Only MYSQL query. Thanks
Alejandro D.
100% (15)Projects Completed
18
Freelancers worked with
17
Projects awarded
30%
Last project
2 Dec 2022
Germany
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies