This is my MySQL study repo. I learned it from 'codewithmosh' course.
Code in this repo includes the syntax and clause of MySQL along with exercises in the course.
To find exercises about MySQL, you can refer to Leetcode-database-question-MySQL.
这是我的MySQL学习仓库。我从’codewithmosh‘这门课学习。
这个仓库里包括MySQL的语法与从句,连同课程中的练习。
力扣MySQL练习题: Leetcode-database-question-MySQL.
- The SELECT Statement
- The SELECT Clause
- The WHERE Clause
- The AND, OR and NOT operators
- The IN operator
- The BETWEEN Operator
- The LIKE Operator
- The REGEXP Operator
- The IS NULL Operator
- The ORDER BY Clause
- The LIMIT Clause
- Inner Joins
- Join Across Databases
- Self Joins
- Join Multiple Tables
- Compound Join Conditions
- Implicit Join Syntax
- Outer Joins
- Outer Joins Between Multiple Tables
- Self Outer Joins
- The USING Clause
- Natural Joins
- Cross Joins
- Unions
- Column Attributes
- Inserting a Single Row
- Inserting Multiple Rows
- Inserting Hierarchical Rows
- Creating a Copy of a Table
- Updating a Single Row
- Using Subqueries in Updates
- Deleting Row
- Restoring the Databases
- Subqueries
- The IN Operator
- Subqueries vs Joins
- The ALL Keyword
- The ANY Keyword
- Correlated Subqueries
- The EXISTS Operation
- Subqueries in the SELECT Clause
- Subqueries in the FROM Clause
- Numeric Functions
- String Functions
- Date Functions
- Formatting Dates and Times
- Calculating Dates and Times
- The IFNULL and COALESCE Functions
- The IF Function
- The CASE operator
- Creating Views
- Altering or Dropping Views
- Updatable Views
- The WITH OPTION CHECK Clause
- Other Benefits of Views
- Stored Procedures
- Creating a Stored Procedure
- Creating Procedures Using MySQLWorkbench
- Dropping Procedures
- Parameters with Default Values
- Parameter Validation
- Output Parameters
- Variables
- Functions
- Other Conventions
- Transcations
- Creating Transactions
- Concurrency and Locking
- Concurrency Problems
- Transaction Isolation Levels
- READ UNCOMMITTED Isolation Level
- READ COMMITTED Isolation Level
- REPEATABLE READ Isolation Level
- SERIALIZABLE Isolation Level
- Deadlocks
- Introduction
- String Types
- Integer Types
- Fixed-point and Floating-point Types
- Boolean Types
- Enum and Set Types
- Date and Time Types
- Blob Types
- JSON Types
- Data Modelling
- Conceptual Models
- Build a Logical Models
- Physical Models
- Primary Keys
- Foreign Keys
- Foreign Key Constraints
- Normalization
- First Normal Form (1NF)
- Link Tables
- Second Normal Form (2NF)
- Third Normal Form (3NF)
- Pragmatic Advice
- Don't Model the Universe!
- Forward Engineering a Model
- Synchronizing a Model
- Reverse Engineering
- Project: Flight Booking System
- Project: Radio Rental Application
- Creating Databases
- Creating Tables
- Altering Tables
- Creating Relationships
- Altering Primary/Foreign Key
- Character Sets and Collations
- Storage Engines