Generic Database Fundamentals: Relation Algebra, SQL, and Concurrency Concepts