Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

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_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:

Design SQLs to answer managerial questions:

Has the number of members increasing or decreasing year by year?

How many members has renewed their membership in each year?

How many members paid their fee by cash, card, check or other types in each year?

List new members of year 2017 and total number of polo shirts each member have ordered.

Design SQLs to answer managerial questions:

Has the number of members increasing or decreasing year by year?

How many members has renewed their membership in each year?

How many members paid their fee by cash, card, check or other types in each year?

List new members of year 2017 and total number of polo shirts each member have ordered.

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

Distributed Relational Database Architecture Connectivity Guide

Authors: Teresa Hopper

4th Edition

0133983064, 978-0133983067

More Books

Students also viewed these Databases questions

Question

What are the advantages to the modular programming approach?

Answered: 1 week ago