Question: Can you write me a SQL query for the following: Note for questions a to c Membership starts on the day when membership fee payment
Can you write me a SQL query for the following:
Note for questions a to c
- Membership starts on the day when membership fee payment is received and is good for one year.
- Your SQL must not use any hardcode date except the one provided in the question, Feb 7 2018.
| Member ID | Name (Last, first) | | phone # (areacode-xxx-xxxx) | Latest payment date | Number of days to expiration |
- Show currently active members (exclude the expired members)
- Members whose membership were expired since Feb 7, 2018
- Members whose membership will expire within 30 days from Feb 7, 2018
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
