SQL-Database Flashcards
Relational dB
Use tables to store information and specify the relations between those tables
Database (dB )
A storage space for content/ information (data)
An organized collection of data
dB
Schema Table Field Record Query
Schema (container)
A logical container for database object (tables, views, triggers) that user creates
Field
Column
Simplest unit in database storage
Table (container)
container for data elements and relations Use columns(fields) and rows(records)
Record
Row
Single structured data set in table
Query
Your request to the database to retrieve information
Report
returned information to the specified query
DBMS (Database Management System)
a software that controls the organization
What are the popular databases in the market?
ORACLE
Sybase
MySQL
DB2
Primary Key (PK)
a unique field (column) in the table
maintain the internal integrity of a data table
Can have only 1 PK
Foreign Key (FK)
a non unique field (column) that links one table to another table’s primary or FK
Can have many FK
SQL
Structured Query Language
A dB computer language
Designed to retrieve and manage data
Designed to create and modify schema
Normalization
the dB process of table design( organizing columns and fields) to minimize redundancy and dependency.
Divide large tables into smaller tables and defining relationships between them