A database is an organized collection of structured data, stored electronically in a computer system.
A relational database is a collection of data items organized as logically related tables.
The software required to manage a database is known as a database management system (DBMS).
A DBMS serves as an interface between the database and its end users, allowing users to retrieve, update, and manage how the information is organized and optimized.
A DBMS also facilitates oversight and control of databases, enabling a variety of administrative operations such as performance monitoring, tuning, and backup and recovery.
handle/manipulate these table/relations is known as Relational Database Management System (RDBMS). Some examples of popular DBMSs are MySQL, Microsoft Access, Microsoft SQL Server, FileMaker Pro, Oracle Database, and dBASE.
A group of rows and columns form a table. The horizontal subset of the Table is known as a Row/Tuple. The vertical subset of the Table is known as a Column/an Attribute.
A relation in a database has the following characteristics:
No. of columns of Table.
No. of Rows of Table
A domain is the collection of values that a data element may contain.
An Attribute/group of attributes in a table that identifies a tuple uniquely is known as a key.
A table may have more than one such attribute/group of identifies that identifies a tuple uniquely, all such attributes(s) are known as Candidate Keys .
Out of Candidate keys, one is selected as Primary key , and others become Alternate Keys .
A Foreign Key is defined in a second table, but it refers to the primary key in the first table.