Required columns
Name (Last, first) | email | Date Joined (i.e., date_registered) | phone # (areacode-xxx-xxxx) | Home City | Payment Date |
- Show the members who have only made one payment
- Show the members who have made more than one payment
CIS545/645 SQL project RDBMS: The AITP membership queries 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 pax 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: member_fee_payment is_renew : text amount: int(11) Payment_Type: text [PK] Date_Paid: datetime : not null m Collector : text [PK] member_ID: int(11) : not null member Date_Registered : datetime member_type: text 1 [PK] member_ID: int(11): not null First_Name: text Last_Name: text member_Email : text Member_Home_Address_line_1: text Member_Home_Address_line_2: text Member_Home_Address_city: text Member_Home_Address_country: text Member_Home_Address_state: text Member_home_phone text Member_home_phone_area_code: text Member_Home_Addr_postal_code: int(11) phone_number: int(11) phone_number_area_code: int(11) Member_Organization text Professional_Title: text Group_Name: text Member_User_name: text polo_delivery [PK] order_id: int(11): not null Date_delivered : datetime processor: text customer_signature: text m polo_order [PK] order_id: int(11): not null order_date: datetime member_ID: int(11) processor: text shirt_size: text embroid_name: text polo_pay [PK] order_id: int(11): not null Date_Paid: datetime Collector: text amount: int(11) Payment_Type: text CIS545/645 SQL project RDBMS: The AITP membership queries 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 pax 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: member_fee_payment is_renew : text amount: int(11) Payment_Type: text [PK] Date_Paid: datetime : not null m Collector : text [PK] member_ID: int(11) : not null member Date_Registered : datetime member_type: text 1 [PK] member_ID: int(11): not null First_Name: text Last_Name: text member_Email : text Member_Home_Address_line_1: text Member_Home_Address_line_2: text Member_Home_Address_city: text Member_Home_Address_country: text Member_Home_Address_state: text Member_home_phone text Member_home_phone_area_code: text Member_Home_Addr_postal_code: int(11) phone_number: int(11) phone_number_area_code: int(11) Member_Organization text Professional_Title: text Group_Name: text Member_User_name: text polo_delivery [PK] order_id: int(11): not null Date_delivered : datetime processor: text customer_signature: text m polo_order [PK] order_id: int(11): not null order_date: datetime member_ID: int(11) processor: text shirt_size: text embroid_name: text polo_pay [PK] order_id: int(11): not null Date_Paid: datetime Collector: text amount: int(11) Payment_Type: text