Examit
Examit
What is database?
- Collection of related data which has been recorded, organized and made available
for searching is called database.
What is DBMS?
- Database Management System refers to collection of programs that enable
users to create, maintain and use a database.
Advantages of DBMS
▪ Reduction in Redundancy
▪ Improved Availability
▪ Improved Consistency
Disadvantages of DBMS
▪ Security and Recovery Overheads
▪ High Cost
Examples of DBMS
1. MySQL
2. Oracle
- unique
- not null
Referential Integrity Constraint is used to check that data entered in one relation is
consistent with the data entered in another relation.
Row is called Tuple
Column is called Attribute
Number of rows are known as cardinality
Number of columns are known as degree
Datatype of values in each column is called domain
Table is also called as Relation
DATABASE CONSTRAINTS
NOT NULL - should not be null
DEFAULT - if user didn’t enter any value then default value mentioned will be taken while
creating table
CHECK - used to restrict the values of an attribute
KEY CONSTRAINT - 2 primary key in a table
REFERENTIAL INTEGRITY CONSTRAINT - contains the foreign key and the primary key
referred to by this foreign key along with the name of the relation
COMMANDS
DROP TABLE drop table ABC;
ALTER TABLE add clmn - alter table ABC add A_id int;
drop clmn - alter table ABC drop A_id ;
alter clmn - alter table ABC alter A_salary drop default;
alter table ABC alter A_salary set default 3000;
drop key- alter table ABC drop primary key A_pk;
add key - alter table ABC add constraint A_FK foreign key
(A_id) REFERENCES XYZ (X _deptno);
CREATE Create table XYZ (X_deptID int primary key, X_deptname
varchar(20) NOT NULL);
An application that can be accessed via a web browser, over a network connection is called
a web-based application
E-Governance
E-Governance or electronic governance is the use of electronic i.e. information and
Communication technology (ICT) tools for governance by the government for the citizens.
india.gov.in (The National Portal of India) : This is the National Portal of India, which
provides a single window access to information and services being provided by the various
Indian Government entities. This portal is Mission Mode Project under the National E-
Governance Plan.
Online shopping
Online shopping is an e-commerce application where the customer can purchase goods
over the Internet.
Payment can be done by credit card or debit card, and there is a need to create a user
account.
Advantages
A. The customer does not have enough time to visit a store and purchase goods
B. The product you may require is not available at your market
Web-based application
Web based application development involves the process of developing web applications. A
web application is a program that is stored on a remote server.
3) Implementation Phase
Create backend database, frontend and the connectivity between them.
a) Backend Database
b) Frontend
c) Data Connectivity
4) Testing Phase
Test the complete application (Front-End and Back-End) with multiple sample sets of data .
Find all the application bugs and fix them. After final validation, the application is ready for
release.
WORK INTEGRATED IT
ENTITIES INVOLVED
• Category
• Product
• Customer
• Seller
• Wish_list
• Order
• Shipment
• Payment