3-Illustrate Using Figure The Phases of Database Design
3-Illustrate Using Figure The Phases of Database Design
4- Define DBMS.
programs which allow the user to organize, restore and retrieve information about
Is a collection of concepts that can be used to describe the structure of a database and
High level (conceptual level) data model: provides concepts that are close to the
Low level (physical level) data model: provides concepts that describe the details
levels and can be understood by end users and not too far from technical users and
the way data is organized within the computer. It hides some details. It describes
Entity types:
Define them.
One-to-one: One table has the relationship with another table having the similar
kind of column. Each primary key relates to only one or no record in the related
table.
One-to-many: One table has a relationship with another table that has primary
and foreign key relation. The primary key table contains only one record that
Many-to-many: Each record in both the tables can relate to many numbers of
10- Define schema , internal schema , conceptual schema , external schema , three schema
architecture.
Internal schema describes the physical storage structure of the database with
Conceptual schema describes the whole database for community of users, it hides
External schema describes the part of the database that a particular user view is
Primary key is that column of the table whose every row data is uniquely
identified. Every row in the table must have a primary key and no two rows can
have the same primary key. Primary key value can never be null nor can be
modified or updated.
Composite Key is a form of the candidate key where a set of columns will
Foreign key is a key in some table which uniquely identifies rows in another
table.
Normalization is the process of removing the redundant data from the database by
splitting the table in a well-defined manner in order to maintain data integrity. This
Second Normal Form (2NF): A relation is said to be in 2NF only if it is in 1NF and
all the non-key attribute of the table is fully dependent on the primary key.
Third Normal Form (3NF): A relation is said to be in 3NF only if it is in 2NF and
every non-key attribute of the table is not transitively dependent on the primary
key.
Advantages
Improved data access to users through use of host and query languages.
Disadvantages
system.
specifically for storing and managing the data in the relational database management
Data Definition Language (DDL) commands are used to define the structure that
holds the data. These commands are auto-committed. Changes done by the DDL
Data Manipulation Language (DML) commands are used to manipulate the data of
the database. These commands are not auto-committed and can be rolled back.
Data Control Language (DCL) commands are used to control the visibility of the data
in the database like revoke access permission for using data in the database.
After the execution of ‘DELETE’ operation, COMMIT and ROLLBACK statements can be
‘DROP’ command is used to drop the table or key like the primary key/foreign key.
18- What is Join and the different types of Join?
Join is the process of explaining the relationship between different tables by combining
(INNER) JOIN: Returns records that have matching values in both tables
LEFT (OUTER) JOIN: Return all records from the left table, and the matched records
RIGHT (OUTER) JOIN: Return all records from the right table, and the matched
FULL (OUTER) JOIN: Return all records when there is a match in either left or right
table
Check constraints.
database.
Field: A field refers to an area within a record which is reserved for a specific piece
of data.
View is a virtual table which does not have its data on its own rather the data is defined
Advantages of Views:
Data access is restricted as it does not allow commands like insertion, updating,
and deletion.
Disadvantages of Views:
More memory is occupied when the view is created for large tables.
another attribute.
E-R model is an Entity-Relationship model which defines the conceptual view of the
database.
E-R model basically shows the real world entities and their association/relations.
The storage as well as access to data that is being derived from the transactions and
other sources from a central location in order to perform the analysis is called Data
Warehousing.
Big data refers to the growth in the volume of structured and unstructured data, the
speed at which it is created and collected, and the scope of how many data points are
covered. Big data often comes from multiple sources and arrives in multiple formats.
Business intelligence (BI) is a technology-driven process for analyzing data and presenting
advantages.
Data mining is the process of sorting through large data sets to identify patterns and
establish relationships to solve problems through data analysis. Data mining tools allow
patterns and relationships in data that can be used to make predictions that
impact businesses.
Specific data mining benefits vary depending on the goal and the industry.
organizational goals
Analyze and interpret results using standard statistical tools and techniques
Provide concise data reports and clear data visualizations for management