Lesson 3 Part 3 Flashcards
What is Data?
Data is information with a purpose, used in enterprise applications to provide insights and persistent information, including for marketing, usage statistics, and error reporting.
What is a database?
A database is a system of software and capabilities that allows for validating, storing, searching, filtering, aggregating, grouping, and administering data.
What are the two main categories of databases in enterprise applications?
SQL databases and NoSQL databases.
What is an SQL database?
An SQL database is a type of Relational Database Management System (RDBMS) that uses Structured Query Language (SQL) to manage data stored in tables.
What is the general syntax for creating a database in MySQL?
CREATE DATABASE database_name;
Example: CREATE DATABASE employee;
What is a NoSQL database?
A NoSQL database is not necessarily based on the relational model and uses various methods or domain-specific languages (DSL) for data management, employing different structures for storing data.
What does SQL stand for?
Structured Query Language.
What is the syntax to use a newly created schema in MySQL?
USE database_name;
Example: USE employee
What are the five sublanguages of SQL?
DDL (Data Definition Language)
DML (Data Manipulation Language)
DCL (Data Control Language)
TCL (Transaction Control Language)
DQL (Data Query Language)
What does DML stand for and what is its purpose?
Data Manipulation Language; it is used for inserting, updating, and deleting records.
What does DDL stand for and what is its purpose?
Data Definition Language; it defines the structure of the database.
What does DCL stand for and what is its purpose?
Data Control Language; it grants or revokes access permissions to database objects.
What does TCL stand for and what is its purpose?
Transaction Control Language; it defines boundaries for concurrent operations.
What does DQL stand for and what is its purpose?
Data Query Language; it is used to search, filter, group, and aggregate stored data.
Name some popular SQL implementations.
Oracle, MySQL, PostgreSQL, Microsoft SQL Server, MariaDB, SQLite.