Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Assumption : Every contributor is assigned one FOSS series for translation and d

ID: 3732900 • Letter: A

Question

Assumption : Every contributor is assigned one FOSS series for translation and dubbing process. Each FOSS has 10 tutorials. Admin has already decided deadlines for submission, which are stored in tutorial_detail table.

You have to-

Create a mysql database with 4 tables : user, foss, tutorial_detail, payment.

Display a list of tutorials contributed with expected submission date and actual submission date for one calendar month.

Write a program to count the number of published tutorials that each contributor has submitted in one calendar month.

Multiply the total number of tutorials by Rs.1000.

Calculate the final payment amount for each contributor and display it in a list.

Explanation / Answer

Solution:

The first question is done as per Chegg guidelines, please repost others.

Create a mysql database with 4 tables : user, foss, tutorial_detail, payment.

Table=> user

CREATE TABLE user(
    userID int NOT NULL,
userName;
    PRIMARY KEY (userID)
);

Table=> Foss

CREATE TABLE foss(
    fossID int NOT NULL,
fossName;

    PRIMARY KEY (fossID)
);

Table=> tutorial_details

CREATE TABLE tutorial_detail(
    tutorialID int NOT NULL,
tutorialName,

date,

month'
    PRIMARY KEY (tutorialID)
);

Table=> payment

CREATE TABLE payment(
    paymentID int NOT NULL,
paymentAmount;
    PRIMARY KEY (paymentID)
);

Display a list of tutorials contributed with expected submission date and actual submission date for one calendar month.

SELECT tutorialID FROM tutorial_details WHERE month= 'January' //extracting data for one calender month

I hope this helps if you find any problem. Please comment below. Don't forget to give a thumbs up if you liked it. :)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote