Write the scripts

Assignment Help Database Management System
Reference no: EM131355847

Using the sample database, write the scripts in a file called ITCO630_P3.SQL to create the following views. Remember to include a USES clause at the top of the script file to use the ITCO630_A database. Also include code that checks if the view already exists. If it does, it should be dropped and recreated.

1. Create a view named v_worker showing the student number, assignment number, and start date where the role is "worker."

2. Create a view called v_no_points with all the columns of the assignment table except the points column.

3. Create a view called v_count that shows the number of students working on each assignment. The view should have columns for the assignment number and the count.

Attachment:- Assignment.rar

Reference no: EM131355847

Questions Cloud

Using and understanding mathematics : Filling a Swimming pool from Using and Understanding mathematics - discussion post
Area of a right triangle : The area of a right triangle is 40m squared. One leg is 29.5 meters longer than the other. Find the lengths of the legs. The legs are meters in length.
Kilogram and venezuelan coffee : A store mixes Kenyan coffee worth $10per kilogram and Venezuelan coffee worth $ 13per kilogram. The mixture is to sell for $11per kilogram. Find how much of each should be used to make a 444-kilogram mixture.
How many adults and how many children went to the zoo : The Jurassic Zoo charges $5 for each adult admission and $2 for each child. The total bill for the 135 people from a school trip was $372. How many adults and how many children went to the zoo?
Write the scripts : Using the sample database, write the scripts in a file called ITCO630_P3.SQL to create the following views. Remember to include a USES clause at the top of the script file to use the ITCO630_A database
Demonstrate in your presentation value each principle has : You have been asked to give a presentation to a group of new managers in a health care setting. You need to demonstrate in your presentation the value each principle has in the real word.
Define decision making and the steps required : Decision making is said to be one of the essential parts of management. There should be clearly defined steps when it comes to decision making. Define decision making and the steps required to make a decision to an organization.
What you learned fits with your perspective about wellness : When you find a supporting resource, provide a reference, summarize the findings, and discuss how what you learned fits with your perspective about wellness (or has changed it).
How much will clem have saved in two years : Bank fees, currently $10 per month, are expected to increase by $1 per month henceforth. How much will Clem have saved in two years?

Reviews

Write a Review

Database Management System Questions & Answers

  Optimizing sql server query performance how to optimizing

how to optimizing sql server query performance? when optimizing your database server you need to tune the performance

  List different entities-objects-logical processes-data flows

List the different entities or objects, logical processes, data flows, and data stores that are involved, starting from the time you submitted your time sheet.

  How in order to perform a query on an access database

In order to perform a query on an access database, you must provide a list of

  Create a table mainmenu with at least three fields

Create a table MainMenu with at least 3 fields: ID, caption, and form or report to run. Your code (for the button) will dynamically read the caption from the table and assign it to the button

  Design and implement the best home business database

In this assignment, you are to design and implement The Best Home business database that you have modelled in the assignment-1 and a series of SQL queries to reflect the business logic of The Best Home

  Design an relational model

Choose 2 enterprises(businesses, corporations, companies, institutions) from one or more economic, organizational, institutional or industrial sector of interest to you. See the Appendix for suggestions and examples.

  How healthcare data sets are used in healthcare settings

For each data set, your analysis should include the purpose of the data, type of setting, secondary data sources classification, reporting process and frequency (i.e., quarterly, annually), and other important components. Utilize this unit's readi..

  Why can data warehouses not replace databases

Why can data warehouses not replace databases and become "operational data warehouses"?-How radically would data warehouses have to change to become a viable replacement for databases?

  Create a query that includes students first names

Perform the following steps in MySQL: Add at least five (5) records into each table (Note: You must determine the field values). Create a query that includes students' first names, last names, and phone numbers

  Why is a key important in a database

Why is a Key important in a database? How does it help with Referential Integrity? Lists three compelling reasons why Keys are crucial to table structure

  Describe the main capabilities of mysql

describe the main capabilities of MySQL.

  Develop a hybrid database system for a hospital

You are required to develop a hybrid database system for a Hospital. The report must include the following: Background of your chosen system. Scope including business requirements. A list of business rules for the system (at least 5 implemented must ..

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd