0% found this document useful (0 votes)
43 views19 pages

Power Bi

power bi

Uploaded by

Ramesh K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views19 pages

Power Bi

power bi

Uploaded by

Ramesh K
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 19

BUSINESS

INTELLIGENCE
Ramesh K
IBM Software Technical Trainer
IBM India Private Limited
UNIT-1
MODULE -2
1. Databases
2. RDBMS
3. SQL – Introduction
4. SQL statements
5. MYSQL WORKBENCH -
Installation
DATABASES

◦A database is an organized collection of data.


◦It is the collection of schemas, tables, queries, reports, views,
and other objects.
◦According to DB-Engines, the most widely used systems are
Oracle, My SQL, Microsoft SQL Server and IBM DB2
RDBMS

◦DBMS that is based on relational model is called as RDBMS


◦Relational model represents data in the form a table.
◦A table is a two dimensional array containing rows and
columns
Example:
◦Relational Database: Managing Customer Data.
RDBMS
Tuple / Row :
◦A single row in the table is called as tuple.
◦Row is a record and a horizontal entry.
Attribute / Column :
◦A column stores an attribute of the entity.
◦Column is information with a specific field and a vertical entry.
Column Name :
◦Each column in the table is given a name.
◦This name is used to refer to value in the column
TUPLE & ATTRIBUTE:
SQL - INTRODUCTION

◦SQL is Structured Query Language


◦RDBMS is the basis for SQL
◦i.e. SQL stores data in RDBMS
◦SQL is used to work with Data in the Database.
◦SQL is a Query or a Command.
SQL -CONSTRAINTS

◦Primary key
◦Composite primary key
◦Foreign key
SQL -CONSTRAINTS

◦Primary key – Uniquely Identify each row in a table.


◦i.e. (s.no, license.no, student rollno)
SQL -CONSTRAINTS
◦Composite primary key – When a primary key contains two
or more columns it is called as composite primary key.
SQL -CONSTRAINTS

◦Foreign key – Basically it is used to link two tables together.


SQL - COMMANDS
◦SQL commands are the instructions used to communicate with
a database to perform tasks, functions, and queries with data.
◦DDL
◦DML
◦DQL
◦DCL
◦TCL
DDL: DATA DEFINITION LANGUAGE
◦To define the table we use DDL
◦CREATE -to create objects in the database
◦ALTER -alters the structure of the database
◦DROP -delete objects from the database
◦TRUNCATE -remove all records from a table, including all
spaces allocated for the records are removed
DML: DATA MANIPULATION LANGUAGE
◦Represents a collection of programming languages explicitly
used to make changes to the database
◦SELECT -retrieve data from the a database
◦INSERT -insert data into a table
◦UPDATE -updates existing data within a table
◦DELETE -deletes all records from a table, the space for the
records remain.
DCL: DATA CONTROL LANGUAGE

◦DCL commands are used to control the access data stored in a


database.
◦GRANT -gives user's access privileges to database
◦REVOKE -withdraw access privileges given with the GRANT
command
TCL: TRANSACTION CONTROL LANGAUGE

◦It is used to manage the changes made by DML statements.


◦COMMIT -save work done
◦SAVEPOINT -identify a point in a transaction to which you can
later roll back
◦ROLLBACK -restore database to original since the last COMMIT
◦SET TRANSACTION -Change transaction options like isolation
level and what rollback segment to use.
MYSQL WORKBENCH
INSTALLATION

REFER LAB EXPERIMENT


Thank You !!!

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy