ITEC2060 week 5 Assignment

I’m trying to study for my MySQL course and I need some help to understand this question.

Struggling to find relevant content or pressed for time? – Don’t worry, we have a team of professionals to help you on
ITEC2060 week 5 Assignment
Get a 15% Discount on this Paper
Order Now

Assignment: Working With Database Indexes, Views, and Users

You can use database indexes to improve the performance of database operations. Database views allow you to define virtual tables containing exactly the data that you need for a specific situation. Standard SQL supports these techniques.

One of a DBA’s primary responsibilities is to create and manage database user accounts and to grant or revoke access privileges as needed. Users should be able to access or modify only those parts of the database that they need to perform their jobs.

You will use the Employee and Department tables you created previously. Create, run, and test SQL queries to display each set of information. Save a copy of your queries in a Microsoft Word document.

Include a screen shot to verify the successful completion of each SQL command. Each Screen shot must be preceded by a comment that includes the student’s name, the instructor’s name, and the date the command was executed.

E.g. SQL>/* Student: John Doe Instructor: Sally Smith Date: 4/4/2021 */

Note: Don’t forget the /* and */ at the start and end of the command to make it into a comment!!

The screen shot must include the SQL command and the output from the command. Include one screen shot per item. The screen shots must be well formatted and the output easily readable. Points may be subtracted from the total score for poor presentation of the assignment material.

See examples below:

Run SQL Command Line

Click on this link to load the Unit 5 Application assignment.

Prepare: Advanced SQL

In this unit, you will learn how to create and use indexes, views, triggers, functions, and procedures. You will also learn about the effects that indexes may have on database performance.

When you look for a book in a library, you do not have to search the building shelf by shelf. The library publishes and follows rules that assign each book a location. If you do not know which book you want, or if you cannot determine the location of a book from these rules, the library catalog indexes the library’s holdings by title, topic, and author. The catalog is a simple and fast way to locate books.

Database management systems (DBMSs) provide a similar index functionality. A database index locates a particular record in a database table by using its index key. A table can contain several indexes, but each index is associated with just one table. When properly designed, an index greatly improves the speed of queries for data from that table. Suppose, for example, the automobile parts store employees often searches for parts supplied by a particular vendor. That query can be more efficient if the parts table has an index for the vendor ID.

As a user of a database, you may find that you frequently perform the same or a similar query. For example, the parts store manager may search every day or week for parts to reorder. After typing (and mistyping!) the same query a few times, the manager may wish that the query could be stored and reused. This is exactly the purpose of a database view. You can think of a view as a dynamically created table whose content is specified by a SELECT query. A view can save time, improve accuracy, and make the system more accessible to nonexpert users.

Although the Structured Query Language (SQL) language is powerful, it has some weaknesses. Because it is specification-based, not procedural, SQL supports neither decisions, such as IF – THEN – ELSE, nor repetitions, such as DO WHILE. The SQL-99 standard defines persistent stored modules (PSM) to overcome these limitations. A PSM contains standard SQL commands and extensions that provide programming control structures for decision and repetition. You can name and store a PSM in the database and share it among users of the database. There are several types of PSMs: triggers, functions, and procedures.

A database trigger is an SQL procedure that the DBMS automatically executes every time a specified event, such as inserting a new record into a table, occurs. A function is a group of procedural SQL statements that executes and returns a value when a user calls it. A procedure is similar to a function except that it does not return a value. A procedure can contain SQL statements that modify the contents of the database.

By creating appropriate PSMs, the auto parts DBMS can automatically set a reorder flag for any part when its stock becomes low. Procedures and functions can package common but lengthy operations into one named operation.

Learning Outcomes

By the end of this unit, you will be able to:
  • Assess the benefits and drawbacks of database indexes
  • Assess the benefits of stored procedures and views
  • Create Database views and indexes
  • Manage users and permissions
Topic: Advanced SQL
Assignment Required Resources Optional Resources Due Date
Discussion 1: Working With Database Indexes

Coronel, C. & Morris, S. (2019). Database systems: Design, implementation, and management (13th ed.). Stamford, CT: Cengage.

  • Chapter 3, “The Relational Database Model”
  • Chapter 7, “Introduction to Structured Query Language (SQL)”
  • Chapter 8, “Advanced SQL”
    • 8-1, “Data Definition Commands”
    • 8-2, “Creating Table Structures”

Media:

  • Laureate Education (Executive Producer). (2010c). Internals of indexes [Video file]. Baltimore: Author.
Article:

Post by Day 2.
Respond by Day 5.

Calculate the price
Make an order in advance and get the best price
Pages (550 words)
$0.00
*Price with a welcome 15% discount applied.
Pro tip: If you want to save more money and pay the lowest price, you need to set a more extended deadline.
We know how difficult it is to be a student these days. That's why our prices are one of the most affordable on the market, and there are no hidden fees.

Instead, we offer bonuses, discounts, and free services to make your experience outstanding.
Sign up, place your order, and leave the rest to our professional paper writers in less than 2 minutes.
step 1
Upload assignment instructions
Fill out the order form and provide paper details. You can even attach screenshots or add additional instructions later. If something is not clear or missing, the writer will contact you for clarification.
s
Get personalized services with MyCoursebay
One writer for all your papers
You can select one writer for all your papers. This option enhances the consistency in the quality of your assignments. Select your preferred writer from the list of writers who have handledf your previous assignments
Same paper from different writers
Are you ordering the same assignment for a friend? You can get the same paper from different writers. The goal is to produce 100% unique and original papers
Copy of sources used
Our homework writers will provide you with copies of sources used on your request. Just add the option when plaing your order
What our partners say about us
We appreciate every review and are always looking for ways to grow. See what other students think about our do my paper service.
Other
Awesome Work!
Customer 452587, February 24th, 2022
Social Work and Human Services
Excellent Work!
Customer 452587, August 24th, 2021
Nursing
Fantastic work on this project as usual.
Customer 452707, July 5th, 2022
Nursing
Always perfect! Thank you!!!
Customer 452453, April 15th, 2021
Nursing
Excellent work!! Thanks again!
Customer 452707, October 14th, 2022
Technology
Great job on the paper!!
Customer 452885, December 14th, 2022
Psychology
Thanks so very much. The paper is well-researched and adequately referenced. You have been of great help during the pandemic!
Customer 452467, January 31st, 2021
Strategic Management
Thanks for the help, really appreciate it
Customer 452821, June 26th, 2022
Other
Thanks for the help, appreciate it
Customer 452821, August 27th, 2022
Social Work and Human Services
Great Work!
Customer 452587, November 2nd, 2021
IT, Web
Great job on the paper!!
Customer 452885, January 30th, 2023
Human Resources Management (HRM)
Thanks
Customer 452701, August 22nd, 2023
OUR GIFT TO YOU
15% OFF your first order
Use a coupon FIRST15 and enjoy expert help with any task at the most affordable price.
Claim my 15% OFF Order in Chat

Good News ! We now help with PROCTORED EXAM. Chat with a support agent for more information