Duration: 2-3 weeks | 25+ Questions
- Understand database structure and table relationships
- Master basic CRUD operations (Create, Read, Update, Delete)
- Learn proper data types and their usage
- Practice table creation and modification
-
Database Basics
- What is a database and DBMS
- Tables, rows, columns, and relationships
- Primary concepts of relational databases
-
Data Definition Language (DDL)
- CREATE DATABASE, CREATE TABLE
- Data types: INT, VARCHAR, DATE, DECIMAL, BOOLEAN
- ALTER TABLE (ADD, DROP, MODIFY columns)
- DROP TABLE, TRUNCATE TABLE
- CREATE INDEX, DROP INDEX
-
Data Manipulation Language (DML)
- SELECT statements (basic queries)
- INSERT (single and multiple rows)
- UPDATE (with WHERE conditions)
- DELETE (with proper conditions)
- Basic WHERE clauses with simple conditions
- Create a company database with employees, departments tables
- Insert sample data and practice modifications
- Build a simple inventory system schema
- Practice safe UPDATE and DELETE operations
- Database design fundamentals
- Safe data modification practices
- Understanding of SQL syntax structure
- Basic query writing skills
Duration: 1-2 weeks | 20+ Questions
- Understand the importance of data integrity
- Master all types of constraints
- Learn referential integrity concepts
- Practice constraint implementation
-
Primary and Foreign Keys
- PRIMARY KEY constraints
- FOREIGN KEY relationships
- Referential integrity rules
- CASCADE options (ON DELETE, ON UPDATE)
-
Data Validation Constraints
- NOT NULL constraints
- UNIQUE constraints
- CHECK constraints with conditions
- DEFAULT values
-
Constraint Management
- Adding constraints to existing tables
- Dropping and modifying constraints
- Naming constraints properly
- Handling constraint violations
- Design a normalized database with proper relationships
- Implement a customer-order-product system with constraints
- Practice constraint violation scenarios and solutions
- Build a user authentication system with constraints
- Database normalization principles
- Data integrity enforcement
- Relationship management
- Error handling with constraints
Duration: 2-3 weeks | 30+ Questions
- Master string manipulation functions
- Understand numeric calculations and formatting
- Learn date/time operations and calculations
- Practice data type conversions
-
String Functions
- UPPER, LOWER, INITCAP
- LENGTH, SUBSTRING, LEFT, RIGHT
- CONCAT, REPLACE, LTRIM, RTRIM, TRIM
- CHARINDEX, PATINDEX (pattern matching)
- String formatting and padding
-
Numeric Functions
- ROUND, CEILING, FLOOR, ABS
- POWER, SQRT, MOD
- RAND, SIGN
- Mathematical operations and formatting
- Handling NULL values in calculations
-
Date and Time Functions
- NOW, GETDATE, CURRENT_TIMESTAMP
- DATEADD, DATEDIFF, DATEPART
- YEAR, MONTH, DAY, HOUR, MINUTE
- Date formatting and parsing
- Time zone considerations
-
Conversion Functions
- CAST, CONVERT, TRY_CAST
- Implicit vs explicit conversions
- Handling conversion errors
- Data type compatibility
- Build a report formatting system using string functions
- Create age calculations and date validations
- Implement data cleansing routines
- Practice currency and number formatting
- Data transformation techniques
- Report formatting skills
- Data validation and cleansing
- Function nesting and composition
Duration: 2-3 weeks | 35+ Questions
- Master logical and comparison operators
- Understand grouping and aggregation concepts
- Learn sorting and filtering techniques
- Practice complex condition building
-
Logical Operators
- AND, OR, NOT operators
- IN, NOT IN with lists and subqueries
- BETWEEN for range conditions
- LIKE with wildcards (%, _)
- IS NULL, IS NOT NULL
- Operator precedence and parentheses
-
Aggregate Functions
- COUNT, SUM, AVG, MIN, MAX
- COUNT(*) vs COUNT(column)
- Handling NULL values in aggregations
- DISTINCT with aggregate functions
- Statistical functions (STDDEV, VARIANCE)
-
Grouping and Filtering
- GROUP BY with single and multiple columns
- HAVING clause for group filtering
- GROUP BY with ROLLUP and CUBE
- Grouping sets for complex analysis
-
Sorting and Limiting
- ORDER BY with multiple columns
- ASC and DESC sorting
- NULLS FIRST, NULLS LAST
- LIMIT, TOP, OFFSET for pagination
- Performance considerations with sorting
- Build comprehensive sales reports with grouping
- Create customer analysis with multiple aggregations
- Implement search functionality with complex filters
- Practice pagination and result limiting
- Advanced filtering techniques
- Data aggregation and analysis
- Report building capabilities
- Performance optimization awareness
Duration: 3-4 weeks | 40+ Questions
- Master all types of joins and their use cases
- Understand subquery types and optimization
- Learn view creation and management
- Practice complex multi-table operations
-
Join Operations
- INNER JOIN for matching records
- LEFT JOIN, RIGHT JOIN for outer matches
- FULL OUTER JOIN for complete datasets
- CROSS JOIN for Cartesian products
- SELF JOIN for hierarchical data
- JOIN performance and indexing strategies
-
Subqueries
- Scalar subqueries (returning single values)
- Row subqueries (returning single rows)
- Table subqueries (returning multiple rows)
- Correlated vs non-correlated subqueries
- EXISTS and NOT EXISTS
- Subquery optimization techniques
-
Views and Virtual Tables
- CREATE VIEW for data abstraction
- Updateable vs read-only views
- Materialized views (where supported)
- View security and access control
- Performance implications of views
-
Advanced Query Techniques
- Common Table Expressions (CTEs)
- Recursive CTEs for hierarchical data
- UNION, UNION ALL, INTERSECT, EXCEPT
- Query optimization strategies
- Execution plan analysis
- Build a complete e-commerce database with joins
- Create hierarchical organizational charts with recursive CTEs
- Implement complex reporting views
- Practice query optimization scenarios
- Complex query design
- Performance optimization
- Data architecture understanding
- Advanced SQL problem solving
Duration: 4-5 weeks | 45+ Questions
- Master stored procedures and functions
- Understand cursor operations and loops
- Learn trigger implementation and use cases
- Practice advanced database programming
-
Stored Procedures
- CREATE PROCEDURE syntax and parameters
- Input, output, and input/output parameters
- Local variables and control flow
- Error handling with TRY-CATCH
- Procedure security and permissions
- Performance benefits and considerations
-
User-Defined Functions
- Scalar functions returning single values
- Table-valued functions
- Inline vs multi-statement functions
- Function determinism and performance
- When to use functions vs procedures
-
Cursors and Iteration
- DECLARE, OPEN, FETCH, CLOSE cursors
- Cursor types (forward-only, static, dynamic)
- WHILE loops and conditional logic
- Cursor performance implications
- Set-based alternatives to cursors
-
Triggers
- BEFORE, AFTER, and INSTEAD OF triggers
- INSERT, UPDATE, DELETE trigger events
- Accessing OLD and NEW values
- Trigger cascading and recursive issues
- Audit trails and business rule enforcement
- Trigger debugging and troubleshooting
-
Advanced Programming Constructs
- Dynamic SQL construction and execution
- Exception handling and custom errors
- Transactions and isolation levels
- Concurrency control and locking
- Performance monitoring and optimization
- Build a complete audit system with triggers
- Create a data validation framework with procedures
- Implement complex business logic with functions
- Practice transaction management scenarios
- Database programming expertise
- Advanced business logic implementation
- Performance tuning skills
- Enterprise-level database development
- Easy (30% of questions): Basic syntax, simple operations
- Medium (50% of questions): Multi-step problems, moderate complexity
- Hard (20% of questions): Complex scenarios, optimization challenges
- E-commerce database management
- Employee management systems
- Financial transaction processing
- Inventory and supply chain systems
- Customer relationship management
- Reporting and analytics systems
- Syntax Accuracy: Correct SQL syntax and structure
- Logical Correctness: Query produces expected results
- Performance Awareness: Understanding of efficiency implications
- Best Practices: Following SQL coding standards
- Problem Solving: Breaking down complex requirements
- Performance Tracking: Monitor accuracy and speed
- Weakness Identification: Focus on struggling concepts
- Strength Building: Advanced challenges for proficient areas
- Personalized Paths: Adjust difficulty based on progress
- Spaced Repetition: Review previous concepts regularly