Define each of the following terms:
- data definition language
- data manipulation language
- referential integrity constraint
- relational DBMS (RDBMS)
- schema
(a)
Define Data Definition Language.
Explanation of Solution
Data Definition language (DDL) is a computer language which is used for creating and modifying databases and schemas. The commonly used DDL commands are CREATE, ALTER, and DROP.
- CREATE command is used to create a new table with the following syntax
- ALTER command is used to modify the existing table. The syntax is:
- DROP command is used to delete a table. The syntax is:
Create table: Table name (Column definitions).
Alter table: Table name add new column.
Drop table: Table name
(b)
Define Data Manipulation Language.
Explanation of Solution
Data Manipulation Language is a computer language used in data structures to modify the data in the databases. The most commonly used data manipulation commands are INSERT, DELETE and UPDATE.
- INSERT command is used to add records in the database. The syntax for INSERT command is:
- DELETE command is used to delete records from the table according to the condition. Syntax is:
- UPDATE command is used to update the records in the database. Syntax is:
Insert into table Table name (columns) values (values)
Delete from table Table name where (condition)
Update Table name set (column = value) where (condition)
(c)
Define referential integrity constraint
Explanation of Solution
Refential Integrity constraint is the concept used in a relational database which ensures that the tables in the database are in a consistent state. This statement means that if there is any foreign key used in the database, it must be agreed with the primary key which is referenced from that foreign key. Any changes in the primary key must be updated in the foreign key as well.
(d)
Define Relational DBMS
Explanation of Solution
Relational Database Management System (RDBMS) is a type of DBMS which is used for the data stored in relational databases in the form of tables (combination of rows and columns). RDBMS is mainly used to store the data related to manufacturing, finance, logistic, and other applications. It uses SQL commands to access the databases.
(e)
Define Schema
Explanation of Solution
Schema is a structure or architecture of the database which is supported by the DBMS. It is considered as the blueprint of how the database is constructed. The schema is stored in the data dictionary generally by the database. It defines the objects in the databases.
Want to see more full solutions like this?
Chapter 5 Solutions
Modern Database Management
Additional Engineering Textbook Solutions
Concepts Of Programming Languages
INTERNATIONAL EDITION---Engineering Mechanics: Statics, 14th edition (SI unit)
Modern Database Management
Degarmo's Materials And Processes In Manufacturing
Java: An Introduction to Problem Solving and Programming (8th Edition)
Database Concepts (8th Edition)
- Access path A database table is composed of records and fields hold data. Data is stored in records. A field is a part of a record and contains a single piece of data for the subject of the record. The access path for finding the list of books is AUTHOR: AuthorID, Lname BOOKAUTHOR: AuthorID, ISBN BOOKS: Pubdate, ISBNarrow_forwardAn in-memory database (IMDB) is a database management system that stores the entire database in _______. a. random access memory b. read-only memory c. distributed servers d. virtual memoryarrow_forwardSQL databases conform to ACID properties. Briefly describe the ACID properties, and state the purpose of each. How does conformance to ACID properties affect the performance of SQL databases?arrow_forward
- Explain the concept of normalization and its role in database design.arrow_forwardThere may be serious repercussions if a database's referential integrity were compromised. What errors do you commit most frequently?arrow_forwardDescribe the role of foreign keys in maintaining referential integrity in a relational database.arrow_forward
- Explain the process of de-normalization and when it is appropriate to use in database design.arrow_forwardWhen it comes to database management and maintenance, data dictionaries play a critical role.arrow_forwardExplain the process of denormalization in database design and the situations in which it is beneficial.arrow_forward
- Explain the concept of database triggers and their use cases in database development. Provide examples of scenarios where triggers can automate data-related tasks.arrow_forwardWhat problems might arise if your database does not have proper referential integrity? What errors are possible?arrow_forwardWhat happens if your database's referential integrity is not enforced? Are there any common mistakes?arrow_forward
- Principles of Information Systems (MindTap Course...Computer ScienceISBN:9781285867168Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningPrinciples of Information Systems (MindTap Course...Computer ScienceISBN:9781305971776Author:Ralph Stair, George ReynoldsPublisher:Cengage LearningFundamentals of Information SystemsComputer ScienceISBN:9781305082168Author:Ralph Stair, George ReynoldsPublisher:Cengage Learning
- Enhanced Discovering Computers 2017 (Shelly Cashm...Computer ScienceISBN:9781305657458Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. CampbellPublisher:Cengage Learning