
how can we maintain data using dbms using coffee shop

We can maintain data of coffee shop by made of relational table of their attributes and store the information in specific attributes.
For example - we can store attributes like coffee_mfgID, price, quantity, flavoure, mfgDate, expDate, durationUse, shop_address.
coffee_mfgID - This attribute represents manufacturing ID of coffee which is unique, so that this makes a primary key of table and their type is int and not null.
price - This attribute is price of coffee, their type is numeric or int.
quantity - This shows the amount of coffee and type is int.
flavoure - This attribute for giving variety of coffee, type is varchar.
mfgDate - This attribute tells about manufacturing date information of coffee and their type is Date format.
expDate - This attribute tells about expiring date information of coffee and their type is Date format.
durationUse -This attribute gives information for best using period in which you can use the coffee and gets calculated from subtraction of mfgDate from expDate, hence it is a derived attribute.
shop_address - This attribute gives information about coffee shop and their type is varchar.
Step by stepSolved in 2 steps

- Using SQL commands, describe how you would utilize the data dictionary to monitor database security.arrow_forwardHow does normalisation function in a DBMS, and what is the associated procedure?arrow_forwardDBMS normalisation is effective. The database may be normalised and duplicates removed with the aid of 1NF, 2NF, and 3NF.arrow_forward
- How can you, as a database administrator, guarantee that data is backed up frequently?arrow_forwardWhy do most businesses use a database management system (DBMS) to store their data instead of creating their own text files?arrow_forwardSpecify how Views may be used by DB administrators to simplify user interactions with the DBMS.arrow_forward
- What happens if your database's integrity is not enforced? Where do people usually make mistakes?arrow_forwardRather of creating their own text files to store information, why do most businesses use a DBMS?arrow_forwardWhy do most organizations prefer text files over DBMSS? Database management system (DBMS).arrow_forward
- Database System ConceptsComputer ScienceISBN:9780078022159Author:Abraham Silberschatz Professor, Henry F. Korth, S. SudarshanPublisher:McGraw-Hill EducationStarting Out with Python (4th Edition)Computer ScienceISBN:9780134444321Author:Tony GaddisPublisher:PEARSONDigital Fundamentals (11th Edition)Computer ScienceISBN:9780132737968Author:Thomas L. FloydPublisher:PEARSON
- C How to Program (8th Edition)Computer ScienceISBN:9780133976892Author:Paul J. Deitel, Harvey DeitelPublisher:PEARSONDatabase Systems: Design, Implementation, & Manag...Computer ScienceISBN:9781337627900Author:Carlos Coronel, Steven MorrisPublisher:Cengage LearningProgrammable Logic ControllersComputer ScienceISBN:9780073373843Author:Frank D. PetruzellaPublisher:McGraw-Hill Education





