Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Background: AITP is a student organization of MSU. AITP uses a MySQL database to manage its membership. A student becomes a member by registering to

Background: AITP is a student organization of MSU. AITP uses a MySQL database to manage its membership. A student becomes a member by registering to AITP. The database records the member and registration information in the Member table of the database. A student does not have to pay the membership fee right at registration, but the membership will be activated only when the membership fee payment is received. The membership is valid for one year and can be renewed any time. The table member_fee_payment records all member fee payments including new and renew. AITP has polo shirt for members to order. Even though members typical orders one shirt for self but they can order as many shirts as they want. The table polo_order records the shirt orders. Associated with polo shirt orders, the polo_pay and polo_delivery tables record the shirt order payment and delivery information. Orders not paid will have NO payment information recorded. The ERD (entity relationship diagram) is shown below:

Note for questions h to j 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) email phone # (areacode-xxx-xxxx) Latest payment date Number of days to expiration

h. Show currently active members (exclude the expired members

i. Members whose membership were expired since Feb 7, 2018

j. Members whose membership will expire within 30 days from Feb 7, 2018

image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions