Career & Technical Mastery

Technical Interview Prep Hub

50+ curated interview questions, system design walkthroughs, and DSA patterns with clean explanations.

8 Questions
Active Recall 8 Flashcards

Interview Flashcards & Mock Mode

Practice with 3D flip cards, voice reader, and timed interview simulations.

Speed Drills 60s Micro-Tests

CodeShot.in — Daily Challenges

60-second in-browser coding micro-challenges to sharpen syntax and problem-solving speed.

What is a primary key in MySQL and why is it important?
MySQL Intermediate

A primary key uniquely identifies each row in a table. It’s like an Aadhaar number for database records—no two rows can have the same one. It ensures data integrity and helps retrieve records quickly.

MySQL Database Basics
What is an index in MySQL and how does it improve performance?
MySQL Intermediate

An index speeds up data retrieval by creating a lookup structure. Just like a book index helps you jump to a page instead of reading the whole book, database indexes allow faster searches but slightly slow down inserts and updates.

MySQL Performance Database
What is a transaction in MySQL?
MySQL Intermediate

A transaction groups multiple database operations into a single unit of work. Either all operations succeed or all fail. It’s like a bank transfer—money must be debited and credited together or not at all.

MySQL Transactions
What are ACID properties?
MySQL Intermediate

ACID stands for Atomicity, Consistency, Isolation, and Durability. These properties ensure transactions are reliable and data remains correct even during failures.

MySQL ACID
What is database normalization?
MySQL Intermediate

Normalization organizes data to reduce duplication and improve consistency. It’s like storing customer details once instead of repeating them in every order.

MySQL DatabaseDesign
What is the difference between SQL JOIN types (INNER, LEFT, RIGHT, FULL)?
MySQL Intermediate

JOIN combines rows from two tables based on a related column. INNER JOIN returns only matching rows. LEFT JOIN returns all rows from the left table and matching ones from the right. RIGHT JOIN is the opposite. FULL JOIN returns everything. Think of it like two guest lists—INNER is people on both lists, LEFT is everyone from list A plus matches from list B.

MySQL Database SQL
When would you use a LEFT JOIN over an INNER JOIN?
MySQL Intermediate

Use LEFT JOIN when you want all records from the primary table even if there's no match in the related table. For example, getting all customers even if they haven't placed an order yet.

MySQL SQL Database
What is the difference between JOIN and UNION in MySQL?
MySQL Intermediate

JOIN combines columns from multiple tables horizontally. UNION stacks rows from multiple queries vertically. JOIN is for related data, UNION is for merging similar result sets.

MySQL SQL