Tables - Collection of entities
Columns - Single Attribute
Rows - Single Entity (Record)
1st Form
2st Form
3rd Form
Goes all the way till 6th Normal Form (theoretically)
One to One
One to Many
Many to Many
Assume tables A and B with some primary-foreign key relationship.
A Inner Join B: Only records in A and B that match (intersection)
A Left Join B: All records in A + matching records in B (A + intersection)
A Right Join B: All records in B + matching records in A (B + intersection)
A Outer Join B: All records in A + All records in B (union)
A Cross Join B (Cartesian Product): All records in A x All records in B
a logical unit of work against a database which may spread across one or more operations.
Follow ACID properties:
Atomicity: (operations) succeed or fail completely (no partials)
Consistency: data is always in valid state before and after transaction (constraints are checked)
Isolation: One transaction does not affect another transaction
Durability: Results of a transaction are permanent
Explicit Transaction Control: