The document discusses the conversion of an entity-relationship (ER) model to a relational model by describing how different ER constructs such as strong/weak entities, relationships, composite/multi-valued attributes, generalization/specialization, and aggregation map to relational schemas and tables. Strong entities become tables with their primary key and attributes, while weak entities include the primary key of their identifying entity. Relationships become tables linking the participating entity primary keys. Descriptive attributes may also be included.
This slide explains the conversion procedure from ER Diagram to Relational Schema.
1. Entity set to Relation
2. Relationship set to Relation
3. Attributes to Columns, Primary key, Foreign Keys
This slide explains the conversion procedure from ER Diagram to Relational Schema.
1. Entity set to Relation
2. Relationship set to Relation
3. Attributes to Columns, Primary key, Foreign Keys
PL/SQL is a combination of SQL along with the procedural features of programming languages.
It provides specific syntax for this purpose and supports exactly the same datatypes as SQL.
PL/SQL is a combination of SQL along with the procedural features of programming languages.
It provides specific syntax for this purpose and supports exactly the same datatypes as SQL.
Schema Integration, View Integration and Database Integration, ER Model & Dia...Mobarok Hossen
What is ER Model & Diagrams?
How can you design ER Model & Diagram?
What is Object-Oriented Model?
What is Schema Integration? how can you Schema Integrate?
What is View Integration? how can you View Integrate?
What is Database Integration? how can you Database Integrate?
Fundamentals of database system - Data Modeling Using the Entity-Relationshi...Mustafa Kamel Mohammadi
In this chapter you will learn
Relational data model concepts
What is entity?
What is attribute and it’s types
What is relationship?
What is an Entity-Relationship data model?
Relational data model constraints
Characteristics of relation
Data & Information, Drawbacks of File system, What is Database Management Systems, What is the need of DBMS, Examples of DBMS, Database Types, Applications of DBMS, Advantage of DBMS over file system, Disadvantages of DBMS, DBMS vs. File System
TECHNICAL TRAINING MANUAL GENERAL FAMILIARIZATION COURSEDuvanRamosGarzon1
AIRCRAFT GENERAL
The Single Aisle is the most advanced family aircraft in service today, with fly-by-wire flight controls.
The A318, A319, A320 and A321 are twin-engine subsonic medium range aircraft.
The family offers a choice of engines
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Automobile Management System Project Report.pdfKamal Acharya
The proposed project is developed to manage the automobile in the automobile dealer company. The main module in this project is login, automobile management, customer management, sales, complaints and reports. The first module is the login. The automobile showroom owner should login to the project for usage. The username and password are verified and if it is correct, next form opens. If the username and password are not correct, it shows the error message.
When a customer search for a automobile, if the automobile is available, they will be taken to a page that shows the details of the automobile including automobile name, automobile ID, quantity, price etc. “Automobile Management System” is useful for maintaining automobiles, customers effectively and hence helps for establishing good relation between customer and automobile organization. It contains various customized modules for effectively maintaining automobiles and stock information accurately and safely.
When the automobile is sold to the customer, stock will be reduced automatically. When a new purchase is made, stock will be increased automatically. While selecting automobiles for sale, the proposed software will automatically check for total number of available stock of that particular item, if the total stock of that particular item is less than 5, software will notify the user to purchase the particular item.
Also when the user tries to sale items which are not in stock, the system will prompt the user that the stock is not enough. Customers of this system can search for a automobile; can purchase a automobile easily by selecting fast. On the other hand the stock of automobiles can be maintained perfectly by the automobile shop manager overcoming the drawbacks of existing system.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
Democratizing Fuzzing at Scale by Abhishek Aryaabh.arya
Presented at NUS: Fuzzing and Software Security Summer School 2024
This keynote talks about the democratization of fuzzing at scale, highlighting the collaboration between open source communities, academia, and industry to advance the field of fuzzing. It delves into the history of fuzzing, the development of scalable fuzzing platforms, and the empowerment of community-driven research. The talk will further discuss recent advancements leveraging AI/ML and offer insights into the future evolution of the fuzzing landscape.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Explore the innovative world of trenchless pipe repair with our comprehensive guide, "The Benefits and Techniques of Trenchless Pipe Repair." This document delves into the modern methods of repairing underground pipes without the need for extensive excavation, highlighting the numerous advantages and the latest techniques used in the industry.
Learn about the cost savings, reduced environmental impact, and minimal disruption associated with trenchless technology. Discover detailed explanations of popular techniques such as pipe bursting, cured-in-place pipe (CIPP) lining, and directional drilling. Understand how these methods can be applied to various types of infrastructure, from residential plumbing to large-scale municipal systems.
Ideal for homeowners, contractors, engineers, and anyone interested in modern plumbing solutions, this guide provides valuable insights into why trenchless pipe repair is becoming the preferred choice for pipe rehabilitation. Stay informed about the latest advancements and best practices in the field.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)
Dbms 10: Conversion of ER model to Relational Model
1. Dr. Amiya Ranjan Panda
Assistant Professor [II]
School of Computer Engineering,
Kalinga Institute of Industrial Technology (KIIT),
Deemed to be University,Odisha
Conversion of ER model to Relational Model
KALINGA INSTITUTE OF INDUSTRIAL
TECHNOLOGY
School Of Computer
Engineering
4 Credit Lecture Note 10
3. 3
Conversion of ER model to Relational Model
A database that conforms to an ER diagram schema can be represented by a
collection of relational schemas. Both the ER model and Relational data model are
abstract, logical representations of real-world enterprises…
1. Representation of Strong Entity sets: A strong entity set reduces to a schema
with the same attributes. The primary key of the entity set serves as the primary
key of the resulting schema.
Loan = (loan_no, amount)
4. 4
Conversion of ER model to Relational Model
2. Representation of Weak Entity sets: A weak entity set becomes a table that
includes a column for the primary key of the identifying strong entity set. The
primary key is constructed by the collection of foreign key and partial key.
Loan = (loan_no, amount)
Payment = (loan_no, payment_no, payment_date,
payment_amt)
5. 5
Conversion of ER model to Relational Model
3. Representation of Relationship sets :
3. (a) Binary M:N: Union of the primary key attributes from the
participating entity sets becomes the primary key of the relationship.
Customer = (cid, cname, address) Loan = (loan_no, amount)
Borrow = (cid, loan_no)
If borrow_date is mentioned as descriptive attribute, then
Borrow = (cid, loan_no, borrow_date)
6. 6
Conversion of ER model to Relational Model
3. Representation of Relationship sets :
3. (b) Binary M:1 / 1:M : Construct two tables, one for the entity set at 1
side and another for entity set at M side, add the descriptive attributes and
a reference of the primary key of 1 side to the entity set at M side.
Stud = (roll, name, branch) Library = (bid, bname, price,
roll)
The foreign key can be represented by specifying the name as:
Library = (bid, bname, price, borrowing_roll)
If borrow_date is the descriptive attribute, then
Library = (bid, bname, price, borrowing_roll, borrow_date)
7. 7
Conversion of ER model to Relational Model
3. Representation of Relationship sets :
3. (c) Binary 1:1 : Construct two tables. In this case, either side can be
chosen to act as the many side. That is, extra attributes can be added to
either of the tables corresponding to the two entity sets, but not at the same
time.
Employee = (eid, ename, address, did) Department = (did, dname, location)
If it is required to mention the relationship name, then
Employee = (eid, ename, address, manager_did)
If department entity set will be considered as many side, then
Employee = (eid, ename, address) Department = (did, dname, location,
manager_eid)
8. 8
Conversion of ER model to Relational Model
4. Representation of Recursive Relationship sets : Two tables will be
constructed; one for entity set and one for relationship set.
Employee = (eid, ename, address) Works_for = (mgrid, workerid)
This ER diagram can also be represented by using a single relation schema. In such
cases, the schema contains a foreign key for each tuple in the original entity set
Employee = (eid, ename, address, manager_id)
9. 9
Conversion of ER model to Relational Model
5. Representation of Composite attributes : The composite attributes are
flattened out by creating a separate attribute for each of its parts.
Customer = (cid, name, address_street, address_city, address_pin)
10. 10
Conversion of ER model to Relational Model
6. Representation of Multi-valued attributes: A multi-valued attribute M of an
entity set E is represented by a separate schema E_M as E_M (primary key of E,
M).
Employee = (eid, name, address) Employee_phone_no = (eid, phone_no)
11. 11
Conversion of ER model to Relational Model
7. Representation of Generalization / Specialization : In case of
generalization/specialization-related ER diagram, one schema will be
constructed for the generalized entity set and the schemas for each of the
specialized entity sets.
Person = (person_id, name, address) Employee = (person_id, salary)
Customer = (person_id, credit_rating)
When the generalization/specialization is a disjointness case, the schemas are
constructed only for the specialized entity sets
Employee = (employee_id, name, address, salary) Customer =
(customer_id, name, address, credit_rating)
12. 12
Conversion of ER model to Relational Model
8. Representation of Aggregation : To represent aggregation, create a schema
containing the primary key of the aggregated relationship, primary key of the
associated entity set and descriptive attributes (if any).
Employee = (eid, name, address) Branch = (bid, bname, asset)
Job = (jobid, position, responsibility) Works_on = (eid, bid, jobid) Manager = (mid,
mgrname)
Manages = (eid, bid, jobid, mid)