Question: Perform physical design for efficiency if necessary. Construct SQL statements for querying the database effectively. Details are provided in the assignment item Project Task 3
Perform physical design for efficiency if necessary.
Construct SQL statements for querying the database effectively.
Details are provided in the assignment item Project Task In Project Task you are required to write SQL queries based on the tables from the provided relational model Download relational model.
These queries are detailed in the tasksql Download tasksqlfile, along with their corresponding scores.
All table names, attribute names, primary keys, and foreign keys are specified exactly as shown in the relational model Download relational model.
Please fill in your answers in the designated spaces within the tasksql Download tasksqlfile, and submit it on or before the deadline.
Do not modify any of the provided SQL queries in the tasksql Download tasksqlfile.
Your answers should consist of SQL queries covered in this course in slides or introduced in class
Each query will be evaluated as follows: correct full mark partially correct half mark or incorrect zero mark A query is considered correct if it produces the expected output from our test cases. The decision on whether a query is partially correct or incorrect will be made by the grader.
Before submitting, carefully verify that your SQL queries are executable and yield the correct output.
In addition to creating your own tables for testing, further methods for testing your SQL queries will be provided later.
I am checking whether the university supports specific database servers for you to connect to test your SQL queries, rather than providing you with the table creation code. Providing the table creation code will be a last resort if no other options are available. I will update for this soon.
Important Notes:
The date format in Oracle is dd MMM yyyyeg Dec In MySQL it is yyyymmddeg Your answers should follow the Oracle standard.
MemberFee, NonMemberFee, Quota, etc., are numeric values.
The data type for Gender in the REGISTEREDUSER table is CHAR which can have a value of either M for male or F for female, and it cannot be NULL.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
