DATABASE Purpose of database

Slides:



Advertisements
Similar presentations
Basic SQL Introduction Presented by: Madhuri Bhogadi.
Advertisements

Relational Database. Relational database: a set of relations Relation: made up of 2 parts: − Schema : specifies the name of relations, plus name and type.
Accounting System Design
ASP.NET Database Connectivity I. 2 © UW Business School, University of Washington 2004 Outline Database Concepts SQL ASP.NET Database Connectivity.
Murali Mani SQL DDL and Oracle utilities. Murali Mani Datatypes in SQL INT (or) INTEGER FLOAT (or) REAL DECIMAL (n, m) CHAR (n) VARCHAR (n) DATE, TIME.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education, Inc. publishing as Prentice Hall 4-1.
CSC 2720 Building Web Applications Database and SQL.
Data at the Core of the Enterprise. Objectives  Define of database systems  Introduce data modeling and SQL  Discuss emerging requirements of database.
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
Database Lecture # 1 By Ubaid Ullah.
Chapter 9 SQL and RDBMS Part C. SQL Copyright 2005 Radian Publishing Co.
Data at the Core of the Enterprise. Objectives  Define of database systems.  Introduce data modeling and SQL.  Discuss emerging requirements of database.
Database Technical Session By: Prof. Adarsh Patel.
Constraints  Constraints are used to enforce rules at table level.  Constraints prevent the deletion of a table if there is dependencies.  The following.
© 2007 by Prentice Hall (Hoffer, Prescott & McFadden) 1 Introduction to SQL.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 UNIT 6: Chapter 7: Introduction to SQL Modern Database Management 9 th Edition Jeffrey A.
SQL SQL Server : Overview SQL : Overview Types of SQL Database : Creation Tables : Creation & Manipulation Data : Creation & Manipulation Data : Retrieving.
SQL: DDL. SQL Statements DDL - data definition language –Defining and modifying data structures (metadata): database, tables, views, etc. DML - data manipulation.
DataBase Management System What is DBMS Purpose of DBMS Data Abstraction Data Definition Language Data Manipulation Language Data Models Data Keys Relationships.
Prepared By Prepared By : VINAY ALEXANDER ( विनय अलेक्सजेंड़र ) PGT(CS),KV JHAGRAKHAND.
© 2009 Pearson Education, Inc. Publishing as Prentice Hall 1 Chapter 7 (Part a): Introduction to SQL Modern Database Management 9 th Edition Jeffrey A.
SQL Basics. What is SQL? SQL stands for Structured Query Language. SQL lets you access and manipulate databases.
Access The L Line The Express Line to Learning 2007 L Line L © Wiley Publishing All Rights Reserved.
Database revision.
SQL Jan 20,2014. DBMS Stores data as records, tables etc. Accepts data and stores that data for later use Uses query languages for searching, sorting,
Relational Database Management System(RDBMS) Structured Query Language(SQL)
Chapter 3: Relational Databases
7 1 Database Systems: Design, Implementation, & Management, 7 th Edition, Rob & Coronel 7.6 Advanced Select Queries SQL provides useful functions that.
LECTURE TWO Introduction to Databases: Data models Relational database concepts Introduction to DDL & DML.
Understand Data Definition Language (DDL) Database Administration Fundamentals LESSON 1.4.
Introduction to Oracle. Before Computerized Database Organization use a set of data files to store each individual data. – The file contains individual.
5/12/  It is a repository where organizations keep their data.  Every org maintains data about its business, its employees, and other relevant.
Fundamental of Database Systems
Aga Private computer Institute Prepared by: Srwa Mohammad
Databases and DBMSs Todd S. Bacastow January
Fundamentals of DBMS Notes-1.
Oracle & SQL Introduction
Information Systems Today: Managing in the Digital World
Understand Data Manipulation Language (DML)
Introduction To Database Systems
Quiz Questions Q.1 An entity set that does not have sufficient attributes to form a primary key is a (A) strong entity set. (B) weak entity set. (C) simple.
Information Systems Database Management
Chapter 4 Relational Databases
Database Management System
Understand Data Manipulation Language (DML)
Database Management  .
Databases and Information Management
Database Concepts.
SQL 101.
Introduction to Database Management System
STRUCTURED QUERY LANGUAGE
Basic Concepts in Data Management
Accounting System Design
Database Fundamentals
Database.
The Relational Model Relational Data Model
Data base System Concepts & Data Modeling
PHP and MySQL.
בסיסי נתונים - מצגת ההרצאה - 1.
قـواعــــد الـبـيــانــات
Structured Query Language
مقدمة في قواعد البيانات
Data Model.
CMPT 354: Database System I
Accounting System Design
Databases and Information Management
SQL .. An overview lecture3.
SQL-1 Week 8-9.
Session - 6 Sequence - 1 SQL: The Structured Query Language:
INTRODUCTION A Database system is basically a computer based record keeping system. The collection of data, usually referred to as the database, contains.
Presentation transcript:

DATABASE Purpose of database Database – Database is a collection of related information that is organized in such a way that supports for easy access, modify and maintain data. Purpose of database It redues data redundancy Database can control data inconsistency It facilitate data sharing Database enforce standards Database can ensure data security Integrity can be maintained through databases

DBMS (Database Management System) - The database is managed by some special software packages known as Database Management Systems (DBMS). The purpose of DBMS software is to allow the user to create, modify and administration of database.

RDBMS – Relational Database Management System Relation - Marks Primary Key Relation - Student Foreign Key ID NAME ADDRESS 1 Meenu Dubai 2 radha Sharjah 3 Lal Attribute ID SUBJECT MARK 1 MATHS 60 2 70 3 90 ENGLISH 87 Tuple

Definitions Relation(table) - Data arranged in rows and columns Tuple (record) – Row of a relation Attribute (field) – Column of a relation Cardinality of a relation – Number of tuples in a relation Degree of a relation – Number of columns in a relation Primary key – Set of one or more attribute that can uniquely identify the tuples within a relation. Foreign key – Non key attribute which is the primary key of another table Candidate key – Attribute that can serve as primary key Alternate key – Candidate key which is not a primary key

SQL (Structured Query Language) is a standard language for accessing and manipulating databases

SQL (Structured Query Language) DDL (Data Definition Language) DML (Data ManipulationLanguage)

SQL (Structured Query Language) DDL DML Data Definition Language (DDL) or Data Description Language (DDL) statements are used to define different structures in a database. DDL statements are used to create structure of a table, modify the existing structure of the table and remove the existing table Data Manipulation Language (DML) statements are used to insert data into tables, delete data from the tables, retrieve data and modify the existing data. Create table ->to create table Alter table->to modify table Drop table ->to delete table Insert->to insert values in a table Update ->to modify data Delete ->to delete data Select ->to get the data from table