is an organized collection of dat that is kept in a computer system
2
New cards
SQL
a relational database system that uses tables to store structured data. Designed for managing and manipulating data with relational database management systems.
3
New cards
NoSQL
a non-relational database system that stores data using different models instead of tables. Ideal for applications that need to handle lots of data, like social media, or big data.
4
New cards
SQL database examples
MYSQL, Oracle Database, Microsoft SQL server
5
New cards
NoSQL database examples
Mongo DB, Casandra, Amazon DynamoDB
6
New cards
SQL Schema
reflects what tables are in database, what columns they have and how they are related.
7
New cards
Primary key
is a field in a table which uniquely identifies each row in a table. Must contain unique values. Cannot have NULL values.
8
New cards
Foreign key
is used to link two tables together.
9
New cards
Row
collection of fields that make up a record
10
New cards
DBMS
Database Management System
11
New cards
DBMS
designed to create, manage, and manipulate databases. It serves as an interface between the database and its users or application programs, enabling users to efffciently store, access, and modify data.
12
New cards
Column
set of data values of a particular simple type
13
New cards
Table
collection oof data elements
14
New cards
SQL Keywords - SELECT
Retrieves data from database
15
New cards
SQL Keywords - FROM
Specifies the able from which to retrieve data
16
New cards
SQL Keywords - WHERE
Filters records to select only those that meet a specific condition.
17
New cards
SQL Keywords - ORDER BY
sorts the result set in ascending or descending order
18
New cards
SQL Keywords - GROUP BY
groups rows based on specified columns for aggregate function calculations
19
New cards
SQL keyword =
compares two values for equality
20
New cards
SQL keyword <
checks if the value on the left is less than the value on the right
21
New cards
SQL keyword >
checks of the value on the left is greater than the value on the right
22
New cards
SQL keyword - AND
Combines two conditions and returns true if both conditions are true
23
New cards
SQL keyword - OR
Combines two conditions and returns truw if at lease one of the conditions is true
24
New cards
SQL keyword - IN
Checks if a value is within a list of specified values