logo

Creating and Modelling a Database for Partykids Business

Ms Donta Pop, the owner of Party Kids, needs help in shifting her paper-based records into a database to manage customer details, bookings, and asset storage locations.

20 Pages1589 Words231 Views
   

Added on  2023-06-11

About This Document

This article covers the process of creating and modelling a database for Partykids Business, including SQL queries for creating tables, inserting records, and selecting data. It also discusses legal issues and solutions for storing customer credit card details. The article emphasizes the importance of drawing an entity relationship diagram before implementing the database in software to ensure all entities and attributes are derived from the requirements. Additionally, it suggests safeguarding the database behind a firewall and implementing strict measures for performing operations on the database to protect customer data.

Creating and Modelling a Database for Partykids Business

Ms Donta Pop, the owner of Party Kids, needs help in shifting her paper-based records into a database to manage customer details, bookings, and asset storage locations.

   Added on 2023-06-11

ShareRelated Documents
COVER PAGE
Creating and Modelling a Database for Partykids Business_1
Task 1
Assumptions
A booking consists of one or more items.
Creating and Modelling a Database for Partykids Business_2
Task 2
Task 2a
1. Create database
create database partykids;
--Amandep singh 40564
Creating customer table
create table customer (
customerID smallint not null primary key,
firstname nvarchar(50) not null,
lastname nvarchar(50) not null,
address nvarchar(50) not null
);
--Amandep singh - 40564
Creating and Modelling a Database for Partykids Business_3
2. Insert statements
insert into customer VALUES(1,'John p','Smith','12/1 Flinders St, Melbourne
2000');
--Amandep singh - 40564
Creating and Modelling a Database for Partykids Business_4

End of preview

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

Related Documents
Database Design and Legal Issues for Storing Credit Card Details - Desklib
|17
|1616
|451

Database Fundamental: Creating and Managing a Party Rental Database
|13
|1898
|247

Database Creation and Management for PartyKids
|26
|1726
|365

Database Implementation: ER Diagram, Tables, and Queries
|19
|1655
|417

Database Implementation for PartyKids
|21
|1513
|397

Database Fundamentals: ER Diagram, Tables, and Queries
|26
|2044
|65