Reading:  

Introduction to database management systems


An overview of SQL used in DBMSes

SQL is a programming language for Relational Databases. SQL consists both data definition and data manipulation languages.

Data Definition Language

Data Definition Language (DDL) is a standard for commands that define different structures in a database.

  • CREATE - to create objects in database like databases, tables and views

    Create database db_1;
    Create table dtable;
    Create view dview;
  •  ALTER - alter structure of database

    Alter table dtable add subject varchar;
  •  DROP - delete objects from database like view,table

    Drop database db_1;
    Drop table dtable;
    Drop view dview;

  • TRUNCATE - remove all records from a table, including all spaces allocated. 

    TRUNCATE TABLE dtable;

     (DML) statements are used for managing data within schema objects.Data Manipulation Language
  • SELECT - retrieve data from a database 

    SELECT * from dtable; // query returns all data stored in dtable
  • INSERT - insert data into a table 
  • UPDATE - updates existing data within a table 
  • DELETE - deletes all records from a table, space for records remain

 

 

Description

This free tutorial covers the basics of database management system to help you with your understanding on the topic, Please note that this tutorial assumes that either you are a beginner or just want to brush up your understanding on DBMS

Tutorial covers the topics below

  • What is DBMS?
  • Architecture
  • Data Models
  • Data Schemas
  • Data Independence
  • Entity-Relation Model Basic Concept
  • Entity-Relation Diagram Representation
  • Generalization, Aggregation
  • Codd's 12 Rules
  • Relational Data Model
  • Relational Algebra
  • Structured Query Language
  • Normalization
  • Database Joins
  • Storage System
  • Indexing
  • Hashing
  • Transaction
  • Concurrency Control and Deadlock
  • Data Backup and Recovery

 



Audience

Absolute beginners or students who wish to brush up their understanding on DBMSes

Author: Subject Coach
Added on: 16th Sep 2015

You must be logged in as Student to ask a Question.

None just yet!