Articles
Practical, deeply explained engineering writing — free to read, no sign-up required.
All Articles
Subqueries and Correlated Subqueries in SQL Server
A subquery is a query inside another SQL query. A correlated subquery uses values from the outer query to check each row. Both help us solve complex database questions using smaller queries.
Aggregate Functions, GROUP BY and HAVING in SQL Server
Aggregate functions calculate values from multiple rows. GROUP BY combines rows into groups. HAVING filters those groups based on their calculated results.
SQL Joins – INNER, LEFT, RIGHT, FULL and CROSS JOIN
SQL JOINs combine records from two or more related tables. SQL Server provides INNER, LEFT, RIGHT, FULL OUTER and CROSS JOINs. Each JOIN returns records based on different matching rules.
SQL Operators – Comparison, Logical, BETWEEN, IN and LIKE
SQL operators help us filter records and compare values. Comparison, logical, BETWEEN, IN and LIKE operators make SQL queries useful for real business requirements.
WHERE, ORDER BY, DISTINCT and TOP in SQL Server
WHERE filters records, ORDER BY sorts records, DISTINCT removes duplicate results, and TOP limits the number of returned rows. These SQL Server clauses help us retrieve exactly the information an application needs.
SQL SELECT Statement – Retrieving Data from Tables
The SELECT statement retrieves data from SQL Server tables. We can choose specific columns or retrieve every column. It is one of the most frequently used SQL statements in application development.
SQL Server Constraints – Primary Key, Foreign Key, Unique and Check
SQL Server constraints are rules that protect data inside database tables. Primary Key, Foreign Key, UNIQUE and CHECK help prevent duplicate, unrelated and invalid records.
Creating Databases and Tables – CREATE, ALTER and DROP
SQL Server uses DDL commands to create and manage database structures. CREATE creates databases and tables, ALTER changes existing structures, and DROP removes database objects.
Databases, Tables, Rows, Columns and Data Types in SQL Server
A database stores related information. Tables organize that information into rows and columns. Data types define what each column can store, such as numbers, text, dates and amounts.
Installing SQL Server and Setting Up SQL Server Management Studio (SSMS)
SQL Server is the database engine that stores and processes data. SQL Server Management Studio (SSMS) is the graphical tool we use to connect, write queries, and manage databases. We install both to create a complete local SQL Server development environment.
Introduction to Microsoft SQL Server – What Is SQL Server?
Microsoft SQL Server is a relational database management system (RDBMS). It stores data in related tables and lets applications retrieve and manage that data using SQL and T-SQL.
Top 50 CSS Flexbox Interview Questions and Practical Coding Challenges
Flexbox interviews test whether you can reason about a layout, not whether you can recite property names. Work through any question in four steps: find the flex container, name the main and cross axes, check the item sizes (flex-basis, flex-grow, flex-shrink), and check whether there is free space to align or distribute. This article gives you 50 questions with strong short answers and six practical coding challenges with solutions.