SQL-Basics

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/11

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

12 Terms

1
New cards

What does SQL stand for?

Structured Query Language

2
New cards

For what is SQL used?

SQL is a standard language for manipulating data held in relational database management systems or for stream processing in relational data stream management systems.

3
New cards

What is a RDBMS?

A Relational Database Management System (RDBMS) is software that manages data stored in relational databases, allowing for data creation, querying, updating, and administration.

4
New cards

Who first developed SQL?

It was first developed in the 1970s by IBM.

5
New cards

Which components are there in SQL?

Queries, Data Definition Language (DDL), Data Manipulation Language (DML), Data Control Language (DCL), and Transaction Control Language (TCL).

6
New cards

Queries

This is the component that allows you to retrieve data from a database. The SELECT statement is most commonly used for this purpose.

7
New cards

Data Definition Language (DDL)

It lets you to create, alter, or delete databases and their related objects like tables, views, etc. Commands include CREATE, ALTER, DROP, and TRUNCATE.

8
New cards

Data Manipulation Language (DML)

 It lets you manage data within database objects. These commands include SELECT, INSERT, UPDATE, and DELETE.

9
New cards

Data Control Language (DCL)

It includes commands like GRANT and REVOKE, which primarily deal with rights, permissions and other control-level management tasks for the database system.

10
New cards

What are relational databases?

Relational databases are a type of database management system (DBMS) that stores and provides access to data points that are related to one another. They use a structure that allows data to be organized into tables with rows and columns.

11
New cards

What are key features of a relational database?

  • use of SQL for querying and managing data

  • support of ACID transactions (Atomicity, Consistency, Isolation, Durability)

  • enforcement of data integrity through constraints

  • ability to establish relationships between tables, enabling complex queries and data retrieval

  • scalabilty and support for multi-user environments

12
New cards

Examples for popular relational database systems

MySQ, PostgreSQL, Oracle and Microsof SQL Server