a)create database OneDistrictOneFactory;
-->CREATE TABLE FactoriesData(ID int IDENTITY(100,1) PRIMARY KEY,Name varchar2(30),Region varchar2(20),CommissionDate date,RawMaterial varchar2(30),ProductionInTonnes decimal(10,2));
b)-->insert into FactoriesData(Name,Region,CommisionDate,ProductionInTonnes) values("Yamoransa Potato Chip Factory","Central","18-DEC-2017","Sweet Potato",754.38);
c)-->SELECT * FROM FactoriesData where Name LIKE '%Sugar%' and Region='Ashanti';
d)-->SELECT * FROM(SELECT * FROM FactoriesData where Name LIKE '%Rice%' and Region='Northern and CommissionDate> '2017-05-01') where ProductionInTonnes>500 ;
e)-->SELECT Name,ProuctionInTonnes FROM FactoriesData where RawMaterial='Rice' OR RawMaterial='Rubber' order by ProductionInTonnes DESC;
2. Under the One-District-One-Factory Initiative, you a database engineer have been awarded a 200,000 USD contract...
Database Intro
Salesmen Sheet
Order_info Sheet
Business_Info sheet
1.Create your own table design based on the Excel data, and
include all relationships (joins). Apply referential integrity
rules wherever appropriate.
Import the data from Excel to Access to populate
tables:
1. Use the Chen technique and illustrate the E-R diagram for the
tables you created
Note: It may be necessary to change the data composition due to
normalization issues, if you change the composition detail how and
why; (you may find...