logo

Database Design and Implementation PDF

Create a physical design and implement it using MySQL statements based on a given cumulative design.

9 Pages1080 Words11 Views
   

Added on  2022-08-15

Database Design and Implementation PDF

Create a physical design and implement it using MySQL statements based on a given cumulative design.

   Added on 2022-08-15

ShareRelated Documents
Running head: DATABASE DESIGN AND IMPLEMENTATION
Database Design and Implementation
Name of the Student
Name of the University
Author’s note
Database Design and Implementation PDF_1
DATABASE DESIGN AND IMPLEMENTATION1
Physical Design:
Figure 1: Physical Design
(Source: Created by Author)
SQL Queries:
CREATE TABLE `client` (
`cid` int(11) NOT NULL,
`forename` varchar(200) NOT NULL,
Database Design and Implementation PDF_2
DATABASE DESIGN AND IMPLEMENTATION2
`surname` varchar(200) NOT NULL,
`addressL1` varchar(200) NOT NULL,
`addressL2` varchar(200) DEFAULT NULL,
`townCity` char(20) NOT NULL,
`postcode` char(11) NOT NULL,
`phone` char(15) NOT NULL
);
INSERT INTO `client` (`cid`, `forename`, `surname`, `addressL1`,
`addressL2`, `townCity`, `postcode`, `phone`) VALUES
(1, 'Jonathan', 'Hobbs', '76 Bishopgate Street', NULL, 'SEAVINGTON ST
MICHAE', 'TA19 2XY', '077 3282 9072');
CREATE TABLE `orders` (
`oid` int(11) NOT NULL,
`cid` int(11) NOT NULL,
`dateOrdered` date NOT NULL,
`dateShipped` date DEFAULT NULL,
`paymentMethod` char(10) NOT NULL
);
Database Design and Implementation PDF_3

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Database Implementation Assignment Report
|10
|1642
|12