Populate the tables with test data

Assignment Help PL-SQL Programming
Reference no: EM13334327

The final design should be tested to ensure it will meet the requirements for the sanctuaries. You need to produce appropriate test data to populate your tables and devise some queries that would test the design. Think about the type of queries that would be needed by the different types of users, for example, the employees, volunteers, potential volunteers and sponsors.

Give thought to what data should be added. As a minimum, each table should have at least 3 rows in it, but some should be more. Basically, the tables at the many end of a relationship should contain more data than the relation at the one end.

To summarise:
• Implement the DDL script produced by the Data Modeler tool in Oracle.

• Populate the tables with test data

• Produce 5 SQL queries to test your design.

These must include at least one query that involves:
• A join
• An aggregate function, such as count, avg, etc.
• A selection (that is not all rows and columns are returned)

Credit will be given to queries that are not trivial, for example, "SELECT * FROM Tablename" is unlikely to gain more than one mark. SQL Developer can be used to produce the queries and populate the tables.

 

Reference no: EM13334327

Questions Cloud

Draw an entity relationship model for galle face elephants : Using the Oracle Developer Data Modeler tool, draw an Entity Relationship Model for the Galle Face Elephants case study above. Explain any assumptions you have made.
Define the stereochemical outcome of the bromination : How would the stereochemical outcome of the bromination reaction differed if we would have started with cis-cinnamic acid
Project management dissertation : Can you help in deciding a project management dissertation topic for a person who have an engineering grade level background and How much it cost for preparing it?
Use the data modeler tool to map your entity relationship : Comment on any changes you made to the Relational diagram before mapping the final DDL script. Discuss why you had to make these changes (1 page maximum).
Populate the tables with test data : Credit will be given to queries that are not trivial, for example, "SELECT * FROM Tablename" is unlikely to gain more than one mark. SQL Developer can be used to produce the queries and populate the tables.
An accompanying verbal explanation : An accompanying verbal  explanation.
What is the average time a customer has to wait : What is the average number of customers who are at the checkout desk, either waiting or currently being served and What is the average time a customer has to wait in line before getting served by the checkout employee, not including the actual chec..
What do you think should be the outcome of wooden pallets : Sony Corp. packed a shipment of videocassette tapes into a 40-foot ocean container for transport to England. Sony put the tapes into 1,320 cardboard cartons, then strapped the cartons onto fifty two wooden pallets.
Calculate a stock with a beta : Use the capital-asset pricing model to predict the returns next year of the following stocks, if you expect the return to holding stocks to be 12 perect on average, and the interest rate on three-month T-bills will be two percent. Calculate a stock w..

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Use the prime minister database

Write SQL SELECT statements to retrieve the following information from the Prime Minister database.

  If the value for the listprice column is a negative number

If the value for the ListPrice column is a negative number, the stored procedure should raise an error that indicates that this column doesn't accept negative numbers. Similarly, the procedure should raise an error if the value for the DiscountPer..

  Select distinct cmdclient

SELECT DISTINCT CMDclient.'Client Code SCA' as GuestCode, CMDextras.ArrivalDate as arr, CMDextras.DepartureDate as dep, CMDapr.FirstName as fname, CMDapr.Surname as lname

  Create a database model

Create a database model and Submit the table creation statements for the Database Model.

  Trigger named products_insert

Create a trigger named Products_INSERT that inserts the current date for the DateAdded column of the Products table if the value for that column is null. Test this trigger with an appropriate INSERT statement.

  Perform the tasks below by using the correct sql statements

Create a view so that supplier 'ASP' can only see his information from the l_foods table.  Call this view_l_foods_ASP.  Show columns supplier_id, product_code, menu_item, description, and price in your view.

  Business transaction that involves multiple tables

Write a business transaction that involves multiple tables and implement it using PL/SQL. Use at least one Function or Procedure in your code. The transaction may retrieve data from the database and display the result, or it may insert/update data in..

  Explaining sql insert statement to insert new row in cds

Write down a SQL insert statement to insert new row in "CDS" table.

  Determine the commissions paid to specific employees of sale

Design a query that will allow the finance department to determine the commissions paid to specific employees of the sales department for the month of December.

  Write pl-sql block which displays last name

Write PL/SQL block which displays last name and salary of following people. Each of these can be done separately as PL/SQL, first to test and get output lines

  What does each allow or restrict

Roles and Profiles are used by Oracle to define and control access and privileges of groups of users. Compare and contrast the concepts of role and profile.

  Write queries in sql if employee works on every project

Write the following queries in SQL: If an employee works on every project located in Houston, then list the employees social security number and name.

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