Assessment item 4
back to top
Database Implementation and Research Activity
Value:20%
Due Date:01-Feb-2019
Return Date:22-Feb-2019
Submission method options:Alternative submission method
Task
back to topThis Assessment comprises two parts. Please refer to submission instructions section for submission of each part.
AssessmentPart A: (10 MARKS)
From Resources under Main Menu in Interact 2 go to Assignment 5 Folder
Copy sqlite3.exe file from theAssignment 5 Folder into a folder in your machineCopy a5.txt from the Assignment 5 Folder into the folder in your machine where your SQLite file is locatedFrom the SQLite Command Promptexecute the a5.txt script. To do this,at the SQLite Command Line type .read a5.txt [to create the tables you will use to answer this assignment’s questions]At the SQLite Command Line type .headers onAt the SQLite Command Line type .mode columnWrite and run SQL statements to complete the following tasks
- Show sums of line units for each invoice.
- Show the details of the products that do not have a value for the attribute v_code.
- Show the details of the invoices whose subtotal is greater than 25 but less than 75.
- Show the details of the invoice who has the minimum subtotal.
- Show the codes and names of the vendors who supplied products.
- Using EXCEPT show the codes of the vendors who did not supply any products.
- Using ‘NOT IN’ show the codes and names of the vendors who did not supply any products.
- List the codes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.
- List the names andcodes of vendors and the number of products each vendor has supplied, i.e. vendor XXX has supplied xxx products, and vendor YYY has supplied yyy products etc.
- List all purchases by customer 10011.
AssessmentPart B: 10 MARKS
Write five most important features of the following database technologies (Select any two):
- Blockchain Databases
- NoSQL Database
- Cloud databases
Note: Use proper references in APA style.
Submission Instructions :
You are required to submit the following files (inside a single zipped file):
- AWord or PDF documentwiththe SQL statements for each query should be copied from your SQLite3 Command Line and pasted into your submission file. If you type .echo on at the SQLite3 Command Line, SQLite will output your SQL statement with the results of the query making it easy to copy and paste both.
- AWord or PDF documentwith the screenshots of the results of the SQL statements copied from your SQLite3 Command Line and pasted into your submission file immediately after you execute the SQL query. If you used an output file, please submit only the output file.
- A well draftedWord or PDF documentabout the features of the given databases technologies.
NOTES
Rationale
back to topThis assessment task will assess the following learning outcome/s:
- be able to use complex SQL commands to query a database.
- be able to research a recent development in the field of database technology.
Marking criteria and standards
back to topThe marking criteria for this assignment is:
Criteria |
HD
|
DI
|
CR
|
PS
|
PART A: be able to use complex SQL commands to query a database.
PART B: be able to research a recent development in the field of database technology.
|
PART A:SQL syntax returns all attributes that meet the business requirement from the tables that hold the data and applies the correct restrictions to retrieve the required information.
PART B: Demonstrates an excellent ability at researching recent developments in the field of database technology with all the responses supported by examples and use correct terminology.
|
PART A:SQL syntax returns all attributes that meet the business requirement from the tables that hold the data with minor omissions and applies appropriate restrictions to retrieve the required information.
PART B: Demonstrates a good ability at researching recent developments in the field of database technology with most responses supported by examples and use correct terminology.
|
PART A:SQL syntax returns key attributes that meet the business requirement from the tables that hold the data and applies relevant restrictions.
PART B: Makes a genuine attempt at researching recent developments in the field of database technology with some responses supported by examples and use correct terminology.
|
PART A:SQL syntax returns key attributes that meet the business requirement from the tables that hold the data.However, the restrictions applied toretrieve the required information contain minor errors.
PART B: Limited knowledge of the implementation considerations and a basic explanation of the security issues.
|
Requirements
back to topEither submit your assignmentasa PDFora Word document.
Don't use any other file formats.
Please include your student ID, name and subject code in your submission.