MySQL-1
MySQL-1
--- no prerequities
2. Types of DataBases:
There are two kinds of DBMS
- - RDBMS(relational database management system)
-- stores the data in tables
-- easy to use, difficult to store
-- relations can be well maintained
Eg: MySQL,oracle,sql server,sql lite, postgresql
- - Non - Relational DBMS
-- huge, easy to store and fast
-- documents,objects,trees,graphs
Eg: mongoDB, couchDB,cassandra,radis,Apache
Databases : databses stores the data in tables or other other structured format.
they are containers to hold multiple data
to create a database ---> create database database-name
to drop a database ---> drop database database-name
to show all databases ---> show databases;
to use database: use database-name;