This document provides an introduction to databases, database management systems (DBMS), and structured query language (SQL). It defines a database as a collection of organized information that can be quickly accessed by a computer program. Databases are created to store, manage, and retrieve large amounts of information. A DBMS is a software system that allows users and applications to define, create, query, update, and administer a database. Well-known DBMSs include MySQL, SQL Server, and Oracle. SQL is a standard language for accessing and manipulating data within databases and allows users to perform functions like querying, inserting, updating, and deleting records.
2. What is Database
A collection of information organized in such a
way that a computer program can quickly select
desired pieces of data.
Traditional databases are organized by fields,
records, and files.
3. What are database for?
These are created to operate large quantities of
information by inputting, storing, retrieving, and
managing that information
4. How to use Database?
Database Management System (DBMS)
are specially designed applications that interact with
the user, other applications, and the database itself to
capture and analyze data.
is a software system designed to allow the definition,
creation, querying, update, and administration of
databases.
is responsible for maintaining the integrity and security of
stored data, and for recovering information if the system
fails.
Well-known DBMSs include MySQL, MariaDB, PostgreSQL,
SQLite, Microsoft SQL Server, Oracle, SAP, dBASE, FoxPro,
IBM DB2, LibreOffice Base and FileMaker Pro.
5. The interactions catered for by most existing DBMS
fall into four main groups:
Data definition - Defining new data structures for a
database, removing data structures from the
database, modifying the structure of existing data.
Update - Inserting, modifying, and deleting data.
Retrieval - Obtaining information either for end-user
queries and reports or for processing by applications.
Administration - Registering and monitoring users,
enforcing data security, monitoring performance,
maintaining data integrity, dealing with concurrency
control, and recovering information if the system fails.
6. What is SQL and its uses
Acronym for Standard/Structured Query
Language
lets you access and manipulate databases
SQL is an ANSI (American National Standards
Institute) standard
Lets you set commands to access specific or
numbers of data for retrieval, even delete and
update
7. What SQL can do?
SQL can execute queries against a database
SQL can retrieve data from a database
SQL can insert records in a database
SQL can update records in a database
SQL can delete records from a database
SQL can create new databases
SQL can create new tables in a database
SQL can create stored procedures in a database
SQL can create views in a database
SQL can set permissions on tables, procedures, and
views