Delete the record from the table

Assignment Help PL-SQL Programming
Reference no: EM13930391

DDL and DML

1. For emp table, set the constraint that Hiredate is later than Jan. 1, 1980.

2. Modify Dept table so that dname column can contain up to 20 characters.

3. Define ProdId+StartDate as the primary key for Price table.

4. Insert this row of data into price table:

Prodid= 200380, stdprice =5, minprice =4.4, startDate =today, EndDate =null.

5. Delete the row added in the previous step from Price table using Delete from (not rollback).

6. Find all check constraints defined on emp. In the result, list name of the constraint.)

7. Find all tables in your account. Return the table names as output.

8. Find all foreign key constraints defined on emp table and on dept table. In the list, list the name of the constraint and which

table it is defined on. USE only one SQL statement to accomplish this.)

Attachment:- Assignment1.doc

Reference no: EM13930391

Questions Cloud

Addresses the issues raised in case study posted online : Prepare a report that addresses the issues raised in the case study posted online, and provide a recommendation. The length of the report is 2500 words (plus or minus 10% excluding the Abstract and Reference list).
What range of payoff for renew will the alternative selected : If the probability of approval is .35, for what range of payoff for renew/reject will the alternative selected using the maximum expected value remain the same?
Which alternative will yield the minimum expected cost : Which alternative will yield the minimum expected cost? Construct a decision tree for this problem. Indicate the expected costs for the three decision branches.
Problem regarding the impact of the strategy : a) What is the impact of the strategy you propose on the price the company pays for copper? b) What is the initial margin requirement in October 2004? Is the company subject to any margin calls?
Delete the record from the table : Find all tables in your account. Return the table names as output.
Estimated equation in the standard reporting : Write out the estimated equation in the standard reporting format with standard errors below the estimated coefficients.
Determine the coefficient of static friction : Determine the force P required to force the 10° wedge under the 90-kg uniform crate which rests against the small stop at A. The coefficient of friction for all surfaces is 0.40.
Gillette company financial position and performance : What do the ratios tell you about Gillette Company's financial position and performance? What additional information would you like to have to better analyse Gillette's  financial statements?
Describe a time in which you have experienced burnout : Describe a time in which you have experienced burnout. What led to the burnout? How did you feel and think while experiencing it? How did you overcome burnout?

Reviews

Write a Review

PL-SQL Programming Questions & Answers

  Create a procedure named basket

After a shopper completes an order, a procedure is called to update the following columns in the Basket table: orderplaced, subtotal, shipping, tax and total.

  Create a database model

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

  Consider the following set of database tables the diagram

consider the following set of database tables. the diagram shows a database made up of 6 tables with all primary keys

  Database analysis and design

Implement the initial database design for the Customer Relationship Management VIEW as described below in your selected RDBMS. You need to create the Entity-Relationship model from your normalization and Database analysis, define tables, primary k..

  Create a comparison document

Create a Comparison Document

  Display all the columns from the orders table

Display all the columns from the Orders table that were paid with a Visa Card and have been shipped to the customer (hint: not a null). Order results by the Item Price in descending order.

  Implement the tables in oracles 11g relational database

Explain the security mechanisms available for a database and how the data will be protected.

  How to understand sql ddl and dml

Task one will provide a relational database implementation of the sample solution from the first assignment. This should be done using CASE software (the choice will be up to you).

  Updating column in table after a shopper completes the

after a shopper completes the ordering process a procedure is called to update the following columns in the basket

  Script that creates and calls a stored

Write a script that creates and calls a stored procedure named spInsertProduct that inserts a row into the Products table. This stored procedure should accept five parameters

  Assignment related to products table in sql

Write a SELECT statement that returns these columns from the Products table: The ListPrice column, The DiscountPercent column

  Select statement to return one row

Write a SELECT statement that returns one row for each general ledger account number which contains three columns.

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