Category: SQL & Databases

60 questions in SQL & Databases.

How to use the JSON type in MySQL

· SQL & Databases

Store and query flexible schema-less data using the native JSON data type in MySQL 5.7 and later.

How to optimize MySQL queries

· SQL & Databases

Apply indexing, query rewriting, and server tuning to speed up slow MySQL queries.

How does MySQL replication work

· SQL & Databases

Understand MySQL replication architectures for high availability, scaling reads, and disaster recovery.

What are MySQL storage engines

· SQL & Databases

Compare MySQL storage engines like InnoDB and MyISAM and learn how to choose the right one for your workload.

What is database seeding

· SQL & Databases

Populate databases with initial or test data using seed scripts and fixtures for development and testing.

How to implement soft deletes

· SQL & Databases

Preserve deleted rows for audit and recovery by implementing soft deletes with a flag or timestamp column.