SQL ENTRY AND PREPARING SQL QUERIES

Basic concepts about database

In this learning content, we will cover data, database technologies and database management systems in detail.

Database technologies have been continually developed since the invention of computers. The first database management system (DBMS) emerged in the 1960s.

The IMS (Information Management System), developed by IBM and launched in 1964, is considered the first DBMS. IMS was a hierarchical database management system designed for IBM's mainframe computers.

In the 1970s, relational database technology was developed. Relational database management systems such as IBM's SQL/DS (1974) and Oracle Corporation's Oracle RDBMS (1979) were introduced. Relational database technology allowed data to be stored in a more structured manner and relationships to be managed more easily.

In the 1980s, database management systems reached a broader user base. Systems like Microsoft Access and MySQL were introduced during this period. These systems allowed small businesses and individual users to easily create databases.

In the late 1990s and 2000s, specialized database management systems were developed for large-scale organizations with extensive data processing needs. Systems like Apache Hadoop and NoSQL were developed during this period.

Today, database management systems have a wide range of applications and play a critical role in data collection, storage, processing, and analysis. Database technologies are continuously improved, and next-generation database systems strive to adapt to emerging technologies such as artificial intelligence and big data analytics.

How about exploring the basic concepts related to databases mentioned below?

Data

Data is a numeric or symbolic expression representing the characteristics or qualities of any object, event, person, or idea in the real world. Data can be transformed into information. Additionally, data is typically classified as structured and unstructured.

Structured data is data with a specific format or structure, such as data that can be stored in a database.

Unstructured data, on the other hand, is data without a structured format, such as text, videos, and images. Essentially, structured data does not express meaning on its own. Labels assigned to data make it meaningful. For example, the data "15" on its own doesn't express meaning, but when labeled under "age" it indicates a person's age, or under "price" it indicates the price of a product.

Data can be collected from various sources. For example, surveys, sensors, social media, transaction records, websites, and many more sources can provide data.

This data can then be processed to generate more meaningful information.

Database

A database is a data storage and management system that facilitates the structured storage of information. Databases make data easily accessible, manageable, and updatable.

Databases can host various types of data, such as customer information, product details, order data, and many other data types. They also facilitate data sharing among different users.

Databases can be of different types, such as relational databases and NoSQL databases. While relational databases manage data using a query language like SQL, NoSQL databases manage data using document-based, key-value-based, or graph-based data structures.

Databases help businesses organize, store, query, and manage their data. They also perform essential functions like data backup, maintaining data integrity, and ensuring data security.

Database Management System

A Database Management System (DBMS) is a software application used for data management, storage, querying, updating, and sharing. DBMS contains tools and functions that manage databases and allow users to access the data.

DBMS allows for adding data to databases, deleting data, updating data, querying data, and reporting on data. DBMS also provides essential features for data integrity and data security.

There are currently many DBMS available. Some of these include;

  • Microsoft SQL Server: A relational database management system developed by Microsoft, SQL Server operates on the Windows operating system.
  • Oracle: A DBMS offered and developed by Oracle, one of the world's largest software companies. Oracle is a database management system used by large-scale organizations and enterprises.
  • MySQL: An open-source and free relational database management system, MySQL is a popular DBMS for online applications.
  • MongoDB: Known as a NoSQL database management system, MongoDB is a DBMS used to manage document-based data. It is preferred for big data and cloud-based applications.
  • PostgreSQL: An open-source and free relational database management system, PostgreSQL can run on various operating systems and is particularly chosen for its data integrity, security, and performance.

Data Definition Language (DDL)

Data Definition Language (DDL) is a language used in database management systems to define, modify, and delete database objects. DDL commands are used in database design and configuration. SQL is the most commonly used DDL.

Data Manipulation Language (DML)

Data Manipulation Language (DML) is a language used in database management systems for manipulating data. DML is used to query, add, update, and delete data in a database. SQL is the most commonly used DML.

Data Control Language (DCL)

Data Control Language (DCL) is used to change permissions of users and roles associated with a database, i.e., to regulate access rights to data. SQL is the most commonly used DCL. It has three primary commands: Grant (gives data usage and command execution permissions), Deny (restricts or removes given permissions), and Revoke (revokes all granted permissions).

In this learning content, we got acquainted with the basic concepts related to databases. In our next learning content, we will take a closer look at SQL.

In this learning content, we will cover data, database technologies and database management systems in detail.

Database technologies have been continually developed since the invention of computers. The first database management system (DBMS) emerged in the 1960s.

The IMS (Information Management System), developed by IBM and launched in 1964, is considered the first DBMS. IMS was a hierarchical database management system designed for IBM's mainframe computers.

In the 1970s, relational database technology was developed. Relational database management systems such as IBM's SQL/DS (1974) and Oracle Corporation's Oracle RDBMS (1979) were introduced. Relational database technology allowed data to be stored in a more structured manner and relationships to be managed more easily.

In the 1980s, database management systems reached a broader user base. Systems like Microsoft Access and MySQL were introduced during this period. These systems allowed small businesses and individual users to easily create databases.

In the late 1990s and 2000s, specialized database management systems were developed for large-scale organizations with extensive data processing needs. Systems like Apache Hadoop and NoSQL were developed during this period.

Today, database management systems have a wide range of applications and play a critical role in data collection, storage, processing, and analysis. Database technologies are continuously improved, and next-generation database systems strive to adapt to emerging technologies such as artificial intelligence and big data analytics.

How about exploring the basic concepts related to databases mentioned below?

Data

Data is a numeric or symbolic expression representing the characteristics or qualities of any object, event, person, or idea in the real world. Data can be transformed into information. Additionally, data is typically classified as structured and unstructured.

Structured data is data with a specific format or structure, such as data that can be stored in a database.

Unstructured data, on the other hand, is data without a structured format, such as text, videos, and images. Essentially, structured data does not express meaning on its own. Labels assigned to data make it meaningful. For example, the data "15" on its own doesn't express meaning, but when labeled under "age" it indicates a person's age, or under "price" it indicates the price of a product.

Data can be collected from various sources. For example, surveys, sensors, social media, transaction records, websites, and many more sources can provide data.

This data can then be processed to generate more meaningful information.

Database

A database is a data storage and management system that facilitates the structured storage of information. Databases make data easily accessible, manageable, and updatable.

Databases can host various types of data, such as customer information, product details, order data, and many other data types. They also facilitate data sharing among different users.

Databases can be of different types, such as relational databases and NoSQL databases. While relational databases manage data using a query language like SQL, NoSQL databases manage data using document-based, key-value-based, or graph-based data structures.

Databases help businesses organize, store, query, and manage their data. They also perform essential functions like data backup, maintaining data integrity, and ensuring data security.

Database Management System

A Database Management System (DBMS) is a software application used for data management, storage, querying, updating, and sharing. DBMS contains tools and functions that manage databases and allow users to access the data.

DBMS allows for adding data to databases, deleting data, updating data, querying data, and reporting on data. DBMS also provides essential features for data integrity and data security.

There are currently many DBMS available. Some of these include;

  • Microsoft SQL Server: A relational database management system developed by Microsoft, SQL Server operates on the Windows operating system.
  • Oracle: A DBMS offered and developed by Oracle, one of the world's largest software companies. Oracle is a database management system used by large-scale organizations and enterprises.
  • MySQL: An open-source and free relational database management system, MySQL is a popular DBMS for online applications.
  • MongoDB: Known as a NoSQL database management system, MongoDB is a DBMS used to manage document-based data. It is preferred for big data and cloud-based applications.
  • PostgreSQL: An open-source and free relational database management system, PostgreSQL can run on various operating systems and is particularly chosen for its data integrity, security, and performance.

Data Definition Language (DDL)

Data Definition Language (DDL) is a language used in database management systems to define, modify, and delete database objects. DDL commands are used in database design and configuration. SQL is the most commonly used DDL.

Data Manipulation Language (DML)

Data Manipulation Language (DML) is a language used in database management systems for manipulating data. DML is used to query, add, update, and delete data in a database. SQL is the most commonly used DML.

Data Control Language (DCL)

Data Control Language (DCL) is used to change permissions of users and roles associated with a database, i.e., to regulate access rights to data. SQL is the most commonly used DCL. It has three primary commands: Grant (gives data usage and command execution permissions), Deny (restricts or removes given permissions), and Revoke (revokes all granted permissions).

In this learning content, we got acquainted with the basic concepts related to databases. In our next learning content, we will take a closer look at SQL.

Yardımcı kaynaklar

Glossary