Kristi Castro has Published 104 Articles

Why do we need a Database

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:51:18

15K+ Views

A database is a collection of data, usually stored in electronic form. A database is typically designed so that it is easy to store and access information.A good database is crucial to any company or organisation. This is because the database stores all the pertinent details about  the company such ... Read More

Object-oriented Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:49:22

12K+ Views

Object oriented data model is based upon real world situations. These situations are represented as objects, with different attributes. All these object have multiple relationships between them.Elements of Object oriented data modelObjectsThe real world entities and situations are represented as objects in the Object oriented database model.Attributes and MethodEvery object ... Read More

How to check if event exists on element in jQuery?

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:47:44

3K+ Views

To check if event exists on element in jQuery, check for the existing events on the element. Here, I have set the div −   This is demo text. Click here! When you click div, then the alert generates which I have set using the div id:$("#demo").click(function() {   alert("Does event ... Read More

Object-relational Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:19:14

18K+ Views

An Object relational model is a combination of a Object oriented database model and a Relational database model. So, it supports objects, classes, inheritance etc. just like Object Oriented models and has support for data types, tabular structures etc. like Relational data model.One of the major goals of Object relational ... Read More

Relational Data Model

Kristi Castro

Kristi Castro

Updated on 19-Jun-2020 12:16:01

1K+ Views

The relational data model is the most famous data model and is used by the majority around the world.This is a simple but efficient data model and has the capability to handle data in the best possible manner.Tables are used to handle the data in the relational data model. An ... Read More

Ternary Relationship in Database

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:45:23

10K+ Views

In Ternary relationship three different Entities takes part in a Relationship.Relationship Degree = 3For Example: Consider a Mobile manufacture company.Three different entities involved:Mobile - Manufactured by company. Part - Mobile Part which company get from Supplier. Supplier - Supplier supplies Mobile parts to Company.Mobile, Part and Supplier will participate simultaneously in a ... Read More

One-to-One Unary Relationship in DBMS

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:32:24

2K+ Views

A One-to-One Unary Relationship is the association with the same entity between the same instances represented by same role group.Above figure represents a set of married persons with the relationship MARRIED_TO. Each person is married to only one and only one person in the group.In One-to-One Unary we have three ... Read More

One-to-Many Unary Relationship in DBMS

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:27:09

2K+ Views

A One-to-Many Unary Relationship is the association with the same entity between the same instances represented by different role groups.Consider the relationship between Managers and Employees.The two different Roles in this relationship are- Managers and Employees. Only few Employees take the role of Managers within an organization while everyone working ... Read More

Binary Relationship in Database

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:22:05

7K+ Views

A Binary Relationship is the relationship between two different Entities i.e. it is a relationship of role group of one entity with the role group of another entity.There are three types of cardinalities for Binary Relationships −1. One-to-One2. One-to-many3. Many-to-ManyOne-to-OneHere one role group of one entity is mapped to one ... Read More

Entity Relationship Participation in Database

Kristi Castro

Kristi Castro

Updated on 18-Jun-2020 15:06:04

18K+ Views

In a Relationship, Participation constraint specifies the existence of an entity when it is related to another entity in a relationship type. It is also called minimum cardinality constraint.This constraint specifies the number of instances of an entity that can participate in a relationship type.There are two types of Participation ... Read More

Advertisements