Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CREATE TABLE Company(cname varchar(30) primary key, country varchar(30));CREATE TABLE Product(pname varchar(30) primary key, price float,category varchar(30), manufacturer varchar(30) references Company);CREATE TABLE Sales(pname varchar(30) references Product,

CREATE TABLE Company(cname varchar(30) primary key, country varchar(30));CREATE TABLE Product(pname varchar(30) primary key, price float,category varchar(30), manufacturer varchar(30) references Company);CREATE TABLE Sales(pname varchar(30) references Product, sold int,month varchar(10), primary key (pname, month));CREATE TABLE Employees(empID integer primary key, name varchar(50),phone varchar(12), managerID integer);CREATE TABLE Projects(empID integer, project varchar(40))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Principles Of Database Management The Practical Guide To Storing Managing And Analyzing Big And Small Data

Authors: Wilfried Lemahieu, Seppe Vanden Broucke, Bart Baesens

1st Edition

1107186129, 9781107186125

More Books

Students also viewed these Databases questions

Question

Why do joints tend to be evenly spaced rather than clustered?

Answered: 1 week ago