Đã Hủy

Create Oracle database tables using SQL DDL

1. Create Oracle database tables using SQL Data Definition Language (DDL) for each table listed in Project 1. Make sure that entity and referential integrity are enforced by declaring a primary key for each table (these may be composite keys) and declaring all appropriate foreign keys. Your CREATE TABLE statements must show integrity constraints, as appropriate, for NOT NULL, UNIQUE, PRIMARY KEY, FOREIGN KEY, REFERENCES, and CHECK constraints. Be sure to save your script used to create these tables as yournameproject2step1.sql. You should test your script to make sure it runs without error.

2. Provide two examples of SQL DML (i.e., "INSERT") commands that fail different table integrity constraints you set up in one of your table. Explain why the statements fail. Be sure to save your script used to as yournameproject2step2.sql. You can include comments in the SQL script describing why the insert statements failed.

3. Populate each of your tables with at least five valid rows of data each and show the SQL you used. Populate other tables in your database, as necessary, to satisfy referential integrity. Be sure to save your script used to create these records as yournameproject2step3.sql. You should test your script to make sure it runs without error.

4. Write SQL to perform the following queries and updates. Be sure to save your script used to create these records as yournameproject2step4.sql. You should test your script to make sure it runs without error:

a. Retrieve all of your customers' names, account numbers, and addresses (street and zip code only), sorted by account number.

b. Retrieve all of the videos rented in the last 30 days and sort in chronological rental date order.

c. Produce a list of your distributors and all their information sorted in order by company name.

d. Update customer names to change their maiden names to married names. You can choose which records to update.

e. Delete customers from the database. You can choose which records to delete.

Kỹ năng: Oracle, SQL

Xem thêm: oracle create table, oracle create database, create database using ddl, sql code oracle, sorted data set, oracle database company, oracle company name, comments oracle, oracle tables integrity, oracle sql number, sql script , sql queries, sql data, sql commands, sql code, sql 2012, oracle queries, oracle data, database queries, database oracle, data tables, create e, create zip code, rows insert, sql retrieve table

Về Bên Thuê:
( 2 nhận xét ) Reston, United States

Mã Dự Án: #1729983

5 freelancer đang chào giá trung bình $40 cho công việc này

sriraj1233

Ready to start this project

$50 USD trong 2 ngày
(3 Đánh Giá)
3.6
rakib062

Hi, I am working as a database admin,designer and developer with 7+ years of experience in oracle,sql server and ms access. My area of expertise is to design database from business requirements and translate complex Thêm

$50 USD trong 0 ngày
(5 Đánh Giá)
3.3
Cydertech

Hello, Please check your PMB.

$40 USD trong 0 ngày
(1 Đánh Giá)
1.8
rahimpk

Hi, Kindly check the PM. Regards, Rahim P.K

$30 USD trong 0 ngày
(1 Đánh Giá)
1.0
techfreelancer1

Please check PMB

$30 USD trong 0 ngày
(0 Đánh Giá)
0.0