The document provides an overview of relational database management systems (RDBMS) and Oracle. It discusses database concepts such as the relational data model, database design including normalization, and integrity rules. It also outlines the contents of 5 units that will be covered, including Oracle, SQL, PL/SQL, and database objects like procedures and triggers. Key terms discussed include entities, attributes, relationships, and the different types of keys.
Consists of the explanations of the basics of SQL and commands of SQL.Helpful for II PU NCERT students and also degree studeents to understand some basic things.
Consists of the explanations of the basics of SQL and commands of SQL.Helpful for II PU NCERT students and also degree studeents to understand some basic things.
Database normalization is the process of refining the data in accordance with a series of normal forms. This is done to reduce data redundancy and improve data integrity. This process divides large tables into small tables and links them using relationships.
Here is the link of full article: https://www.support.dbagenesis.com/post/database-normalization
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.
In DBMS (DataBase Management System), the relation algebra is important term to further understand the queries in SQL (Structured Query Language) database system. In it just give up the overview of operators in DBMS two of one method relational algebra used and another name is relational calculus.
You can get clear knowledge about the functional dependencies in "Normalization". And also the rules, types of FDs and finally the closure and its applications
Database normalization is the process of refining the data in accordance with a series of normal forms. This is done to reduce data redundancy and improve data integrity. This process divides large tables into small tables and links them using relationships.
Here is the link of full article: https://www.support.dbagenesis.com/post/database-normalization
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.
In DBMS (DataBase Management System), the relation algebra is important term to further understand the queries in SQL (Structured Query Language) database system. In it just give up the overview of operators in DBMS two of one method relational algebra used and another name is relational calculus.
You can get clear knowledge about the functional dependencies in "Normalization". And also the rules, types of FDs and finally the closure and its applications
A database management system (DBMS) is a collection of programs that enables users to create and maintain databases and control all access to them. The primary goal of a DBMS is to provide an environment that is both convenient and efficient for users to retrieve and store information.
These slides cover the following concepts:
~ RDBMS vs DBMS
~ RDBMS structure
~ RDBMS basics for beginners
~ RELATIONAL DATABASE MANAGEMENT SYSTEM
~ DATA, SCHEMA, AND DATABASE
~ WHAT IS RDBMS?
~ FEATURES OF RDBMS
~ RELATIONSHIPS IN DATABASE
~ RULES OF RDBMS
~ ELEMENTS OF RDBMS
~ SQL COMMANDS
~ SQL CONSTRAINTS
~ COMMON SQL CONSTRAINTS
~ DATA DEFINITION LANGUAGE SCRIPT (DDL)
~ DATA MANIPULATION LANGUAGE SCRIPT (DML)
~ DATA CONTROL LANGUAGE SCRIPT (DCL)
~ PRIMARY KEY, FOREIGN KEY
~ EXAMPLE OF PRIMARY AND FOREIGN KEY
~ DBMS VS RDBMS
~ RDBMS NORMALIZATION
~ BENEFITS OF NORMALIZING
~ SQL JOINS
~ INNER JOIN
~ LEFT OUTER JOIN
~ RIGHT OUTER JOIN
~ FULL OUTER JOIN
~ CROSS JOIN
~ SELF JOIN
*RDBMS ( Relational Database Management System)
*Network model
*Hierarchical Data Model
*Object-Oriented Model
*Attribute Types
*Relation Instance
*Relations are Unordered
*Database
*E-R Diagram for the Banking Enterprise
*Determining Keys from E-R Sets
ESOFT Metro Campus - Diploma in Software Engineering - (Module IV) Database Concepts
(Template - Virtusa Corporate)
Contents:
Introduction to Databases
Data
Information
Database
Database System
Database Applications
Evolution of Databases
Traditional Files Based Systems
Limitations in Traditional Files
The Database Approach
Advantages of Database Approach
Disadvantages of Database Approach
Database Management Systems
DBMS Functions
Database Architecture
ANSI-SPARC 3 Level Architecture
The Relational Data Model
What is a Relation?
Primary Key
Cardinality and Degree
Relationships
Foreign Key
Data Integrity
Data Dictionary
Database Design
Requirements Collection and analysis
Conceptual Design
Logical Design
Physical Design
Entity Relationship Model
A mini-world example
Entities
Relationships
ERD Notations
Cardinality
Optional Participation
Entities and Relationships
Attributes
Entity Relationship Diagram
Entities
ERD Showing Weak Entities
Super Type / Sub Type Relationships
Mapping ERD to Relational
Map Regular Entities
Map Weak Entities
Map Binary Relationships
Map Associated Entities
Map Unary Relationships
Map Ternary Relationships
Map Supertype/Subtype Relationships
Normalization
Advantages of Normalization
Disadvantages of Normalization
Normal Forms
Functional Dependency
Purchase Order Relation in 0NF
Purchase Order Relation in 1NF
Purchase Order Relations in 2NF
Purchase Order Relations in 3NF
Normalized Relations
BCNF – Boyce Codd Normal Form
Structured Query Language
What We Can Do with SQL ?
SQL Commands
SQL CREATE DATABASE
SQL CREATE TABLE
SQL DROP
SQL Constraints
SQL NOT NULL
SQL PRIMARY KEY
SQL CHECK
SQL FOREIGN KEY
SQL ALTER TABLE
SQL INSERT INTO
SQL INSERT INTO SELECT
SQL SELECT
SQL SELECT DISTINCT
SQL WHERE
SQL AND & OR
SQL ORDER BY
SQL UPDATE
SQL DELETE
SQL LIKE
SQL IN
SQL BETWEEN
SQL INNER JOIN
SQL LEFT JOIN
SQL RIGHT JOIN
SQL UNION
SQL AS
SQL Aggregate Functions
SQL Scalar functions
SQL GROUP BY
SQL HAVING
Database Administration
SQL Database Administration
Macroeconomics- Movie Location
This will be used as part of your Personal Professional Portfolio once graded.
Objective:
Prepare a presentation or a paper using research, basic comparative analysis, data organization and application of economic information. You will make an informed assessment of an economic climate outside of the United States to accomplish an entertainment industry objective.
Safalta Digital marketing institute in Noida, provide complete applications that encompass a huge range of virtual advertising and marketing additives, which includes search engine optimization, virtual communication advertising, pay-per-click on marketing, content material advertising, internet analytics, and greater. These university courses are designed for students who possess a comprehensive understanding of virtual marketing strategies and attributes.Safalta Digital Marketing Institute in Noida is a first choice for young individuals or students who are looking to start their careers in the field of digital advertising. The institute gives specialized courses designed and certification.
for beginners, providing thorough training in areas such as SEO, digital communication marketing, and PPC training in Noida. After finishing the program, students receive the certifications recognised by top different universitie, setting a strong foundation for a successful career in digital marketing.
A Strategic Approach: GenAI in EducationPeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
Introduction to AI for Nonprofits with Tapp NetworkTechSoup
Dive into the world of AI! Experts Jon Hill and Tareq Monaur will guide you through AI's role in enhancing nonprofit websites and basic marketing strategies, making it easy to understand and apply.
Welcome to TechSoup New Member Orientation and Q&A (May 2024).pdfTechSoup
In this webinar you will learn how your organization can access TechSoup's wide variety of product discount and donation programs. From hardware to software, we'll give you a tour of the tools available to help your nonprofit with productivity, collaboration, financial management, donor tracking, security, and more.
Unit 8 - Information and Communication Technology (Paper I).pdfThiyagu K
This slides describes the basic concepts of ICT, basics of Email, Emerging Technology and Digital Initiatives in Education. This presentations aligns with the UGC Paper I syllabus.
How to Make a Field invisible in Odoo 17Celine George
It is possible to hide or invisible some fields in odoo. Commonly using “invisible” attribute in the field definition to invisible the fields. This slide will show how to make a field invisible in odoo 17.
Normal Labour/ Stages of Labour/ Mechanism of LabourWasim Ak
Normal labor is also termed spontaneous labor, defined as the natural physiological process through which the fetus, placenta, and membranes are expelled from the uterus through the birth canal at term (37 to 42 weeks
Honest Reviews of Tim Han LMA Course Program.pptxtimhan337
Personal development courses are widely available today, with each one promising life-changing outcomes. Tim Han’s Life Mastery Achievers (LMA) Course has drawn a lot of interest. In addition to offering my frank assessment of Success Insider’s LMA Course, this piece examines the course’s effects via a variety of Tim Han LMA course reviews and Success Insider comments.
Acetabularia Information For Class 9 .docxvaibhavrinwa19
Acetabularia acetabulum is a single-celled green alga that in its vegetative state is morphologically differentiated into a basal rhizoid and an axially elongated stalk, which bears whorls of branching hairs. The single diploid nucleus resides in the rhizoid.
Francesca Gottschalk - How can education support child empowerment.pptxEduSkills OECD
Francesca Gottschalk from the OECD’s Centre for Educational Research and Innovation presents at the Ask an Expert Webinar: How can education support child empowerment?
Embracing GenAI - A Strategic ImperativePeter Windle
Artificial Intelligence (AI) technologies such as Generative AI, Image Generators and Large Language Models have had a dramatic impact on teaching, learning and assessment over the past 18 months. The most immediate threat AI posed was to Academic Integrity with Higher Education Institutes (HEIs) focusing their efforts on combating the use of GenAI in assessment. Guidelines were developed for staff and students, policies put in place too. Innovative educators have forged paths in the use of Generative AI for teaching, learning and assessments leading to pockets of transformation springing up across HEIs, often with little or no top-down guidance, support or direction.
This Gasta posits a strategic approach to integrating AI into HEIs to prepare staff, students and the curriculum for an evolving world and workplace. We will highlight the advantages of working with these technologies beyond the realm of teaching, learning and assessment by considering prompt engineering skills, industry impact, curriculum changes, and the need for staff upskilling. In contrast, not engaging strategically with Generative AI poses risks, including falling behind peers, missed opportunities and failing to ensure our graduates remain employable. The rapid evolution of AI technologies necessitates a proactive and strategic approach if we are to remain relevant.
1. RDBMS & ORACLE
Database concept
A relational approach
Dr. R. Khanchana
Assistant Professor
Department of Computer Science
Sri Ramakrishna College of Arts and Science for Women
2. CORE 8: RDBMS AND ORACLE
UNIT I: Database Concepts: A Relational approach: Database – Relationships – DBMS – Relational
Data Model – Integrity Rules – Theoretical Relational Languages. Database Design: Data Modeling
and Normalization: Data Modeling – Dependency – Database Design – Normal forms – Dependency
Diagrams – De -normalization – Another Example of Normalization.
UNIT II: Oracle9i: Overview: Personal Databases – Client/Server Databases – Oracle9i an
introduction – SQL *Plus Environment – SQL – Logging into SQL *Plus - SQL *Plus Commands –
Errors & Help – Alternate Text Editors - SQL *Plus Worksheet - iSQL *Plus. Oracle Tables: DDL:
Naming Rules and conventions – Data Types – Constraints – Creating Oracle Table – Displaying Table
Information – Altering an Existing Table – Dropping, Renaming, Truncating Table – Table Types –
Spooling – Error codes.
UNIT III: Working with Table: Data Management and Retrieval: DML – adding a new Row/Record –
Customized Prompts – Updating and Deleting an Existing Rows/Records – retrieving Data from Table
– Arithmetic Operations – restricting Data with WHERE clause – Sorting – Revisiting Substitution
Variables – DEFINE command – CASE structure. Functions and Grouping: Built-in functions –
Grouping Data. Multiple Tables: Joins and Set operations: Join – Set operations.
UNIT IV: PL/SQL: A Programming Language: History – Fundamentals – Block Structure – Comments –
Data Types – Other Data Types – Declaration – Assignment operation – Bind variables – Substitution
Variables – Printing – Arithmetic Operators. Control Structures and Embedded SQL: Control
Structures – Nested Blocks – SQ L in PL/SQL – Data Manipulation – Transaction Control statements.
PL/SQL Cursors and Exceptions: Cursors – Implicit & Explicit Cursors and Attributes – Cursor FOR
loops – SELECT…FOR UPDATE – WHERE CURRENT OF clause – Cursor with Parameters – Cursor
Variables – Exceptions – Types of Exceptions.
UNIT V: PL/SQL Composite Data Types: Records – Tables – arrays. Named Blocks: Procedures –
Functions – Packages –Triggers –Data Dictionary Views.
3. Books
TEXT BOOK: 1. Database Systems using Oracle,
Nilesh Shah, 2nd edition, PHI.
REFERENCE BOOKS:
1. Database Management Systems, Majumdar &
Bhattacharya, 2007, TMH.
2. Database Management Systems, Gerald V.
Post, 3rd edition, TMH.
4. Data base
• Electronic store of Data.
• Repository that stores
information about
“things”.
• It also contains
relationships among
those different
“Things”.
5. Basic Terms
• A person, place, event or item is called on entity.
• The facts describing an entity are known as data.
• Each entity can be described by its characteristics,
which are known as attributes.
For Ex: gender, first name last name, etc…
• All the related entities are collected together to form
an entity set .
• A database is collection of entity set
• The interactions between entity sets are called
relationships
6. Relationships
• The database design requires to create an entity
set each describing a set of related entities.
• Establishes all the relationship between the entity
sets with in the database.
• Depending on the type of interaction the
relationship are classified into three categories
One - to - one relationship
One - to - many relationship
Many - to - many relationship
10. Database management system
Components
• DBMS software package such as micro soft access, visual
fox pro, micro soft SQL server or oracle.
• A user developed and implemented database or databases
that includes tables , a data dictionary and other database
objects.
• Custom applications such as data entry form , reports,
queries, blocks, and programs.
• Hardware: personal computer,
• Software: operating system, network operating system
• Personnel: database administrator, database designer/analyst
12. Important Functions managed by
Database
• Meta data
• All day to day transactions.
• Book keeping
• Transforms logical data requests to match physical data
structure.
• Data Validation
• Access Security
• Data Security
• Data Sharing
• Import and export utilities
13. Types of Database Models
Relational
Model
Hierarchical
Model
Network Model
Object Model
20. The Relational Database Model
• The relational is represented by two
dimensional flat Structure know as a table.
• Data base system that manages a relational
database environment is know as a
relational database management system.
• A table is a matrix of rows and columns
where
– each row represents an Record and each column
represents an Attribute.
21. The Relational Database Model
• Tuple / Record - Row
• Attribute / Field - Column
• Degree - number of column in an table
• Domain - Set of all possible values that a
column may have
• Key - Minimal set of columns use to uniquely
define any row in a table.
24. Types of Keys
Need for indentifying uniquely any row of data in a table.
• Super Key – A key with super set of all possibilities.
• Candidate key- Minimal set of super key
• Primary key - A single column is used as a unique identifier
• Composite key- A combination of a column is used as a unique
identifier (Composite Primary key)
• Secondary key - A more human approach is used to identify or
retrieve a row from a table
• Surrogate key - An extra column as a primary key instead of using
a composite key
• Foreign key - A column in a table that references a column in
another table
25. Keys -Example
• Candidate keys
• SID
• REGID
• EMAILID
• Foreign Key
• BRANCHID
• Super keys
• Not Candidate
key
• SID +REGID
• REGID +EMAILID
• EMAILID +SID
• SID+REGID+EMAILID
SID REGID NAME BRANCHCOD
E
EMAILID
1 12_CS Adam CS adamcs@yahoo.com
2 13_CA Adam CA adamca@yahoo.co.in
3 11_IT John IT johnit@gmail.com
4 14_CS Esitha CS esithacs@yahoo.com
• Primary
Keys
• REGID
BRANCH CODE BRANCH NAME
CS Compuer Science
IT Information Technology
CA Computer Application
31. Integrity Rules
• Entity –integrity: No column in a primary
key may be null. The primary key provides the
means of uniquely identifying a row or an
entity.
• A Null value means a value that is not known ,
not entered, not defined, or not applicable.
• A zero is not considered to be a null value.
• Referential-integrity: A foreign key value
may be a null value, or it must exist as a value
of a primary key in referenced table.
32. Theoretical Relational languages
• Relational algebra, a procedural language.
• Relational calculus, a nonprocedural language.
• Third- generations high level complier
languages can be used to manipulate data in a
table, but they can only work with one row at a
time.
• The database systems non procedural structured
query language is used as a data manipulation
sub language
33. Relational algebra
• The relational algebra is a procedural language
• Set of operations
–Union
–Intersection
–Difference
–Projection
–Selection
–Product
–Assignment
–Join
–Division
34. Union
• Union of two tables results in retrieval of all rows that
are in one or both tables.
• The duplicate rows are eliminated from the resulting
table.
• Basic requirement
• Both tables must have the same degree.
• The domains of the corresponding columns in two
tables must be same .
37. Intersection
• Intersection of two tables produces a table with
rows that are in both tables.
• The two tables must be union compatible to
perform an intersection on them.
40. Projection
• Projection operation allows us to create a table based
on desirable columns from all existing column in a
table.
• The projection operation returns the “Vertical Slices”
of a table.
41. Difference
• The intersection of two tables produces a table
with rows that are present in the first table but
not in the second table.
• The difference can be performed on union
compatible tables only.
43. Selection
• Selection operation selects the rows from a
table based on condition or conditions.
• The conditional (=,< >,>,>=,<,<=)and the
logical operators(AND, OR,NOT) are used
along with columns and value to create
conditions.
• The selection operation returns “Horizontal
Slices” .
45. Product
Example• The product of two
tables is a
combination every
thing in both tables.
• It is also known as a
Cartesian product.
C= A *B
A B
C
46. Assignment
• The operation creates a new table from existing table
• Table_New = E_SAL
Table_New
Old Table Name
New Table Name
47. Division - Example
Proj No
1
2
3
Proj No PartNo
1 11
2 33
3 11
1 22
2 11
PROJECT PROJPARTS
PartNo
11
PARTS
PARTS = PROJPARTS / PROJECT
48. Join
• The join is one of the most important
operations because of ability to get related
data from a number of tables.
• The join is based on common set of values.
• Other types of joins:
– Natural join
– Equijoin
– Outer join
– Non equijoin
– Self join
49. Join – Example
COM_PRO = Join(PRODUCT,COMPANY: COMPANY_ID = COMPANY_ID)
PRODUCT
COMPANY
COM_PRO
50. Division
• Division operation is most difficult operation
to comprehend
• It is not as simple as division in mathematics.
• In relational algebra it identifies rows in one
table that have a certain relationship to all
rows in another table.