Explain why the insert statement for the view

Assignment Help Programming Languages
Reference no: EM13930325

1. Create a simple view named CUST_VIEW using the book_customer table that will display the customer number, first and last

name, and the state for every customer currently in the database. Define the view so that it will list the customer last names by

ascending order within the states in descending order. Now insert the following data into the book_customer table using an

INSERT statement. CUSTOMER# - 1021, FIRSTNAME - EDWARD, LASTNAME - BLAKE, STATE - TX. Now query your view and

display the new record.

2. Create a complex view named CUST_ORDER that will list the customer number, last name, and state from the

BOOK_CUSTOMER table and the order number and order date from the BOOK_ORDER table. Insert the following data into this

view: CUSTOMER# - 1022, LASTNAME - smith, STATE - Kansas, ORDER# - 1021, and ORDERDATE - 10-OCT-2004.

3. Explain why the insert statement for the view you created in #2 did not work.

4. Create a sequence that can be used to assign a publisher ID number to a new publisher. Define the sequence to start with

7, increment by two and stop at 1000. Name the sequence PUBNUM_SEQ.

5. Insert two new publishers into the PUBLISHER table, one named Double Week with a contact name Jennifer Close at

800-959-6321, and the second one named Specific House with a contact name Freddie Farmore at 866-825-3200. Use your

new sequence to create the PUBID for each record. Now query your PUBLISHER table to see your two new records.

6. Using a single query, query the PUBNUM_SEQ to determine what both the current sequence number is and the next

sequence number will be.

7. Create a unique index on the combined columns ORDER# and CUSTOMER# in the BOOK_ORDER table. Give the index a

name of BOO_ORDER_IDX.

8. Determine how many objects you currently own in your schema by querying the USER_OBJECTS view in the Data Dictionary.

Your result set should list the different object types that you find.

Attachment:- Deliverables.doc

Attachment:- LeeBooks.zip

Reference no: EM13930325

Questions Cloud

How the classical decomposition method could be modified : Suppose several more years of data were available. Explain in about two sentences how the classical decomposition method could be modified to allow for seasonal effects changing over time.
Calculate the magnitude of the clockwise couple : Calculate the magnitude of the clockwise couple M required to turn the 50-kg cylinder in the supporting block shown. The coefficient of kinetic friction is 0.30.
Write a research paper about emmy noether : Write a research paper about Emmy Noether, she is a mathematic. This paper should include her biographical infromation as well as a description of her mathematical accomplishments
What was the issue price per share of the preferred stock : What was the issue price per share of the preferred stock?
Explain why the insert statement for the view : Explain why the insert statement for the view you created in #2 did not work.
Classical conditioning of psychopharmalogical drug effects : Compare and contrast operant and classical conditioning of psychopharmalogical drug effects. Research an example of a study using each type of conditioning from the peer-reviewed literature.
Compare your two estimates using the accuracy statistics : Estimate unemployment in the fourth quarter of 1975 using a single moving average with k = 3. Repeat using single exponential smoothing with α = 0.7. Compare your two estimates using the accuracy statistics.
Explain how this risk might be ameliorated : Can you please help me with providing an explanation into the correlation between drug treatment with antidepressants and suicide risk. Explain how this risk might be ameliorated. Also, in this address all antidepressant classes, as well as herbal..
Coefficient of static friction between block and plane : Determine the maximum angle () for which the wheelbarrow will not slip. (b) Repeat if the wheelbarrow faces uphill. Neglect all friction associated with the front wheel B.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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